OrgunitsResource class

Constructors

OrgunitsResource(ApiRequester client)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

delete(String customerId, String orgUnitPath, {String? $fields}) Future<void>
Removes an organizational unit.
get(String customerId, String orgUnitPath, {String? $fields}) Future<OrgUnit>
Retrieves an organizational unit.
insert(OrgUnit request, String customerId, {String? $fields}) Future<OrgUnit>
Adds an organizational unit.
list(String customerId, {String? orgUnitPath, String? type, String? $fields}) Future<OrgUnits>
Retrieves a list of all organizational units for an account.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patch(OrgUnit request, String customerId, String orgUnitPath, {String? $fields}) Future<OrgUnit>
Updates an organizational unit.
toString() String
A string representation of this object.
inherited
update(OrgUnit request, String customerId, String orgUnitPath, {String? $fields}) Future<OrgUnit>
Updates an organizational unit.

Operators

operator ==(Object other) bool
The equality operator.
inherited