Skip to content

Commit

Permalink
Azure#17662 [bug] add setters to LengthTokenilter (Azure#17694)
Browse files Browse the repository at this point in the history
* Azure#17662 [bug] add setters to LengthTokenilter

* Azure#17662 Run Export-API.ps1

Co-authored-by: mark butterworth <mark.butterworth@carestream.com>
  • Loading branch information
2 people authored and annelo-msft committed Feb 17, 2021
1 parent a7325af commit 301dd4e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -824,8 +824,8 @@ public LanguageDetectionSkill(System.Collections.Generic.IEnumerable<Azure.Searc
public partial class LengthTokenFilter : Azure.Search.Documents.Indexes.Models.TokenFilter
{
public LengthTokenFilter(string name) { }
public int? MaxLength { get { throw null; } }
public int? MinLength { get { throw null; } }
public int? MaxLength { get { throw null; } set { } }
public int? MinLength { get { throw null; } set { } }
}
public partial class LexicalAnalyzer
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ public partial class LengthTokenFilter
/// Gets the minimum length in characters. Default is 0. Maximum is 300. Must be less than the value of <see cref="MinLength"/>.
/// </summary>
[CodeGenMember("min")]
public int? MinLength { get; }
public int? MinLength { get; set; }

/// <summary>
/// Gets the maximum length in characters. Default and maximum is 300.
/// </summary>
[CodeGenMember("max")]
public int? MaxLength { get; }
public int? MaxLength { get; set; }
}
}

0 comments on commit 301dd4e

Please sign in to comment.