public void setMaxPhotos(Integer max) { GphotoMaxPhotos ext = null; if (max != null) { ext = new GphotoMaxPhotos(max); } setMaxPhotosExt(ext); }
public void setMaxPhotos(Integer max) { GphotoMaxPhotos ext = null; if (max != null) { ext = new GphotoMaxPhotos(max); } setMaxPhotosExt(ext); }
/** * Set the maximum number of photos the user is allowed. * * @param max the number of photos the user is allowed. */ public void setMaxPhotos(Integer max) { if (max != null) { setExtension(new GphotoMaxPhotos(max)); } else { removeExtension(GphotoMaxPhotos.class); } } }
/** * Set the maximum number of photos the user is allowed. * * @param max the number of photos the user is allowed. */ public void setMaxPhotos(Integer max) { if (max != null) { setExtension(new GphotoMaxPhotos(max)); } else { removeExtension(GphotoMaxPhotos.class); } } }