void HandleSuccessCallback(IBM.Watson.DeveloperCloud.Services.SpeechToText.v1.Customization response, Dictionary <string, object> customData)
        {
            if (response != null)
            {
                string status = response.status;
                if (status.Length > 0)
                {
                    status = status.Substring(0, 1).ToUpper() + status.Substring(1);
                }

                workspace.WatsonSpeechToTextManager.SyncStatus = status;

                Debug.Log("Response progress: " + response.progress);

                // TODO: Use retry here.
                if (response.progress < 100)
                {
                    queue.Insert(TimerSyncAction.CreateInstance(5), 0);
                    queue.Insert(WatsonCustomModelStatus.CreateInstance(workspace), 1);
                }

                succeeded = true;
                isDone    = true;
                return;
            }

            succeeded = false;
            isDone    = true;
        }
        void HandleSuccessCallback(Workspace watsonWorkspace, Dictionary <string, object> customData)
        {
            if (watsonWorkspace != null)
            {
                workspace.WatsonConversationManager.SyncStatus = watsonWorkspace.status;

                if (!string.Equals(watsonWorkspace.status, "Available", StringComparison.OrdinalIgnoreCase))
                {
                    // TODO: Use retry here.
                    queue.Insert(TimerSyncAction.CreateInstance(10), 0);
                    queue.Insert(WatsonWorkspaceStatus.CreateInstance(workspace), 1);
                }

                succeeded = true;
                isDone    = true;
                return;
            }

            succeeded = false;
            isDone    = true;
        }