Esempio n. 1
0
        public static UpdateWatermarkResponse Unmarshall(UnmarshallerContext context)
        {
            UpdateWatermarkResponse updateWatermarkResponse = new UpdateWatermarkResponse();

            updateWatermarkResponse.HttpResponse = context.HttpResponse;
            updateWatermarkResponse.RequestId    = context.StringValue("UpdateWatermark.RequestId");

            UpdateWatermarkResponse.UpdateWatermark_WatermarkInfo watermarkInfo = new UpdateWatermarkResponse.UpdateWatermark_WatermarkInfo();
            watermarkInfo.CreationTime            = context.StringValue("UpdateWatermark.WatermarkInfo.CreationTime");
            watermarkInfo.Type                    = context.StringValue("UpdateWatermark.WatermarkInfo.Type");
            watermarkInfo.IsDefault               = context.StringValue("UpdateWatermark.WatermarkInfo.IsDefault");
            watermarkInfo.WatermarkId             = context.StringValue("UpdateWatermark.WatermarkInfo.WatermarkId");
            watermarkInfo.Name                    = context.StringValue("UpdateWatermark.WatermarkInfo.Name");
            watermarkInfo.FileUrl                 = context.StringValue("UpdateWatermark.WatermarkInfo.FileUrl");
            watermarkInfo.WatermarkConfig         = context.StringValue("UpdateWatermark.WatermarkInfo.WatermarkConfig");
            updateWatermarkResponse.WatermarkInfo = watermarkInfo;

            return(updateWatermarkResponse);
        }
Esempio n. 2
0
        public static UpdateWatermarkResponse Unmarshall(UnmarshallerContext context)
        {
            UpdateWatermarkResponse updateWatermarkResponse = new UpdateWatermarkResponse();

            updateWatermarkResponse.HttpResponse = context.HttpResponse;
            updateWatermarkResponse.RequestId    = context.StringValue("UpdateWatermark.RequestId");

            UpdateWatermarkResponse.UpdateWatermark_Watermark watermark = new UpdateWatermarkResponse.UpdateWatermark_Watermark();
            watermark.CreateTime       = context.IntegerValue("UpdateWatermark.Watermark.CreateTime");
            watermark.HorizontalOffset = context.StringValue("UpdateWatermark.Watermark.HorizontalOffset");
            watermark.IsDefault        = context.StringValue("UpdateWatermark.Watermark.IsDefault");
            watermark.Position         = context.StringValue("UpdateWatermark.Watermark.Position");
            watermark.WatermarkId      = context.StringValue("UpdateWatermark.Watermark.WatermarkId");
            watermark.VerticalOffset   = context.StringValue("UpdateWatermark.Watermark.VerticalOffset");
            watermark.Width            = context.StringValue("UpdateWatermark.Watermark.Width");
            watermark.Height           = context.StringValue("UpdateWatermark.Watermark.Height");
            watermark.Url                     = context.StringValue("UpdateWatermark.Watermark.Url");
            watermark.VideoHeight             = context.IntegerValue("UpdateWatermark.Watermark.VideoHeight");
            watermark.VideoWidth              = context.IntegerValue("UpdateWatermark.Watermark.VideoWidth");
            watermark.ScreenMode              = context.StringValue("UpdateWatermark.Watermark.ScreenMode");
            watermark.Name                    = context.StringValue("UpdateWatermark.Watermark.Name");
            updateWatermarkResponse.Watermark = watermark;

            UpdateWatermarkResponse.UpdateWatermark_WatermarkInfo watermarkInfo = new UpdateWatermarkResponse.UpdateWatermark_WatermarkInfo();
            watermarkInfo.CreationTime            = context.StringValue("UpdateWatermark.WatermarkInfo.CreationTime");
            watermarkInfo.Type                    = context.StringValue("UpdateWatermark.WatermarkInfo.Type");
            watermarkInfo.IsDefault               = context.StringValue("UpdateWatermark.WatermarkInfo.IsDefault");
            watermarkInfo.WatermarkId             = context.StringValue("UpdateWatermark.WatermarkInfo.WatermarkId");
            watermarkInfo.ScreenWidth             = context.IntegerValue("UpdateWatermark.WatermarkInfo.ScreenWidth");
            watermarkInfo.ScreenHeight            = context.IntegerValue("UpdateWatermark.WatermarkInfo.ScreenHeight");
            watermarkInfo.Name                    = context.StringValue("UpdateWatermark.WatermarkInfo.Name");
            watermarkInfo.FileUrl                 = context.StringValue("UpdateWatermark.WatermarkInfo.FileUrl");
            watermarkInfo.WatermarkConfig         = context.StringValue("UpdateWatermark.WatermarkInfo.WatermarkConfig");
            updateWatermarkResponse.WatermarkInfo = watermarkInfo;

            return(updateWatermarkResponse);
        }