FOSSology  4.4.0
Open Source License Compliance by Open Source Software
Fossology\UI\Api\Models\GroupPermission Class Reference
Collaboration diagram for Fossology\UI\Api\Models\GroupPermission:
Collaboration graph

Public Member Functions

 __construct ($perm, $groupPk, $groupName)
 
 getPerm ()
 
 getGroupPk ()
 
 getGroupName ()
 
 getJSON ($version=ApiVersion::V1)
 
 getArray ($version=ApiVersion::V1)
 
 setperm ($perm)
 
 setGroupPk ($groupPk)
 
 setGroupName ($groupName)
 

Private Attributes

 $perm
 
 $groupPk
 
 $groupName
 

Detailed Description

Definition at line 13 of file GroupPermission.php.

Constructor & Destructor Documentation

◆ __construct()

Fossology\UI\Api\Models\GroupPermission::__construct (   $perm,
  $groupPk,
  $groupName 
)
Parameters
string$perm
string$groupPk
string$groupName

Definition at line 36 of file GroupPermission.php.

Member Function Documentation

◆ getArray()

Fossology\UI\Api\Models\GroupPermission::getArray (   $version = ApiVersion::V1)

Get ScannedLicense element as associative array

Parameters
integer$version
Returns
array

Definition at line 84 of file GroupPermission.php.

◆ getGroupName()

Fossology\UI\Api\Models\GroupPermission::getGroupName ( )
Returns
string

Definition at line 62 of file GroupPermission.php.

◆ getGroupPk()

Fossology\UI\Api\Models\GroupPermission::getGroupPk ( )
Returns
string

Definition at line 54 of file GroupPermission.php.

◆ getJSON()

Fossology\UI\Api\Models\GroupPermission::getJSON (   $version = ApiVersion::V1)

JSON representation of current scannedLicense

Parameters
integer$version
Returns
string

Definition at line 74 of file GroupPermission.php.

◆ getPerm()

Fossology\UI\Api\Models\GroupPermission::getPerm ( )
Returns
string

Definition at line 46 of file GroupPermission.php.

◆ setGroupName()

Fossology\UI\Api\Models\GroupPermission::setGroupName (   $groupName)
Parameters
string$groupName

Definition at line 119 of file GroupPermission.php.

◆ setGroupPk()

Fossology\UI\Api\Models\GroupPermission::setGroupPk (   $groupPk)
Parameters
string$groupPk

Definition at line 111 of file GroupPermission.php.

◆ setperm()

Fossology\UI\Api\Models\GroupPermission::setperm (   $perm)
Parameters
string$perm

Definition at line 103 of file GroupPermission.php.

Member Data Documentation

◆ $groupName

string Fossology\UI\Api\Models\GroupPermission::$groupName
private

Group name

Definition at line 29 of file GroupPermission.php.

◆ $groupPk

string Fossology\UI\Api\Models\GroupPermission::$groupPk
private

Group id

Definition at line 24 of file GroupPermission.php.

◆ $perm

string Fossology\UI\Api\Models\GroupPermission::$perm
private

Permissions

Definition at line 19 of file GroupPermission.php.


The documentation for this class was generated from the following file: