Class UserOrganization


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               date="2024-03-29T12:34:27.506198300-05:00[America/Chicago]",
               comments="Generator version: 7.4.0")
    public class UserOrganization
    extends Object
    UserOrganization
    • Constructor Detail

      • UserOrganization

        public UserOrganization()
    • Method Detail

      • getCreatedAt

        @Nonnull
        @NotNull
        @Valid
        public @NotNull @Valid OffsetDateTime getCreatedAt()
        Get createdAt
        Returns:
        createdAt
      • setCreatedAt

        public void setCreatedAt​(OffsetDateTime createdAt)
      • getId

        @Nonnull
        @NotNull
        @Valid
        public @NotNull @Valid UUID getId()
        Get id
        Returns:
        id
      • setId

        public void setId​(UUID id)
      • getOrganizationId

        @Nonnull
        @NotNull
        @Valid
        public @NotNull @Valid UUID getOrganizationId()
        Get organizationId
        Returns:
        organizationId
      • setOrganizationId

        public void setOrganizationId​(UUID organizationId)
      • getRole

        @Nonnull
        @NotNull
        public @NotNull Integer getRole()
        Get role
        Returns:
        role
      • setRole

        public void setRole​(Integer role)
      • getUpdatedAt

        @Nonnull
        @NotNull
        @Valid
        public @NotNull @Valid OffsetDateTime getUpdatedAt()
        Get updatedAt
        Returns:
        updatedAt
      • setUpdatedAt

        public void setUpdatedAt​(OffsetDateTime updatedAt)
      • getUserId

        @Nonnull
        @NotNull
        @Valid
        public @NotNull @Valid UUID getUserId()
        Get userId
        Returns:
        userId
      • setUserId

        public void setUserId​(UUID userId)
      • hashCode

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

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

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

        public String toJson()
        Convert an instance of UserOrganization to an JSON string
        Returns:
        JSON string