Class EventResourceAnswer
- Namespace
- Crews.PlanningCenter.Api.Calendar.V2021_07_20
- Assembly
- Crews.PlanningCenter.Api.dll
Attributes for the EventResourceAnswer resource.
public record EventResourceAnswer : IEquatable<EventResourceAnswer>
- Inheritance
-
EventResourceAnswer
- Implements
- Inherited Members
Constructors
EventResourceAnswer()
public EventResourceAnswer()
EventResourceAnswer(EventResourceAnswer)
protected EventResourceAnswer(EventResourceAnswer original)
Parameters
originalEventResourceAnswer
Properties
Answer
The answer formatted for display
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("answer")]
public JsonObject? Answer { get; init; }
Property Value
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
DbAnswer
Only available when requested with the ?fields param
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("db_answer")]
public string? DbAnswer { get; init; }
Property Value
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
Question
Question details as of when it was answered
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("question")]
public JsonObject? Question { get; init; }
Property Value
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
Methods
Equals(EventResourceAnswer?)
public virtual bool Equals(EventResourceAnswer? other)
Parameters
otherEventResourceAnswer
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
builderStringBuilder
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(EventResourceAnswer?, EventResourceAnswer?)
public static bool operator ==(EventResourceAnswer? left, EventResourceAnswer? right)
Parameters
leftEventResourceAnswerrightEventResourceAnswer
Returns
operator !=(EventResourceAnswer?, EventResourceAnswer?)
public static bool operator !=(EventResourceAnswer? left, EventResourceAnswer? right)
Parameters
leftEventResourceAnswerrightEventResourceAnswer