InviteCreateRequest

data class InviteCreateRequest(val maxAge: Optional<DurationInSeconds> = Optional.Missing(), val maxUses: OptionalInt = OptionalInt.Missing, val temporary: OptionalBoolean = OptionalBoolean.Missing, val unique: OptionalBoolean = OptionalBoolean.Missing, val targetType: Optional<InviteTargetType> = Optional.Missing(), val targetUserId: OptionalSnowflake = OptionalSnowflake.Missing, val targetApplicationId: OptionalSnowflake = OptionalSnowflake.Missing)(source)

Constructors

Link copied to clipboard
constructor(maxAge: Optional<DurationInSeconds> = Optional.Missing(), maxUses: OptionalInt = OptionalInt.Missing, temporary: OptionalBoolean = OptionalBoolean.Missing, unique: OptionalBoolean = OptionalBoolean.Missing, targetType: Optional<InviteTargetType> = Optional.Missing(), targetUserId: OptionalSnowflake = OptionalSnowflake.Missing, targetApplicationId: OptionalSnowflake = OptionalSnowflake.Missing)

Properties

Link copied to clipboard
@SerialName(value = "max_age")
val maxAge: Optional<DurationInSeconds>
Link copied to clipboard
@SerialName(value = "max_uses")
val maxUses: OptionalInt
Link copied to clipboard
@SerialName(value = "target_application_id")
val targetApplicationId: OptionalSnowflake
Link copied to clipboard
@SerialName(value = "target_type")
val targetType: Optional<InviteTargetType>
Link copied to clipboard
@SerialName(value = "target_user_id")
val targetUserId: OptionalSnowflake
Link copied to clipboard
Link copied to clipboard