Skip to content

IBM Watson SDK for Unity 2.7.0 #439

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

Merged
merged 18 commits into from
Aug 16, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
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
2 changes: 1 addition & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ or [Stack Overflow](http://stackoverflow.com/questions/ask?tags=ibm-watson).

# Issues

If you encounter an issue with the Unity SDK library, you are welcome to submit
If you encounter an issue with the IBM Watson SDK for Unity library, you are welcome to submit
a [bug report](https://github.com/watson-developer-cloud/unity-sdk/issues).
Before that, please search for similar issues. It's possible somebody has
already encountered this issue.
Expand Down
2 changes: 1 addition & 1 deletion .github/issue_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Before you open an issue, please check if a similar issue already exists or has
- [ ] Steps to reproduce
- [ ] Expected behavior
- [ ] Actual behavior
- [ ] Unity SDK version
- [ ] IBM Watson SDK for Unity version

### When you open an issue for a feature request, please add as much detail as possible:
- [ ] A descriptive title starting with the service name
Expand Down
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ etc.meta
/Travis/build.sh.meta
/Travis/createProject.sh.meta
/Travis/installSDK.sh.meta
/Travis/installTestTools.sh.meta
/Travis/installUnity.sh.meta
/Travis/README.md.meta
/Travis/runTests.sh.meta
Expand All @@ -73,4 +74,6 @@ Docs/publishing-release.md.meta
*.txt.meta
*.ps1.meta
**/.swagger-codegen-ignore
**/.swagger-codegen
**/.swagger-codegen
/Scripts/Editor/Help/
/Scripts/Editor/Help.meta
6 changes: 6 additions & 0 deletions .releaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"branch": "master",
"verifyConditions": [],
"prepare": [],
"publish": ["@semantic-release/github"]
}
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ cache:
- ./Unity
before_install:
- chmod a+x ./Travis/installUnity.sh
- npm install -g [email protected]
install:
- ./Travis/installUnity.sh
before_script:
Expand All @@ -19,3 +20,7 @@ script:
- ./Travis/installSDK.sh
# - ./Travis/runTests.sh
# - ./Travis/build.sh
deploy:
- provider: script
skip_cleanup: true
script: npx travis-deploy-once "npx semantic-release"
2 changes: 1 addition & 1 deletion Docs/UnitySDK.shfbproj
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<PresentationStyle>VS2013</PresentationStyle>
<Preliminary>False</Preliminary>
<NamingMethod>HashedMemberName</NamingMethod>
<HelpTitle>Watson Unity SDK</HelpTitle>
<HelpTitle>IBM Watson SDK for Unity</HelpTitle>
<ContentPlacement>AboveNamespaces</ContentPlacement>
<DocumentationSources>
<DocumentationSource sourceFile="..\..\..\..\DocumentationBuilder\ConsoleApplication1\ConsoleApplication1\bin\Debug\Assembly-CSharp.dll" />
Expand Down
4 changes: 2 additions & 2 deletions Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@ PROJECT_NAME = "IBM Watson SDK for Unity"
# could be handy for archiving the generated documentation or if some version
# control system is used.

PROJECT_NUMBER = 2.6.0
PROJECT_NUMBER = 2.7.0

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

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."
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."

# With the PROJECT_LOGO tag one can specify a logo or an icon that is included
# in the documentation. The maximum height of the logo should not exceed 55
Expand Down
308 changes: 194 additions & 114 deletions Examples/ServiceExamples/Scripts/ExampleDiscovery.cs

Large diffs are not rendered by default.

6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Watson APIs Unity SDK
# IBM Watson SDK for Unity
[![Build Status](https://travis-ci.org/watson-developer-cloud/unity-sdk.svg?branch=develop)](https://travis-ci.org/watson-developer-cloud/unity-sdk)
[![wdc-community.slack.com](https://wdc-slack-inviter.mybluemix.net/badge.svg)](http://wdc-slack-inviter.mybluemix.net/)
[![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)

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

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

## Getting started videos
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).

## Questions

If you are having difficulties using the APIs or have a question about the IBM Watson Services, please ask a question on
Expand Down
4 changes: 2 additions & 2 deletions Scripts/Editor/WatsonMenu.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ namespace IBM.Watson.DeveloperCloud.Editor
{
public class WatsonMenu : MonoBehaviour
{
private const string TITLE = "Watson Unity SDK";
private const string SIGNUP_FOR_IBM_CLOUD_MSG = "Thanks for installing the Watson Unity SDK.\nSign up for IBM Cloud?";
private const string TITLE = "IBM Watson SDK for Unity";
private const string SIGNUP_FOR_IBM_CLOUD_MSG = "Thanks for installing the IBM Watson SDK for Unity.\nSign up for IBM Cloud?";
private const string MENU_ITEM_MSG = "The IBM Cloud signup link can be found in the \"Watson\" menu.";
private const string YES = "Yes";
private const string NO = "No";
Expand Down
4 changes: 2 additions & 2 deletions Scripts/Services/Assistant/v1/Model/Counterexample.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ public class Counterexample
/// </summary>
/// <value>The timestamp for creation of the counterexample.</value>
[fsProperty("created")]
public virtual DateTime Created { get; private set; }
public virtual DateTime? Created { get; private set; }
/// <summary>
/// The timestamp for the last update to the counterexample.
/// </summary>
/// <value>The timestamp for the last update to the counterexample.</value>
[fsProperty("updated")]
public virtual DateTime Updated { get; private set; }
public virtual DateTime? Updated { get; private set; }
}

}
4 changes: 2 additions & 2 deletions Scripts/Services/Assistant/v1/Model/DialogNode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -193,13 +193,13 @@ public enum EventNameEnum
/// </summary>
/// <value>The timestamp for creation of the dialog node.</value>
[fsProperty("created")]
public virtual DateTime Created { get; private set; }
public virtual DateTime? Created { get; private set; }
/// <summary>
/// The timestamp for the most recent update to the dialog node.
/// </summary>
/// <value>The timestamp for the most recent update to the dialog node.</value>
[fsProperty("updated")]
public virtual DateTime Updated { get; private set; }
public virtual DateTime? Updated { get; private set; }
/// <summary>
/// The actions for the dialog node.
/// </summary>
Expand Down
4 changes: 2 additions & 2 deletions Scripts/Services/Assistant/v1/Model/Entity.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ public class Entity
/// </summary>
/// <value>The timestamp for creation of the entity.</value>
[fsProperty("created")]
public virtual DateTime Created { get; private set; }
public virtual DateTime? Created { get; private set; }
/// <summary>
/// The timestamp for the last update to the entity.
/// </summary>
/// <value>The timestamp for the last update to the entity.</value>
[fsProperty("updated")]
public virtual DateTime Updated { get; private set; }
public virtual DateTime? Updated { get; private set; }
/// <summary>
/// The description of the entity.
/// </summary>
Expand Down
4 changes: 2 additions & 2 deletions Scripts/Services/Assistant/v1/Model/EntityExport.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@ public class EntityExport
/// </summary>
/// <value>The timestamp for creation of the entity.</value>
[fsProperty("created")]
public virtual DateTime Created { get; private set; }
public virtual DateTime? Created { get; private set; }
/// <summary>
/// The timestamp for the last update to the entity.
/// </summary>
/// <value>The timestamp for the last update to the entity.</value>
[fsProperty("updated")]
public virtual DateTime Updated { get; private set; }
public virtual DateTime? Updated { get; private set; }
/// <summary>
/// The description of the entity.
/// </summary>
Expand Down
4 changes: 2 additions & 2 deletions Scripts/Services/Assistant/v1/Model/Example.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@ public class Example
/// </summary>
/// <value>The timestamp for creation of the example.</value>
[fsProperty("created")]
public virtual DateTime Created { get; private set; }
public virtual DateTime? Created { get; private set; }
/// <summary>
/// The timestamp for the last update to the example.
/// </summary>
/// <value>The timestamp for the last update to the example.</value>
[fsProperty("updated")]
public virtual DateTime Updated { get; private set; }
public virtual DateTime? Updated { get; private set; }
/// <summary>
/// An array of contextual entity mentions.
/// </summary>
Expand Down
4 changes: 2 additions & 2 deletions Scripts/Services/Assistant/v1/Model/Intent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ public class Intent
/// </summary>
/// <value>The timestamp for creation of the intent.</value>
[fsProperty("created")]
public virtual DateTime Created { get; private set; }
public virtual DateTime? Created { get; private set; }
/// <summary>
/// The timestamp for the last update to the intent.
/// </summary>
/// <value>The timestamp for the last update to the intent.</value>
[fsProperty("updated")]
public virtual DateTime Updated { get; private set; }
public virtual DateTime? Updated { get; private set; }
/// <summary>
/// The description of the intent.
/// </summary>
Expand Down
4 changes: 2 additions & 2 deletions Scripts/Services/Assistant/v1/Model/IntentExport.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@ public class IntentExport
/// </summary>
/// <value>The timestamp for creation of the intent.</value>
[fsProperty("created")]
public virtual DateTime Created { get; private set; }
public virtual DateTime? Created { get; private set; }
/// <summary>
/// The timestamp for the last update to the intent.
/// </summary>
/// <value>The timestamp for the last update to the intent.</value>
[fsProperty("updated")]
public virtual DateTime Updated { get; private set; }
public virtual DateTime? Updated { get; private set; }
/// <summary>
/// The description of the intent.
/// </summary>
Expand Down
4 changes: 2 additions & 2 deletions Scripts/Services/Assistant/v1/Model/Synonym.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ public class Synonym
/// </summary>
/// <value>The timestamp for creation of the synonym.</value>
[fsProperty("created")]
public virtual DateTime Created { get; private set; }
public virtual DateTime? Created { get; private set; }
/// <summary>
/// The timestamp for the most recent update to the synonym.
/// </summary>
/// <value>The timestamp for the most recent update to the synonym.</value>
[fsProperty("updated")]
public virtual DateTime Updated { get; private set; }
public virtual DateTime? Updated { get; private set; }
}

}
4 changes: 2 additions & 2 deletions Scripts/Services/Assistant/v1/Model/Value.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,13 @@ public enum ValueTypeEnum
/// </summary>
/// <value>The timestamp for creation of the entity value.</value>
[fsProperty("created")]
public virtual DateTime Created { get; private set; }
public virtual DateTime? Created { get; private set; }
/// <summary>
/// The timestamp for the last update to the entity value.
/// </summary>
/// <value>The timestamp for the last update to the entity value.</value>
[fsProperty("updated")]
public virtual DateTime Updated { get; private set; }
public virtual DateTime? Updated { get; private set; }
/// <summary>
/// An array containing any synonyms for the entity value.
/// </summary>
Expand Down
4 changes: 2 additions & 2 deletions Scripts/Services/Assistant/v1/Model/ValueExport.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,13 @@ public enum ValueTypeEnum
/// </summary>
/// <value>The timestamp for creation of the entity value.</value>
[fsProperty("created")]
public virtual DateTime Created { get; private set; }
public virtual DateTime? Created { get; private set; }
/// <summary>
/// The timestamp for the last update to the entity value.
/// </summary>
/// <value>The timestamp for the last update to the entity value.</value>
[fsProperty("updated")]
public virtual DateTime Updated { get; private set; }
public virtual DateTime? Updated { get; private set; }
/// <summary>
/// An array containing any synonyms for the entity value.
/// </summary>
Expand Down
4 changes: 2 additions & 2 deletions Scripts/Services/Assistant/v1/Model/Workspace.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@ public class Workspace
/// </summary>
/// <value>The timestamp for creation of the workspace.</value>
[fsProperty("created")]
public virtual DateTime Created { get; private set; }
public virtual DateTime? Created { get; private set; }
/// <summary>
/// The timestamp for the last update to the workspace.
/// </summary>
/// <value>The timestamp for the last update to the workspace.</value>
[fsProperty("updated")]
public virtual DateTime Updated { get; private set; }
public virtual DateTime? Updated { get; private set; }
/// <summary>
/// The workspace ID.
/// </summary>
Expand Down
4 changes: 2 additions & 2 deletions Scripts/Services/Assistant/v1/Model/WorkspaceExport.cs
Original file line number Diff line number Diff line change
Expand Up @@ -101,13 +101,13 @@ public enum StatusEnum
/// </summary>
/// <value>The timestamp for creation of the workspace.</value>
[fsProperty("created")]
public virtual DateTime Created { get; private set; }
public virtual DateTime? Created { get; private set; }
/// <summary>
/// The timestamp for the last update to the workspace.
/// </summary>
/// <value>The timestamp for the last update to the workspace.</value>
[fsProperty("updated")]
public virtual DateTime Updated { get; private set; }
public virtual DateTime? Updated { get; private set; }
/// <summary>
/// The workspace ID.
/// </summary>
Expand Down
Loading