-
Notifications
You must be signed in to change notification settings - Fork 481
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #20 from Microsoft/tomlm/newswagger
update connector api with new interface definitions
- Loading branch information
Showing
13 changed files
with
334 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
53 changes: 53 additions & 0 deletions
53
libraries/Microsoft.Bot.Connector/ConnectorAPI/Models/TextHighlight.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
// <auto-generated> | ||
// 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.Bot.Connector | ||
{ | ||
using Newtonsoft.Json; | ||
using System.Linq; | ||
|
||
public partial class TextHighlight | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance of the TextHighlight class. | ||
/// </summary> | ||
public TextHighlight() | ||
{ | ||
CustomInit(); | ||
} | ||
|
||
/// <summary> | ||
/// Initializes a new instance of the TextHighlight class. | ||
/// </summary> | ||
/// <param name="text">plain text fragment to highlight</param> | ||
/// <param name="occurence">index of occurence of the Text (Starting at | ||
/// 1)</param> | ||
public TextHighlight(string text = default(string), int? occurence = default(int?)) | ||
{ | ||
Text = text; | ||
Occurence = occurence; | ||
CustomInit(); | ||
} | ||
|
||
/// <summary> | ||
/// An initialization method that performs custom operations like setting defaults | ||
/// </summary> | ||
partial void CustomInit(); | ||
|
||
/// <summary> | ||
/// Gets or sets plain text fragment to highlight | ||
/// </summary> | ||
[JsonProperty(PropertyName = "text")] | ||
public string Text { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets index of occurence of the Text (Starting at 1) | ||
/// </summary> | ||
[JsonProperty(PropertyName = "occurence")] | ||
public int? Occurence { get; set; } | ||
|
||
} | ||
} |
Oops, something went wrong.