Skip to content

Commit 3cbc511

Browse files
committed
feat(discovery): abstract new endpoints, begin testing
1 parent 8855f20 commit 3cbc511

File tree

86 files changed

+4635
-321
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

86 files changed

+4635
-321
lines changed

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ etc.meta
6363
/Travis/build.sh.meta
6464
/Travis/createProject.sh.meta
6565
/Travis/installSDK.sh.meta
66+
/Travis/installTestTools.sh.meta
6667
/Travis/installUnity.sh.meta
6768
/Travis/README.md.meta
6869
/Travis/runTests.sh.meta
@@ -73,4 +74,6 @@ Docs/publishing-release.md.meta
7374
*.txt.meta
7475
*.ps1.meta
7576
**/.swagger-codegen-ignore
76-
**/.swagger-codegen
77+
**/.swagger-codegen
78+
/Scripts/Editor/Help/
79+
/Scripts/Editor/Help.meta

Examples/ServiceExamples/Scripts/ExampleDiscovery.cs

Lines changed: 181 additions & 80 deletions
Large diffs are not rendered by default.

Scripts/Services/Assistant/v1/Model/Counterexample.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,13 @@ public class Counterexample
3737
/// </summary>
3838
/// <value>The timestamp for creation of the counterexample.</value>
3939
[fsProperty("created")]
40-
public virtual DateTime Created { get; private set; }
40+
public virtual DateTime? Created { get; private set; }
4141
/// <summary>
4242
/// The timestamp for the last update to the counterexample.
4343
/// </summary>
4444
/// <value>The timestamp for the last update to the counterexample.</value>
4545
[fsProperty("updated")]
46-
public virtual DateTime Updated { get; private set; }
46+
public virtual DateTime? Updated { get; private set; }
4747
}
4848

4949
}

Scripts/Services/Assistant/v1/Model/DialogNode.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,13 +193,13 @@ public enum EventNameEnum
193193
/// </summary>
194194
/// <value>The timestamp for creation of the dialog node.</value>
195195
[fsProperty("created")]
196-
public virtual DateTime Created { get; private set; }
196+
public virtual DateTime? Created { get; private set; }
197197
/// <summary>
198198
/// The timestamp for the most recent update to the dialog node.
199199
/// </summary>
200200
/// <value>The timestamp for the most recent update to the dialog node.</value>
201201
[fsProperty("updated")]
202-
public virtual DateTime Updated { get; private set; }
202+
public virtual DateTime? Updated { get; private set; }
203203
/// <summary>
204204
/// The actions for the dialog node.
205205
/// </summary>

Scripts/Services/Assistant/v1/Model/Entity.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,13 @@ public class Entity
3737
/// </summary>
3838
/// <value>The timestamp for creation of the entity.</value>
3939
[fsProperty("created")]
40-
public virtual DateTime Created { get; private set; }
40+
public virtual DateTime? Created { get; private set; }
4141
/// <summary>
4242
/// The timestamp for the last update to the entity.
4343
/// </summary>
4444
/// <value>The timestamp for the last update to the entity.</value>
4545
[fsProperty("updated")]
46-
public virtual DateTime Updated { get; private set; }
46+
public virtual DateTime? Updated { get; private set; }
4747
/// <summary>
4848
/// The description of the entity.
4949
/// </summary>

Scripts/Services/Assistant/v1/Model/EntityExport.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@ public class EntityExport
3838
/// </summary>
3939
/// <value>The timestamp for creation of the entity.</value>
4040
[fsProperty("created")]
41-
public virtual DateTime Created { get; private set; }
41+
public virtual DateTime? Created { get; private set; }
4242
/// <summary>
4343
/// The timestamp for the last update to the entity.
4444
/// </summary>
4545
/// <value>The timestamp for the last update to the entity.</value>
4646
[fsProperty("updated")]
47-
public virtual DateTime Updated { get; private set; }
47+
public virtual DateTime? Updated { get; private set; }
4848
/// <summary>
4949
/// The description of the entity.
5050
/// </summary>

Scripts/Services/Assistant/v1/Model/Example.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@ public class Example
3838
/// </summary>
3939
/// <value>The timestamp for creation of the example.</value>
4040
[fsProperty("created")]
41-
public virtual DateTime Created { get; private set; }
41+
public virtual DateTime? Created { get; private set; }
4242
/// <summary>
4343
/// The timestamp for the last update to the example.
4444
/// </summary>
4545
/// <value>The timestamp for the last update to the example.</value>
4646
[fsProperty("updated")]
47-
public virtual DateTime Updated { get; private set; }
47+
public virtual DateTime? Updated { get; private set; }
4848
/// <summary>
4949
/// An array of contextual entity mentions.
5050
/// </summary>

Scripts/Services/Assistant/v1/Model/Intent.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,13 @@ public class Intent
3737
/// </summary>
3838
/// <value>The timestamp for creation of the intent.</value>
3939
[fsProperty("created")]
40-
public virtual DateTime Created { get; private set; }
40+
public virtual DateTime? Created { get; private set; }
4141
/// <summary>
4242
/// The timestamp for the last update to the intent.
4343
/// </summary>
4444
/// <value>The timestamp for the last update to the intent.</value>
4545
[fsProperty("updated")]
46-
public virtual DateTime Updated { get; private set; }
46+
public virtual DateTime? Updated { get; private set; }
4747
/// <summary>
4848
/// The description of the intent.
4949
/// </summary>

Scripts/Services/Assistant/v1/Model/IntentExport.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@ public class IntentExport
3838
/// </summary>
3939
/// <value>The timestamp for creation of the intent.</value>
4040
[fsProperty("created")]
41-
public virtual DateTime Created { get; private set; }
41+
public virtual DateTime? Created { get; private set; }
4242
/// <summary>
4343
/// The timestamp for the last update to the intent.
4444
/// </summary>
4545
/// <value>The timestamp for the last update to the intent.</value>
4646
[fsProperty("updated")]
47-
public virtual DateTime Updated { get; private set; }
47+
public virtual DateTime? Updated { get; private set; }
4848
/// <summary>
4949
/// The description of the intent.
5050
/// </summary>

Scripts/Services/Assistant/v1/Model/Synonym.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,13 @@ public class Synonym
3737
/// </summary>
3838
/// <value>The timestamp for creation of the synonym.</value>
3939
[fsProperty("created")]
40-
public virtual DateTime Created { get; private set; }
40+
public virtual DateTime? Created { get; private set; }
4141
/// <summary>
4242
/// The timestamp for the most recent update to the synonym.
4343
/// </summary>
4444
/// <value>The timestamp for the most recent update to the synonym.</value>
4545
[fsProperty("updated")]
46-
public virtual DateTime Updated { get; private set; }
46+
public virtual DateTime? Updated { get; private set; }
4747
}
4848

4949
}

Scripts/Services/Assistant/v1/Model/Value.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,13 +71,13 @@ public enum ValueTypeEnum
7171
/// </summary>
7272
/// <value>The timestamp for creation of the entity value.</value>
7373
[fsProperty("created")]
74-
public virtual DateTime Created { get; private set; }
74+
public virtual DateTime? Created { get; private set; }
7575
/// <summary>
7676
/// The timestamp for the last update to the entity value.
7777
/// </summary>
7878
/// <value>The timestamp for the last update to the entity value.</value>
7979
[fsProperty("updated")]
80-
public virtual DateTime Updated { get; private set; }
80+
public virtual DateTime? Updated { get; private set; }
8181
/// <summary>
8282
/// An array containing any synonyms for the entity value.
8383
/// </summary>

Scripts/Services/Assistant/v1/Model/ValueExport.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,13 +71,13 @@ public enum ValueTypeEnum
7171
/// </summary>
7272
/// <value>The timestamp for creation of the entity value.</value>
7373
[fsProperty("created")]
74-
public virtual DateTime Created { get; private set; }
74+
public virtual DateTime? Created { get; private set; }
7575
/// <summary>
7676
/// The timestamp for the last update to the entity value.
7777
/// </summary>
7878
/// <value>The timestamp for the last update to the entity value.</value>
7979
[fsProperty("updated")]
80-
public virtual DateTime Updated { get; private set; }
80+
public virtual DateTime? Updated { get; private set; }
8181
/// <summary>
8282
/// An array containing any synonyms for the entity value.
8383
/// </summary>

Scripts/Services/Assistant/v1/Model/Workspace.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,13 @@ public class Workspace
4343
/// </summary>
4444
/// <value>The timestamp for creation of the workspace.</value>
4545
[fsProperty("created")]
46-
public virtual DateTime Created { get; private set; }
46+
public virtual DateTime? Created { get; private set; }
4747
/// <summary>
4848
/// The timestamp for the last update to the workspace.
4949
/// </summary>
5050
/// <value>The timestamp for the last update to the workspace.</value>
5151
[fsProperty("updated")]
52-
public virtual DateTime Updated { get; private set; }
52+
public virtual DateTime? Updated { get; private set; }
5353
/// <summary>
5454
/// The workspace ID.
5555
/// </summary>

Scripts/Services/Assistant/v1/Model/WorkspaceExport.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,13 +101,13 @@ public enum StatusEnum
101101
/// </summary>
102102
/// <value>The timestamp for creation of the workspace.</value>
103103
[fsProperty("created")]
104-
public virtual DateTime Created { get; private set; }
104+
public virtual DateTime? Created { get; private set; }
105105
/// <summary>
106106
/// The timestamp for the last update to the workspace.
107107
/// </summary>
108108
/// <value>The timestamp for the last update to the workspace.</value>
109109
[fsProperty("updated")]
110-
public virtual DateTime Updated { get; private set; }
110+
public virtual DateTime? Updated { get; private set; }
111111
/// <summary>
112112
/// The workspace ID.
113113
/// </summary>

Scripts/Services/Discovery/v1/DataModels.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1720,7 +1720,7 @@ public enum StatusEnum
17201720
/// Date in UTC format indicating when the last crawl was attempted. If `null`, no crawl was completed.
17211721
/// </summary>
17221722
[fsProperty("last_updated")]
1723-
public DateTime LastUpdated { get; set; }
1723+
public DateTime? LastUpdated { get; set; }
17241724
}
17251725
#endregion
17261726
}

0 commit comments

Comments
 (0)