Class ScheduleUpdate
- Namespace
- Temporalio.Client.Schedules
- Assembly
- Temporalio.dll
An update returned from an updater.
public record ScheduleUpdate : IEquatable<ScheduleUpdate>
- Inheritance
-
ScheduleUpdate
- Implements
- Inherited Members
Constructors
ScheduleUpdate(Schedule, SearchAttributeCollection?)
An update returned from an updater.
public ScheduleUpdate(Schedule Schedule, SearchAttributeCollection? TypedSearchAttributes = null)
Parameters
Schedule
ScheduleSchedule to update.
TypedSearchAttributes
SearchAttributeCollectionOptional indexed attributes that can be used while querying schedules via the list schedules APIs. The key and value type must be registered with Temporal server.
<ul><li>If null, the search attributes will not be updated.</li><li>If present but empty, the search attributes will be cleared.</li><li>If present and non-empty, all search attributes will be updated to the provided collection. This means existing attributes which do not exist in the provided collection will be wiped out. You can copy attributes from the existing <xref href="Temporalio.Client.Schedules.ScheduleDescription" data-throw-if-not-resolved="false"></xref> to avoid this.</li></ul>
Properties
Schedule
Schedule to update.
public Schedule Schedule { get; init; }
Property Value
TypedSearchAttributes
Optional indexed attributes that can be used while querying schedules via the list schedules APIs. The key and value type must be registered with Temporal server.
<ul><li>If null, the search attributes will not be updated.</li><li>If present but empty, the search attributes will be cleared.</li><li>If present and non-empty, all search attributes will be updated to the provided
collection. This means existing attributes which do not exist in the provided collection
will be wiped out. You can copy attributes from the existing <xref href="Temporalio.Client.Schedules.ScheduleDescription" data-throw-if-not-resolved="false"></xref> to avoid this.</li></ul>
public SearchAttributeCollection? TypedSearchAttributes { get; init; }