in extension-base/src/main/java/com/azure/autorest/extension/base/model/codemodel/Client.java [190:217]
boolean tryConsumeParentProperties(Client client, String fieldName, JsonReader reader) throws IOException {
if (super.tryConsumeParentProperties(client, fieldName, reader)) {
return true;
} else if ("summary".equals(fieldName)) {
client.summary = reader.getString();
return true;
} else if ("operationGroups".equals(fieldName)) {
client.operationGroups = reader.readArray(OperationGroup::fromJson);
return true;
} else if ("globalParameters".equals(fieldName)) {
client.globalParameters = reader.readArray(Parameter::fromJson);
return true;
} else if ("security".equals(fieldName)) {
client.security = Security.fromJson(reader);
return true;
} else if ("apiVersions".equals(fieldName)) {
client.apiVersions = reader.readArray(ApiVersion::fromJson);
return true;
} else if ("serviceVersion".equals(fieldName)) {
client.serviceVersion = ServiceVersion.fromJson(reader);
return true;
} else if ("crossLanguageDefinitionId".equals(fieldName)) {
client.crossLanguageDefinitionId = reader.getString();
return true;
}
return false;
}