Skip to content

Commit be2c4c7

Browse files
authored
Merge pull request #439 from watson-developer-cloud/rc-2.7.0
IBM Watson SDK for Unity 2.7.0
2 parents 991b296 + 9f6c812 commit be2c4c7

File tree

95 files changed

+4794
-397
lines changed

Some content is hidden

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

95 files changed

+4794
-397
lines changed

.github/CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ or [Stack Overflow](http://stackoverflow.com/questions/ask?tags=ibm-watson).
2121

2222
# Issues
2323

24-
If you encounter an issue with the Unity SDK library, you are welcome to submit
24+
If you encounter an issue with the IBM Watson SDK for Unity library, you are welcome to submit
2525
a [bug report](https://github.com/watson-developer-cloud/unity-sdk/issues).
2626
Before that, please search for similar issues. It's possible somebody has
2727
already encountered this issue.

.github/issue_template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Before you open an issue, please check if a similar issue already exists or has
88
- [ ] Steps to reproduce
99
- [ ] Expected behavior
1010
- [ ] Actual behavior
11-
- [ ] Unity SDK version
11+
- [ ] IBM Watson SDK for Unity version
1212

1313
### When you open an issue for a feature request, please add as much detail as possible:
1414
- [ ] A descriptive title starting with the service name

.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

.releaserc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"branch": "master",
3+
"verifyConditions": [],
4+
"prepare": [],
5+
"publish": ["@semantic-release/github"]
6+
}

.travis.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ cache:
77
- ./Unity
88
before_install:
99
- chmod a+x ./Travis/installUnity.sh
10+
- npm install -g [email protected]
1011
install:
1112
- ./Travis/installUnity.sh
1213
before_script:
@@ -19,3 +20,7 @@ script:
1920
- ./Travis/installSDK.sh
2021
# - ./Travis/runTests.sh
2122
# - ./Travis/build.sh
23+
deploy:
24+
- provider: script
25+
skip_cleanup: true
26+
script: npx travis-deploy-once "npx semantic-release"

Docs/UnitySDK.shfbproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
<PresentationStyle>VS2013</PresentationStyle>
3535
<Preliminary>False</Preliminary>
3636
<NamingMethod>HashedMemberName</NamingMethod>
37-
<HelpTitle>Watson Unity SDK</HelpTitle>
37+
<HelpTitle>IBM Watson SDK for Unity</HelpTitle>
3838
<ContentPlacement>AboveNamespaces</ContentPlacement>
3939
<DocumentationSources>
4040
<DocumentationSource sourceFile="..\..\..\..\DocumentationBuilder\ConsoleApplication1\ConsoleApplication1\bin\Debug\Assembly-CSharp.dll" />

Doxyfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@ PROJECT_NAME = "IBM Watson SDK for Unity"
3838
# could be handy for archiving the generated documentation or if some version
3939
# control system is used.
4040

41-
PROJECT_NUMBER = 2.6.0
41+
PROJECT_NUMBER = 2.7.0
4242

4343
# Using the PROJECT_BRIEF tag one can provide an optional one line description
4444
# for a project that appears at the top of each page and should give viewer a
4545
# quick idea about the purpose of the project. Keep the description short.
4646

47-
PROJECT_BRIEF = "The Unity SDK uses the Watson Developer Cloud services, a collection of REST APIs and SDKs that use cognitive computing to solve complex problems."
47+
PROJECT_BRIEF = "IBM Watson SDK for Unity uses the Watson Developer Cloud services, a collection of REST APIs and SDKs that use cognitive computing to solve complex problems."
4848

4949
# With the PROJECT_LOGO tag one can specify a logo or an icon that is included
5050
# in the documentation. The maximum height of the logo should not exceed 55

Examples/ServiceExamples/Scripts/ExampleDiscovery.cs

Lines changed: 194 additions & 114 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
# Watson APIs Unity SDK
1+
# IBM Watson SDK for Unity
22
[![Build Status](https://travis-ci.org/watson-developer-cloud/unity-sdk.svg?branch=develop)](https://travis-ci.org/watson-developer-cloud/unity-sdk)
33
[![wdc-community.slack.com](https://wdc-slack-inviter.mybluemix.net/badge.svg)](http://wdc-slack-inviter.mybluemix.net/)
4+
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)
45

56
Use this SDK to build Watson-powered applications in Unity.
67

@@ -362,6 +363,9 @@ Watson services have upgraded their hosts to TLS 1.2. The US South region has a
362363
## Documentation
363364
Documentation can be found [here][documentation]. You can also access the documentation by selecting API Reference the Watson menu (**Watson -> API Reference**).
364365

366+
## Getting started videos
367+
You can view Getting Started videos for the IBM Watson SDK for Unity on [YouTube](https://www.youtube.com/watch?v=Sa5hmukwHV8&list=PLZDyxLlNKRY8MdgiUq45cZztn_f0EVz6c).
368+
365369
## Questions
366370

367371
If you are having difficulties using the APIs or have a question about the IBM Watson Services, please ask a question on

Scripts/Editor/WatsonMenu.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ namespace IBM.Watson.DeveloperCloud.Editor
2424
{
2525
public class WatsonMenu : MonoBehaviour
2626
{
27-
private const string TITLE = "Watson Unity SDK";
28-
private const string SIGNUP_FOR_IBM_CLOUD_MSG = "Thanks for installing the Watson Unity SDK.\nSign up for IBM Cloud?";
27+
private const string TITLE = "IBM Watson SDK for Unity";
28+
private const string SIGNUP_FOR_IBM_CLOUD_MSG = "Thanks for installing the IBM Watson SDK for Unity.\nSign up for IBM Cloud?";
2929
private const string MENU_ITEM_MSG = "The IBM Cloud signup link can be found in the \"Watson\" menu.";
3030
private const string YES = "Yes";
3131
private const string NO = "No";

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>

0 commit comments

Comments
 (0)