Class OrganizationAdminModel


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               date="2025-11-28T09:20:10.031721056Z[Etc/UTC]",
               comments="Generator version: 7.7.0")
    public class OrganizationAdminModel
    extends java.lang.Object
    Describes an Organization Admin.
    • Field Detail

      • SERIALIZED_NAME_USER_ID

        public static final java.lang.String SERIALIZED_NAME_USER_ID
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_FULL_NAME

        public static final java.lang.String SERIALIZED_NAME_FULL_NAME
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_EMAIL

        public static final java.lang.String SERIALIZED_NAME_EMAIL
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_TWO_FACTOR_ENABLED

        public static final java.lang.String SERIALIZED_NAME_TWO_FACTOR_ENABLED
        See Also:
        Constant Field Values
      • openapiFields

        public static java.util.HashSet<java.lang.String> openapiFields
      • openapiRequiredFields

        public static java.util.HashSet<java.lang.String> openapiRequiredFields
    • Constructor Detail

      • OrganizationAdminModel

        public OrganizationAdminModel()
    • Method Detail

      • getUserId

        @Nonnull
        public java.lang.String getUserId()
        Identifier of the Organization Admin.
        Returns:
        userId
      • setUserId

        public void setUserId​(java.lang.String userId)
      • getFullName

        @Nonnull
        public java.lang.String getFullName()
        Name of the Organization Admin.
        Returns:
        fullName
      • setFullName

        public void setFullName​(java.lang.String fullName)
      • getEmail

        @Nonnull
        public java.lang.String getEmail()
        Email of the OrganizationAdmin.
        Returns:
        email
      • setEmail

        public void setEmail​(java.lang.String email)
      • getTwoFactorEnabled

        @Nonnull
        public java.lang.Boolean getTwoFactorEnabled()
        Determines whether 2FA is enabled for the Organization Admin.
        Returns:
        twoFactorEnabled
      • setTwoFactorEnabled

        public void setTwoFactorEnabled​(java.lang.Boolean twoFactorEnabled)
      • putAdditionalProperty

        public OrganizationAdminModel putAdditionalProperty​(java.lang.String key,
                                                            java.lang.Object value)
        Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.
        Parameters:
        key - name of the property
        value - value of the property
        Returns:
        the OrganizationAdminModel instance itself
      • getAdditionalProperties

        public java.util.Map<java.lang.String,​java.lang.Object> getAdditionalProperties()
        Return the additional (undeclared) property.
        Returns:
        a map of objects
      • getAdditionalProperty

        public java.lang.Object getAdditionalProperty​(java.lang.String key)
        Return the additional (undeclared) property with the specified name.
        Parameters:
        key - name of the property
        Returns:
        an object
      • 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
      • validateJsonElement

        public static void validateJsonElement​(com.google.gson.JsonElement jsonElement)
                                        throws java.io.IOException
        Validates the JSON Element and throws an exception if issues found
        Parameters:
        jsonElement - JSON Element
        Throws:
        java.io.IOException - if the JSON Element is invalid with respect to OrganizationAdminModel
      • fromJson

        public static OrganizationAdminModel fromJson​(java.lang.String jsonString)
                                               throws java.io.IOException
        Create an instance of OrganizationAdminModel given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of OrganizationAdminModel
        Throws:
        java.io.IOException - if the JSON string is invalid with respect to OrganizationAdminModel
      • toJson

        public java.lang.String toJson()
        Convert an instance of OrganizationAdminModel to an JSON string
        Returns:
        JSON string