kubernetes_asyncio.client.models.v1_user_info module

Kubernetes

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501

The version of the OpenAPI document: v1.34.3 Generated by: https://openapi-generator.tech

class kubernetes_asyncio.client.models.v1_user_info.V1UserInfo(extra=None, groups=None, uid=None, username=None, local_vars_configuration=None)

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

attribute_map = {'extra': 'extra', 'groups': 'groups', 'uid': 'uid', 'username': 'username'}
property extra

Gets the extra of this V1UserInfo. # noqa: E501

Any additional information provided by the authenticator. # noqa: E501

Returns:

The extra of this V1UserInfo. # noqa: E501

Return type:

dict(str, list[str])

property groups

Gets the groups of this V1UserInfo. # noqa: E501

The names of groups this user is a part of. # noqa: E501

Returns:

The groups of this V1UserInfo. # noqa: E501

Return type:

list[str]

openapi_types = {'extra': 'dict(str, list[str])', 'groups': 'list[str]', 'uid': 'str', 'username': 'str'}
to_dict(serialize=False)

Returns the model properties as a dict

to_str()

Returns the string representation of the model

property uid

Gets the uid of this V1UserInfo. # noqa: E501

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. # noqa: E501

Returns:

The uid of this V1UserInfo. # noqa: E501

Return type:

str

property username

Gets the username of this V1UserInfo. # noqa: E501

The name that uniquely identifies this user among all active users. # noqa: E501

Returns:

The username of this V1UserInfo. # noqa: E501

Return type:

str