File

C:/GoDev/src/TCSTK-Angular/projects/tibco-tcstk/tc-liveapps-lib/src/lib/models/tc-groups-data.ts

Index

Properties
Methods

Properties

roles
Type : RoleAttribute[]

Methods

deserialize
deserialize(input: any)
Parameters :
Name Type Optional
input any No
import {Deserializable, RoleAttribute} from '@tibco-tcstk/tc-core-lib';

export class Group {
  public name: string;
  public description: string;
  public type: string;
  public id: string;
  deserialize(input: any): this {
    Object.assign(this, input);
    return this;
  }
}

export class Groups {
  groups: Group[];
  deserialize(input: any): this {
    Object.assign(this, input);
    return this;
  }
}

export class Roles {
  roles: RoleAttribute[];
  deserialize(input: any): this {
    Object.assign(this, input);
    return this;
  }
}

export class RouteAccessControlConfig {
    id: string;
    uiAppId: string;
    allowedRoutes: string[];
    allowedButtonIds: string[];
    configuration: RouteAccessControlConfigurationElement[];
    deserialize(input: any): this {
        Object.assign(this, input);
        return this;
    }
}

export class RouteAccessControlConfigurationElement {
    roleId: string;
    routes: string[];
    buttonIds: string[];                                                                                  
    deserialize(input: any): this {
        Object.assign(this, input);
        return this;
    }
}

result-matching ""

    No results matching ""