AddContentRestriction class
Constructors
- AddContentRestriction({required AddContentRestrictionOperation operation, required AddContentRestrictionRestrictions restrictions})
-
AddContentRestriction.fromJson(Map<
String, Object?> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- operation → AddContentRestrictionOperation
-
The restriction operation applied to content.
final
- restrictions → AddContentRestrictionRestrictions
-
The users/groups that the restrictions will be applied to. At least one of
user
orgroup
must be specified for this object.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{AddContentRestrictionOperation? operation, AddContentRestrictionRestrictions? restrictions}) → AddContentRestriction -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited