Table of Contents

Class WorkflowStep

Namespace
Crews.PlanningCenter.Api.People.V2022_01_28
Assembly
Crews.PlanningCenter.Api.dll

Attributes for the WorkflowStep resource.

public record WorkflowStep : IEquatable<WorkflowStep>
Inheritance
WorkflowStep
Implements
Inherited Members

Constructors

WorkflowStep()

public WorkflowStep()

WorkflowStep(WorkflowStep)

protected WorkflowStep(WorkflowStep original)

Parameters

original WorkflowStep

Properties

ActionType

Possible values: assign or automate

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("action_type")]
public string? ActionType { get; init; }

Property Value

string

AutoSnoozeDays

Planning Center does not provide a description for this attribute.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("auto_snooze_days")]
public int? AutoSnoozeDays { get; init; }

Property Value

int?

AutoSnoozeEntryHour

Valid values are 17-23. When set, only cards arriving after this hour are snoozed. Requires auto_snooze_value, auto_snooze_interval, and auto_snooze_wake_hour (which must be before it).

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("auto_snooze_entry_hour")]
public int? AutoSnoozeEntryHour { get; init; }

Property Value

int?

AutoSnoozeInterval

Valid values are day, week, or month. When auto_snooze_entry_hour is set, this is not the snooze length. The card wakes at auto_snooze_wake_hour, and this duration adds only whole days beyond that.

Possible values: day, week, or month

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("auto_snooze_interval")]
public string? AutoSnoozeInterval { get; init; }

Property Value

string

AutoSnoozeValue

Must be a positive number. When auto_snooze_entry_hour is set, this is not the snooze length. The card wakes at auto_snooze_wake_hour, and this duration adds only whole days beyond that.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("auto_snooze_value")]
public int? AutoSnoozeValue { get; init; }

Property Value

int?

AutoSnoozeWakeHour

Valid values are 7-19, defaulting to 7 when not set. The hour of day cards snooze until. Only present when auto-snooze is enabled (auto_snooze_value and auto_snooze_interval are set).

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("auto_snooze_wake_hour")]
public int? AutoSnoozeWakeHour { get; init; }

Property Value

int?

CreatedAt

Planning Center does not provide a description for this attribute.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("created_at")]
public DateTime? CreatedAt { get; init; }

Property Value

DateTime?

DefaultAssigneeId

Planning Center does not provide a description for this attribute.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("default_assignee_id")]
public string? DefaultAssigneeId { get; init; }

Property Value

string

Description

Planning Center does not provide a description for this attribute.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("description")]
public string? Description { get; init; }

Property Value

string

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

ExpectedResponseTimeInDays

Planning Center does not provide a description for this attribute.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("expected_response_time_in_days")]
public int? ExpectedResponseTimeInDays { get; init; }

Property Value

int?

MyReadyCardCount

Planning Center does not provide a description for this attribute.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("my_ready_card_count")]
public int? MyReadyCardCount { get; init; }

Property Value

int?

Name

Planning Center does not provide a description for this attribute.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("name")]
public string? Name { get; init; }

Property Value

string

Sequence

Planning Center does not provide a description for this attribute.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("sequence")]
public int? Sequence { get; init; }

Property Value

int?

SkipConditionsEnabled

Planning Center does not provide a description for this attribute.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("skip_conditions_enabled")]
public bool? SkipConditionsEnabled { get; init; }

Property Value

bool?

TotalReadyCardCount

Planning Center does not provide a description for this attribute.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("total_ready_card_count")]
public int? TotalReadyCardCount { get; init; }

Property Value

int?

UpdatedAt

Planning Center does not provide a description for this attribute.

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("updated_at")]
public DateTime? UpdatedAt { get; init; }

Property Value

DateTime?

Methods

Equals(WorkflowStep?)

public virtual bool Equals(WorkflowStep? other)

Parameters

other WorkflowStep

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

PrintMembers(StringBuilder)

protected virtual bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

public override string ToString()

Returns

string

Operators

operator ==(WorkflowStep?, WorkflowStep?)

public static bool operator ==(WorkflowStep? left, WorkflowStep? right)

Parameters

left WorkflowStep
right WorkflowStep

Returns

bool

operator !=(WorkflowStep?, WorkflowStep?)

public static bool operator !=(WorkflowStep? left, WorkflowStep? right)

Parameters

left WorkflowStep
right WorkflowStep

Returns

bool