Table of Contents

Class NoteCategoryShare

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

Attributes for the NoteCategoryShare resource.

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

Constructors

NoteCategoryShare()

public NoteCategoryShare()

NoteCategoryShare(NoteCategoryShare)

protected NoteCategoryShare(NoteCategoryShare original)

Parameters

original NoteCategoryShare

Properties

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

Group

Possible values: No Access, Viewer, Editor, or Manager

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

Property Value

string

Permission

Possible values: view, view_create, or manage

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

Property Value

string

PersonId

Planning Center does not provide a description for this attribute.

[JsonConverter(typeof(StringFromNumberConverter))]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("person_id")]
public string? PersonId { get; init; }

Property Value

string

Methods

Equals(NoteCategoryShare?)

public virtual bool Equals(NoteCategoryShare? other)

Parameters

other NoteCategoryShare

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 ==(NoteCategoryShare?, NoteCategoryShare?)

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

Parameters

left NoteCategoryShare
right NoteCategoryShare

Returns

bool

operator !=(NoteCategoryShare?, NoteCategoryShare?)

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

Parameters

left NoteCategoryShare
right NoteCategoryShare

Returns

bool