Class GuildScheduledEventOptions
- Namespace
- NetCord.Rest
- Assembly
- NetCord.dll
public class GuildScheduledEventOptions
- Inheritance
-
GuildScheduledEventOptions
- Inherited Members
-
Properties
ChannelId
[JsonPropertyName("channel_id")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public ulong? ChannelId { get; set; }
Property Value
- ulong?
Description
[JsonPropertyName("description")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? Description { get; set; }
Property Value
- string
EntityType
[JsonPropertyName("entity_type")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public GuildScheduledEventEntityType? EntityType { get; set; }
Property Value
- GuildScheduledEventEntityType?
Image
[JsonPropertyName("image")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public ImageProperties? Image { get; set; }
Property Value
- ImageProperties?
[JsonPropertyName("entity_metadata")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public GuildScheduledEventMetadataProperties? Metadata { get; set; }
Property Value
- GuildScheduledEventMetadataProperties
Name
[JsonPropertyName("name")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? Name { get; set; }
Property Value
- string
PrivacyLevel
[JsonPropertyName("privacy_level")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public GuildScheduledEventPrivacyLevel? PrivacyLevel { get; set; }
Property Value
- GuildScheduledEventPrivacyLevel?
ScheduledEndTime
[JsonPropertyName("scheduled_end_time")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public DateTimeOffset? ScheduledEndTime { get; set; }
Property Value
- DateTimeOffset?
ScheduledStartTime
[JsonPropertyName("scheduled_start_time")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public DateTimeOffset? ScheduledStartTime { get; set; }
Property Value
- DateTimeOffset?
Status
[JsonPropertyName("status")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public GuildScheduledEventStatus? Status { get; set; }
Property Value
- GuildScheduledEventStatus?
Methods
WithChannelId(ulong?)
public GuildScheduledEventOptions WithChannelId(ulong? channelId)
Parameters
channelId
ulong?
Returns
- GuildScheduledEventOptions
WithDescription(string?)
public GuildScheduledEventOptions WithDescription(string? description)
Parameters
description
string
Returns
- GuildScheduledEventOptions
WithEntityType(GuildScheduledEventEntityType?)
public GuildScheduledEventOptions WithEntityType(GuildScheduledEventEntityType? entityType)
Parameters
entityType
GuildScheduledEventEntityType?
Returns
- GuildScheduledEventOptions
WithImage(ImageProperties?)
public GuildScheduledEventOptions WithImage(ImageProperties? image)
Parameters
image
ImageProperties?
Returns
- GuildScheduledEventOptions
public GuildScheduledEventOptions WithMetadata(GuildScheduledEventMetadataProperties? metadata)
Parameters
metadata
GuildScheduledEventMetadataProperties
Returns
- GuildScheduledEventOptions
WithName(string?)
public GuildScheduledEventOptions WithName(string? name)
Parameters
name
string
Returns
- GuildScheduledEventOptions
WithPrivacyLevel(GuildScheduledEventPrivacyLevel?)
public GuildScheduledEventOptions WithPrivacyLevel(GuildScheduledEventPrivacyLevel? privacyLevel)
Parameters
privacyLevel
GuildScheduledEventPrivacyLevel?
Returns
- GuildScheduledEventOptions
WithScheduledEndTime(DateTimeOffset?)
public GuildScheduledEventOptions WithScheduledEndTime(DateTimeOffset? scheduledEndTime)
Parameters
scheduledEndTime
DateTimeOffset?
Returns
- GuildScheduledEventOptions
WithScheduledStartTime(DateTimeOffset?)
public GuildScheduledEventOptions WithScheduledStartTime(DateTimeOffset? scheduledStartTime)
Parameters
scheduledStartTime
DateTimeOffset?
Returns
- GuildScheduledEventOptions
WithStatus(GuildScheduledEventStatus?)
public GuildScheduledEventOptions WithStatus(GuildScheduledEventStatus? status)
Parameters
status
GuildScheduledEventStatus?
Returns
- GuildScheduledEventOptions