Skip to content

Commit

Permalink
Text Analytics SDK v4.0.0 - New project structure (Azure#6647)
Browse files Browse the repository at this point in the history
* non-async + non-batch operations + correct order of params

* Update .csproj v3.0.0 -> v3.1.0 + Release notes

* Update .csproj to v4.0.0
  • Loading branch information
assafi authored and shahabhijeet committed Jul 19, 2019
1 parent 1accdf1 commit df69fc2
Show file tree
Hide file tree
Showing 21 changed files with 1,483 additions and 186 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
// <auto-generated>
//
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>

namespace Microsoft.Azure.CognitiveServices.Language.TextAnalytics.Models
{
Expand All @@ -27,7 +23,7 @@ public LanguageInput()
/// Initializes a new instance of the LanguageInput class.
/// </summary>
/// <param name="id">Unique, non-empty document identifier.</param>
public LanguageInput(string countryHint = default(string), string id = default(string), string text = default(string))
public LanguageInput(string id = default, string text = default, string countryHint = default)
{
CountryHint = countryHint;
Id = id;
Expand All @@ -42,18 +38,18 @@ public LanguageInput()

/// <summary>
/// </summary>
[JsonProperty(PropertyName = "countryHint")]
[JsonProperty(PropertyName = "countryHint", Order = 3)]
public string CountryHint { get; set; }

/// <summary>
/// Gets or sets unique, non-empty document identifier.
/// </summary>
[JsonProperty(PropertyName = "id")]
[JsonProperty(PropertyName = "id", Order = 1)]
public string Id { get; set; }

/// <summary>
/// </summary>
[JsonProperty(PropertyName = "text")]
[JsonProperty(PropertyName = "text", Order = 2)]
public string Text { get; set; }

}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
// <auto-generated>
//
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>

namespace Microsoft.Azure.CognitiveServices.Language.TextAnalytics.Models
{
Expand All @@ -30,7 +26,7 @@ public MultiLanguageInput()
/// representation of a language. For example, use "en" for English;
/// "es" for Spanish etc.,</param>
/// <param name="id">Unique, non-empty document identifier.</param>
public MultiLanguageInput(string language = default(string), string id = default(string), string text = default(string))
public MultiLanguageInput(string id = default, string text = default, string language = default)
{
Language = language;
Id = id;
Expand All @@ -47,18 +43,18 @@ public MultiLanguageInput()
/// Gets or sets this is the 2 letter ISO 639-1 representation of a
/// language. For example, use "en" for English; "es" for Spanish etc.,
/// </summary>
[JsonProperty(PropertyName = "language")]
[JsonProperty(PropertyName = "language", Order = 3)]
public string Language { get; set; }

/// <summary>
/// Gets or sets unique, non-empty document identifier.
/// </summary>
[JsonProperty(PropertyName = "id")]
[JsonProperty(PropertyName = "id", Order = 1)]
public string Id { get; set; }

/// <summary>
/// </summary>
[JsonProperty(PropertyName = "text")]
[JsonProperty(PropertyName = "text", Order = 2)]
public string Text { get; set; }

}
Expand Down
Loading

0 comments on commit df69fc2

Please sign in to comment.