Class RuleAction.Restriction.Parameters
- java.lang.Object
-
- ai.toloka.client.v1.pool.qualitycontrol.RuleAction.Restriction.Parameters
-
- Enclosing class:
- RuleAction.Restriction
public static class RuleAction.Restriction.Parameters extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Parameters(UserRestrictionScope scope)
Parameters(UserRestrictionScope scope, java.lang.Integer durationDays, java.lang.String privateComment)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Integer
getDurationDays()
java.lang.String
getPrivateComment()
UserRestrictionScope
getScope()
void
setDurationDays(java.lang.Integer durationDays)
void
setPrivateComment(java.lang.String privateComment)
void
setScope(UserRestrictionScope scope)
-
-
-
Constructor Detail
-
Parameters
public Parameters(UserRestrictionScope scope)
-
Parameters
public Parameters(UserRestrictionScope scope, java.lang.Integer durationDays, java.lang.String privateComment)
-
-
Method Detail
-
getScope
public UserRestrictionScope getScope()
-
setScope
public void setScope(UserRestrictionScope scope)
-
getDurationDays
public java.lang.Integer getDurationDays()
-
setDurationDays
public void setDurationDays(java.lang.Integer durationDays)
-
getPrivateComment
public java.lang.String getPrivateComment()
-
setPrivateComment
public void setPrivateComment(java.lang.String privateComment)
-
-