Class OwnershipSource
- java.lang.Object
-
- io.datahubproject.openapi.generated.OwnershipSource
-
@Validated @Generated(value="io.swagger.codegen.v3.generators.java.SpringCodegen", date="2023-12-06T11:25:47.362934Z[Etc/UTC]") public class OwnershipSource extends java.lang.ObjectSource/provider of the ownership information
-
-
Constructor Summary
Constructors Constructor Description OwnershipSource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)@NotNull @Valid OwnershipSourceTypegetType()Get typejava.lang.StringgetUrl()A reference URL for the sourceinthashCode()voidsetType(OwnershipSourceType type)voidsetUrl(java.lang.String url)java.lang.StringtoString()OwnershipSourcetype(OwnershipSourceType type)OwnershipSourceurl(java.lang.String url)
-
-
-
Method Detail
-
type
public OwnershipSource type(OwnershipSourceType type)
-
getType
@NotNull @Valid public @NotNull @Valid OwnershipSourceType getType()
Get type- Returns:
- type
-
setType
public void setType(OwnershipSourceType type)
-
url
public OwnershipSource url(java.lang.String url)
-
getUrl
public java.lang.String getUrl()
A reference URL for the source- Returns:
- url
-
setUrl
public void setUrl(java.lang.String url)
-
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
-
-