Exemplo n.º 1
0
        public static ModifyTTSConfigResponse Unmarshall(UnmarshallerContext context)
        {
            ModifyTTSConfigResponse modifyTTSConfigResponse = new ModifyTTSConfigResponse();

            modifyTTSConfigResponse.HttpResponse = context.HttpResponse;
            modifyTTSConfigResponse.RequestId    = context.StringValue("ModifyTTSConfig.RequestId");

            return(modifyTTSConfigResponse);
        }
Exemplo n.º 2
0
        public static ModifyTTSConfigResponse Unmarshall(UnmarshallerContext _ctx)
        {
            ModifyTTSConfigResponse modifyTTSConfigResponse = new ModifyTTSConfigResponse();

            modifyTTSConfigResponse.HttpResponse   = _ctx.HttpResponse;
            modifyTTSConfigResponse.Code           = _ctx.StringValue("ModifyTTSConfig.Code");
            modifyTTSConfigResponse.HttpStatusCode = _ctx.IntegerValue("ModifyTTSConfig.HttpStatusCode");
            modifyTTSConfigResponse.Message        = _ctx.StringValue("ModifyTTSConfig.Message");
            modifyTTSConfigResponse.RequestId      = _ctx.StringValue("ModifyTTSConfig.RequestId");
            modifyTTSConfigResponse.Success        = _ctx.BooleanValue("ModifyTTSConfig.Success");

            ModifyTTSConfigResponse.ModifyTTSConfig_TTSConfig tTSConfig = new ModifyTTSConfigResponse.ModifyTTSConfig_TTSConfig();
            tTSConfig.InstanceId              = _ctx.StringValue("ModifyTTSConfig.TTSConfig.InstanceId");
            tTSConfig.ScriptId                = _ctx.StringValue("ModifyTTSConfig.TTSConfig.ScriptId");
            tTSConfig.SpeechRate              = _ctx.StringValue("ModifyTTSConfig.TTSConfig.SpeechRate");
            tTSConfig.TTSConfigId             = _ctx.StringValue("ModifyTTSConfig.TTSConfig.TTSConfigId");
            tTSConfig.Voice                   = _ctx.StringValue("ModifyTTSConfig.TTSConfig.Voice");
            tTSConfig.Volume                  = _ctx.StringValue("ModifyTTSConfig.TTSConfig.Volume");
            modifyTTSConfigResponse.TTSConfig = tTSConfig;

            return(modifyTTSConfigResponse);
        }