code: public APIState getAPIState() {
  		APIStateRequest request = new APIStateRequest();
  		APIStateResponse response = resolveApitraryClient().send(request);
  
  		APIState apiState = null;
  		if (HttpStatus.OK.ordinal() == response.getStatusCode()) {
  			String result = response.getResult();
  
  			ObjectMapper objectMapper = new ObjectMapper();
  			try {
  				apiState = objectMapper.readValue(result, APIState.class);
  			} catch (Exception e) {
  				throw new MappingException(e);
  			}
  		} else {
  			throw new CommunicationErrorException(HttpStatus.getStatus(response.getStatusCode()));
  		}
  		return apiState;
  	}
docs: <p>
  getAPIState.
  </p>
  
  @return a {@link com.apitrary.orm.core.internal.model.APIState} object.