Class Media
- java.lang.Object
-
- io.datahubproject.openapi.generated.Media
-
@Validated @Generated(value="io.swagger.codegen.v3.generators.java.SpringCodegen", date="2022-10-18T12:49:45.903581Z[Etc/UTC]") public class Media extends java.lang.ObjectCarries information about which roles a user is assigned to.
-
-
Constructor Summary
Constructors Constructor Description Media()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)@NotNull java.lang.StringgetLocation()Where the media content is stored.@NotNull @Valid MediaTypegetType()Get typeinthashCode()Medialocation(java.lang.String location)voidsetLocation(java.lang.String location)voidsetType(MediaType type)java.lang.StringtoString()Mediatype(MediaType type)
-
-
-
Method Detail
-
getType
@NotNull @Valid public @NotNull @Valid MediaType getType()
Get type- Returns:
- type
-
setType
public void setType(MediaType type)
-
location
public Media location(java.lang.String location)
-
getLocation
@NotNull public @NotNull java.lang.String getLocation()
Where the media content is stored.- Returns:
- location
-
setLocation
public void setLocation(java.lang.String location)
-
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
-
-