ModifyGuildChannelPositionsParams class
Modify Guild Channel Positions params
https://discord.com/developers/docs/resources/guild#modify-guild-channel-positions-json-params
- Annotations
-
- @JsonSerializable(includeIfNull: false)
Constructors
- ModifyGuildChannelPositionsParams({required String id, int? position, bool? lockPermissions, String? parentId})
- Constructor
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
channel id
final
- lockPermissions → bool?
-
syncs the permission overwrites with the new parent, if moving to a new category
final
- parentId → String?
-
the new parent ID for the channel that is moved
final
- position → int?
-
sorting position of the channel
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - To json
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJson(
Map< String, dynamic> json) → ModifyGuildChannelPositionsParams - From json