Table of Contents

Class RolePositionProperties

Namespace
NetCord.Rest
Assembly
NetCord.dll
public class RolePositionProperties
Inheritance
RolePositionProperties
Inherited Members

Constructors

RolePositionProperties(ulong)

public RolePositionProperties(ulong id)

Parameters

id ulong

Properties

Id

[JsonPropertyName("id")]
public ulong Id { get; set; }

Property Value

ulong

Position

[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("position")]
public int? Position { get; set; }

Property Value

int?

Methods

WithId(ulong)

public RolePositionProperties WithId(ulong id)

Parameters

id ulong

Returns

RolePositionProperties

WithPosition(int?)

public RolePositionProperties WithPosition(int? position)

Parameters

position int?

Returns

RolePositionProperties