public static ChangeImageSizeResponse Unmarshall(UnmarshallerContext context) { ChangeImageSizeResponse changeImageSizeResponse = new ChangeImageSizeResponse(); changeImageSizeResponse.HttpResponse = context.HttpResponse; changeImageSizeResponse.RequestId = context.StringValue("ChangeImageSize.RequestId"); changeImageSizeResponse.Code = context.StringValue("ChangeImageSize.Code"); changeImageSizeResponse.Message = context.StringValue("ChangeImageSize.Message"); ChangeImageSizeResponse.ChangeImageSize_Data data = new ChangeImageSizeResponse.ChangeImageSize_Data(); data.Url = context.StringValue("ChangeImageSize.Data.Url"); changeImageSizeResponse.Data = data; return(changeImageSizeResponse); }
public static ChangeImageSizeResponse Unmarshall(UnmarshallerContext _ctx) { ChangeImageSizeResponse changeImageSizeResponse = new ChangeImageSizeResponse(); changeImageSizeResponse.HttpResponse = _ctx.HttpResponse; changeImageSizeResponse.RequestId = _ctx.StringValue("ChangeImageSize.RequestId"); ChangeImageSizeResponse.ChangeImageSize_Data data = new ChangeImageSizeResponse.ChangeImageSize_Data(); data.Url = _ctx.StringValue("ChangeImageSize.Data.Url"); ChangeImageSizeResponse.ChangeImageSize_Data.ChangeImageSize_RetainLocation retainLocation = new ChangeImageSizeResponse.ChangeImageSize_Data.ChangeImageSize_RetainLocation(); retainLocation.X = _ctx.IntegerValue("ChangeImageSize.Data.RetainLocation.X"); retainLocation.Y = _ctx.IntegerValue("ChangeImageSize.Data.RetainLocation.Y"); retainLocation.Width = _ctx.IntegerValue("ChangeImageSize.Data.RetainLocation.Width"); retainLocation.Height = _ctx.IntegerValue("ChangeImageSize.Data.RetainLocation.Height"); data.RetainLocation = retainLocation; changeImageSizeResponse.Data = data; return(changeImageSizeResponse); }