StreamEvent_RoleCreated constructor
StreamEvent_RoleCreated({})
Implementation
factory StreamEvent_RoleCreated({
$fixnum.Int64? guildId,
$fixnum.Int64? roleId,
$core.String? name,
$core.int? color,
$core.bool? hoist,
$core.bool? pingable,
}) {
final _result = create();
if (guildId != null) {
_result.guildId = guildId;
}
if (roleId != null) {
_result.roleId = roleId;
}
if (name != null) {
_result.name = name;
}
if (color != null) {
_result.color = color;
}
if (hoist != null) {
_result.hoist = hoist;
}
if (pingable != null) {
_result.pingable = pingable;
}
return _result;
}