Table of Contents

Class FilterablePreference

Namespace
idunno.Bluesky.Notifications.PreferenceTypes
Assembly
idunno.Bluesky.dll

Encapsulates a filterable notification preference

public sealed record FilterablePreference : IEquatable<FilterablePreference>

Inheritance

Implements

Inherited Members

Constructors

FilterablePreference()

Creates a new instance of idunno.Bluesky.Notifications.PreferenceTypes.FilterablePreference.

public FilterablePreference()

FilterablePreference(LimitTo, bool, bool)

Creates a new instance of idunno.Bluesky.Notifications.PreferenceTypes.FilterablePreference.

[JsonConstructor]
public FilterablePreference(LimitTo include, bool list, bool push)

Parameters

include LimitTo

The type of users that notifications should be sent for.

list bool

Flag indicating whether the notification type should be shown in the user's notifications list.

push bool

Flag indicating whether the notification type should be pushed.

FilterablePreference()

Creates a new instance of idunno.Bluesky.Notifications.PreferenceTypes.FilterablePreference.

public FilterablePreference()

FilterablePreference(LimitTo, bool, bool)

Creates a new instance of idunno.Bluesky.Notifications.PreferenceTypes.FilterablePreference.

[JsonConstructor]
public FilterablePreference(LimitTo include, bool list, bool push)

Parameters

include LimitTo

The type of users that notifications should be sent for.

list bool

Flag indicating whether the notification type should be shown in the user's notifications list.

push bool

Flag indicating whether the notification type should be pushed.

FilterablePreference()

Creates a new instance of idunno.Bluesky.Notifications.PreferenceTypes.FilterablePreference.

public FilterablePreference()

FilterablePreference(LimitTo, bool, bool)

Creates a new instance of idunno.Bluesky.Notifications.PreferenceTypes.FilterablePreference.

[JsonConstructor]
public FilterablePreference(LimitTo include, bool list, bool push)

Parameters

include LimitTo

The type of users that notifications should be sent for.

list bool

Flag indicating whether the notification type should be shown in the user's notifications list.

push bool

Flag indicating whether the notification type should be pushed.

Properties

Include

Gets or sets the type of users that notifications should be sent for.

public LimitTo Include { get; set; }

Property Value

LimitTo

Include

Gets or sets the type of users that notifications should be sent for.

public LimitTo Include { get; set; }

Property Value

LimitTo

Include

Gets or sets the type of users that notifications should be sent for.

public LimitTo Include { get; set; }

Property Value

LimitTo

List

Gets or sets a flag indicating whether the notification type should be shown in the user's notifications list.

public bool List { get; set; }

Property Value

bool

List

Gets or sets a flag indicating whether the notification type should be shown in the user's notifications list.

public bool List { get; set; }

Property Value

bool

List

Gets or sets a flag indicating whether the notification type should be shown in the user's notifications list.

public bool List { get; set; }

Property Value

bool

Push

Gets or sets a flag indicating whether the notification type should be pushed.

public bool Push { get; set; }

Property Value

bool

Push

Gets or sets a flag indicating whether the notification type should be pushed.

public bool Push { get; set; }

Property Value

bool

Push

Gets or sets a flag indicating whether the notification type should be pushed.

public bool Push { get; set; }

Property Value

bool

Methods

<Clone>$()

public FilterablePreference <Clone>$()

Returns

FilterablePreference

<Clone>$()

public FilterablePreference <Clone>$()

Returns

FilterablePreference

<Clone>$()

public FilterablePreference <Clone>$()

Returns

FilterablePreference

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(FilterablePreference?)

public bool Equals(FilterablePreference? other)

Parameters

other FilterablePreference?

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(FilterablePreference?)

public bool Equals(FilterablePreference? other)

Parameters

other FilterablePreference?

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(FilterablePreference?)

public bool Equals(FilterablePreference? other)

Parameters

other FilterablePreference?

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

GetHashCode()

public override int GetHashCode()

Returns

int

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

ToString()

public override string ToString()

Returns

string

ToString()

public override string ToString()

Returns

string

Operators

operator ==(FilterablePreference?, FilterablePreference?)

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

Parameters

left FilterablePreference?
right FilterablePreference?

Returns

bool

operator ==(FilterablePreference?, FilterablePreference?)

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

Parameters

left FilterablePreference?
right FilterablePreference?

Returns

bool

operator ==(FilterablePreference?, FilterablePreference?)

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

Parameters

left FilterablePreference?
right FilterablePreference?

Returns

bool

operator !=(FilterablePreference?, FilterablePreference?)

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

Parameters

left FilterablePreference?
right FilterablePreference?

Returns

bool

operator !=(FilterablePreference?, FilterablePreference?)

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

Parameters

left FilterablePreference?
right FilterablePreference?

Returns

bool

operator !=(FilterablePreference?, FilterablePreference?)

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

Parameters

left FilterablePreference?
right FilterablePreference?

Returns

bool