Refine search
public DescribeConfigurationsResult unmarshall(JsonUnmarshallerContext context) throws Exception { DescribeConfigurationsResult describeConfigurationsResult = new DescribeConfigurationsResult(); int originalDepth = context.getCurrentDepth(); String currentParentElement = context.getCurrentParentElement(); int targetDepth = originalDepth + 1; JsonToken token = context.getCurrentToken(); if (token == null) token = context.nextToken(); if (token == VALUE_NULL) { return describeConfigurationsResult; } while (true) { if (token == null) break; if (token == FIELD_NAME || token == START_OBJECT) { if (context.testExpression("configurations", targetDepth)) { context.nextToken(); describeConfigurationsResult.setConfigurations(new ListUnmarshaller<java.util.Map<String, String>>(new MapUnmarshaller<String, String>( context.getUnmarshaller(String.class), context.getUnmarshaller(String.class))).unmarshall(context)); } } else if (token == END_ARRAY || token == END_OBJECT) { if (context.getLastParsedParentElement() == null || context.getLastParsedParentElement().equals(currentParentElement)) { if (context.getCurrentDepth() <= originalDepth) break; } } token = context.nextToken(); } return describeConfigurationsResult; }
public MaintenanceWindowAutomationParameters unmarshall(JsonUnmarshallerContext context) throws Exception { MaintenanceWindowAutomationParameters maintenanceWindowAutomationParameters = new MaintenanceWindowAutomationParameters(); int originalDepth = context.getCurrentDepth(); String currentParentElement = context.getCurrentParentElement(); int targetDepth = originalDepth + 1; JsonToken token = context.getCurrentToken(); if (token == null) token = context.nextToken(); if (context.testExpression("DocumentVersion", targetDepth)) { context.nextToken(); maintenanceWindowAutomationParameters.setDocumentVersion(context.getUnmarshaller(String.class).unmarshall(context)); if (context.testExpression("Parameters", targetDepth)) { context.nextToken(); maintenanceWindowAutomationParameters.setParameters(new MapUnmarshaller<String, java.util.List<String>>(context .getUnmarshaller(String.class), new ListUnmarshaller<String>(context.getUnmarshaller(String.class))).unmarshall(context));
public Hit unmarshall(JsonUnmarshallerContext context) throws Exception { Hit hit = new Hit(); int originalDepth = context.getCurrentDepth(); String currentParentElement = context.getCurrentParentElement(); int targetDepth = originalDepth + 1; JsonToken token = context.getCurrentToken(); if (token == null) token = context.nextToken(); if (context.testExpression("id", targetDepth)) { context.nextToken(); hit.setId(context.getUnmarshaller(String.class).unmarshall(context)); if (context.testExpression("fields", targetDepth)) { context.nextToken(); hit.setFields(new MapUnmarshaller<String, java.util.List<String>>(context.getUnmarshaller(String.class), new ListUnmarshaller<String>( context.getUnmarshaller(String.class))).unmarshall(context)); if (context.testExpression("exprs", targetDepth)) { context.nextToken(); hit.setExprs(new MapUnmarshaller<String, String>(context.getUnmarshaller(String.class), context.getUnmarshaller(String.class)) .unmarshall(context)); if (context.testExpression("highlights", targetDepth)) { context.nextToken(); hit.setHighlights(new MapUnmarshaller<String, String>(context.getUnmarshaller(String.class), context.getUnmarshaller(String.class)) .unmarshall(context));
public DeploymentCommand unmarshall(JsonUnmarshallerContext context) throws Exception { DeploymentCommand deploymentCommand = new DeploymentCommand(); int originalDepth = context.getCurrentDepth(); String currentParentElement = context.getCurrentParentElement(); int targetDepth = originalDepth + 1; JsonToken token = context.getCurrentToken(); if (token == null) token = context.nextToken(); if (context.testExpression("Name", targetDepth)) { context.nextToken(); deploymentCommand.setName(context.getUnmarshaller(String.class).unmarshall(context)); if (context.testExpression("Args", targetDepth)) { context.nextToken(); deploymentCommand.setArgs(new MapUnmarshaller<String, java.util.List<String>>(context.getUnmarshaller(String.class), new ListUnmarshaller<String>(context.getUnmarshaller(String.class))).unmarshall(context));
public EndpointUser unmarshall(JsonUnmarshallerContext context) throws Exception { EndpointUser endpointUser = new EndpointUser(); int originalDepth = context.getCurrentDepth(); String currentParentElement = context.getCurrentParentElement(); int targetDepth = originalDepth + 1; JsonToken token = context.getCurrentToken(); if (token == null) token = context.nextToken(); if (context.testExpression("UserAttributes", targetDepth)) { context.nextToken(); endpointUser.setUserAttributes(new MapUnmarshaller<String, java.util.List<String>>(context.getUnmarshaller(String.class), new ListUnmarshaller<String>(context.getUnmarshaller(String.class))).unmarshall(context)); if (context.testExpression("UserId", targetDepth)) { context.nextToken(); endpointUser.setUserId(context.getUnmarshaller(String.class).unmarshall(context));
public DefaultMessage unmarshall(JsonUnmarshallerContext context) throws Exception { DefaultMessage defaultMessage = new DefaultMessage(); int originalDepth = context.getCurrentDepth(); String currentParentElement = context.getCurrentParentElement(); int targetDepth = originalDepth + 1; JsonToken token = context.getCurrentToken(); if (token == null) token = context.nextToken(); if (context.testExpression("Body", targetDepth)) { context.nextToken(); defaultMessage.setBody(context.getUnmarshaller(String.class).unmarshall(context)); if (context.testExpression("Substitutions", targetDepth)) { context.nextToken(); defaultMessage.setSubstitutions(new MapUnmarshaller<String, java.util.List<String>>(context.getUnmarshaller(String.class), new ListUnmarshaller<String>(context.getUnmarshaller(String.class))).unmarshall(context));
public ListTagsResult unmarshall(JsonUnmarshallerContext context) throws Exception { ListTagsResult listTagsResult = new ListTagsResult(); int originalDepth = context.getCurrentDepth(); String currentParentElement = context.getCurrentParentElement(); int targetDepth = originalDepth + 1; JsonToken token = context.getCurrentToken(); if (token == null) token = context.nextToken(); if (token == VALUE_NULL) { return listTagsResult; } while (true) { if (token == null) break; if (token == FIELD_NAME || token == START_OBJECT) { if (context.testExpression("Tags", targetDepth)) { context.nextToken(); listTagsResult.setTags(new MapUnmarshaller<String, String>(context.getUnmarshaller(String.class), context.getUnmarshaller(String.class)) .unmarshall(context)); } } else if (token == END_ARRAY || token == END_OBJECT) { if (context.getLastParsedParentElement() == null || context.getLastParsedParentElement().equals(currentParentElement)) { if (context.getCurrentDepth() <= originalDepth) break; } } token = context.nextToken(); } return listTagsResult; }
public ListTagsLogGroupResult unmarshall(JsonUnmarshallerContext context) throws Exception { ListTagsLogGroupResult listTagsLogGroupResult = new ListTagsLogGroupResult(); int originalDepth = context.getCurrentDepth(); String currentParentElement = context.getCurrentParentElement(); int targetDepth = originalDepth + 1; JsonToken token = context.getCurrentToken(); if (token == null) token = context.nextToken(); if (token == VALUE_NULL) { return listTagsLogGroupResult; } while (true) { if (token == null) break; if (token == FIELD_NAME || token == START_OBJECT) { if (context.testExpression("tags", targetDepth)) { context.nextToken(); listTagsLogGroupResult.setTags(new MapUnmarshaller<String, String>(context.getUnmarshaller(String.class), context .getUnmarshaller(String.class)).unmarshall(context)); } } else if (token == END_ARRAY || token == END_OBJECT) { if (context.getLastParsedParentElement() == null || context.getLastParsedParentElement().equals(currentParentElement)) { if (context.getCurrentDepth() <= originalDepth) break; } } token = context.nextToken(); } return listTagsLogGroupResult; }
public GetDevicesInPlacementResult unmarshall(JsonUnmarshallerContext context) throws Exception { GetDevicesInPlacementResult getDevicesInPlacementResult = new GetDevicesInPlacementResult(); int originalDepth = context.getCurrentDepth(); String currentParentElement = context.getCurrentParentElement(); int targetDepth = originalDepth + 1; JsonToken token = context.getCurrentToken(); if (token == null) token = context.nextToken(); if (token == VALUE_NULL) { return getDevicesInPlacementResult; } while (true) { if (token == null) break; if (token == FIELD_NAME || token == START_OBJECT) { if (context.testExpression("devices", targetDepth)) { context.nextToken(); getDevicesInPlacementResult.setDevices(new MapUnmarshaller<String, String>(context.getUnmarshaller(String.class), context .getUnmarshaller(String.class)).unmarshall(context)); } } else if (token == END_ARRAY || token == END_OBJECT) { if (context.getLastParsedParentElement() == null || context.getLastParsedParentElement().equals(currentParentElement)) { if (context.getCurrentDepth() <= originalDepth) break; } } token = context.nextToken(); } return getDevicesInPlacementResult; }
public PerformanceMetrics unmarshall(JsonUnmarshallerContext context) throws Exception { PerformanceMetrics performanceMetrics = new PerformanceMetrics(); int originalDepth = context.getCurrentDepth(); String currentParentElement = context.getCurrentParentElement(); int targetDepth = originalDepth + 1; JsonToken token = context.getCurrentToken(); if (token == null) token = context.nextToken(); if (token == VALUE_NULL) { return null; } while (true) { if (token == null) break; if (token == FIELD_NAME || token == START_OBJECT) { if (context.testExpression("Properties", targetDepth)) { context.nextToken(); performanceMetrics.setProperties(new MapUnmarshaller<String, String>(context.getUnmarshaller(String.class), context .getUnmarshaller(String.class)).unmarshall(context)); } } else if (token == END_ARRAY || token == END_OBJECT) { if (context.getLastParsedParentElement() == null || context.getLastParsedParentElement().equals(currentParentElement)) { if (context.getCurrentDepth() <= originalDepth) break; } } token = context.nextToken(); } return performanceMetrics; }
public AliasRoutingConfiguration unmarshall(JsonUnmarshallerContext context) throws Exception { AliasRoutingConfiguration aliasRoutingConfiguration = new AliasRoutingConfiguration(); int originalDepth = context.getCurrentDepth(); String currentParentElement = context.getCurrentParentElement(); int targetDepth = originalDepth + 1; JsonToken token = context.getCurrentToken(); if (token == null) token = context.nextToken(); if (token == VALUE_NULL) { return null; } while (true) { if (token == null) break; if (token == FIELD_NAME || token == START_OBJECT) { if (context.testExpression("AdditionalVersionWeights", targetDepth)) { context.nextToken(); aliasRoutingConfiguration.setAdditionalVersionWeights(new MapUnmarshaller<String, Double>(context.getUnmarshaller(String.class), context .getUnmarshaller(Double.class)).unmarshall(context)); } } else if (token == END_ARRAY || token == END_OBJECT) { if (context.getLastParsedParentElement() == null || context.getLastParsedParentElement().equals(currentParentElement)) { if (context.getCurrentDepth() <= originalDepth) break; } } token = context.nextToken(); } return aliasRoutingConfiguration; }
public GetTagsResult unmarshall(JsonUnmarshallerContext context) throws Exception { GetTagsResult getTagsResult = new GetTagsResult(); int originalDepth = context.getCurrentDepth(); String currentParentElement = context.getCurrentParentElement(); int targetDepth = originalDepth + 1; JsonToken token = context.getCurrentToken(); if (token == null) token = context.nextToken(); if (token == VALUE_NULL) { return getTagsResult; } while (true) { if (token == null) break; if (token == FIELD_NAME || token == START_OBJECT) { if (context.testExpression("tags", targetDepth)) { context.nextToken(); getTagsResult.setTags(new MapUnmarshaller<String, String>(context.getUnmarshaller(String.class), context.getUnmarshaller(String.class)) .unmarshall(context)); } } else if (token == END_ARRAY || token == END_OBJECT) { if (context.getLastParsedParentElement() == null || context.getLastParsedParentElement().equals(currentParentElement)) { if (context.getCurrentDepth() <= originalDepth) break; } } token = context.nextToken(); } return getTagsResult; }
public ListTagsForResourceResult unmarshall(JsonUnmarshallerContext context) throws Exception { ListTagsForResourceResult listTagsForResourceResult = new ListTagsForResourceResult(); int originalDepth = context.getCurrentDepth(); String currentParentElement = context.getCurrentParentElement(); int targetDepth = originalDepth + 1; JsonToken token = context.getCurrentToken(); if (token == null) token = context.nextToken(); if (token == VALUE_NULL) { return listTagsForResourceResult; } while (true) { if (token == null) break; if (token == FIELD_NAME || token == START_OBJECT) { if (context.testExpression("tags", targetDepth)) { context.nextToken(); listTagsForResourceResult.setTags(new MapUnmarshaller<String, String>(context.getUnmarshaller(String.class), context .getUnmarshaller(String.class)).unmarshall(context)); } } else if (token == END_ARRAY || token == END_OBJECT) { if (context.getLastParsedParentElement() == null || context.getLastParsedParentElement().equals(currentParentElement)) { if (context.getCurrentDepth() <= originalDepth) break; } } token = context.nextToken(); } return listTagsForResourceResult; }
public FindingStatistics unmarshall(JsonUnmarshallerContext context) throws Exception { FindingStatistics findingStatistics = new FindingStatistics(); int originalDepth = context.getCurrentDepth(); String currentParentElement = context.getCurrentParentElement(); int targetDepth = originalDepth + 1; JsonToken token = context.getCurrentToken(); if (token == null) token = context.nextToken(); if (token == VALUE_NULL) { return null; } while (true) { if (token == null) break; if (token == FIELD_NAME || token == START_OBJECT) { if (context.testExpression("countBySeverity", targetDepth)) { context.nextToken(); findingStatistics.setCountBySeverity(new MapUnmarshaller<String, Integer>(context.getUnmarshaller(String.class), context .getUnmarshaller(Integer.class)).unmarshall(context)); } } else if (token == END_ARRAY || token == END_OBJECT) { if (context.getLastParsedParentElement() == null || context.getLastParsedParentElement().equals(currentParentElement)) { if (context.getCurrentDepth() <= originalDepth) break; } } token = context.nextToken(); } return findingStatistics; }
public ListTagsResult unmarshall(JsonUnmarshallerContext context) throws Exception { ListTagsResult listTagsResult = new ListTagsResult(); int originalDepth = context.getCurrentDepth(); String currentParentElement = context.getCurrentParentElement(); int targetDepth = originalDepth + 1; JsonToken token = context.getCurrentToken(); if (token == null) token = context.nextToken(); if (token == VALUE_NULL) { return listTagsResult; } while (true) { if (token == null) break; if (token == FIELD_NAME || token == START_OBJECT) { if (context.testExpression("tags", targetDepth)) { context.nextToken(); listTagsResult.setTags(new MapUnmarshaller<String, String>(context.getUnmarshaller(String.class), context.getUnmarshaller(String.class)) .unmarshall(context)); } } else if (token == END_ARRAY || token == END_OBJECT) { if (context.getLastParsedParentElement() == null || context.getLastParsedParentElement().equals(currentParentElement)) { if (context.getCurrentDepth() <= originalDepth) break; } } token = context.nextToken(); } return listTagsResult; }
public ListConfigurationsResult unmarshall(JsonUnmarshallerContext context) throws Exception { ListConfigurationsResult listConfigurationsResult = new ListConfigurationsResult(); int originalDepth = context.getCurrentDepth(); String currentParentElement = context.getCurrentParentElement(); int targetDepth = originalDepth + 1; JsonToken token = context.getCurrentToken(); if (token == null) token = context.nextToken(); if (context.testExpression("configurations", targetDepth)) { context.nextToken(); listConfigurationsResult.setConfigurations(new ListUnmarshaller<java.util.Map<String, String>>(new MapUnmarshaller<String, String>(context .getUnmarshaller(String.class), context.getUnmarshaller(String.class))).unmarshall(context)); if (context.testExpression("nextToken", targetDepth)) { context.nextToken(); listConfigurationsResult.setNextToken(context.getUnmarshaller(String.class).unmarshall(context));
public GetBlacklistReportsResult unmarshall(JsonUnmarshallerContext context) throws Exception { GetBlacklistReportsResult getBlacklistReportsResult = new GetBlacklistReportsResult(); int originalDepth = context.getCurrentDepth(); String currentParentElement = context.getCurrentParentElement(); int targetDepth = originalDepth + 1; JsonToken token = context.getCurrentToken(); if (token == null) token = context.nextToken(); if (context.testExpression("BlacklistReport", targetDepth)) { context.nextToken(); getBlacklistReportsResult.setBlacklistReport(new MapUnmarshaller<String, java.util.List<BlacklistEntry>>(context .getUnmarshaller(String.class), new ListUnmarshaller<BlacklistEntry>(BlacklistEntryJsonUnmarshaller.getInstance())) .unmarshall(context));
public ListUniqueProblemsResult unmarshall(JsonUnmarshallerContext context) throws Exception { ListUniqueProblemsResult listUniqueProblemsResult = new ListUniqueProblemsResult(); int originalDepth = context.getCurrentDepth(); String currentParentElement = context.getCurrentParentElement(); int targetDepth = originalDepth + 1; JsonToken token = context.getCurrentToken(); if (token == null) token = context.nextToken(); if (context.testExpression("uniqueProblems", targetDepth)) { context.nextToken(); listUniqueProblemsResult.setUniqueProblems(new MapUnmarshaller<String, java.util.List<UniqueProblem>>( context.getUnmarshaller(String.class), new ListUnmarshaller<UniqueProblem>(UniqueProblemJsonUnmarshaller.getInstance())) .unmarshall(context)); if (context.testExpression("nextToken", targetDepth)) { context.nextToken(); listUniqueProblemsResult.setNextToken(context.getUnmarshaller(String.class).unmarshall(context));
public BatchListObjectChildrenResponse unmarshall(JsonUnmarshallerContext context) throws Exception { BatchListObjectChildrenResponse batchListObjectChildrenResponse = new BatchListObjectChildrenResponse(); int originalDepth = context.getCurrentDepth(); String currentParentElement = context.getCurrentParentElement(); int targetDepth = originalDepth + 1; JsonToken token = context.getCurrentToken(); if (token == null) token = context.nextToken(); if (context.testExpression("Children", targetDepth)) { context.nextToken(); batchListObjectChildrenResponse.setChildren(new MapUnmarshaller<String, String>(context.getUnmarshaller(String.class), context .getUnmarshaller(String.class)).unmarshall(context)); if (context.testExpression("NextToken", targetDepth)) { context.nextToken(); batchListObjectChildrenResponse.setNextToken(context.getUnmarshaller(String.class).unmarshall(context));
public DescribeStackProvisioningParametersResult unmarshall(JsonUnmarshallerContext context) throws Exception { DescribeStackProvisioningParametersResult describeStackProvisioningParametersResult = new DescribeStackProvisioningParametersResult(); int originalDepth = context.getCurrentDepth(); String currentParentElement = context.getCurrentParentElement(); int targetDepth = originalDepth + 1; JsonToken token = context.getCurrentToken(); if (token == null) token = context.nextToken(); if (context.testExpression("AgentInstallerUrl", targetDepth)) { context.nextToken(); describeStackProvisioningParametersResult.setAgentInstallerUrl(context.getUnmarshaller(String.class).unmarshall(context)); if (context.testExpression("Parameters", targetDepth)) { context.nextToken(); describeStackProvisioningParametersResult.setParameters(new MapUnmarshaller<String, String>(context.getUnmarshaller(String.class), context .getUnmarshaller(String.class)).unmarshall(context));