code: public Info getInfo(String ... fields) {
          QueryStringBuilder builder = new QueryStringBuilder();
          if (fields.length > 0) {
              builder.appendParam("fields", fields);
          }
          URL url = DEVICE_PIN_URL_TEMPLATE.buildWithQuery(this.getAPI().getBaseURL(), builder.toString(), this.getID());
          BoxAPIRequest request = new BoxAPIRequest(this.getAPI(), url, "GET");
          BoxJSONResponse response = (BoxJSONResponse) request.send();
          JsonObject responseJSON = JsonObject.readFrom(response.getJSON());
          return new Info(responseJSON);
      }
docs: Gets information about the device pin.
  @param fields the fields to retrieve.
  @return info about the device pin.