@iotize/tap
Version:
IoTize Device client for Javascript
22 lines (21 loc) • 618 B
TypeScript
import { IotizeACL, ACLRightType } from './iotize-acl';
import { IotizeBundleModel } from './iotize-bundle-model';
/**
*
*/
export declare class IotizeACLGroup {
bundle?: IotizeBundleModel | undefined;
data: any;
constructor(data: any, bundle?: IotizeBundleModel | undefined);
toJson(): any;
/**
* Get acl for a profile
* @param profileName
*/
getByProfileName(profileName: string): IotizeACL;
hasRight(profileName: string, right: ACLRightType): boolean;
/**
* List acl entries for each profile
*/
listProfiles(): Array<IotizeACL>;
}