Class ConnectionPropertiesProperties
- Namespace
- NetCord.Gateway
- Assembly
- NetCord.dll
public class ConnectionPropertiesProperties
- Inheritance
-
ConnectionPropertiesProperties
- Inherited Members
-
Constructors
ConnectionPropertiesProperties()
public ConnectionPropertiesProperties()
Properties
Android
public static ConnectionPropertiesProperties Android { get; }
Property Value
- ConnectionPropertiesProperties
Browser
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("browser")]
public string? Browser { get; set; }
Property Value
- string
Default
public static ConnectionPropertiesProperties Default { get; }
Property Value
- ConnectionPropertiesProperties
Device
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("device")]
public string? Device { get; set; }
Property Value
- string
IOS
public static ConnectionPropertiesProperties IOS { get; }
Property Value
- ConnectionPropertiesProperties
Os
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("os")]
public string? Os { get; set; }
Property Value
- string
Methods
WithBrowser(string?)
public ConnectionPropertiesProperties WithBrowser(string? browser)
Parameters
browser
string
Returns
- ConnectionPropertiesProperties
WithDevice(string?)
public ConnectionPropertiesProperties WithDevice(string? device)
Parameters
device
string
Returns
- ConnectionPropertiesProperties
WithOs(string?)
public ConnectionPropertiesProperties WithOs(string? os)
Parameters
os
string
Returns
- ConnectionPropertiesProperties