Package org.gitlab4j.api.models
Class ImpersonationToken
- java.lang.Object
-
- org.gitlab4j.api.models.ImpersonationToken
-
public class ImpersonationToken extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ImpersonationToken.Scope
Enum to specify the scope of an ImpersonationToken.
-
Constructor Summary
Constructors Constructor Description ImpersonationToken()
-
Method Summary
Modifier and Type Method Description Boolean
getActive()
Date
getCreatedAt()
Date
getExpiresAt()
Integer
getId()
Boolean
getImpersonation()
String
getName()
Boolean
getRevoked()
List<ImpersonationToken.Scope>
getScopes()
String
getToken()
void
setActive(Boolean active)
void
setCreatedAt(Date createdAt)
void
setExpiresAt(Date expiresAt)
void
setId(Integer id)
void
setImpersonation(Boolean impersonation)
void
setName(String name)
void
setRevoked(Boolean revoked)
void
setScopes(List<ImpersonationToken.Scope> scopes)
void
setToken(String token)
String
toString()
-
-
-
Method Detail
-
getActive
public Boolean getActive()
-
setActive
public void setActive(Boolean active)
-
getToken
public String getToken()
-
setToken
public void setToken(String token)
-
getScopes
public List<ImpersonationToken.Scope> getScopes()
-
setScopes
public void setScopes(List<ImpersonationToken.Scope> scopes)
-
getRevoked
public Boolean getRevoked()
-
setRevoked
public void setRevoked(Boolean revoked)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getId
public Integer getId()
-
setId
public void setId(Integer id)
-
getCreatedAt
public Date getCreatedAt()
-
setCreatedAt
public void setCreatedAt(Date createdAt)
-
getImpersonation
public Boolean getImpersonation()
-
setImpersonation
public void setImpersonation(Boolean impersonation)
-
getExpiresAt
public Date getExpiresAt()
-
setExpiresAt
public void setExpiresAt(Date expiresAt)
-
-