Browse Source

comments & dots

pull/2530/head
Misha133 2 years ago
parent
commit
4e73671c18
4 changed files with 18 additions and 10 deletions
  1. +3
    -0
      src/Discord.Net.Core/Entities/ApplicationRoleConnection/RoleConnection.cs
  2. +3
    -1
      src/Discord.Net.Core/Entities/ApplicationRoleConnection/RoleConnectionMetadata.cs
  3. +3
    -0
      src/Discord.Net.Core/Entities/ApplicationRoleConnection/RoleConnectionMetadataProperties.cs
  4. +9
    -9
      src/Discord.Net.Core/Entities/ApplicationRoleConnection/RoleConnectionMetadataType.cs

+ 3
- 0
src/Discord.Net.Core/Entities/ApplicationRoleConnection/RoleConnection.cs View File

@@ -2,6 +2,9 @@ using System.Collections.Generic;


namespace Discord; namespace Discord;


/// <summary>
/// Represents the connection object that the user has attached.
/// </summary>
public class RoleConnection public class RoleConnection
{ {
/// <summary> /// <summary>


+ 3
- 1
src/Discord.Net.Core/Entities/ApplicationRoleConnection/RoleConnectionMetadata.cs View File

@@ -1,9 +1,11 @@
using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.Immutable; using System.Collections.Immutable;


namespace Discord; namespace Discord;


/// <summary>
/// Represents the role connection metadata object.
/// </summary>
public class RoleConnectionMetadata public class RoleConnectionMetadata
{ {
/// <summary> /// <summary>


+ 3
- 0
src/Discord.Net.Core/Entities/ApplicationRoleConnection/RoleConnectionMetadataProperties.cs View File

@@ -4,6 +4,9 @@ using System.Collections.Immutable;


namespace Discord; namespace Discord;


/// <summary>
/// Properties object used to create or modify <see cref="RoleConnectionMetadata"/> object.
/// </summary>
public class RoleConnectionMetadataProperties public class RoleConnectionMetadataProperties
{ {
private const int MaxKeyLength = 50; private const int MaxKeyLength = 50;


+ 9
- 9
src/Discord.Net.Core/Entities/ApplicationRoleConnection/RoleConnectionMetadataType.cs View File

@@ -3,47 +3,47 @@ using System;
namespace Discord; namespace Discord;


/// <summary> /// <summary>
/// Represents the type of Application Role Connection Metadata
/// Represents the type of Application Role Connection Metadata.
/// </summary> /// </summary>
public enum RoleConnectionMetadataType public enum RoleConnectionMetadataType
{ {
/// <summary> /// <summary>
/// The metadata's integer value is less than or equal to the guild's configured value
/// The metadata's integer value is less than or equal to the guild's configured value.
/// </summary> /// </summary>
IntegerLessOrEqual = 1, IntegerLessOrEqual = 1,


/// <summary> /// <summary>
/// The metadata's integer value is greater than or equal to the guild's configured value
/// The metadata's integer value is greater than or equal to the guild's configured value.
/// </summary> /// </summary>
IntegerGreaterOrEqual = 2, IntegerGreaterOrEqual = 2,


/// <summary> /// <summary>
/// The metadata's integer value is equal to the guild's configured value
/// The metadata's integer value is equal to the guild's configured value.
/// </summary> /// </summary>
IntegerEqual = 3, IntegerEqual = 3,


/// <summary> /// <summary>
/// The metadata's integer value is not equal to the guild's configured value
/// The metadata's integer value is not equal to the guild's configured value.
/// </summary> /// </summary>
IntegerNotEqual = 4, IntegerNotEqual = 4,


/// <summary> /// <summary>
/// The metadata's ISO8601 string value is less or equal to the guild's configured value
/// The metadata's ISO8601 string value is less or equal to the guild's configured value.
/// </summary> /// </summary>
DateTimeLessOrEqual = 5, DateTimeLessOrEqual = 5,


/// <summary> /// <summary>
/// The metadata's ISO8601 string value is greater to the guild's configured value
/// The metadata's ISO8601 string value is greater to the guild's configured value.
/// </summary> /// </summary>
DateTimeGreaterOrEqual = 6, DateTimeGreaterOrEqual = 6,


/// <summary> /// <summary>
/// The metadata's integer value is equal to the guild's configured value
/// The metadata's integer value is equal to the guild's configured value.
/// </summary> /// </summary>
BoolEqual = 7, BoolEqual = 7,


/// <summary> /// <summary>
/// The metadata's integer value is equal to the guild's configured value
/// The metadata's integer value is equal to the guild's configured value.
/// </summary> /// </summary>
BoolNotEqual = 8, BoolNotEqual = 8,
} }

Loading…
Cancel
Save