everyaction.services.BargainingUnits

class everyaction.services.BargainingUnits(ea: EAClient)

Represents the BargainingUnits service.

Methods

get(bargaining_unit, /)

See GET /bargainingUnits/{bargainingUnitId}.

list(*[, limit])

See GET /bargainingUnits.

get(bargaining_unit: int, /) BargainingUnit

See GET /bargainingUnits/{bargainingUnitId}.

Parameters

bargaining_unit – The bargainingUnitId path parameter.

Returns

The resulting BargainingUnit object.

list(*, limit: Optional[int] = None, **kwargs: EAValue) List[BargainingUnit]

See GET /bargainingUnits.

Parameters
  • limit – Maximum number of records to get for this request.

  • kwargs – The applicable query arguments and JSON data for the request.

Returns

List of the resulting BargainingUnit objects.