Class BulkCreateUserResult

java.lang.Object
ai.reveng.model.BulkCreateUserResult

@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class BulkCreateUserResult extends Object
BulkCreateUserResult
  • Field Details

  • Constructor Details

    • BulkCreateUserResult

      public BulkCreateUserResult()
  • Method Details

    • email

      public BulkCreateUserResult email(@Nullable String email)
    • getEmail

      @Nullable public String getEmail()
      Search is applied to string value
      Returns:
      email
    • setEmail

      public void setEmail(@Nullable String email)
    • error

      public BulkCreateUserResult error(@Nullable String error)
    • getError

      @Nullable public String getError()
      Error description; present on failure
      Returns:
      error
    • setError

      public void setError(@Nullable String error)
    • index

      public BulkCreateUserResult index(@Nonnull Long index)
    • getIndex

      @Nonnull public Long getIndex()
      1-based row index in the CSV
      Returns:
      index
    • setIndex

      public void setIndex(@Nonnull Long index)
    • success

      public BulkCreateUserResult success(@Nonnull Boolean success)
    • getSuccess

      @Nonnull public Boolean getSuccess()
      Get success
      Returns:
      success
    • setSuccess

      public void setSuccess(@Nonnull Boolean success)
    • user

      public BulkCreateUserResult user(@Nullable User user)
    • getUser

      @Nullable public User getUser()
      Created user; present on success
      Returns:
      user
    • setUser

      public void setUser(@Nullable User user)
    • username

      public BulkCreateUserResult username(@Nullable String username)
    • getUsername

      @Nullable public String getUsername()
      Search is applied to string value
      Returns:
      username
    • setUsername

      public void setUsername(@Nullable String username)
    • putAdditionalProperty

      public BulkCreateUserResult putAdditionalProperty(String key, 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 BulkCreateUserResult instance itself
    • getAdditionalProperties

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

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

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

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