public static void delete(String id) throws ZSAPIException { ResourceUtil.process(RequestMethod.DELETE, instancePath(Addon.class, id), Addon.class); }
public static Addon markAsInactive(String id) throws ZSAPIException { return ResourceUtil.process( RequestMethod.POST, instancePath(Addon.class, id) + "/markasinactive", Addon.class); }
public static Addon update(Addon addon, String id) throws ZSAPIException { return ResourceUtil.process( RequestMethod.PUT, instancePath(Addon.class, id), Addon.class, addon); }
public static Addon create(Addon addon) throws ZSAPIException { return ResourceUtil.process(RequestMethod.POST, classPath(Addon.class), Addon.class, addon); }
public static ListResponse<Addon> list(GenericListParams params) throws ZSAPIException { return ResourceUtil.list(RequestMethod.GET, classPath(Addon.class), Addon.class, params); }
public static Addon retrieve(String id) throws ZSAPIException { return ResourceUtil.process(RequestMethod.GET, instancePath(Addon.class, id), Addon.class); }