Class Media
- java.lang.Object
-
- io.datahubproject.openapi.generated.Media
-
@Validated @Generated(value="io.swagger.codegen.v3.generators.java.SpringCodegen", date="2023-06-09T09:27:54.187483Z[Etc/UTC]") public class Media extends java.lang.Object
Carries 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 boolean
equals(java.lang.Object o)
@NotNull java.lang.String
getLocation()
Where the media content is stored.@NotNull @Valid MediaType
getType()
Get typeint
hashCode()
Media
location(java.lang.String location)
void
setLocation(java.lang.String location)
void
setType(MediaType type)
java.lang.String
toString()
Media
type(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:
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
-
-