Table of Contents

Class ChatPreference Deprecated

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

Encapsulates notification preferences for chats

[Obsolete("Deprecated, use ChatNotificationPreferences instead.")]
public sealed record ChatPreference : IEquatable<ChatPreference>

Inheritance

Implements

Inherited Members

Constructors

ChatPreference()

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

public ChatPreference()

ChatPreference(ChatNotificationsFrom, bool)

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

[JsonConstructor]
public ChatPreference(ChatNotificationsFrom include, bool push)

Parameters

include ChatNotificationsFrom

The type of chats to be notified for.

push bool

A flag indicating whether chat notifications should be pushed.

ChatPreference()

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

public ChatPreference()

ChatPreference(ChatNotificationsFrom, bool)

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

[JsonConstructor]
public ChatPreference(ChatNotificationsFrom include, bool push)

Parameters

include ChatNotificationsFrom

The type of chats to be notified for.

push bool

A flag indicating whether chat notifications should be pushed.

ChatPreference()

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

public ChatPreference()

ChatPreference(ChatNotificationsFrom, bool)

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

[JsonConstructor]
public ChatPreference(ChatNotificationsFrom include, bool push)

Parameters

include ChatNotificationsFrom

The type of chats to be notified for.

push bool

A flag indicating whether chat notifications should be pushed.

Properties

Include

Gets or sets the type of chats to be notified for.

public ChatNotificationsFrom Include { get; set; }

Property Value

ChatNotificationsFrom

Include

Gets or sets the type of chats to be notified for.

public ChatNotificationsFrom Include { get; set; }

Property Value

ChatNotificationsFrom

Include

Gets or sets the type of chats to be notified for.

public ChatNotificationsFrom Include { get; set; }

Property Value

ChatNotificationsFrom

Push

Gets or sets a flag indicating whether chat notifications should be pushed.

public bool Push { get; set; }

Property Value

bool

Push

Gets or sets a flag indicating whether chat notifications should be pushed.

public bool Push { get; set; }

Property Value

bool

Push

Gets or sets a flag indicating whether chat notifications should be pushed.

public bool Push { get; set; }

Property Value

bool

Methods

<Clone>$()

public ChatPreference <Clone>$()

Returns

ChatPreference

<Clone>$()

public ChatPreference <Clone>$()

Returns

ChatPreference

<Clone>$()

public ChatPreference <Clone>$()

Returns

ChatPreference

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(ChatPreference?)

public bool Equals(ChatPreference? other)

Parameters

other ChatPreference?

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(ChatPreference?)

public bool Equals(ChatPreference? other)

Parameters

other ChatPreference?

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

Equals(ChatPreference?)

public bool Equals(ChatPreference? other)

Parameters

other ChatPreference?

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

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

Parameters

left ChatPreference?
right ChatPreference?

Returns

bool

operator ==(ChatPreference?, ChatPreference?)

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

Parameters

left ChatPreference?
right ChatPreference?

Returns

bool

operator ==(ChatPreference?, ChatPreference?)

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

Parameters

left ChatPreference?
right ChatPreference?

Returns

bool

operator !=(ChatPreference?, ChatPreference?)

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

Parameters

left ChatPreference?
right ChatPreference?

Returns

bool

operator !=(ChatPreference?, ChatPreference?)

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

Parameters

left ChatPreference?
right ChatPreference?

Returns

bool

operator !=(ChatPreference?, ChatPreference?)

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

Parameters

left ChatPreference?
right ChatPreference?

Returns

bool