public ListRetirableGrantsResult unmarshall(JsonUnmarshallerContext context) throws Exception { ListRetirableGrantsResult listRetirableGrantsResult = new ListRetirableGrantsResult();
public ListRetirableGrantsResult unmarshall(JsonUnmarshallerContext context) throws Exception { ListRetirableGrantsResult listRetirableGrantsResult = new ListRetirableGrantsResult(); AwsJsonReader reader = context.getReader(); reader.beginObject(); while (reader.hasNext()) { String name = reader.nextName(); if (name.equals("Grants")) { listRetirableGrantsResult.setGrants(new ListUnmarshaller<GrantListEntry>( GrantListEntryJsonUnmarshaller.getInstance() ) .unmarshall(context)); } else if (name.equals("NextMarker")) { listRetirableGrantsResult.setNextMarker(StringJsonUnmarshaller.getInstance() .unmarshall(context)); } else if (name.equals("Truncated")) { listRetirableGrantsResult.setTruncated(BooleanJsonUnmarshaller.getInstance() .unmarshall(context)); } else { reader.skipValue(); } } reader.endObject(); return listRetirableGrantsResult; }
public ListRetirableGrantsResult unmarshall(JsonUnmarshallerContext context) throws Exception { ListRetirableGrantsResult listRetirableGrantsResult = new ListRetirableGrantsResult(); AwsJsonReader reader = context.getReader(); reader.beginObject(); while (reader.hasNext()) { String name = reader.nextName(); if (name.equals("Grants")) { listRetirableGrantsResult.setGrants(new ListUnmarshaller<GrantListEntry>( GrantListEntryJsonUnmarshaller.getInstance() ) .unmarshall(context)); } else if (name.equals("NextMarker")) { listRetirableGrantsResult.setNextMarker(StringJsonUnmarshaller.getInstance() .unmarshall(context)); } else if (name.equals("Truncated")) { listRetirableGrantsResult.setTruncated(BooleanJsonUnmarshaller.getInstance() .unmarshall(context)); } else { reader.skipValue(); } } reader.endObject(); return listRetirableGrantsResult; }
public ListRetirableGrantsResult unmarshall(JsonUnmarshallerContext context) throws Exception { ListRetirableGrantsResult listRetirableGrantsResult = new ListRetirableGrantsResult(); AwsJsonReader reader = context.getReader(); reader.beginObject(); while (reader.hasNext()) { String name = reader.nextName(); if (name.equals("Grants")) { listRetirableGrantsResult.setGrants(new ListUnmarshaller<GrantListEntry>( GrantListEntryJsonUnmarshaller.getInstance() ) .unmarshall(context)); } else if (name.equals("NextMarker")) { listRetirableGrantsResult.setNextMarker(StringJsonUnmarshaller.getInstance() .unmarshall(context)); } else if (name.equals("Truncated")) { listRetirableGrantsResult.setTruncated(BooleanJsonUnmarshaller.getInstance() .unmarshall(context)); } else { reader.skipValue(); } } reader.endObject(); return listRetirableGrantsResult; }
public ListRetirableGrantsResult unmarshall(JsonUnmarshallerContext context) throws Exception { ListRetirableGrantsResult listRetirableGrantsResult = new ListRetirableGrantsResult();
public ListRetirableGrantsResult unmarshall(JsonUnmarshallerContext context) throws Exception { ListRetirableGrantsResult listRetirableGrantsResult = new ListRetirableGrantsResult();