Class OwnershipSource
- java.lang.Object
-
- io.datahubproject.openapi.generated.OwnershipSource
-
@Validated @Generated(value="io.swagger.codegen.v3.generators.java.SpringCodegen", date="2023-01-10T23:10:21.701017Z[Etc/UTC]") public class OwnershipSource extends java.lang.Object
Source/provider of the ownership information
-
-
Constructor Summary
Constructors Constructor Description OwnershipSource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
@NotNull @Valid OwnershipSourceType
getType()
Get typejava.lang.String
getUrl()
A reference URL for the sourceint
hashCode()
void
setType(OwnershipSourceType type)
void
setUrl(java.lang.String url)
java.lang.String
toString()
OwnershipSource
type(OwnershipSourceType type)
OwnershipSource
url(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:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-