/// <summary> /// Initializes a new instance of the VoiceTestDefinition class. /// </summary> /// <param name="text">Information about the text used in the voice /// test</param> /// <param name="model">Information about the models used in the voice /// test</param> /// <param name="voiceTestKind">The kind of this test (e.g. Text, /// SSML). Possible values include: 'Text', 'SSML'</param> public VoiceTestDefinition(string text, ModelIdentity model, string voiceTestKind) { Text = text; Model = model; VoiceTestKind = voiceTestKind; CustomInit(); }
/// <summary> /// Initializes a new instance of the ModelDefinition class. /// </summary> /// <param name="modelKind">The kind of this model (e.g. acoustic, /// language ...). Possible values include: 'Acoustic', 'Language', /// 'AcousticAndLanguage', 'CustomVoice', 'LanguageGeneration'</param> /// <param name="name">The name of the object</param> /// <param name="locale">The locale of the contained data</param> /// <param name="text">The text used to adapt this language /// model</param> /// <param name="baseModel">The base model used for adaptation</param> /// <param name="datasets">Datasets used for adaptation</param> /// <param name="description">The description of the object</param> /// <param name="properties">The custom properties of this /// entity</param> public ModelDefinition(string modelKind, string name, string locale, string text = default(string), ModelIdentity baseModel = default(ModelIdentity), IList <DatasetIdentity> datasets = default(IList <DatasetIdentity>), string description = default(string), IDictionary <string, string> properties = default(IDictionary <string, string>)) { Text = text; BaseModel = baseModel; Datasets = datasets; ModelKind = modelKind; Name = name; Description = description; Properties = properties; Locale = locale; CustomInit(); }