java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1UserInfo

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1UserInfo extends Object
UserInfo holds the information about the user needed to implement the user.Info interface.
  • Field Details

  • Constructor Details

    • V1UserInfo

      public V1UserInfo()
  • Method Details

    • getExtra

      public Map<String,@NotNull List<@NotNull String>> getExtra()
      Any additional information provided by the authenticator.
      Returns:
      the extra property value
    • setExtra

      public void setExtra(Map<String,@NotNull List<@NotNull String>> extra)
      Set the extra property value
      Parameters:
      extra - property value to set
    • extra

      public V1UserInfo extra(Map<String,@NotNull List<@NotNull String>> extra)
      Set extra in a chainable fashion.
      Returns:
      The same instance of V1UserInfo for chaining.
    • putextraItem

      public V1UserInfo putextraItem(String key, List<String> extraItem)
      Set the value for the key for the extra map property in a chainable fashion.
      Returns:
      The same instance of V1UserInfo for chaining.
    • getGroups

      public List<@NotNull String> getGroups()
      The names of groups this user is a part of.
      Returns:
      the groups property value
    • setGroups

      public void setGroups(List<@NotNull String> groups)
      Set the groups property value
      Parameters:
      groups - property value to set
    • groups

      public V1UserInfo groups(List<@NotNull String> groups)
      Set groups in a chainable fashion.
      Returns:
      The same instance of V1UserInfo for chaining.
    • addgroupsItem

      public V1UserInfo addgroupsItem(String groupsItem)
      Add an item to the groups property in a chainable fashion.
      Returns:
      The same instance of V1UserInfo for chaining.
    • getUid

      public String getUid()
      A unique value that identifies this user across time. If this user is deleted and another user by the same name is added, they will have different UIDs.
      Returns:
      the uid property value
    • setUid

      public void setUid(String uid)
      Set the uid property value
      Parameters:
      uid - property value to set
    • uid

      public V1UserInfo uid(String uid)
      Set uid in a chainable fashion.
      Returns:
      The same instance of V1UserInfo for chaining.
    • getUsername

      public String getUsername()
      The name that uniquely identifies this user among all active users.
      Returns:
      the username property value
    • setUsername

      public void setUsername(String username)
      Set the username property value
      Parameters:
      username - property value to set
    • username

      public V1UserInfo username(String username)
      Set username in a chainable fashion.
      Returns:
      The same instance of V1UserInfo for chaining.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object