|
1 | 1 | /**
|
2 |
| -* Copyright 2018, 2019 IBM Corp. All Rights Reserved. |
| 2 | +* (C) Copyright IBM Corp. 2020. |
3 | 3 | *
|
4 | 4 | * Licensed under the Apache License, Version 2.0 (the "License");
|
5 | 5 | * you may not use this file except in compliance with the License.
|
|
21 | 21 | namespace IBM.Watson.TextToSpeech.V1.Model
|
22 | 22 | {
|
23 | 23 | /// <summary>
|
24 |
| - /// Information about an existing custom voice model. |
| 24 | + /// Information about an existing custom model. |
25 | 25 | /// </summary>
|
26 |
| - public class VoiceModel |
| 26 | + public class CustomModel |
27 | 27 | {
|
28 | 28 | /// <summary>
|
29 |
| - /// The customization ID (GUID) of the custom voice model. The **Create a custom model** method returns only |
30 |
| - /// this field. It does not not return the other fields of this object. |
| 29 | + /// The customization ID (GUID) of the custom model. The **Create a custom model** method returns only this |
| 30 | + /// field. It does not not return the other fields of this object. |
31 | 31 | /// </summary>
|
32 | 32 | [JsonProperty("customization_id", NullValueHandling = NullValueHandling.Ignore)]
|
33 | 33 | public string CustomizationId { get; set; }
|
34 | 34 | /// <summary>
|
35 |
| - /// The name of the custom voice model. |
| 35 | + /// The name of the custom model. |
36 | 36 | /// </summary>
|
37 | 37 | [JsonProperty("name", NullValueHandling = NullValueHandling.Ignore)]
|
38 | 38 | public string Name { get; set; }
|
39 | 39 | /// <summary>
|
40 |
| - /// The language identifier of the custom voice model (for example, `en-US`). |
| 40 | + /// The language identifier of the custom model (for example, `en-US`). |
41 | 41 | /// </summary>
|
42 | 42 | [JsonProperty("language", NullValueHandling = NullValueHandling.Ignore)]
|
43 | 43 | public string Language { get; set; }
|
44 | 44 | /// <summary>
|
45 |
| - /// The GUID of the credentials for the instance of the service that owns the custom voice model. |
| 45 | + /// The GUID of the credentials for the instance of the service that owns the custom model. |
46 | 46 | /// </summary>
|
47 | 47 | [JsonProperty("owner", NullValueHandling = NullValueHandling.Ignore)]
|
48 | 48 | public string Owner { get; set; }
|
49 | 49 | /// <summary>
|
50 |
| - /// The date and time in Coordinated Universal Time (UTC) at which the custom voice model was created. The value |
51 |
| - /// is provided in full ISO 8601 format (`YYYY-MM-DDThh:mm:ss.sTZD`). |
| 50 | + /// The date and time in Coordinated Universal Time (UTC) at which the custom model was created. The value is |
| 51 | + /// provided in full ISO 8601 format (`YYYY-MM-DDThh:mm:ss.sTZD`). |
52 | 52 | /// </summary>
|
53 | 53 | [JsonProperty("created", NullValueHandling = NullValueHandling.Ignore)]
|
54 | 54 | public string Created { get; set; }
|
55 | 55 | /// <summary>
|
56 |
| - /// The date and time in Coordinated Universal Time (UTC) at which the custom voice model was last modified. The |
57 |
| - /// `created` and `updated` fields are equal when a voice model is first added but has yet to be updated. The |
58 |
| - /// value is provided in full ISO 8601 format (`YYYY-MM-DDThh:mm:ss.sTZD`). |
| 56 | + /// The date and time in Coordinated Universal Time (UTC) at which the custom model was last modified. The |
| 57 | + /// `created` and `updated` fields are equal when a model is first added but has yet to be updated. The value is |
| 58 | + /// provided in full ISO 8601 format (`YYYY-MM-DDThh:mm:ss.sTZD`). |
59 | 59 | /// </summary>
|
60 | 60 | [JsonProperty("last_modified", NullValueHandling = NullValueHandling.Ignore)]
|
61 | 61 | public string LastModified { get; set; }
|
62 | 62 | /// <summary>
|
63 |
| - /// The description of the custom voice model. |
| 63 | + /// The description of the custom model. |
64 | 64 | /// </summary>
|
65 | 65 | [JsonProperty("description", NullValueHandling = NullValueHandling.Ignore)]
|
66 | 66 | public string Description { get; set; }
|
67 | 67 | /// <summary>
|
68 |
| - /// An array of `Word` objects that lists the words and their translations from the custom voice model. The |
69 |
| - /// words are listed in alphabetical order, with uppercase letters listed before lowercase letters. The array is |
70 |
| - /// empty if the custom model contains no words. This field is returned only by the **Get a voice** method and |
71 |
| - /// only when you specify the customization ID of a custom voice model. |
| 68 | + /// An array of `Word` objects that lists the words and their translations from the custom model. The words are |
| 69 | + /// listed in alphabetical order, with uppercase letters listed before lowercase letters. The array is empty if |
| 70 | + /// the custom model contains no words. This field is returned only by the **Get a voice** method and only when |
| 71 | + /// you specify the customization ID of a custom model. |
72 | 72 | /// </summary>
|
73 | 73 | [JsonProperty("words", NullValueHandling = NullValueHandling.Ignore)]
|
74 | 74 | public List<Word> Words { get; set; }
|
|
0 commit comments