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 SDK v4.0.0 - New project structure #6647

Merged
merged 3 commits into from
Jul 19, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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)
assafi marked this conversation as resolved.
Show resolved Hide resolved
{
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