Aliyun.Acs.Cdn.Transform.V20141111.StopMixStreamsServiceResponseUnmarshaller.Unmarshall C# (CSharp) Method

Unmarshall() public static method

public static Unmarshall ( UnmarshallerContext context ) : StopMixStreamsServiceResponse
context UnmarshallerContext
return StopMixStreamsServiceResponse
        public static StopMixStreamsServiceResponse Unmarshall(UnmarshallerContext context)
        {
            StopMixStreamsServiceResponse stopMixStreamsServiceResponse = new StopMixStreamsServiceResponse();

            stopMixStreamsServiceResponse.HttpResponse = context.HttpResponse;
            stopMixStreamsServiceResponse.RequestId = context.StringValue("StopMixStreamsService.RequestId");

            List<StopMixStreamsServiceResponse.MixStreamsInfo> mixStreamsInfoList = new List<StopMixStreamsServiceResponse.MixStreamsInfo>();
            for (int i = 0; i < context.Length("StopMixStreamsService.MixStreamsInfoList.Length"); i++) {
                StopMixStreamsServiceResponse.MixStreamsInfo mixStreamsInfo = new StopMixStreamsServiceResponse.MixStreamsInfo();
                mixStreamsInfo.DomainName = context.StringValue("StopMixStreamsService.MixStreamsInfoList["+ i +"].DomainName");
                mixStreamsInfo.AppName = context.StringValue("StopMixStreamsService.MixStreamsInfoList["+ i +"].AppName");
                mixStreamsInfo.StreamName = context.StringValue("StopMixStreamsService.MixStreamsInfoList["+ i +"].StreamName");

                mixStreamsInfoList.Add(mixStreamsInfo);
            }
            stopMixStreamsServiceResponse.MixStreamsInfoList = mixStreamsInfoList;

            return stopMixStreamsServiceResponse;
        }
StopMixStreamsServiceResponseUnmarshaller