public static DescribeLiveStreamsBlockListResponse Unmarshall(UnmarshallerContext context)
        {
            DescribeLiveStreamsBlockListResponse describeLiveStreamsBlockListResponse = new DescribeLiveStreamsBlockListResponse();

            describeLiveStreamsBlockListResponse.HttpResponse = context.HttpResponse;
            describeLiveStreamsBlockListResponse.RequestId    = context.StringValue("DescribeLiveStreamsBlockList.RequestId");
            describeLiveStreamsBlockListResponse.DomainName   = context.StringValue("DescribeLiveStreamsBlockList.DomainName");

            List <string> describeLiveStreamsBlockListResponse_streamUrls = new List <string>();

            for (int i = 0; i < context.Length("DescribeLiveStreamsBlockList.StreamUrls.Length"); i++)
            {
                describeLiveStreamsBlockListResponse_streamUrls.Add(context.StringValue("DescribeLiveStreamsBlockList.StreamUrls[" + i + "]"));
            }
            describeLiveStreamsBlockListResponse.StreamUrls = describeLiveStreamsBlockListResponse_streamUrls;

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

            describeLiveStreamsBlockListResponse.HttpResponse = _ctx.HttpResponse;
            describeLiveStreamsBlockListResponse.RequestId    = _ctx.StringValue("DescribeLiveStreamsBlockList.RequestId");
            describeLiveStreamsBlockListResponse.DomainName   = _ctx.StringValue("DescribeLiveStreamsBlockList.DomainName");
            describeLiveStreamsBlockListResponse.PageNum      = _ctx.IntegerValue("DescribeLiveStreamsBlockList.PageNum");
            describeLiveStreamsBlockListResponse.PageSize     = _ctx.IntegerValue("DescribeLiveStreamsBlockList.PageSize");
            describeLiveStreamsBlockListResponse.TotalNum     = _ctx.IntegerValue("DescribeLiveStreamsBlockList.TotalNum");
            describeLiveStreamsBlockListResponse.TotalPage    = _ctx.IntegerValue("DescribeLiveStreamsBlockList.TotalPage");

            List <string> describeLiveStreamsBlockListResponse_streamUrls = new List <string>();

            for (int i = 0; i < _ctx.Length("DescribeLiveStreamsBlockList.StreamUrls.Length"); i++)
            {
                describeLiveStreamsBlockListResponse_streamUrls.Add(_ctx.StringValue("DescribeLiveStreamsBlockList.StreamUrls[" + i + "]"));
            }
            describeLiveStreamsBlockListResponse.StreamUrls = describeLiveStreamsBlockListResponse_streamUrls;

            return(describeLiveStreamsBlockListResponse);
        }