|
| 1 | +/** |
| 2 | +* (C) Copyright IBM Corp. 2022. |
| 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 Newtonsoft.Json; |
| 20 | +using System; |
| 21 | + |
| 22 | +namespace IBM.Watson.Assistant.v2.Model |
| 23 | +{ |
| 24 | + /// <summary> |
| 25 | + /// Environment. |
| 26 | + /// </summary> |
| 27 | + public class Environment |
| 28 | + { |
| 29 | + /// <summary> |
| 30 | + /// The name of the environment. |
| 31 | + /// </summary> |
| 32 | + [JsonProperty("name", NullValueHandling = NullValueHandling.Ignore)] |
| 33 | + public string Name { get; set; } |
| 34 | + /// <summary> |
| 35 | + /// The description of the environment. |
| 36 | + /// </summary> |
| 37 | + [JsonProperty("description", NullValueHandling = NullValueHandling.Ignore)] |
| 38 | + public string Description { get; set; } |
| 39 | + /// <summary> |
| 40 | + /// The language of the environment. An environment is always created with the same language as the assistant it |
| 41 | + /// is associated with. |
| 42 | + /// </summary> |
| 43 | + [JsonProperty("language", NullValueHandling = NullValueHandling.Ignore)] |
| 44 | + public string Language { get; set; } |
| 45 | + /// <summary> |
| 46 | + /// The assistant ID of the assistant the environment is associated with. |
| 47 | + /// </summary> |
| 48 | + [JsonProperty("assistant_id", NullValueHandling = NullValueHandling.Ignore)] |
| 49 | + public virtual string AssistantId { get; private set; } |
| 50 | + /// <summary> |
| 51 | + /// The environment ID of the environment. |
| 52 | + /// </summary> |
| 53 | + [JsonProperty("environment_id", NullValueHandling = NullValueHandling.Ignore)] |
| 54 | + public virtual string EnvironmentId { get; private set; } |
| 55 | + /// <summary> |
| 56 | + /// The type of the environment. All environments other than the `draft` and `live` environments have the type |
| 57 | + /// `staging`. |
| 58 | + /// </summary> |
| 59 | + [JsonProperty("environment", NullValueHandling = NullValueHandling.Ignore)] |
| 60 | + public virtual string _Environment { get; private set; } |
| 61 | + /// <summary> |
| 62 | + /// An object describing the release that is currently deployed in the environment. |
| 63 | + /// </summary> |
| 64 | + [JsonProperty("release_reference", NullValueHandling = NullValueHandling.Ignore)] |
| 65 | + public EnvironmentReleaseReference ReleaseReference { get; set; } |
| 66 | + /// <summary> |
| 67 | + /// The search skill orchestration settings for the environment. |
| 68 | + /// </summary> |
| 69 | + [JsonProperty("orchestration", NullValueHandling = NullValueHandling.Ignore)] |
| 70 | + public EnvironmentOrchestration Orchestration { get; set; } |
| 71 | + /// <summary> |
| 72 | + /// The session inactivity timeout setting for the environment. |
| 73 | + /// </summary> |
| 74 | + [JsonProperty("session_timeout", NullValueHandling = NullValueHandling.Ignore)] |
| 75 | + public long? SessionTimeout { get; set; } |
| 76 | + /// <summary> |
| 77 | + /// An array of objects describing the integrations that exist in the environment. |
| 78 | + /// </summary> |
| 79 | + [JsonProperty("integration_references", NullValueHandling = NullValueHandling.Ignore)] |
| 80 | + public List<IntegrationReference> IntegrationReferences { get; set; } |
| 81 | + /// <summary> |
| 82 | + /// An array of objects describing the skills (such as actions and dialog) that exist in the environment. |
| 83 | + /// </summary> |
| 84 | + [JsonProperty("skill_references", NullValueHandling = NullValueHandling.Ignore)] |
| 85 | + public List<SkillReference> SkillReferences { get; set; } |
| 86 | + /// <summary> |
| 87 | + /// The timestamp for creation of the object. |
| 88 | + /// </summary> |
| 89 | + [JsonProperty("created", NullValueHandling = NullValueHandling.Ignore)] |
| 90 | + public virtual DateTime? Created { get; private set; } |
| 91 | + /// <summary> |
| 92 | + /// The timestamp for the most recent update to the object. |
| 93 | + /// </summary> |
| 94 | + [JsonProperty("updated", NullValueHandling = NullValueHandling.Ignore)] |
| 95 | + public virtual DateTime? Updated { get; private set; } |
| 96 | + } |
| 97 | + |
| 98 | +} |
0 commit comments