TimePeriodsResource class
The time periods endpoints with client already applied.
Constructors
- TimePeriodsResource(ExsitedClient client)
-
Bind the resource to a client; normally reached via
client.timePeriods.const
Properties
- client → ExsitedClient
-
The client every call below is made through.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createSettingsTimePeriod(
Object payload, {bool? raiseOnError, String? responseFormat}) → Future< ApiResponse< SettingsTimePeriod> > -
POST /api/{api_version}/settings/time_periods -
deleteSettingsTimePeriod(
Object timePeriodId, {bool? raiseOnError, String? responseFormat}) → Future< ApiResponse< Object?> > -
DELETE /api/{api_version}/settings/time_periods/{time_period_id} -
getSettingsTimePeriod(
Object timePeriodId, {bool? raiseOnError, String? responseFormat}) → Future< ApiResponse< SettingsTimePeriod> > -
GET /api/{api_version}/settings/time_periods/{time_period_id} -
getSettingsTimePeriods(
{Map< String, Object?> ? queryParams, bool? raiseOnError, String? responseFormat}) → Future<ApiResponse< SettingsTimePeriodList> > -
GET /api/{api_version}/settings/time_periods -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
updateSettingsTimePeriod(
Object timePeriodId, Object payload, {bool? raiseOnError, String? responseFormat}) → Future< ApiResponse< SettingsTimePeriod> > -
PATCH /api/{api_version}/settings/time_periods/{time_period_id}
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited