Aliyun.Acs.Cdn.Transform.V20141111.StartMixStreamsServiceResponseUnmarshaller.Unmarshall C# (CSharp) Méthode

Unmarshall() public static méthode

public static Unmarshall ( UnmarshallerContext context ) : StartMixStreamsServiceResponse
context UnmarshallerContext
Résultat Aliyun.Acs.Cdn.Model.V20141111.StartMixStreamsServiceResponse
        public static StartMixStreamsServiceResponse Unmarshall(UnmarshallerContext context)
        {
            StartMixStreamsServiceResponse startMixStreamsServiceResponse = new StartMixStreamsServiceResponse();

            startMixStreamsServiceResponse.HttpResponse = context.HttpResponse;
            startMixStreamsServiceResponse.RequestId = context.StringValue("StartMixStreamsService.RequestId");

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

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

            return startMixStreamsServiceResponse;
        }
StartMixStreamsServiceResponseUnmarshaller