Class DataHubAccessTokenInfo
- java.lang.Object
-
- io.datahubproject.openapi.generated.DataHubAccessTokenInfo
-
- All Implemented Interfaces:
OneOfEnvelopedAspectValue,OneOfGenericAspectValue
@Validated @Generated(value="io.swagger.codegen.v3.generators.java.SpringCodegen", date="2023-12-06T11:25:47.362934Z[Etc/UTC]") public class DataHubAccessTokenInfo extends java.lang.Object implements OneOfEnvelopedAspectValue, OneOfGenericAspectValueInformation about a DataHub Access Token
-
-
Constructor Summary
Constructors Constructor Description DataHubAccessTokenInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataHubAccessTokenInfoactorUrn(java.lang.String actorUrn)DataHubAccessTokenInfocreatedAt(java.lang.Long createdAt)DataHubAccessTokenInfodescription(java.lang.String description)booleanequals(java.lang.Object o)DataHubAccessTokenInfoexpiresAt(java.lang.Long expiresAt)@NotNull java.lang.Stringget__type()Name of this subclass in SimpleClassName format@NotNull java.lang.StringgetActorUrn()Urn of the actor to which this access token belongs to.@NotNull @Min(-9223372036854775808L) @Max(9223372036854775807L) java.lang.LonggetCreatedAt()When the token was created.java.lang.StringgetDescription()Description of the token if defined.@Min(-9223372036854775808L) @Max(9223372036854775807L) java.lang.LonggetExpiresAt()When the token expires.@NotNull java.lang.StringgetName()User defined name for the access token if defined.@NotNull java.lang.StringgetOwnerUrn()Urn of the actor which created this access token.inthashCode()DataHubAccessTokenInfoname(java.lang.String name)DataHubAccessTokenInfoownerUrn(java.lang.String ownerUrn)voidsetActorUrn(java.lang.String actorUrn)voidsetCreatedAt(java.lang.Long createdAt)voidsetDescription(java.lang.String description)voidsetExpiresAt(java.lang.Long expiresAt)voidsetName(java.lang.String name)voidsetOwnerUrn(java.lang.String ownerUrn)java.lang.StringtoString()
-
-
-
Method Detail
-
get__type
@NotNull public @NotNull java.lang.String get__type()
Name of this subclass in SimpleClassName format- Returns:
- __type
-
name
public DataHubAccessTokenInfo name(java.lang.String name)
-
getName
@NotNull public @NotNull java.lang.String getName()
User defined name for the access token if defined.- Returns:
- name
-
setName
public void setName(java.lang.String name)
-
actorUrn
public DataHubAccessTokenInfo actorUrn(java.lang.String actorUrn)
-
getActorUrn
@NotNull public @NotNull java.lang.String getActorUrn()
Urn of the actor to which this access token belongs to.- Returns:
- actorUrn
-
setActorUrn
public void setActorUrn(java.lang.String actorUrn)
-
ownerUrn
public DataHubAccessTokenInfo ownerUrn(java.lang.String ownerUrn)
-
getOwnerUrn
@NotNull public @NotNull java.lang.String getOwnerUrn()
Urn of the actor which created this access token.- Returns:
- ownerUrn
-
setOwnerUrn
public void setOwnerUrn(java.lang.String ownerUrn)
-
createdAt
public DataHubAccessTokenInfo createdAt(java.lang.Long createdAt)
-
getCreatedAt
@NotNull @Min(-9223372036854775808L) @Max(9223372036854775807L) public @NotNull @Min(-9223372036854775808L) @Max(9223372036854775807L) java.lang.Long getCreatedAt()
When the token was created. minimum: -9223372036854775808 maximum: 9223372036854775807- Returns:
- createdAt
-
setCreatedAt
public void setCreatedAt(java.lang.Long createdAt)
-
expiresAt
public DataHubAccessTokenInfo expiresAt(java.lang.Long expiresAt)
-
getExpiresAt
@Min(-9223372036854775808L) @Max(9223372036854775807L) public @Min(-9223372036854775808L) @Max(9223372036854775807L) java.lang.Long getExpiresAt()
When the token expires. minimum: -9223372036854775808 maximum: 9223372036854775807- Returns:
- expiresAt
-
setExpiresAt
public void setExpiresAt(java.lang.Long expiresAt)
-
description
public DataHubAccessTokenInfo description(java.lang.String description)
-
getDescription
public java.lang.String getDescription()
Description of the token if defined.- Returns:
- description
-
setDescription
public void setDescription(java.lang.String description)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-