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

Unmarshall() public static method

public static Unmarshall ( UnmarshallerContext context ) : DescribeLiveStreamDomainAppInfoResponse
context UnmarshallerContext
return Aliyun.Acs.Cdn.Model.V20141111.DescribeLiveStreamDomainAppInfoResponse
        public static DescribeLiveStreamDomainAppInfoResponse Unmarshall(UnmarshallerContext context)
        {
            DescribeLiveStreamDomainAppInfoResponse describeLiveStreamDomainAppInfoResponse = new DescribeLiveStreamDomainAppInfoResponse();

            describeLiveStreamDomainAppInfoResponse.HttpResponse = context.HttpResponse;
            describeLiveStreamDomainAppInfoResponse.RequestId = context.StringValue("DescribeLiveStreamDomainAppInfo.RequestId");

            List<DescribeLiveStreamDomainAppInfoResponse.DomainAppInfo> domainAppList = new List<DescribeLiveStreamDomainAppInfoResponse.DomainAppInfo>();
            for (int i = 0; i < context.Length("DescribeLiveStreamDomainAppInfo.DomainAppList.Length"); i++) {
                DescribeLiveStreamDomainAppInfoResponse.DomainAppInfo domainAppInfo = new DescribeLiveStreamDomainAppInfoResponse.DomainAppInfo();
                domainAppInfo.AppDomain = context.StringValue("DescribeLiveStreamDomainAppInfo.DomainAppList["+ i +"].AppDomain");
                domainAppInfo.AppId = context.StringValue("DescribeLiveStreamDomainAppInfo.DomainAppList["+ i +"].AppId");
                domainAppInfo.AppKey = context.StringValue("DescribeLiveStreamDomainAppInfo.DomainAppList["+ i +"].AppKey");
                domainAppInfo.AppOssBucket = context.StringValue("DescribeLiveStreamDomainAppInfo.DomainAppList["+ i +"].AppOssBucket");
                domainAppInfo.AppOssHost = context.StringValue("DescribeLiveStreamDomainAppInfo.DomainAppList["+ i +"].AppOssHost");
                domainAppInfo.AppOwnerId = context.StringValue("DescribeLiveStreamDomainAppInfo.DomainAppList["+ i +"].AppOwnerId");
                domainAppInfo.AppSecret = context.StringValue("DescribeLiveStreamDomainAppInfo.DomainAppList["+ i +"].AppSecret");
                domainAppInfo.UpdateTime = context.StringValue("DescribeLiveStreamDomainAppInfo.DomainAppList["+ i +"].UpdateTime");

                domainAppList.Add(domainAppInfo);
            }
            describeLiveStreamDomainAppInfoResponse.DomainAppList = domainAppList;

            return describeLiveStreamDomainAppInfoResponse;
        }
DescribeLiveStreamDomainAppInfoResponseUnmarshaller