/// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context) { UpdateDataSourceResponse response = new UpdateDataSourceResponse(); return(response); }
public static UpdateDataSourceResponse Unmarshall(UnmarshallerContext _ctx) { UpdateDataSourceResponse updateDataSourceResponse = new UpdateDataSourceResponse(); updateDataSourceResponse.HttpResponse = _ctx.HttpResponse; updateDataSourceResponse.RequestId = _ctx.StringValue("UpdateDataSource.RequestId"); return(updateDataSourceResponse); }
public static UpdateDataSourceResponse Unmarshall(UnmarshallerContext _ctx) { UpdateDataSourceResponse updateDataSourceResponse = new UpdateDataSourceResponse(); updateDataSourceResponse.HttpResponse = _ctx.HttpResponse; updateDataSourceResponse.Success = _ctx.BooleanValue("UpdateDataSource.Success"); updateDataSourceResponse.HttpStatusCode = _ctx.StringValue("UpdateDataSource.HttpStatusCode"); updateDataSourceResponse.Data = _ctx.BooleanValue("UpdateDataSource.Data"); updateDataSourceResponse.RequestId = _ctx.StringValue("UpdateDataSource.RequestId"); return(updateDataSourceResponse); }
public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context) { UpdateDataSourceResponse response = new UpdateDataSourceResponse(); context.Read(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("DataSourceId", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.DataSourceId = unmarshaller.Unmarshall(context); continue; } } return(response); }