public DescribeThingTypeResult unmarshall(JsonUnmarshallerContext context) throws Exception { DescribeThingTypeResult describeThingTypeResult = new DescribeThingTypeResult();
public DescribeThingTypeResult unmarshall(JsonUnmarshallerContext context) throws Exception { DescribeThingTypeResult describeThingTypeResult = new DescribeThingTypeResult(); AwsJsonReader reader = context.getReader(); reader.beginObject(); while (reader.hasNext()) { String name = reader.nextName(); if (name.equals("thingTypeName")) { describeThingTypeResult.setThingTypeName(StringJsonUnmarshaller.getInstance() .unmarshall(context)); } else if (name.equals("thingTypeId")) { describeThingTypeResult.setThingTypeId(StringJsonUnmarshaller.getInstance() .unmarshall(context)); } else if (name.equals("thingTypeArn")) { describeThingTypeResult.setThingTypeArn(StringJsonUnmarshaller.getInstance() .unmarshall(context)); } else if (name.equals("thingTypeProperties")) { describeThingTypeResult.setThingTypeProperties(ThingTypePropertiesJsonUnmarshaller .getInstance() .unmarshall(context)); } else if (name.equals("thingTypeMetadata")) { describeThingTypeResult.setThingTypeMetadata(ThingTypeMetadataJsonUnmarshaller .getInstance() .unmarshall(context)); } else { reader.skipValue(); } } reader.endObject(); return describeThingTypeResult; }
public DescribeThingTypeResult unmarshall(JsonUnmarshallerContext context) throws Exception { DescribeThingTypeResult describeThingTypeResult = new DescribeThingTypeResult(); AwsJsonReader reader = context.getReader(); reader.beginObject(); while (reader.hasNext()) { String name = reader.nextName(); if (name.equals("thingTypeName")) { describeThingTypeResult.setThingTypeName(StringJsonUnmarshaller.getInstance() .unmarshall(context)); } else if (name.equals("thingTypeId")) { describeThingTypeResult.setThingTypeId(StringJsonUnmarshaller.getInstance() .unmarshall(context)); } else if (name.equals("thingTypeArn")) { describeThingTypeResult.setThingTypeArn(StringJsonUnmarshaller.getInstance() .unmarshall(context)); } else if (name.equals("thingTypeProperties")) { describeThingTypeResult.setThingTypeProperties(ThingTypePropertiesJsonUnmarshaller .getInstance() .unmarshall(context)); } else if (name.equals("thingTypeMetadata")) { describeThingTypeResult.setThingTypeMetadata(ThingTypeMetadataJsonUnmarshaller .getInstance() .unmarshall(context)); } else { reader.skipValue(); } } reader.endObject(); return describeThingTypeResult; }
public DescribeThingTypeResult unmarshall(JsonUnmarshallerContext context) throws Exception { DescribeThingTypeResult describeThingTypeResult = new DescribeThingTypeResult();