public static BoxRetentionPolicyAssignment . Info createAssignmentToFolder ( BoxAPIConnection api , String policyID , String folderID ) { return createAssignment ( api , policyID , new JsonObject ( ) . add ( "type" , TYPE_FOLDER ) . add ( "id" , folderID ) , null ) ; }
Assigns retention policy with givenID to the folder .