Class CreateFolderRequest

java.lang.Object
ai.vectros.resources.folders.requests.CreateFolderRequest

public final class CreateFolderRequest extends Object
  • Method Details

    • getUpsert

      public Optional<Boolean> getUpsert()
      Returns:
      When true, if a folder with the same slug already exists under the same parent its mutable fields (name, description, and ownership) are overwritten from the request and the version is bumped, instead of the existing folder being returned unchanged; the immutable slug and parent are never changed. A re-applied upsert whose content matches is a no-op (no version bump). Defaults to false. Requires the folders:u scope in addition to folders:c.
    • getBody

      public FolderRequest getBody()
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object
    • builder

      public static CreateFolderRequest.BodyStage builder()