Class UserRestriction
- java.lang.Object
-
- ai.toloka.client.v1.userrestriction.UserRestriction
-
- Direct Known Subclasses:
AllProjectsUserRestriction,PoolUserRestriction,ProjectUserRestriction,SystemUserRestriction
public abstract class UserRestriction extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Datecreatedprotected java.lang.Stringidprotected java.lang.StringprivateCommentprotected UserRestrictionScopescopeprotected java.lang.StringuserIdprotected java.util.DatewillExpire
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.DategetCreated()java.lang.StringgetId()java.lang.StringgetPrivateComment()UserRestrictionScopegetScope()java.lang.StringgetUserId()java.util.DategetWillExpire()voidsetPrivateComment(java.lang.String privateComment)voidsetWillExpire(java.util.Date willExpire)
-
-
-
Field Detail
-
id
protected java.lang.String id
-
scope
protected UserRestrictionScope scope
-
userId
protected java.lang.String userId
-
privateComment
protected java.lang.String privateComment
-
willExpire
protected java.util.Date willExpire
-
created
protected java.util.Date created
-
-
Method Detail
-
setPrivateComment
public void setPrivateComment(java.lang.String privateComment)
-
setWillExpire
public void setWillExpire(java.util.Date willExpire)
-
getId
public java.lang.String getId()
-
getScope
public UserRestrictionScope getScope()
-
getUserId
public java.lang.String getUserId()
-
getPrivateComment
public java.lang.String getPrivateComment()
-
getWillExpire
public java.util.Date getWillExpire()
-
getCreated
public java.util.Date getCreated()
-
-