everyaction.services.ScheduleTypes

class everyaction.services.ScheduleTypes(ea: EAClient)

Represents the Schedule Types service.

Methods

create(**kwargs)

See POST /scheduleTypes.

get(schedule_type_id, /)

See GET /scheduleTypes/{scheduleTypeId}.

list(*[, limit])

See GET /scheduleTypes.

create(**kwargs: EAValue) ScheduleType

See POST /scheduleTypes.

Parameters

kwargs – The applicable query arguments and JSON data for the request. A ScheduleType is appropriate to unpack here.

Returns

The created ScheduleType object.

Keyword Arguments
get(schedule_type_id: int, /) ScheduleType

See GET /scheduleTypes/{scheduleTypeId}.

Parameters

schedule_type_id – The scheduleTypeId path parameter.

Returns

The resulting ScheduleType object.

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

See GET /scheduleTypes.

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 ScheduleType objects.