Class Owner
- java.lang.Object
-
- io.datahubproject.openapi.generated.Owner
-
@Validated @Generated(value="io.swagger.codegen.v3.generators.java.SpringCodegen", date="2023-12-06T11:25:47.362934Z[Etc/UTC]") public class Owner extends java.lang.ObjectOwnership information
-
-
Constructor Summary
Constructors Constructor Description Owner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)@NotNull java.lang.StringgetOwner()Owner URN, e.g.@Valid OwnershipSourcegetSource()Get source@NotNull @Valid OwnershipTypegetType()Get typejava.lang.StringgetTypeUrn()The type of the ownership Urn of type OinthashCode()Ownerowner(java.lang.String owner)voidsetOwner(java.lang.String owner)voidsetSource(OwnershipSource source)voidsetType(OwnershipType type)voidsetTypeUrn(java.lang.String typeUrn)Ownersource(OwnershipSource source)java.lang.StringtoString()Ownertype(OwnershipType type)OwnertypeUrn(java.lang.String typeUrn)
-
-
-
Method Detail
-
owner
public Owner owner(java.lang.String owner)
-
getOwner
@NotNull public @NotNull java.lang.String getOwner()
Owner URN, e.g. urn:li:corpuser:ldap, urn:li:corpGroup:group_name, and urn:li:multiProduct:mp_name (Caveat: only corpuser is currently supported in the frontend.)- Returns:
- owner
-
setOwner
public void setOwner(java.lang.String owner)
-
type
public Owner type(OwnershipType type)
-
getType
@NotNull @Valid public @NotNull @Valid OwnershipType getType()
Get type- Returns:
- type
-
setType
public void setType(OwnershipType type)
-
typeUrn
public Owner typeUrn(java.lang.String typeUrn)
-
getTypeUrn
public java.lang.String getTypeUrn()
The type of the ownership Urn of type O- Returns:
- typeUrn
-
setTypeUrn
public void setTypeUrn(java.lang.String typeUrn)
-
source
public Owner source(OwnershipSource source)
-
getSource
@Valid public @Valid OwnershipSource getSource()
Get source- Returns:
- source
-
setSource
public void setSource(OwnershipSource source)
-
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
-
-