private List<BoxFileUploadSessionPart> getParts(JsonArray partsArray) {
        List<BoxFileUploadSessionPart> parts = new ArrayList<BoxFileUploadSessionPart>();
        for (JsonValue value: partsArray) {
            BoxFileUploadSessionPart part = new BoxFileUploadSessionPart((JsonObject) value);
            parts.add(part);
        }
        return parts;
    }
private List < BoxFileUploadSessionPart > getParts ( JsonArray partsArray ) { List < BoxFileUploadSessionPart > parts = new ArrayList < BoxFileUploadSessionPart > ( ) ; for ( JsonValue value : partsArray ) { BoxFileUploadSessionPart part = new BoxFileUploadSessionPart ( ( JsonObject ) value ) ; parts . add ( part ) ; } return parts ; }
/*
Creates List of parts from the JSON array