Exemplo n.º 1
0
        public static AddPipelineResponse Unmarshall(UnmarshallerContext context)
        {
            AddPipelineResponse addPipelineResponse = new AddPipelineResponse()
            {
                HttpResponse = context.HttpResponse,
                RequestId    = context.StringValue("AddPipeline.RequestId")
            };

            AddPipelineResponse.Pipeline_ pipeline = new AddPipelineResponse.Pipeline_()
            {
                Id    = context.StringValue("AddPipeline.Pipeline.Id"),
                Name  = context.StringValue("AddPipeline.Pipeline.Name"),
                State = context.StringValue("AddPipeline.Pipeline.State"),
                Speed = context.StringValue("AddPipeline.Pipeline.Speed"),
                Role  = context.StringValue("AddPipeline.Pipeline.Role")
            };
            AddPipelineResponse.Pipeline_.NotifyConfig_ notifyConfig = new AddPipelineResponse.Pipeline_.NotifyConfig_()
            {
                Topic     = context.StringValue("AddPipeline.Pipeline.NotifyConfig.Topic"),
                QueueName = context.StringValue("AddPipeline.Pipeline.NotifyConfig.QueueName")
            };
            pipeline.NotifyConfig        = notifyConfig;
            addPipelineResponse.Pipeline = pipeline;

            return(addPipelineResponse);
        }
Exemplo n.º 2
0
        public static AddPipelineResponse Unmarshall(UnmarshallerContext context)
        {
            AddPipelineResponse addPipelineResponse = new AddPipelineResponse();

            addPipelineResponse.HttpResponse = context.HttpResponse;
            addPipelineResponse.RequestId    = context.StringValue("AddPipeline.RequestId");

            AddPipelineResponse.AddPipeline_Pipeline pipeline = new AddPipelineResponse.AddPipeline_Pipeline();
            pipeline.Id            = context.StringValue("AddPipeline.Pipeline.Id");
            pipeline.Name          = context.StringValue("AddPipeline.Pipeline.Name");
            pipeline.State         = context.StringValue("AddPipeline.Pipeline.State");
            pipeline.Speed         = context.StringValue("AddPipeline.Pipeline.Speed");
            pipeline.SpeedLevel    = context.LongValue("AddPipeline.Pipeline.SpeedLevel");
            pipeline.QuotaAllocate = context.LongValue("AddPipeline.Pipeline.QuotaAllocate");
            pipeline.Role          = context.StringValue("AddPipeline.Pipeline.Role");

            AddPipelineResponse.AddPipeline_Pipeline.AddPipeline_NotifyConfig notifyConfig = new AddPipelineResponse.AddPipeline_Pipeline.AddPipeline_NotifyConfig();
            notifyConfig.Topic           = context.StringValue("AddPipeline.Pipeline.NotifyConfig.Topic");
            notifyConfig.QueueName       = context.StringValue("AddPipeline.Pipeline.NotifyConfig.QueueName");
            notifyConfig.MqTopic         = context.StringValue("AddPipeline.Pipeline.NotifyConfig.MqTopic");
            notifyConfig.MqTag           = context.StringValue("AddPipeline.Pipeline.NotifyConfig.MqTag");
            pipeline.NotifyConfig        = notifyConfig;
            addPipelineResponse.Pipeline = pipeline;

            return(addPipelineResponse);
        }
Exemplo n.º 3
0
        public static AddPipelineResponse Unmarshall(UnmarshallerContext context)
        {
            AddPipelineResponse addPipelineResponse = new AddPipelineResponse();

            addPipelineResponse.HttpResponse = context.HttpResponse;
            addPipelineResponse.RequestId    = context.StringValue("AddPipeline.RequestId");
            addPipelineResponse.PipelineId   = context.StringValue("AddPipeline.PipelineId");

            return(addPipelineResponse);
        }