Skip to content

Commit d8244f8

Browse files
committed
feat: Generated services
1 parent 5fc6c20 commit d8244f8

File tree

403 files changed

+14390
-0
lines changed

Some content is hidden

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

403 files changed

+14390
-0
lines changed

Scripts/Services.meta

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# OpenAPI Generator Ignore
2+
# Generated by openapi-generator https://github.com/openapitools/openapi-generator
3+
4+
# Use this file to prevent files from being overwritten by the generator.
5+
# The patterns follow closely to .gitignore or .dockerignore.
6+
7+
# As an example, the C# client generator defines ApiClient.cs.
8+
# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
9+
#ApiClient.cs
10+
11+
# You can match any string of characters against a directory, file or extension with a single asterisk (*):
12+
#foo/*/qux
13+
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
14+
15+
# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
16+
#foo/**/qux
17+
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
18+
19+
# You can also negate patterns with an exclamation (!).
20+
# For example, you can ignore all files in a docs folder with the file extension .md:
21+
#docs/*.md
22+
# Then explicitly reverse the ignore rule for a single file:
23+
#!docs/README.md
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
unset

Scripts/Services/Assistant.meta

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Scripts/Services/Assistant/v1.meta

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Scripts/Services/Assistant/v1/Model.meta

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
/**
2+
* Copyright 2019 IBM Corp. All Rights Reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*
16+
*/
17+
18+
using System.Collections.Generic;
19+
using FullSerializer;
20+
21+
namespace IBM.Watson.Assistant.v1.Model
22+
{
23+
/// <summary>
24+
/// CaptureGroup.
25+
/// </summary>
26+
public class CaptureGroup
27+
{
28+
/// <summary>
29+
/// A recognized capture group for the entity.
30+
/// </summary>
31+
[fsProperty("group")]
32+
public string Group { get; set; }
33+
/// <summary>
34+
/// Zero-based character offsets that indicate where the entity value begins and ends in the input text.
35+
/// </summary>
36+
[fsProperty("location")]
37+
public List<long?> Location { get; set; }
38+
}
39+
40+
41+
}

Scripts/Services/Assistant/v1/Model/CaptureGroup.cs.meta

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
/**
2+
* Copyright 2019 IBM Corp. All Rights Reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*
16+
*/
17+
18+
using FullSerializer;
19+
20+
namespace IBM.Watson.Assistant.v1.Model
21+
{
22+
/// <summary>
23+
/// State information for the conversation. To maintain state, include the context from the previous response.
24+
/// </summary>
25+
public class Context
26+
{
27+
/// <summary>
28+
/// The unique identifier of the conversation.
29+
/// </summary>
30+
[fsProperty("conversation_id")]
31+
public string ConversationId { get; set; }
32+
/// <summary>
33+
/// For internal use only.
34+
/// </summary>
35+
[fsProperty("system")]
36+
public SystemResponse System { get; set; }
37+
/// <summary>
38+
/// Metadata related to the message.
39+
/// </summary>
40+
[fsProperty("metadata")]
41+
public MessageContextMetadata Metadata { get; set; }
42+
}
43+
44+
45+
}

Scripts/Services/Assistant/v1/Model/Context.cs.meta

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
/**
2+
* Copyright 2019 IBM Corp. All Rights Reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*
16+
*/
17+
18+
using FullSerializer;
19+
using System;
20+
21+
namespace IBM.Watson.Assistant.v1.Model
22+
{
23+
/// <summary>
24+
/// Counterexample.
25+
/// </summary>
26+
public class Counterexample
27+
{
28+
/// <summary>
29+
/// The text of the counterexample.
30+
/// </summary>
31+
[fsProperty("text")]
32+
public string Text { get; set; }
33+
/// <summary>
34+
/// The timestamp for creation of the counterexample.
35+
/// </summary>
36+
[fsProperty("created")]
37+
public virtual DateTime? Created { get; private set; }
38+
/// <summary>
39+
/// The timestamp for the last update to the counterexample.
40+
/// </summary>
41+
[fsProperty("updated")]
42+
public virtual DateTime? Updated { get; private set; }
43+
}
44+
45+
46+
}

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

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
/**
2+
* Copyright 2019 IBM Corp. All Rights Reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*
16+
*/
17+
18+
using System.Collections.Generic;
19+
using FullSerializer;
20+
21+
namespace IBM.Watson.Assistant.v1.Model
22+
{
23+
/// <summary>
24+
/// CounterexampleCollection.
25+
/// </summary>
26+
public class CounterexampleCollection
27+
{
28+
/// <summary>
29+
/// An array of objects describing the examples marked as irrelevant input.
30+
/// </summary>
31+
[fsProperty("counterexamples")]
32+
public List<Counterexample> Counterexamples { get; set; }
33+
/// <summary>
34+
/// The pagination data for the returned objects.
35+
/// </summary>
36+
[fsProperty("pagination")]
37+
public Pagination Pagination { get; set; }
38+
}
39+
40+
41+
}

Scripts/Services/Assistant/v1/Model/CounterexampleCollection.cs.meta

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
/**
2+
* Copyright 2019 IBM Corp. All Rights Reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*
16+
*/
17+
18+
using FullSerializer;
19+
20+
namespace IBM.Watson.Assistant.v1.Model
21+
{
22+
/// <summary>
23+
/// CreateCounterexample.
24+
/// </summary>
25+
public class CreateCounterexample
26+
{
27+
/// <summary>
28+
/// The text of a user input marked as irrelevant input. This string must conform to the following restrictions:
29+
///
30+
/// - It cannot contain carriage return, newline, or tab characters
31+
/// - It cannot consist of only whitespace characters
32+
/// - It must be no longer than 1024 characters.
33+
/// </summary>
34+
[fsProperty("text")]
35+
public string Text { get; set; }
36+
}
37+
38+
39+
}

Scripts/Services/Assistant/v1/Model/CreateCounterexample.cs.meta

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)