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.Date
created
protected java.lang.String
id
protected java.lang.String
privateComment
protected UserRestrictionScope
scope
protected java.lang.String
userId
protected java.util.Date
willExpire
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Date
getCreated()
java.lang.String
getId()
java.lang.String
getPrivateComment()
UserRestrictionScope
getScope()
java.lang.String
getUserId()
java.util.Date
getWillExpire()
void
setPrivateComment(java.lang.String privateComment)
void
setWillExpire(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()
-
-