Class 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 Detail

      • Media

        public Media()
    • 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 class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object