Table of Contents

Class InviteProperties

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

Constructors

InviteProperties()

public InviteProperties()

Properties

MaxAge

[JsonPropertyName("max_age")]
public int? MaxAge { get; set; }

Property Value

int?

MaxUses

[JsonPropertyName("max_uses")]
public int? MaxUses { get; set; }

Property Value

int?

TargetApplicationId

[JsonPropertyName("target_application_id")]
public ulong? TargetApplicationId { get; set; }

Property Value

ulong?

TargetType

[JsonPropertyName("target_type")]
public InviteTargetType? TargetType { get; set; }

Property Value

InviteTargetType?

TargetUserId

[JsonPropertyName("target_user_id")]
public ulong? TargetUserId { get; set; }

Property Value

ulong?

Temporary

[JsonPropertyName("temporary")]
public bool? Temporary { get; set; }

Property Value

bool?

Unique

[JsonPropertyName("unique")]
public bool? Unique { get; set; }

Property Value

bool?

Methods

WithMaxAge(int?)

public InviteProperties WithMaxAge(int? maxAge)

Parameters

maxAge int?

Returns

InviteProperties

WithMaxUses(int?)

public InviteProperties WithMaxUses(int? maxUses)

Parameters

maxUses int?

Returns

InviteProperties

WithTargetApplicationId(ulong?)

public InviteProperties WithTargetApplicationId(ulong? targetApplicationId)

Parameters

targetApplicationId ulong?

Returns

InviteProperties

WithTargetType(InviteTargetType?)

public InviteProperties WithTargetType(InviteTargetType? targetType)

Parameters

targetType InviteTargetType?

Returns

InviteProperties

WithTargetUserId(ulong?)

public InviteProperties WithTargetUserId(ulong? targetUserId)

Parameters

targetUserId ulong?

Returns

InviteProperties

WithTemporary(bool?)

public InviteProperties WithTemporary(bool? temporary = true)

Parameters

temporary bool?

Returns

InviteProperties

WithUnique(bool?)

public InviteProperties WithUnique(bool? unique = true)

Parameters

unique bool?

Returns

InviteProperties