Package comodit_client :: Package api :: Module compliance :: Class GroupState

Class GroupState


State of a group.

Instance Methods
 
show(self, indent=0)
Prints a user-friendly representation of this state to standard output.

Inherited from util.json_wrapper.JsonWrapper: __init__, dump_json, get_json, get_real_json, load_json, print_json, set_json

Inherited from object: __long__, __native__, __nonzero__, __unicode__, next

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties
bool present
Tells whether the group is present on the system or not.
string name
The group's name.
string gid
The group's GID.

Inherited from object: __class__

Method Details

show(self, indent=0)

 

Prints a user-friendly representation of this state to standard output.

Parameters:
  • indent (int) - The number of spaces that will be put at the beginning of each printed line.

Property Details

present

Tells whether the group is present on the system or not.

Get Method:
unreachable.present(self) - Tells whether the group is present on the system or not.
Type:
bool

name

The group's name.

Get Method:
unreachable.name(self) - The group's name.
Type:
string

gid

The group's GID.

Get Method:
unreachable.gid(self) - The group's GID.
Type:
string