Class ApplicationInstallParamsProperties
- Namespace
- NetCord.Rest
- Assembly
- NetCord.dll
public class ApplicationInstallParamsProperties
- Inheritance
-
ApplicationInstallParamsProperties
- Inherited Members
-
Constructors
ApplicationInstallParamsProperties()
public ApplicationInstallParamsProperties()
Properties
Permissions
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("permissions")]
public Permissions? Permissions { get; set; }
Property Value
- Permissions?
Scopes
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
[JsonPropertyName("scopes")]
public IEnumerable<string>? Scopes { get; set; }
Property Value
- IEnumerable<string>
Methods
AddScopes(IEnumerable<string>)
public ApplicationInstallParamsProperties AddScopes(IEnumerable<string> scopes)
Parameters
scopes
IEnumerable<string>
Returns
- ApplicationInstallParamsProperties
AddScopes(params string[])
public ApplicationInstallParamsProperties AddScopes(params string[] scopes)
Parameters
scopes
string[]
Returns
- ApplicationInstallParamsProperties
WithPermissions(Permissions?)
public ApplicationInstallParamsProperties WithPermissions(Permissions? permissions)
Parameters
permissions
Permissions?
Returns
- ApplicationInstallParamsProperties
WithScopes(IEnumerable<string>?)
public ApplicationInstallParamsProperties WithScopes(IEnumerable<string>? scopes)
Parameters
scopes
IEnumerable<string>
Returns
- ApplicationInstallParamsProperties