diff --git a/.github/actions/bootstrap-test-lakefs/action.yaml b/.github/actions/bootstrap-test-lakefs/action.yaml index a3427c587b4..27ada0215e9 100644 --- a/.github/actions/bootstrap-test-lakefs/action.yaml +++ b/.github/actions/bootstrap-test-lakefs/action.yaml @@ -16,7 +16,7 @@ runs: using: "composite" steps: - name: Retrieve generated code - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4.1.8 with: name: generated-code path: /tmp/ diff --git a/.github/workflows/codeql-analysis.yaml b/.github/workflows/codeql-analysis.yaml index 8668dc7a08f..3156c4abc64 100644 --- a/.github/workflows/codeql-analysis.yaml +++ b/.github/workflows/codeql-analysis.yaml @@ -29,7 +29,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v4 with: - go-version: "1.22.6" + go-version: "1.23" - name: Generate code env: diff --git a/.github/workflows/compatibility-tests.yaml b/.github/workflows/compatibility-tests.yaml index a1fcd33a090..89a8dd57de4 100644 --- a/.github/workflows/compatibility-tests.yaml +++ b/.github/workflows/compatibility-tests.yaml @@ -22,7 +22,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v4 with: - go-version: "1.22.6" + go-version: "1.23" id: go - uses: actions/setup-node@v4 @@ -43,7 +43,7 @@ jobs: tar -czf /tmp/generated.tar.gz . - name: Store generated code - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: generated-code path: /tmp/generated.tar.gz @@ -54,7 +54,7 @@ jobs: mvn -Passembly -DfinalName=client -DskipTests --batch-mode --update-snapshots package - name: Store client assembly - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: client-assembly path: clients/hadoopfs/target/client.jar @@ -78,11 +78,11 @@ jobs: - name: Setup Go uses: actions/setup-go@v4 with: - go-version: "1.22.6" + go-version: "1.23" id: go - name: Retrieve generated code - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4.1.8 with: name: generated-code path: /tmp/ @@ -108,7 +108,7 @@ jobs: outputs: type=docker,dest=/tmp/lakefs.tar - name: Upload artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: lakefs-image path: /tmp/lakefs.tar @@ -167,10 +167,17 @@ jobs: - 1.40.0 - 1.41.0 - 1.42.0 + - 1.43.0 + - 1.44.0 + - 1.45.0 + - 1.46.0 + - 1.47.0 + # Do *not* test 1.48.0, we withdrew it. + - 1.48.1 runs-on: ubuntu-22.04 env: TAG: ${{ matrix.lakefs_version }} - REPO: treeverse + REGISTRY: treeverse SPARK_TAG: 3 steps: - name: Check-out code @@ -203,7 +210,7 @@ jobs: with: compose-directory: test/spark env: - REPO: treeverse + REGISTRY: treeverse AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} LAKEFS_DATABASE_TYPE: postgres @@ -212,7 +219,7 @@ jobs: LAKEFS_BLOCKSTORE_S3_CREDENTIALS_SECRET_ACCESS_KEY: ${{ secrets.ESTI_AWS_SECRET_ACCESS_KEY }} - name: Retrieve client - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4.1.8 with: name: client-assembly path: clients/hadoopfs/target @@ -248,7 +255,7 @@ jobs: CLIENT_VERSION: ${{ matrix.client_version }} TAG: ${{ needs.deploy-image.outputs.tag }} IMAGE_ID: ${{ needs.deploy-image.outputs.image_id }} - REPO: treeverse + REGISTRY: treeverse SPARK_TAG: 3 steps: - name: Check-out code @@ -258,7 +265,7 @@ jobs: uses: docker/setup-buildx-action@v2 - name: Download artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4.1.8 with: name: lakefs-image path: /tmp @@ -293,7 +300,7 @@ jobs: with: compose-directory: test/spark env: - REPO: treeverse + REGISTRY: treeverse AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} LAKEFS_DATABASE_TYPE: postgres diff --git a/.github/workflows/docker-publish-exp-image.yaml b/.github/workflows/docker-publish-exp-image.yaml index 70d6c7b5bb0..e7a4b1fd8a3 100644 --- a/.github/workflows/docker-publish-exp-image.yaml +++ b/.github/workflows/docker-publish-exp-image.yaml @@ -37,7 +37,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v4 with: - go-version: "1.22.6" + go-version: "1.23" id: go - uses: bufbuild/buf-setup-action@v1.28.1 diff --git a/.github/workflows/docker-publish.yaml b/.github/workflows/docker-publish.yaml index fffe994aa8c..78065cb20bb 100644 --- a/.github/workflows/docker-publish.yaml +++ b/.github/workflows/docker-publish.yaml @@ -30,7 +30,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v4 with: - go-version: "1.22.6" + go-version: "1.23" id: go - uses: bufbuild/buf-setup-action@v1.28.1 diff --git a/.github/workflows/esti.yaml b/.github/workflows/esti.yaml index 2cb43e8434c..830825122ca 100644 --- a/.github/workflows/esti.yaml +++ b/.github/workflows/esti.yaml @@ -53,7 +53,7 @@ jobs: if: steps.restore-cache.outputs.cache-hit != 'true' uses: actions/setup-go@v4 with: - go-version: "1.22.6" + go-version: "1.23" id: go - name: Setup NodeJS @@ -73,7 +73,7 @@ jobs: # must upload artifact in order to download generated later - name: Store generated code - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: generated-code path: /tmp/generated.tar.gz @@ -90,7 +90,7 @@ jobs: uses: actions/checkout@v4 - name: Retrieve generated code - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4.1.8 with: name: generated-code path: /tmp/ @@ -201,7 +201,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v4 with: - go-version: "1.22.6" + go-version: "1.23" id: go - name: Generate uniquifying value @@ -209,7 +209,7 @@ jobs: run: echo "value=$RANDOM" >> $GITHUB_OUTPUT - name: Retrieve generated code - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4.1.8 with: name: generated-code path: /tmp/ @@ -281,7 +281,7 @@ jobs: runs-on: ubuntu-22.04 env: TAG: ${{ needs.deploy-image.outputs.tag }} - REPO: ${{ needs.login-to-amazon-ecr.outputs.registry }} + REGISTRY: ${{ needs.login-to-amazon-ecr.outputs.registry }} steps: - name: Check-out code uses: actions/checkout@v4 @@ -328,7 +328,7 @@ jobs: runs-on: ubuntu-22.04 env: TAG: ${{ needs.deploy-image.outputs.tag }} - REPO: ${{ needs.login-to-amazon-ecr.outputs.registry }} + REGISTRY: ${{ needs.login-to-amazon-ecr.outputs.registry }} steps: - name: Check-out code @@ -398,7 +398,7 @@ jobs: working-directory: clients/hadoopfs run: mvn -Passembly -DfinalName=client --batch-mode --update-snapshots package -DskipTests - name: Store lakeFS HadoopFS - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: lakefs-hadoopfs path: clients/hadoopfs/target/client.jar @@ -420,7 +420,7 @@ jobs: working-directory: test/spark/app run: sbt package - name: Store Spark App - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: spark-apps path: test/spark/app/target/ @@ -438,20 +438,20 @@ jobs: sonnet_jar: sonnets-311/target/sonnets-311/scala-2.12/sonnets-311_2.12-0.1.0.jar env: TAG: ${{ needs.deploy-image.outputs.tag }} - REPO: ${{ needs.login-to-amazon-ecr.outputs.registry }} + REGISTRY: ${{ needs.login-to-amazon-ecr.outputs.registry }} SPARK_TAG: ${{ matrix.spark.tag }} steps: - name: Check-out code uses: actions/checkout@v4 - name: Download lakeFS HadoopFS - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4.1.8 with: name: lakefs-hadoopfs path: clients/hadoopfs/target - name: Download Spark App - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4.1.8 with: name: spark-apps path: test/spark/app/target/ @@ -547,7 +547,7 @@ jobs: env: LAKEFS_TAG: ${{ needs.deploy-image.outputs.tag }} EXPORT_TAG: ${{ needs.deploy-rclone-export-image.outputs.tag }} - REPO: ${{ needs.login-to-amazon-ecr.outputs.registry }} + REGISTRY: ${{ needs.login-to-amazon-ecr.outputs.registry }} steps: - name: Check-out code @@ -596,7 +596,7 @@ jobs: runs-on: ubuntu-22.04 env: TAG: ${{ needs.deploy-image.outputs.tag }} - REPO: ${{ needs.login-to-amazon-ecr.outputs.registry }} + REGISTRY: ${{ needs.login-to-amazon-ecr.outputs.registry }} steps: - name: Check-out code uses: actions/checkout@v4 @@ -654,7 +654,7 @@ jobs: needs: [check-secrets, deploy-image, login-to-amazon-ecr] env: TAG: ${{ needs.deploy-image.outputs.tag }} - REPO: ${{ needs.login-to-amazon-ecr.outputs.registry }} + REGISTRY: ${{ needs.login-to-amazon-ecr.outputs.registry }} steps: - name: Check-out code uses: actions/checkout@v4 @@ -694,7 +694,7 @@ jobs: runs-on: ubuntu-22.04 env: SPARK_TAG: 3.2.1 - REPO: ${{ needs.login-to-amazon-ecr.outputs.registry }} + REGISTRY: ${{ needs.login-to-amazon-ecr.outputs.registry }} TAG: ${{ needs.deploy-image.outputs.tag }} steps: - name: Check-out code @@ -753,7 +753,7 @@ jobs: runs-on: ubuntu-22.04 env: TAG: ${{ needs.deploy-image.outputs.tag }} - REPO: ${{ needs.login-to-amazon-ecr.outputs.registry }} + REGISTRY: ${{ needs.login-to-amazon-ecr.outputs.registry }} AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} LAKEFS_DATABASE_CONNECTION_STRING: "" # Override lakeFS docker compose settings @@ -767,7 +767,7 @@ jobs: # Retrieve ACL server binary from cache - name: Retrieve generated code - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4.1.8 with: name: generated-code path: /tmp/ @@ -830,7 +830,7 @@ jobs: branch_ownership: [false, true] env: TAG: ${{ needs.deploy-image.outputs.tag }} - REPO: ${{ needs.login-to-amazon-ecr.outputs.registry }} + REGISTRY: ${{ needs.login-to-amazon-ecr.outputs.registry }} AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} steps: @@ -843,7 +843,7 @@ jobs: # Retrieve ACL server binary from cache - name: Retrieve generated code - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4.1.8 with: name: generated-code path: /tmp/ @@ -904,7 +904,7 @@ jobs: runs-on: ubuntu-22.04 env: TAG: ${{ needs.deploy-image.outputs.tag }} - REPO: ${{ needs.login-to-amazon-ecr.outputs.registry }} + REGISTRY: ${{ needs.login-to-amazon-ecr.outputs.registry }} AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} steps: @@ -917,7 +917,7 @@ jobs: # Retrieve ACL server binary from cache - name: Retrieve generated code - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4.1.8 with: name: generated-code path: /tmp/ @@ -958,7 +958,7 @@ jobs: runs-on: ubuntu-22.04 env: TAG: ${{ needs.deploy-image.outputs.tag }} - REPO: ${{ needs.login-to-amazon-ecr.outputs.registry }} + REGISTRY: ${{ needs.login-to-amazon-ecr.outputs.registry }} AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} AZURE_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }} @@ -974,7 +974,7 @@ jobs: # Retrieve ACL server binary from cache - name: Retrieve generated code - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4.1.8 with: name: generated-code path: /tmp/ @@ -1019,7 +1019,7 @@ jobs: runs-on: ubuntu-22.04 env: TAG: ${{ needs.deploy-image.outputs.tag }} - REPO: ${{ needs.login-to-amazon-ecr.outputs.registry }} + REGISTRY: ${{ needs.login-to-amazon-ecr.outputs.registry }} AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} AZURE_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }} @@ -1038,7 +1038,7 @@ jobs: # Retrieve ACL server binary from cache - name: Retrieve generated code - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4.1.8 with: name: generated-code path: /tmp/ @@ -1098,7 +1098,7 @@ jobs: runs-on: ubuntu-22.04 env: TAG: ${{ needs.deploy-image.outputs.tag }} - REPO: ${{ needs.login-to-amazon-ecr.outputs.registry }} + REGISTRY: ${{ needs.login-to-amazon-ecr.outputs.registry }} LAKEFS_INSTALLATION_ACCESS_KEY_ID: AKIAIOSFDNN7EXAMPLEQ LAKEFS_INSTALLATION_SECRET_ACCESS_KEY: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY @@ -1218,7 +1218,7 @@ jobs: BASE_URL: http://localhost:8000 working-directory: webui run: npx playwright test --project=common - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: (success() || failure()) with: name: playwright-report @@ -1337,7 +1337,7 @@ jobs: BASE_URL: http://localhost:8000 working-directory: webui run: npx playwright test --project=quickstart - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: (success() || failure()) with: name: playwright-report @@ -1398,7 +1398,7 @@ jobs: runs-on: ubuntu-22.04 env: TAG: ${{ needs.deploy-image.outputs.tag }} - REPO: ${{ needs.login-to-amazon-ecr.outputs.registry }} + REGISTRY: ${{ needs.login-to-amazon-ecr.outputs.registry }} AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} steps: diff --git a/.github/workflows/goreleaser.yaml b/.github/workflows/goreleaser.yaml index ec315f45391..c1dbda518b5 100644 --- a/.github/workflows/goreleaser.yaml +++ b/.github/workflows/goreleaser.yaml @@ -28,7 +28,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v4 with: - go-version: "1.22.6" + go-version: "1.23" - name: Configure AWS Credentials uses: aws-actions/configure-aws-credentials@v4 diff --git a/.github/workflows/java-api-client.yaml b/.github/workflows/java-api-client.yaml index 313514e8e9c..c4819578ae6 100644 --- a/.github/workflows/java-api-client.yaml +++ b/.github/workflows/java-api-client.yaml @@ -9,48 +9,6 @@ on: description: Tag/version to publish jobs: - deploy-legacy: # TODO(1.0): Remove this job after releasing 1.0 - runs-on: ubuntu-22.04 - environment: Treeverse signing - steps: - - name: Checkout - uses: actions/checkout@v4 - - # Extract the version to 'version' based on workflow_dispatch or triggered tag in the published event - - name: Extract version - shell: bash - run: | - if [ "${{ github.event.inputs.tag }}" != "" ]; then - echo "tag=$(echo ${{ github.event.inputs.tag }} | sed s/^v//)" >> $GITHUB_OUTPUT - else - echo "tag=$(echo ${GITHUB_REF##*/} | sed s/^v//)" >> $GITHUB_OUTPUT - fi - id: version - - - name: Java generate package - run: make client-java-legacy PACKAGE_VERSION=${{ steps.version.outputs.tag }} - - - name: Install secret key for signing - run: | - cat <(echo -e '${{ secrets.OSSRH_GPG_SECRET_KEY }}') | gpg --batch --import - gpg --list-secret-keys --keyid-format LONG - - - name: Set up Java and Maven Central Repository - uses: actions/setup-java@v2 - with: - java-version: '11' - distribution: 'adopt' - server-id: ossrh - server-username: MAVEN_USERNAME - server-password: MAVEN_PASSWORD - - - name: Build and publish package - working-directory: clients/java-legacy - run: mvn --batch-mode deploy -Dgpg.executable="${GITHUB_WORKSPACE}/scripts/gpg_loopback.sh" --activate-profiles sign-artifacts - env: - MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }} - MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }} - deploy: runs-on: ubuntu-22.04 environment: Treeverse signing diff --git a/.github/workflows/python-api-client.yaml b/.github/workflows/python-api-client.yaml index 07300461183..566893f5652 100644 --- a/.github/workflows/python-api-client.yaml +++ b/.github/workflows/python-api-client.yaml @@ -72,66 +72,3 @@ jobs: destination_folder: / user_email: 'support@treeverse.io' user_name: 'python-docs-action' - - deploy-legacy: - runs-on: ubuntu-22.04 - steps: - - name: Checkout - uses: actions/checkout@v4 - # Extract the version to 'version' based on workflow_dispatch or triggered tag in the published event - - name: Extract version - shell: bash - run: | - if [ "${{ github.event.inputs.tag }}" != "" ]; then - echo "tag=$(echo ${{ github.event.inputs.tag }} | sed s/^v//)" >> $GITHUB_OUTPUT - else - echo "tag=$(echo ${GITHUB_REF##*/} | sed s/^v//)" >> $GITHUB_OUTPUT - fi - id: version - - - name: Python build and make legacy package - run: make package-python-client PACKAGE_VERSION=${{ steps.version.outputs.tag }} - - - name: Python legacy SDK legacy publish package - uses: pypa/gh-action-pypi-publish@release/v1 - with: - user: __token__ - password: ${{ secrets.PYPI_API_TOKEN }} - packages-dir: clients/python-legacy/dist/ - verbose: true - - - name: Extract docs version - shell: bash - run: | - if [ "${{ github.event.inputs.tag }}" != "" ]; then - echo "tag=$(echo ${{ github.event.inputs.tag }} | cut -d. -f1-2)" >> $GITHUB_OUTPUT - else - echo "tag=$(echo ${GITHUB_REF##*/} | cut -d. -f1-2)" >> $GITHUB_OUTPUT - fi - id: docver - - - name: Setup Ruby - uses: ruby/setup-ruby@v1 - with: - working-directory: clients/python-legacy - ruby-version: '3.2' - bundler-cache: true # runs 'bundle install' and caches installed gems automatically - - - name: Build legacy release as latest - working-directory: clients/python-legacy - run: bundle exec jekyll build -d _site -b / - - - name: Build legacy release ${{ steps.docver.outputs.tag }} - working-directory: clients/python-legacy - run: bundle exec jekyll build -d _site/${{ steps.docver.outputs.tag }} -b /${{ steps.docver.outputs.tag }} - - - name: Publish legacy to docs repository - uses: dmnemec/copy_file_to_another_repo_action@v1.1.1 - env: - API_TOKEN_GITHUB: ${{ secrets.PERSONAL_TOKEN }} - with: - source_file: clients/python-legacy/_site/. - destination_repo: treeverse/docs-lakefs-python - destination_folder: / - user_email: 'support@treeverse.io' - user_name: 'python-docs-action' diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index fc92a34d3a1..371579c59ca 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -14,7 +14,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v4 with: - go-version: "1.22.6" + go-version: "1.23" - uses: actions/setup-node@v4 with: node-version: "18.17.0" @@ -43,7 +43,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v4 with: - go-version: "1.22.6" + go-version: "1.23" - name: Run Go tests run: | mkdir ./webui/dist diff --git a/.golangci.yml b/.golangci.yml index 13073d27767..1431da02c29 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -23,7 +23,7 @@ linters: - ineffassign - misspell - nakedret - - exportloopref + - copyloopvar - staticcheck - stylecheck - typecheck diff --git a/CHANGELOG.md b/CHANGELOG.md index fc3dcf96ffd..9c58916a16a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,65 @@ # Changelog +# v1.48.1 + +:bug: Bugs fixed: +- Squash merges is ON by default #8482 (switched to OFF) + + This bug **breaks** backwards compatibility by causing all merged to be + squashed by default. + +# v1.48.0 + +## :warning: Do **NOT** use version 1.48.0 :warning: + +It squashes merges by default, which is incorrect and a breaking change (#8482) + +:new: What's new: +- Upgrade to Golang 1.23 (#8452) +- Add "squash merge" support to merge API (#8464) + +# v1.47.0 + +:new: What's new: +- S3 GW: Support PutIfAbsent (#8428) + +# v1.46.0 + +:new: What's new: +- Feature: Repository Search by Substring (#8417) + +# v1.45.0 + +**Note:** +The legacy Python client has been discontinued as of this release. Its development, distribution, and codebase have been terminated. + +:new: What's new: +- Remove Python Legacy Client (#8410) +- Add friendly name to list group members response (#8413) + +# v1.44.0 + +**Note:** +The legacy Java client has been discontinued as of this release. Its development, distribution, and codebase have been terminated. + +:new: What's new: +- Support for hidden branches (#8375) + +:bug: Bugs fixed: +- Fix: Auth no endpoint error (#8407) +- Fix: Delta Exporter- Handle vacuumed objects correctly (#8409) +- Fix: Allow pre-signed upload via the web UI (#8365) + +# v1.43.0 + +:new: What's new: +- Support Dark Mode for Text Viewer (#8371) + +:bug: Bugs fixed: +- Fix: lakectl FS upload big files cause OOM (#8349) +- Fix: CosmosDB panic in handleBatchSizeChange(#8367) +- Fix: RepoManagementReadAll pull requests permissions (#8374) + # v1.42.0 :new: What's new: diff --git a/Dockerfile b/Dockerfile index b9edd9b62e2..a2ea023c991 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,32 +1,46 @@ # syntax=docker/dockerfile:1 ARG VERSION=dev -FROM --platform=$BUILDPLATFORM golang:1.22.6-alpine3.20 AS build +ARG BUILD_REPO=golang +ARG BUILD_TAG=1.23-alpine +ARG BUILD_PACKAGES="build-base ca-certificates" + +ARG IMAGE_REPO=alpine +ARG IMAGE_TAG=3.21 +ARG IMAGE_PACKAGES=ca-certificates + +ARG ADD_PACKAGES="apk add -U --no-cache" + + +FROM --platform=$BUILDPLATFORM $BUILD_REPO:$BUILD_TAG AS build +ARG ADD_PACKAGES BUILD_PACKAGES + WORKDIR /build -RUN apk add --no-cache build-base ca-certificates +RUN $ADD_PACKAGES $BUILD_PACKAGES COPY go.mod go.sum ./ RUN --mount=type=cache,target=/go/pkg go mod download COPY . ./ -FROM build as build-lakefs -ARG VERSION TARGETOS TARGETARCH +FROM build AS build-lakefs +ARG VERSION TARGETOS TARGETARCH ADD_PACKAGES BUILD_PACKAGES RUN --mount=type=cache,target=/root/.cache/go-build \ --mount=type=cache,target=/go/pkg \ GOOS=$TARGETOS GOARCH=$TARGETARCH \ go build -ldflags "-X github.com/treeverse/lakefs/pkg/version.Version=${VERSION}" -o lakefs ./cmd/lakefs -FROM build as build-lakectl -ARG VERSION TARGETOS TARGETARCH +FROM build AS build-lakectl +ARG VERSION TARGETOS TARGETARCH ADD_PACKAGES BUILD_PACKAGES RUN --mount=type=cache,target=/root/.cache/go-build \ --mount=type=cache,target=/go/pkg \ GOOS=$TARGETOS GOARCH=$TARGETARCH \ go build -ldflags "-X github.com/treeverse/lakefs/pkg/version.Version=${VERSION}" -o lakectl ./cmd/lakectl -FROM alpine:3.18 AS lakectl +FROM $IMAGE_REPO:$IMAGE_TAG AS lakectl +ARG ADD_PACKAGES IMAGE_PACKAGES WORKDIR /app -ENV PATH /app:$PATH +ENV PATH=/app:$PATH COPY --from=build-lakectl /build/lakectl /app/ -RUN apk add -U --no-cache ca-certificates +RUN $ADD_PACKAGES $IMAGE_PACKAGES RUN addgroup -S lakefs && adduser -S lakefs -G lakefs USER lakefs WORKDIR /home/lakefs diff --git a/Makefile b/Makefile index e4d88d53296..67224de8e11 100644 --- a/Makefile +++ b/Makefile @@ -8,22 +8,20 @@ UID_GID := $(shell id -u):$(shell id -g) CLIENT_JARS_BUCKET="s3://treeverse-clients-us-east/" # https://openapi-generator.tech -OPENAPI_LEGACY_GENERATOR_IMAGE=openapitools/openapi-generator-cli:v5.3.0 -OPENAPI_LEGACY_GENERATOR=$(DOCKER) run --user $(UID_GID) --rm -v $(shell pwd):/mnt $(OPENAPI_LEGACY_GENERATOR_IMAGE) OPENAPI_GENERATOR_IMAGE=treeverse/openapi-generator-cli:v7.0.0.1 OPENAPI_GENERATOR=$(DOCKER) run --user $(UID_GID) --rm -v $(shell pwd):/mnt $(OPENAPI_GENERATOR_IMAGE) OPENAPI_RUST_GENERATOR_IMAGE=openapitools/openapi-generator-cli:v7.5.0 OPENAPI_RUST_GENERATOR=$(DOCKER) run --user $(UID_GID) --rm -v $(shell pwd):/mnt $(OPENAPI_RUST_GENERATOR_IMAGE) PY_OPENAPI_GENERATOR=$(DOCKER) run -e PYTHON_POST_PROCESS_FILE="/mnt/clients/python/scripts/pydantic.sh" --user $(UID_GID) --rm -v $(shell pwd):/mnt $(OPENAPI_GENERATOR_IMAGE) -GOLANGCI_LINT_VERSION=v1.58.1 +GOLANGCI_LINT_VERSION=v1.63.1 BUF_CLI_VERSION=v1.28.1 ifndef PACKAGE_VERSION PACKAGE_VERSION=0.1.0-SNAPSHOT endif -PYTHON_IMAGE=python:3 +PYTHON_IMAGE=python:3.9 export PATH:= $(PATH):$(GOBINPATH) @@ -110,23 +108,7 @@ tools: ## Install tools $(GOCMD) install github.com/golangci/golangci-lint/cmd/golangci-lint@$(GOLANGCI_LINT_VERSION) $(GOCMD) install github.com/bufbuild/buf/cmd/buf@$(BUF_CLI_VERSION) -client-python: sdk-python-legacy sdk-python - -sdk-python-legacy: api/swagger.yml ## Generate SDK for Python client - openapi generator version 5.3.0 - # remove the build folder as it also holds lakefs_client folder which keeps because we skip it during find - rm -rf clients/python-legacy/build; cd clients/python-legacy && \ - find . -depth -name lakefs_client -prune -o ! \( -name Gemfile -or -name Gemfile.lock -or -name _config.yml -or -name .openapi-generator-ignore -or -name templates -or -name setup.mustache -or -name client.mustache -or -name python-codegen-config.yaml \) -delete - $(OPENAPI_LEGACY_GENERATOR) generate \ - -i /mnt/$< \ - -g python \ - -t /mnt/clients/python-legacy/templates \ - --package-name lakefs_client \ - --http-user-agent "lakefs-python-sdk/$(PACKAGE_VERSION)-legacy" \ - --git-user-id treeverse --git-repo-id lakeFS \ - --additional-properties=infoName=Treeverse,infoEmail=services@treeverse.io,packageName=lakefs_client,packageVersion=$(PACKAGE_VERSION),projectName=lakefs-client,packageUrl=https://github.com/treeverse/lakeFS/tree/master/clients/python-legacy \ - -c /mnt/clients/python-legacy/python-codegen-config.yaml \ - -o /mnt/clients/python-legacy \ - --ignore-file-override /mnt/clients/python/.openapi-generator-ignore +client-python: sdk-python sdk-python: api/swagger.yml ## Generate SDK for Python client - openapi generator version 7.0.0 # remove the build folder as it also holds lakefs_sdk folder which keeps because we skip it during find @@ -154,17 +136,6 @@ sdk-rust: api/swagger.yml ## Generate SDK for Rust client - openapi generator v --additional-properties=infoName=Treeverse,infoEmail=services@treeverse.io,packageName=lakefs_sdk,packageVersion=$(PACKAGE_VERSION),packageUrl=https://github.com/treeverse/lakeFS/tree/master/clients/rust \ -o /mnt/clients/rust -client-java-legacy: api/swagger.yml api/java-gen-ignore ## Generate legacy SDK for Java (and Scala) client - rm -rf clients/java-legacy - $(OPENAPI_LEGACY_GENERATOR) generate \ - -i /mnt/$< \ - --ignore-file-override /mnt/api/java-gen-ignore \ - -g java \ - --invoker-package io.lakefs.clients.api \ - --http-user-agent "lakefs-java-sdk/$(PACKAGE_VERSION)-legacy" \ - --additional-properties hideGenerationTimestamp=true,artifactVersion=$(PACKAGE_VERSION),parentArtifactId=lakefs-parent,parentGroupId=io.lakefs,parentVersion=0,groupId=io.lakefs,artifactId='api-client',artifactDescription='lakeFS OpenAPI Java client legacy SDK',artifactUrl=https://lakefs.io,apiPackage=io.lakefs.clients.api,modelPackage=io.lakefs.clients.api.model,mainPackage=io.lakefs.clients.api,developerEmail=services@treeverse.io,developerName='Treeverse lakeFS dev',developerOrganization='lakefs.io',developerOrganizationUrl='https://lakefs.io',licenseName=apache2,licenseUrl=http://www.apache.org/licenses/,scmConnection=scm:git:git@github.com:treeverse/lakeFS.git,scmDeveloperConnection=scm:git:git@github.com:treeverse/lakeFS.git,scmUrl=https://github.com/treeverse/lakeFS \ - -o /mnt/clients/java-legacy - client-java: api/swagger.yml api/java-gen-ignore ## Generate SDK for Java (and Scala) client rm -rf clients/java mkdir -p clients/java @@ -177,14 +148,10 @@ client-java: api/swagger.yml api/java-gen-ignore ## Generate SDK for Java (and --additional-properties disallowAdditionalPropertiesIfNotPresent=false,useSingleRequestParameter=true,hideGenerationTimestamp=true,artifactVersion=$(PACKAGE_VERSION),parentArtifactId=lakefs-parent,parentGroupId=io.lakefs,parentVersion=0,groupId=io.lakefs,artifactId='sdk',artifactDescription='lakeFS OpenAPI Java client',artifactUrl=https://lakefs.io,apiPackage=io.lakefs.clients.sdk,modelPackage=io.lakefs.clients.sdk.model,mainPackage=io.lakefs.clients.sdk,developerEmail=services@treeverse.io,developerName='Treeverse lakeFS dev',developerOrganization='lakefs.io',developerOrganizationUrl='https://lakefs.io',licenseName=apache2,licenseUrl=http://www.apache.org/licenses/,scmConnection=scm:git:git@github.com:treeverse/lakeFS.git,scmDeveloperConnection=scm:git:git@github.com:treeverse/lakeFS.git,scmUrl=https://github.com/treeverse/lakeFS \ -o /mnt/clients/java -.PHONY: clients client-python sdk-python-legacy sdk-python client-java client-java-legacy -clients: client-python client-java client-java-legacy sdk-rust +.PHONY: clients client-python sdk-python client-java +clients: client-python client-java sdk-rust -package-python: package-python-client package-python-sdk - -package-python-client: client-python - $(DOCKER) run --user $(UID_GID) --rm -v $(shell pwd):/mnt -e HOME=/tmp/ -w /mnt/clients/python-legacy $(PYTHON_IMAGE) /bin/bash -c \ - "python -m pip install build --user && python -m build --sdist --wheel --outdir dist/" +package-python: package-python-sdk package-python-wrapper package-python-sdk: sdk-python $(DOCKER) run --user $(UID_GID) --rm -v $(shell pwd):/mnt -e HOME=/tmp/ -w /mnt/clients/python $(PYTHON_IMAGE) /bin/bash -c \ @@ -305,10 +272,7 @@ validate-wrapgen-testcode: gen-code validate-reference: git diff --quiet -- docs/reference/cli.md || (echo "Modification verification failed! docs/reference/cli.md"; false) -validate-client-python: validate-python-sdk-legacy validate-python-sdk - -validate-python-sdk-legacy: - git diff --quiet -- clients/python-legacy || (echo "Modification verification failed! python client"; false) +validate-client-python: validate-python-sdk validate-python-sdk: git diff --quiet -- clients/python || (echo "Modification verification failed! python client"; false) diff --git a/README.md b/README.md index 18eebedcf11..bc719d73894 100644 --- a/README.md +++ b/README.md @@ -88,7 +88,7 @@ Rolling back returns data to a state in the past, before the error was present. Stay up to date and get lakeFS support via: - Share your lakeFS experience and get support on [our Slack](https://go.lakefs.io/JoinSlack). -- Follow us and join the conversation on [Twitter](https://twitter.com/lakeFS) and [Mastodon](https://data-folks.masto.host/@lakeFS). +- Follow us and join the conversation on [Twitter](https://twitter.com/lakeFS). - Learn from video tutorials on [our YouTube channel](https://lakefs.io/youtube). - Read more on data versioning and other data lake best practices in [our blog](https://lakefs.io/blog/data-version-control/). - Feel free to [contact us](https://lakefs.io/contact-us/) about anything else. diff --git a/api/authorization.yml b/api/authorization.yml index 86e5f27d608..8ebed73138a 100644 --- a/api/authorization.yml +++ b/api/authorization.yml @@ -239,6 +239,8 @@ components: type: string name: type: string + description: + type: string creation_date: type: integer format: int64 @@ -277,6 +279,8 @@ components: properties: id: type: string + description: + type: string Statement: type: object diff --git a/api/swagger.yml b/api/swagger.yml index 0c59b35be6f..8bbd763c01f 100644 --- a/api/swagger.yml +++ b/api/swagger.yml @@ -70,6 +70,13 @@ components: description: delimiter used to group common prefixes by schema: type: string + + SearchString: + in: query + name: search + description: string for searching relevant entries + schema: + type: string IfNoneMatch: in: header @@ -679,7 +686,15 @@ components: type: boolean default: false description: Allow merge when the branches have the same content - + squash_merge: + type: boolean + default: false + description: | + If set, set only the destination branch as a parent, which "squashes" the merge to + appear as a single commit on the destination branch. The source commit is no longer + a part of the merge commit; consider adding it to the 'metadata' or 'message' + fields. This behaves like a GitHub or GitLab "squash merge", or in Git terms 'git + merge --squash; git commit ...'. BranchCreation: type: object required: @@ -693,6 +708,10 @@ components: force: type: boolean default: false + hidden: + type: boolean + description: When set, branch will not show up when listing branches by default. *EXPERIMENTAL* + default: false TagCreation: type: object @@ -738,7 +757,7 @@ components: error: type: string refs: - $ref: "#/components/schemas/RefsDump" + $ref: "#/components/schemas/RefsDump" RepositoryRestoreStatus: type: object @@ -1035,6 +1054,8 @@ components: type: string name: type: string + description: + type: string creation_date: type: integer format: int64 @@ -1134,6 +1155,8 @@ components: properties: id: type: string + description: + type: string Statement: type: object @@ -1468,7 +1491,7 @@ components: properties: type: type: string - enum: [ common_prefix, object ] + enum: [common_prefix, object] description: Path type, can either be 'common_prefix' or 'object' path: type: string @@ -1701,7 +1724,7 @@ components: - installation_id - reports - ExternalPrincipalList: + ExternalPrincipalList: type: object required: - pagination @@ -1748,7 +1771,7 @@ components: properties: status: type: string - enum: [ open, closed, merged ] + enum: [open, closed, merged] title: type: string description: @@ -1756,36 +1779,36 @@ components: PullRequest: allOf: - - $ref: '#/components/schemas/PullRequestBasic' - - required: + - $ref: '#/components/schemas/PullRequestBasic' + - required: - status - title - description - - type: object - required: - - id - - creation_date - - author - - source_branch - - destination_branch - properties: - id: - type: string - creation_date: - type: string - format: date-time - author: - type: string - source_branch: - type: string - destination_branch: - type: string - merged_commit_id: - type: string - description: the commit id of merged PRs - closed_date: - type: string - format: date-time + - type: object + required: + - id + - creation_date + - author + - source_branch + - destination_branch + properties: + id: + type: string + creation_date: + type: string + format: date-time + author: + type: string + source_branch: + type: string + destination_branch: + type: string + merged_commit_id: + type: string + description: the commit id of merged PRs + closed_date: + type: string + format: date-time PullRequestsList: type: object @@ -2664,11 +2687,11 @@ paths: - experimental operationId: createUserExternalPrincipal summary: attach external principal to user - requestBody: + requestBody: required: false - content: - application/json: - schema: + content: + application/json: + schema: $ref: "#/components/schemas/ExternalPrincipalCreation" responses: 201: @@ -2749,7 +2772,7 @@ paths: - external - experimental operationId: getExternalPrincipal - summary: describe external principal by id + summary: describe external principal by id responses: 200: description: external principal @@ -2895,7 +2918,7 @@ paths: description: too many requests default: $ref: "#/components/responses/ServerError" - + /repositories: get: tags: @@ -2904,6 +2927,7 @@ paths: - $ref: "#/components/parameters/PaginationPrefix" - $ref: "#/components/parameters/PaginationAfter" - $ref: "#/components/parameters/PaginationAmount" + - $ref: "#/components/parameters/SearchString" operationId: listRepositories summary: list repositories responses: @@ -3544,6 +3568,12 @@ paths: - $ref: "#/components/parameters/PaginationPrefix" - $ref: "#/components/parameters/PaginationAfter" - $ref: "#/components/parameters/PaginationAmount" + - in: query + name: show_hidden + schema: + type: boolean + default: false + description: When set - list all branches including hidden branches. *EXPERIMENTAL* responses: 200: description: branch list @@ -4554,10 +4584,10 @@ paths: application/json: schema: $ref: "#/components/schemas/StagingMetadata" - + parameters: - $ref: "#/components/parameters/IfNoneMatch" - + responses: 200: # This actually violates HTTP, which requires returning 201 if a new object was @@ -5745,7 +5775,7 @@ paths: name: status schema: type: string - enum: [ open, closed, all ] + enum: [open, closed, all] default: all description: filter pull requests by status responses: diff --git a/clients/.gitattributes b/clients/.gitattributes index 0084b7f237a..8671d72488b 100644 --- a/clients/.gitattributes +++ b/clients/.gitattributes @@ -1,7 +1,5 @@ java/** linguist-generated -java-legacy/** linguist-generated python/** linguist-generated -python-legacy/** linguist-generated python/Gemfile linguist-generated=false python/Gemfile.lock linguist-generated=false python/_config.yml linguist-generated=false diff --git a/clients/java-legacy/.gitignore b/clients/java-legacy/.gitignore deleted file mode 100644 index a530464afa1..00000000000 --- a/clients/java-legacy/.gitignore +++ /dev/null @@ -1,21 +0,0 @@ -*.class - -# Mobile Tools for Java (J2ME) -.mtj.tmp/ - -# Package Files # -*.jar -*.war -*.ear - -# exclude jar for gradle wrapper -!gradle/wrapper/*.jar - -# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml -hs_err_pid* - -# build files -**/target -target -.gradle -build diff --git a/clients/java-legacy/.openapi-generator-ignore b/clients/java-legacy/.openapi-generator-ignore deleted file mode 100644 index 7484ee590a3..00000000000 --- a/clients/java-legacy/.openapi-generator-ignore +++ /dev/null @@ -1,23 +0,0 @@ -# OpenAPI Generator Ignore -# Generated by openapi-generator https://github.com/openapitools/openapi-generator - -# Use this file to prevent files from being overwritten by the generator. -# The patterns follow closely to .gitignore or .dockerignore. - -# As an example, the C# client generator defines ApiClient.cs. -# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line: -#ApiClient.cs - -# You can match any string of characters against a directory, file or extension with a single asterisk (*): -#foo/*/qux -# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux - -# You can recursively match patterns against a directory, file or extension with a double asterisk (**): -#foo/**/qux -# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux - -# You can also negate patterns with an exclamation (!). -# For example, you can ignore all files in a docs folder with the file extension .md: -#docs/*.md -# Then explicitly reverse the ignore rule for a single file: -#!docs/README.md diff --git a/clients/java-legacy/.openapi-generator/FILES b/clients/java-legacy/.openapi-generator/FILES deleted file mode 100644 index c6594ced75e..00000000000 --- a/clients/java-legacy/.openapi-generator/FILES +++ /dev/null @@ -1,405 +0,0 @@ -.gitignore -.openapi-generator-ignore -.travis.yml -README.md -api/openapi.yaml -build.gradle -build.sbt -docs/ACL.md -docs/AbortPresignMultipartUpload.md -docs/AccessKeyCredentials.md -docs/ActionRun.md -docs/ActionRunList.md -docs/ActionsApi.md -docs/AuthApi.md -docs/AuthCapabilities.md -docs/AuthenticationToken.md -docs/BranchCreation.md -docs/BranchProtectionRule.md -docs/BranchesApi.md -docs/CherryPickCreation.md -docs/CommPrefsInput.md -docs/Commit.md -docs/CommitCreation.md -docs/CommitList.md -docs/CommitOverrides.md -docs/CommitRecordCreation.md -docs/CommitsApi.md -docs/CompletePresignMultipartUpload.md -docs/Config.md -docs/ConfigApi.md -docs/Credentials.md -docs/CredentialsList.md -docs/CredentialsWithSecret.md -docs/CurrentUser.md -docs/Diff.md -docs/DiffList.md -docs/Error.md -docs/ErrorNoACL.md -docs/ExperimentalApi.md -docs/ExternalApi.md -docs/ExternalLoginInformation.md -docs/ExternalPrincipal.md -docs/ExternalPrincipalCreation.md -docs/ExternalPrincipalList.md -docs/FindMergeBaseResult.md -docs/GarbageCollectionConfig.md -docs/GarbageCollectionPrepareResponse.md -docs/GarbageCollectionRule.md -docs/GarbageCollectionRules.md -docs/Group.md -docs/GroupCreation.md -docs/GroupList.md -docs/HealthCheckApi.md -docs/HookRun.md -docs/HookRunList.md -docs/ImportApi.md -docs/ImportCreation.md -docs/ImportCreationResponse.md -docs/ImportLocation.md -docs/ImportStatus.md -docs/InlineObject.md -docs/InlineObject1.md -docs/InstallationUsageReport.md -docs/InternalApi.md -docs/LoginConfig.md -docs/LoginInformation.md -docs/Merge.md -docs/MergeResult.md -docs/MetaRangeCreation.md -docs/MetaRangeCreationResponse.md -docs/MetadataApi.md -docs/ObjectCopyCreation.md -docs/ObjectError.md -docs/ObjectErrorList.md -docs/ObjectStageCreation.md -docs/ObjectStats.md -docs/ObjectStatsList.md -docs/ObjectsApi.md -docs/Pagination.md -docs/PathList.md -docs/Policy.md -docs/PolicyList.md -docs/PrepareGCUncommittedRequest.md -docs/PrepareGCUncommittedResponse.md -docs/PresignMultipartUpload.md -docs/PullRequest.md -docs/PullRequestAllOf.md -docs/PullRequestBasic.md -docs/PullRequestCreation.md -docs/PullRequestCreationResponse.md -docs/PullRequestsList.md -docs/PullsApi.md -docs/RangeMetadata.md -docs/Ref.md -docs/RefList.md -docs/RefsApi.md -docs/RefsDump.md -docs/RefsRestore.md -docs/RepositoriesApi.md -docs/Repository.md -docs/RepositoryCreation.md -docs/RepositoryDumpStatus.md -docs/RepositoryList.md -docs/RepositoryMetadataKeys.md -docs/RepositoryMetadataSet.md -docs/RepositoryRestoreStatus.md -docs/ResetCreation.md -docs/RevertCreation.md -docs/Setup.md -docs/SetupState.md -docs/StagingApi.md -docs/StagingLocation.md -docs/StagingMetadata.md -docs/Statement.md -docs/StatsEvent.md -docs/StatsEventsList.md -docs/StorageConfig.md -docs/StorageURI.md -docs/StsAuthRequest.md -docs/TagCreation.md -docs/TagsApi.md -docs/TaskInfo.md -docs/UnderlyingObjectProperties.md -docs/UpdateObjectUserMetadata.md -docs/UpdateToken.md -docs/UploadPart.md -docs/UsageReport.md -docs/User.md -docs/UserCreation.md -docs/UserList.md -docs/VersionConfig.md -git_push.sh -gradle.properties -gradle/wrapper/gradle-wrapper.jar -gradle/wrapper/gradle-wrapper.properties -gradlew -gradlew.bat -pom.xml -settings.gradle -src/main/AndroidManifest.xml -src/main/java/io/lakefs/clients/api/ActionsApi.java -src/main/java/io/lakefs/clients/api/ApiCallback.java -src/main/java/io/lakefs/clients/api/ApiClient.java -src/main/java/io/lakefs/clients/api/ApiException.java -src/main/java/io/lakefs/clients/api/ApiResponse.java -src/main/java/io/lakefs/clients/api/AuthApi.java -src/main/java/io/lakefs/clients/api/BranchesApi.java -src/main/java/io/lakefs/clients/api/CommitsApi.java -src/main/java/io/lakefs/clients/api/ConfigApi.java -src/main/java/io/lakefs/clients/api/Configuration.java -src/main/java/io/lakefs/clients/api/ExperimentalApi.java -src/main/java/io/lakefs/clients/api/ExternalApi.java -src/main/java/io/lakefs/clients/api/GzipRequestInterceptor.java -src/main/java/io/lakefs/clients/api/HealthCheckApi.java -src/main/java/io/lakefs/clients/api/ImportApi.java -src/main/java/io/lakefs/clients/api/InternalApi.java -src/main/java/io/lakefs/clients/api/JSON.java -src/main/java/io/lakefs/clients/api/MetadataApi.java -src/main/java/io/lakefs/clients/api/ObjectsApi.java -src/main/java/io/lakefs/clients/api/Pair.java -src/main/java/io/lakefs/clients/api/ProgressRequestBody.java -src/main/java/io/lakefs/clients/api/ProgressResponseBody.java -src/main/java/io/lakefs/clients/api/PullsApi.java -src/main/java/io/lakefs/clients/api/RefsApi.java -src/main/java/io/lakefs/clients/api/RepositoriesApi.java -src/main/java/io/lakefs/clients/api/ServerConfiguration.java -src/main/java/io/lakefs/clients/api/ServerVariable.java -src/main/java/io/lakefs/clients/api/StagingApi.java -src/main/java/io/lakefs/clients/api/StringUtil.java -src/main/java/io/lakefs/clients/api/TagsApi.java -src/main/java/io/lakefs/clients/api/auth/ApiKeyAuth.java -src/main/java/io/lakefs/clients/api/auth/Authentication.java -src/main/java/io/lakefs/clients/api/auth/HttpBasicAuth.java -src/main/java/io/lakefs/clients/api/auth/HttpBearerAuth.java -src/main/java/io/lakefs/clients/api/model/ACL.java -src/main/java/io/lakefs/clients/api/model/AbortPresignMultipartUpload.java -src/main/java/io/lakefs/clients/api/model/AccessKeyCredentials.java -src/main/java/io/lakefs/clients/api/model/ActionRun.java -src/main/java/io/lakefs/clients/api/model/ActionRunList.java -src/main/java/io/lakefs/clients/api/model/AuthCapabilities.java -src/main/java/io/lakefs/clients/api/model/AuthenticationToken.java -src/main/java/io/lakefs/clients/api/model/BranchCreation.java -src/main/java/io/lakefs/clients/api/model/BranchProtectionRule.java -src/main/java/io/lakefs/clients/api/model/CherryPickCreation.java -src/main/java/io/lakefs/clients/api/model/CommPrefsInput.java -src/main/java/io/lakefs/clients/api/model/Commit.java -src/main/java/io/lakefs/clients/api/model/CommitCreation.java -src/main/java/io/lakefs/clients/api/model/CommitList.java -src/main/java/io/lakefs/clients/api/model/CommitOverrides.java -src/main/java/io/lakefs/clients/api/model/CommitRecordCreation.java -src/main/java/io/lakefs/clients/api/model/CompletePresignMultipartUpload.java -src/main/java/io/lakefs/clients/api/model/Config.java -src/main/java/io/lakefs/clients/api/model/Credentials.java -src/main/java/io/lakefs/clients/api/model/CredentialsList.java -src/main/java/io/lakefs/clients/api/model/CredentialsWithSecret.java -src/main/java/io/lakefs/clients/api/model/CurrentUser.java -src/main/java/io/lakefs/clients/api/model/Diff.java -src/main/java/io/lakefs/clients/api/model/DiffList.java -src/main/java/io/lakefs/clients/api/model/Error.java -src/main/java/io/lakefs/clients/api/model/ErrorNoACL.java -src/main/java/io/lakefs/clients/api/model/ExternalLoginInformation.java -src/main/java/io/lakefs/clients/api/model/ExternalPrincipal.java -src/main/java/io/lakefs/clients/api/model/ExternalPrincipalCreation.java -src/main/java/io/lakefs/clients/api/model/ExternalPrincipalList.java -src/main/java/io/lakefs/clients/api/model/FindMergeBaseResult.java -src/main/java/io/lakefs/clients/api/model/GarbageCollectionConfig.java -src/main/java/io/lakefs/clients/api/model/GarbageCollectionPrepareResponse.java -src/main/java/io/lakefs/clients/api/model/GarbageCollectionRule.java -src/main/java/io/lakefs/clients/api/model/GarbageCollectionRules.java -src/main/java/io/lakefs/clients/api/model/Group.java -src/main/java/io/lakefs/clients/api/model/GroupCreation.java -src/main/java/io/lakefs/clients/api/model/GroupList.java -src/main/java/io/lakefs/clients/api/model/HookRun.java -src/main/java/io/lakefs/clients/api/model/HookRunList.java -src/main/java/io/lakefs/clients/api/model/ImportCreation.java -src/main/java/io/lakefs/clients/api/model/ImportCreationResponse.java -src/main/java/io/lakefs/clients/api/model/ImportLocation.java -src/main/java/io/lakefs/clients/api/model/ImportStatus.java -src/main/java/io/lakefs/clients/api/model/InlineObject.java -src/main/java/io/lakefs/clients/api/model/InlineObject1.java -src/main/java/io/lakefs/clients/api/model/InstallationUsageReport.java -src/main/java/io/lakefs/clients/api/model/LoginConfig.java -src/main/java/io/lakefs/clients/api/model/LoginInformation.java -src/main/java/io/lakefs/clients/api/model/Merge.java -src/main/java/io/lakefs/clients/api/model/MergeResult.java -src/main/java/io/lakefs/clients/api/model/MetaRangeCreation.java -src/main/java/io/lakefs/clients/api/model/MetaRangeCreationResponse.java -src/main/java/io/lakefs/clients/api/model/ObjectCopyCreation.java -src/main/java/io/lakefs/clients/api/model/ObjectError.java -src/main/java/io/lakefs/clients/api/model/ObjectErrorList.java -src/main/java/io/lakefs/clients/api/model/ObjectStageCreation.java -src/main/java/io/lakefs/clients/api/model/ObjectStats.java -src/main/java/io/lakefs/clients/api/model/ObjectStatsList.java -src/main/java/io/lakefs/clients/api/model/Pagination.java -src/main/java/io/lakefs/clients/api/model/PathList.java -src/main/java/io/lakefs/clients/api/model/Policy.java -src/main/java/io/lakefs/clients/api/model/PolicyList.java -src/main/java/io/lakefs/clients/api/model/PrepareGCUncommittedRequest.java -src/main/java/io/lakefs/clients/api/model/PrepareGCUncommittedResponse.java -src/main/java/io/lakefs/clients/api/model/PresignMultipartUpload.java -src/main/java/io/lakefs/clients/api/model/PullRequest.java -src/main/java/io/lakefs/clients/api/model/PullRequestAllOf.java -src/main/java/io/lakefs/clients/api/model/PullRequestBasic.java -src/main/java/io/lakefs/clients/api/model/PullRequestCreation.java -src/main/java/io/lakefs/clients/api/model/PullRequestCreationResponse.java -src/main/java/io/lakefs/clients/api/model/PullRequestsList.java -src/main/java/io/lakefs/clients/api/model/RangeMetadata.java -src/main/java/io/lakefs/clients/api/model/Ref.java -src/main/java/io/lakefs/clients/api/model/RefList.java -src/main/java/io/lakefs/clients/api/model/RefsDump.java -src/main/java/io/lakefs/clients/api/model/RefsRestore.java -src/main/java/io/lakefs/clients/api/model/Repository.java -src/main/java/io/lakefs/clients/api/model/RepositoryCreation.java -src/main/java/io/lakefs/clients/api/model/RepositoryDumpStatus.java -src/main/java/io/lakefs/clients/api/model/RepositoryList.java -src/main/java/io/lakefs/clients/api/model/RepositoryMetadataKeys.java -src/main/java/io/lakefs/clients/api/model/RepositoryMetadataSet.java -src/main/java/io/lakefs/clients/api/model/RepositoryRestoreStatus.java -src/main/java/io/lakefs/clients/api/model/ResetCreation.java -src/main/java/io/lakefs/clients/api/model/RevertCreation.java -src/main/java/io/lakefs/clients/api/model/Setup.java -src/main/java/io/lakefs/clients/api/model/SetupState.java -src/main/java/io/lakefs/clients/api/model/StagingLocation.java -src/main/java/io/lakefs/clients/api/model/StagingMetadata.java -src/main/java/io/lakefs/clients/api/model/Statement.java -src/main/java/io/lakefs/clients/api/model/StatsEvent.java -src/main/java/io/lakefs/clients/api/model/StatsEventsList.java -src/main/java/io/lakefs/clients/api/model/StorageConfig.java -src/main/java/io/lakefs/clients/api/model/StorageURI.java -src/main/java/io/lakefs/clients/api/model/StsAuthRequest.java -src/main/java/io/lakefs/clients/api/model/TagCreation.java -src/main/java/io/lakefs/clients/api/model/TaskInfo.java -src/main/java/io/lakefs/clients/api/model/UnderlyingObjectProperties.java -src/main/java/io/lakefs/clients/api/model/UpdateObjectUserMetadata.java -src/main/java/io/lakefs/clients/api/model/UpdateToken.java -src/main/java/io/lakefs/clients/api/model/UploadPart.java -src/main/java/io/lakefs/clients/api/model/UsageReport.java -src/main/java/io/lakefs/clients/api/model/User.java -src/main/java/io/lakefs/clients/api/model/UserCreation.java -src/main/java/io/lakefs/clients/api/model/UserList.java -src/main/java/io/lakefs/clients/api/model/VersionConfig.java -src/test/java/io/lakefs/clients/api/ActionsApiTest.java -src/test/java/io/lakefs/clients/api/AuthApiTest.java -src/test/java/io/lakefs/clients/api/BranchesApiTest.java -src/test/java/io/lakefs/clients/api/CommitsApiTest.java -src/test/java/io/lakefs/clients/api/ConfigApiTest.java -src/test/java/io/lakefs/clients/api/ExperimentalApiTest.java -src/test/java/io/lakefs/clients/api/ExternalApiTest.java -src/test/java/io/lakefs/clients/api/HealthCheckApiTest.java -src/test/java/io/lakefs/clients/api/ImportApiTest.java -src/test/java/io/lakefs/clients/api/InternalApiTest.java -src/test/java/io/lakefs/clients/api/MetadataApiTest.java -src/test/java/io/lakefs/clients/api/ObjectsApiTest.java -src/test/java/io/lakefs/clients/api/PullsApiTest.java -src/test/java/io/lakefs/clients/api/RefsApiTest.java -src/test/java/io/lakefs/clients/api/RepositoriesApiTest.java -src/test/java/io/lakefs/clients/api/StagingApiTest.java -src/test/java/io/lakefs/clients/api/TagsApiTest.java -src/test/java/io/lakefs/clients/api/model/ACLTest.java -src/test/java/io/lakefs/clients/api/model/AbortPresignMultipartUploadTest.java -src/test/java/io/lakefs/clients/api/model/AccessKeyCredentialsTest.java -src/test/java/io/lakefs/clients/api/model/ActionRunListTest.java -src/test/java/io/lakefs/clients/api/model/ActionRunTest.java -src/test/java/io/lakefs/clients/api/model/AuthCapabilitiesTest.java -src/test/java/io/lakefs/clients/api/model/AuthenticationTokenTest.java -src/test/java/io/lakefs/clients/api/model/BranchCreationTest.java -src/test/java/io/lakefs/clients/api/model/BranchProtectionRuleTest.java -src/test/java/io/lakefs/clients/api/model/CherryPickCreationTest.java -src/test/java/io/lakefs/clients/api/model/CommPrefsInputTest.java -src/test/java/io/lakefs/clients/api/model/CommitCreationTest.java -src/test/java/io/lakefs/clients/api/model/CommitListTest.java -src/test/java/io/lakefs/clients/api/model/CommitOverridesTest.java -src/test/java/io/lakefs/clients/api/model/CommitRecordCreationTest.java -src/test/java/io/lakefs/clients/api/model/CommitTest.java -src/test/java/io/lakefs/clients/api/model/CompletePresignMultipartUploadTest.java -src/test/java/io/lakefs/clients/api/model/ConfigTest.java -src/test/java/io/lakefs/clients/api/model/CredentialsListTest.java -src/test/java/io/lakefs/clients/api/model/CredentialsTest.java -src/test/java/io/lakefs/clients/api/model/CredentialsWithSecretTest.java -src/test/java/io/lakefs/clients/api/model/CurrentUserTest.java -src/test/java/io/lakefs/clients/api/model/DiffListTest.java -src/test/java/io/lakefs/clients/api/model/DiffTest.java -src/test/java/io/lakefs/clients/api/model/ErrorNoACLTest.java -src/test/java/io/lakefs/clients/api/model/ErrorTest.java -src/test/java/io/lakefs/clients/api/model/ExternalLoginInformationTest.java -src/test/java/io/lakefs/clients/api/model/ExternalPrincipalCreationTest.java -src/test/java/io/lakefs/clients/api/model/ExternalPrincipalListTest.java -src/test/java/io/lakefs/clients/api/model/ExternalPrincipalTest.java -src/test/java/io/lakefs/clients/api/model/FindMergeBaseResultTest.java -src/test/java/io/lakefs/clients/api/model/GarbageCollectionConfigTest.java -src/test/java/io/lakefs/clients/api/model/GarbageCollectionPrepareResponseTest.java -src/test/java/io/lakefs/clients/api/model/GarbageCollectionRuleTest.java -src/test/java/io/lakefs/clients/api/model/GarbageCollectionRulesTest.java -src/test/java/io/lakefs/clients/api/model/GroupCreationTest.java -src/test/java/io/lakefs/clients/api/model/GroupListTest.java -src/test/java/io/lakefs/clients/api/model/GroupTest.java -src/test/java/io/lakefs/clients/api/model/HookRunListTest.java -src/test/java/io/lakefs/clients/api/model/HookRunTest.java -src/test/java/io/lakefs/clients/api/model/ImportCreationResponseTest.java -src/test/java/io/lakefs/clients/api/model/ImportCreationTest.java -src/test/java/io/lakefs/clients/api/model/ImportLocationTest.java -src/test/java/io/lakefs/clients/api/model/ImportStatusTest.java -src/test/java/io/lakefs/clients/api/model/InlineObject1Test.java -src/test/java/io/lakefs/clients/api/model/InlineObjectTest.java -src/test/java/io/lakefs/clients/api/model/InstallationUsageReportTest.java -src/test/java/io/lakefs/clients/api/model/LoginConfigTest.java -src/test/java/io/lakefs/clients/api/model/LoginInformationTest.java -src/test/java/io/lakefs/clients/api/model/MergeResultTest.java -src/test/java/io/lakefs/clients/api/model/MergeTest.java -src/test/java/io/lakefs/clients/api/model/MetaRangeCreationResponseTest.java -src/test/java/io/lakefs/clients/api/model/MetaRangeCreationTest.java -src/test/java/io/lakefs/clients/api/model/ObjectCopyCreationTest.java -src/test/java/io/lakefs/clients/api/model/ObjectErrorListTest.java -src/test/java/io/lakefs/clients/api/model/ObjectErrorTest.java -src/test/java/io/lakefs/clients/api/model/ObjectStageCreationTest.java -src/test/java/io/lakefs/clients/api/model/ObjectStatsListTest.java -src/test/java/io/lakefs/clients/api/model/ObjectStatsTest.java -src/test/java/io/lakefs/clients/api/model/PaginationTest.java -src/test/java/io/lakefs/clients/api/model/PathListTest.java -src/test/java/io/lakefs/clients/api/model/PolicyListTest.java -src/test/java/io/lakefs/clients/api/model/PolicyTest.java -src/test/java/io/lakefs/clients/api/model/PrepareGCUncommittedRequestTest.java -src/test/java/io/lakefs/clients/api/model/PrepareGCUncommittedResponseTest.java -src/test/java/io/lakefs/clients/api/model/PresignMultipartUploadTest.java -src/test/java/io/lakefs/clients/api/model/PullRequestAllOfTest.java -src/test/java/io/lakefs/clients/api/model/PullRequestBasicTest.java -src/test/java/io/lakefs/clients/api/model/PullRequestCreationResponseTest.java -src/test/java/io/lakefs/clients/api/model/PullRequestCreationTest.java -src/test/java/io/lakefs/clients/api/model/PullRequestTest.java -src/test/java/io/lakefs/clients/api/model/PullRequestsListTest.java -src/test/java/io/lakefs/clients/api/model/RangeMetadataTest.java -src/test/java/io/lakefs/clients/api/model/RefListTest.java -src/test/java/io/lakefs/clients/api/model/RefTest.java -src/test/java/io/lakefs/clients/api/model/RefsDumpTest.java -src/test/java/io/lakefs/clients/api/model/RefsRestoreTest.java -src/test/java/io/lakefs/clients/api/model/RepositoryCreationTest.java -src/test/java/io/lakefs/clients/api/model/RepositoryDumpStatusTest.java -src/test/java/io/lakefs/clients/api/model/RepositoryListTest.java -src/test/java/io/lakefs/clients/api/model/RepositoryMetadataKeysTest.java -src/test/java/io/lakefs/clients/api/model/RepositoryMetadataSetTest.java -src/test/java/io/lakefs/clients/api/model/RepositoryRestoreStatusTest.java -src/test/java/io/lakefs/clients/api/model/RepositoryTest.java -src/test/java/io/lakefs/clients/api/model/ResetCreationTest.java -src/test/java/io/lakefs/clients/api/model/RevertCreationTest.java -src/test/java/io/lakefs/clients/api/model/SetupStateTest.java -src/test/java/io/lakefs/clients/api/model/SetupTest.java -src/test/java/io/lakefs/clients/api/model/StagingLocationTest.java -src/test/java/io/lakefs/clients/api/model/StagingMetadataTest.java -src/test/java/io/lakefs/clients/api/model/StatementTest.java -src/test/java/io/lakefs/clients/api/model/StatsEventTest.java -src/test/java/io/lakefs/clients/api/model/StatsEventsListTest.java -src/test/java/io/lakefs/clients/api/model/StorageConfigTest.java -src/test/java/io/lakefs/clients/api/model/StorageURITest.java -src/test/java/io/lakefs/clients/api/model/StsAuthRequestTest.java -src/test/java/io/lakefs/clients/api/model/TagCreationTest.java -src/test/java/io/lakefs/clients/api/model/TaskInfoTest.java -src/test/java/io/lakefs/clients/api/model/UnderlyingObjectPropertiesTest.java -src/test/java/io/lakefs/clients/api/model/UpdateObjectUserMetadataTest.java -src/test/java/io/lakefs/clients/api/model/UpdateTokenTest.java -src/test/java/io/lakefs/clients/api/model/UploadPartTest.java -src/test/java/io/lakefs/clients/api/model/UsageReportTest.java -src/test/java/io/lakefs/clients/api/model/UserCreationTest.java -src/test/java/io/lakefs/clients/api/model/UserListTest.java -src/test/java/io/lakefs/clients/api/model/UserTest.java -src/test/java/io/lakefs/clients/api/model/VersionConfigTest.java diff --git a/clients/java-legacy/.openapi-generator/VERSION b/clients/java-legacy/.openapi-generator/VERSION deleted file mode 100644 index e230c8396d1..00000000000 --- a/clients/java-legacy/.openapi-generator/VERSION +++ /dev/null @@ -1 +0,0 @@ -5.3.0 \ No newline at end of file diff --git a/clients/java-legacy/.travis.yml b/clients/java-legacy/.travis.yml deleted file mode 100644 index 1b6741c083c..00000000000 --- a/clients/java-legacy/.travis.yml +++ /dev/null @@ -1,22 +0,0 @@ -# -# Generated by OpenAPI Generator: https://openapi-generator.tech -# -# Ref: https://docs.travis-ci.com/user/languages/java/ -# -language: java -jdk: - - openjdk12 - - openjdk11 - - openjdk10 - - openjdk9 - - openjdk8 -before_install: - # ensure gradlew has proper permission - - chmod a+x ./gradlew -script: - # test using maven - #- mvn test - # test using gradle - - gradle test - # test using sbt - # - sbt test diff --git a/clients/java-legacy/README.md b/clients/java-legacy/README.md deleted file mode 100644 index 73fb7413eb6..00000000000 --- a/clients/java-legacy/README.md +++ /dev/null @@ -1,433 +0,0 @@ -# api-client - -lakeFS API -- API version: 1.0.0 - -lakeFS HTTP API - - -*Automatically generated by the [OpenAPI Generator](https://openapi-generator.tech)* - - -## Requirements - -Building the API client library requires: -1. Java 1.7+ -2. Maven/Gradle - -## Installation - -To install the API client library to your local Maven repository, simply execute: - -```shell -mvn clean install -``` - -To deploy it to a remote Maven repository instead, configure the settings of the repository and execute: - -```shell -mvn clean deploy -``` - -Refer to the [OSSRH Guide](http://central.sonatype.org/pages/ossrh-guide.html) for more information. - -### Maven users - -Add this dependency to your project's POM: - -```xml - - io.lakefs - api-client - 0.1.0-SNAPSHOT - compile - -``` - -### Gradle users - -Add this dependency to your project's build file: - -```groovy -compile "io.lakefs:api-client:0.1.0-SNAPSHOT" -``` - -### Others - -At first generate the JAR by executing: - -```shell -mvn clean package -``` - -Then manually install the following JARs: - -* `target/api-client-0.1.0-SNAPSHOT.jar` -* `target/lib/*.jar` - -## Getting Started - -Please follow the [installation](#installation) instruction and execute the following Java code: - -```java - -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.ActionsApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - ActionsApi apiInstance = new ActionsApi(defaultClient); - String repository = "repository_example"; // String | - String runId = "runId_example"; // String | - try { - ActionRun result = apiInstance.getRun(repository, runId); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ActionsApi#getRun"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} - -``` - -## Documentation for API Endpoints - -All URIs are relative to *http://localhost/api/v1* - -Class | Method | HTTP request | Description ------------- | ------------- | ------------- | ------------- -*ActionsApi* | [**getRun**](docs/ActionsApi.md#getRun) | **GET** /repositories/{repository}/actions/runs/{run_id} | get a run -*ActionsApi* | [**getRunHookOutput**](docs/ActionsApi.md#getRunHookOutput) | **GET** /repositories/{repository}/actions/runs/{run_id}/hooks/{hook_run_id}/output | get run hook output -*ActionsApi* | [**listRepositoryRuns**](docs/ActionsApi.md#listRepositoryRuns) | **GET** /repositories/{repository}/actions/runs | list runs -*ActionsApi* | [**listRunHooks**](docs/ActionsApi.md#listRunHooks) | **GET** /repositories/{repository}/actions/runs/{run_id}/hooks | list run hooks -*AuthApi* | [**addGroupMembership**](docs/AuthApi.md#addGroupMembership) | **PUT** /auth/groups/{groupId}/members/{userId} | add group membership -*AuthApi* | [**attachPolicyToGroup**](docs/AuthApi.md#attachPolicyToGroup) | **PUT** /auth/groups/{groupId}/policies/{policyId} | attach policy to group -*AuthApi* | [**attachPolicyToUser**](docs/AuthApi.md#attachPolicyToUser) | **PUT** /auth/users/{userId}/policies/{policyId} | attach policy to user -*AuthApi* | [**createCredentials**](docs/AuthApi.md#createCredentials) | **POST** /auth/users/{userId}/credentials | create credentials -*AuthApi* | [**createGroup**](docs/AuthApi.md#createGroup) | **POST** /auth/groups | create group -*AuthApi* | [**createPolicy**](docs/AuthApi.md#createPolicy) | **POST** /auth/policies | create policy -*AuthApi* | [**createUser**](docs/AuthApi.md#createUser) | **POST** /auth/users | create user -*AuthApi* | [**createUserExternalPrincipal**](docs/AuthApi.md#createUserExternalPrincipal) | **POST** /auth/users/{userId}/external/principals | attach external principal to user -*AuthApi* | [**deleteCredentials**](docs/AuthApi.md#deleteCredentials) | **DELETE** /auth/users/{userId}/credentials/{accessKeyId} | delete credentials -*AuthApi* | [**deleteGroup**](docs/AuthApi.md#deleteGroup) | **DELETE** /auth/groups/{groupId} | delete group -*AuthApi* | [**deleteGroupMembership**](docs/AuthApi.md#deleteGroupMembership) | **DELETE** /auth/groups/{groupId}/members/{userId} | delete group membership -*AuthApi* | [**deletePolicy**](docs/AuthApi.md#deletePolicy) | **DELETE** /auth/policies/{policyId} | delete policy -*AuthApi* | [**deleteUser**](docs/AuthApi.md#deleteUser) | **DELETE** /auth/users/{userId} | delete user -*AuthApi* | [**deleteUserExternalPrincipal**](docs/AuthApi.md#deleteUserExternalPrincipal) | **DELETE** /auth/users/{userId}/external/principals | delete external principal from user -*AuthApi* | [**detachPolicyFromGroup**](docs/AuthApi.md#detachPolicyFromGroup) | **DELETE** /auth/groups/{groupId}/policies/{policyId} | detach policy from group -*AuthApi* | [**detachPolicyFromUser**](docs/AuthApi.md#detachPolicyFromUser) | **DELETE** /auth/users/{userId}/policies/{policyId} | detach policy from user -*AuthApi* | [**externalPrincipalLogin**](docs/AuthApi.md#externalPrincipalLogin) | **POST** /auth/external/principal/login | perform a login using an external authenticator -*AuthApi* | [**getCredentials**](docs/AuthApi.md#getCredentials) | **GET** /auth/users/{userId}/credentials/{accessKeyId} | get credentials -*AuthApi* | [**getCurrentUser**](docs/AuthApi.md#getCurrentUser) | **GET** /user | get current user -*AuthApi* | [**getExternalPrincipal**](docs/AuthApi.md#getExternalPrincipal) | **GET** /auth/external/principals | describe external principal by id -*AuthApi* | [**getGroup**](docs/AuthApi.md#getGroup) | **GET** /auth/groups/{groupId} | get group -*AuthApi* | [**getGroupACL**](docs/AuthApi.md#getGroupACL) | **GET** /auth/groups/{groupId}/acl | get ACL of group -*AuthApi* | [**getPolicy**](docs/AuthApi.md#getPolicy) | **GET** /auth/policies/{policyId} | get policy -*AuthApi* | [**getUser**](docs/AuthApi.md#getUser) | **GET** /auth/users/{userId} | get user -*AuthApi* | [**listGroupMembers**](docs/AuthApi.md#listGroupMembers) | **GET** /auth/groups/{groupId}/members | list group members -*AuthApi* | [**listGroupPolicies**](docs/AuthApi.md#listGroupPolicies) | **GET** /auth/groups/{groupId}/policies | list group policies -*AuthApi* | [**listGroups**](docs/AuthApi.md#listGroups) | **GET** /auth/groups | list groups -*AuthApi* | [**listPolicies**](docs/AuthApi.md#listPolicies) | **GET** /auth/policies | list policies -*AuthApi* | [**listUserCredentials**](docs/AuthApi.md#listUserCredentials) | **GET** /auth/users/{userId}/credentials | list user credentials -*AuthApi* | [**listUserExternalPrincipals**](docs/AuthApi.md#listUserExternalPrincipals) | **GET** /auth/users/{userId}/external/principals/ls | list user external policies attached to a user -*AuthApi* | [**listUserGroups**](docs/AuthApi.md#listUserGroups) | **GET** /auth/users/{userId}/groups | list user groups -*AuthApi* | [**listUserPolicies**](docs/AuthApi.md#listUserPolicies) | **GET** /auth/users/{userId}/policies | list user policies -*AuthApi* | [**listUsers**](docs/AuthApi.md#listUsers) | **GET** /auth/users | list users -*AuthApi* | [**login**](docs/AuthApi.md#login) | **POST** /auth/login | perform a login -*AuthApi* | [**setGroupACL**](docs/AuthApi.md#setGroupACL) | **POST** /auth/groups/{groupId}/acl | set ACL of group -*AuthApi* | [**updatePolicy**](docs/AuthApi.md#updatePolicy) | **PUT** /auth/policies/{policyId} | update policy -*BranchesApi* | [**cherryPick**](docs/BranchesApi.md#cherryPick) | **POST** /repositories/{repository}/branches/{branch}/cherry-pick | Replay the changes from the given commit on the branch -*BranchesApi* | [**createBranch**](docs/BranchesApi.md#createBranch) | **POST** /repositories/{repository}/branches | create branch -*BranchesApi* | [**deleteBranch**](docs/BranchesApi.md#deleteBranch) | **DELETE** /repositories/{repository}/branches/{branch} | delete branch -*BranchesApi* | [**diffBranch**](docs/BranchesApi.md#diffBranch) | **GET** /repositories/{repository}/branches/{branch}/diff | diff branch -*BranchesApi* | [**getBranch**](docs/BranchesApi.md#getBranch) | **GET** /repositories/{repository}/branches/{branch} | get branch -*BranchesApi* | [**listBranches**](docs/BranchesApi.md#listBranches) | **GET** /repositories/{repository}/branches | list branches -*BranchesApi* | [**resetBranch**](docs/BranchesApi.md#resetBranch) | **PUT** /repositories/{repository}/branches/{branch} | reset branch -*BranchesApi* | [**revertBranch**](docs/BranchesApi.md#revertBranch) | **POST** /repositories/{repository}/branches/{branch}/revert | revert -*CommitsApi* | [**commit**](docs/CommitsApi.md#commit) | **POST** /repositories/{repository}/branches/{branch}/commits | create commit -*CommitsApi* | [**getCommit**](docs/CommitsApi.md#getCommit) | **GET** /repositories/{repository}/commits/{commitId} | get commit -*ConfigApi* | [**getConfig**](docs/ConfigApi.md#getConfig) | **GET** /config | -*ExperimentalApi* | [**abortPresignMultipartUpload**](docs/ExperimentalApi.md#abortPresignMultipartUpload) | **DELETE** /repositories/{repository}/branches/{branch}/staging/pmpu/{uploadId} | Abort a presign multipart upload -*ExperimentalApi* | [**completePresignMultipartUpload**](docs/ExperimentalApi.md#completePresignMultipartUpload) | **PUT** /repositories/{repository}/branches/{branch}/staging/pmpu/{uploadId} | Complete a presign multipart upload request -*ExperimentalApi* | [**createPresignMultipartUpload**](docs/ExperimentalApi.md#createPresignMultipartUpload) | **POST** /repositories/{repository}/branches/{branch}/staging/pmpu | Initiate a multipart upload -*ExperimentalApi* | [**createPullRequest**](docs/ExperimentalApi.md#createPullRequest) | **POST** /repositories/{repository}/pulls | create pull request -*ExperimentalApi* | [**createUserExternalPrincipal**](docs/ExperimentalApi.md#createUserExternalPrincipal) | **POST** /auth/users/{userId}/external/principals | attach external principal to user -*ExperimentalApi* | [**deleteUserExternalPrincipal**](docs/ExperimentalApi.md#deleteUserExternalPrincipal) | **DELETE** /auth/users/{userId}/external/principals | delete external principal from user -*ExperimentalApi* | [**externalPrincipalLogin**](docs/ExperimentalApi.md#externalPrincipalLogin) | **POST** /auth/external/principal/login | perform a login using an external authenticator -*ExperimentalApi* | [**getExternalPrincipal**](docs/ExperimentalApi.md#getExternalPrincipal) | **GET** /auth/external/principals | describe external principal by id -*ExperimentalApi* | [**getPullRequest**](docs/ExperimentalApi.md#getPullRequest) | **GET** /repositories/{repository}/pulls/{pull_request} | get pull request -*ExperimentalApi* | [**hardResetBranch**](docs/ExperimentalApi.md#hardResetBranch) | **PUT** /repositories/{repository}/branches/{branch}/hard_reset | hard reset branch -*ExperimentalApi* | [**listPullRequests**](docs/ExperimentalApi.md#listPullRequests) | **GET** /repositories/{repository}/pulls | list pull requests -*ExperimentalApi* | [**listUserExternalPrincipals**](docs/ExperimentalApi.md#listUserExternalPrincipals) | **GET** /auth/users/{userId}/external/principals/ls | list user external policies attached to a user -*ExperimentalApi* | [**mergePullRequest**](docs/ExperimentalApi.md#mergePullRequest) | **PUT** /repositories/{repository}/pulls/{pull_request}/merge | merge pull request -*ExperimentalApi* | [**stsLogin**](docs/ExperimentalApi.md#stsLogin) | **POST** /sts/login | perform a login with STS -*ExperimentalApi* | [**updateObjectUserMetadata**](docs/ExperimentalApi.md#updateObjectUserMetadata) | **PUT** /repositories/{repository}/branches/{branch}/objects/stat/user_metadata | rewrite (all) object metadata -*ExperimentalApi* | [**updatePullRequest**](docs/ExperimentalApi.md#updatePullRequest) | **PATCH** /repositories/{repository}/pulls/{pull_request} | update pull request -*ExternalApi* | [**createUserExternalPrincipal**](docs/ExternalApi.md#createUserExternalPrincipal) | **POST** /auth/users/{userId}/external/principals | attach external principal to user -*ExternalApi* | [**deleteUserExternalPrincipal**](docs/ExternalApi.md#deleteUserExternalPrincipal) | **DELETE** /auth/users/{userId}/external/principals | delete external principal from user -*ExternalApi* | [**externalPrincipalLogin**](docs/ExternalApi.md#externalPrincipalLogin) | **POST** /auth/external/principal/login | perform a login using an external authenticator -*ExternalApi* | [**getExternalPrincipal**](docs/ExternalApi.md#getExternalPrincipal) | **GET** /auth/external/principals | describe external principal by id -*ExternalApi* | [**listUserExternalPrincipals**](docs/ExternalApi.md#listUserExternalPrincipals) | **GET** /auth/users/{userId}/external/principals/ls | list user external policies attached to a user -*HealthCheckApi* | [**healthCheck**](docs/HealthCheckApi.md#healthCheck) | **GET** /healthcheck | -*ImportApi* | [**importCancel**](docs/ImportApi.md#importCancel) | **DELETE** /repositories/{repository}/branches/{branch}/import | cancel ongoing import -*ImportApi* | [**importStart**](docs/ImportApi.md#importStart) | **POST** /repositories/{repository}/branches/{branch}/import | import data from object store -*ImportApi* | [**importStatus**](docs/ImportApi.md#importStatus) | **GET** /repositories/{repository}/branches/{branch}/import | get import status -*InternalApi* | [**createBranchProtectionRulePreflight**](docs/InternalApi.md#createBranchProtectionRulePreflight) | **GET** /repositories/{repository}/branch_protection/set_allowed | -*InternalApi* | [**createCommitRecord**](docs/InternalApi.md#createCommitRecord) | **POST** /repositories/{repository}/commits | create commit record -*InternalApi* | [**createSymlinkFile**](docs/InternalApi.md#createSymlinkFile) | **POST** /repositories/{repository}/refs/{branch}/symlink | creates symlink files corresponding to the given directory -*InternalApi* | [**deleteRepositoryMetadata**](docs/InternalApi.md#deleteRepositoryMetadata) | **DELETE** /repositories/{repository}/metadata | delete repository metadata -*InternalApi* | [**dumpRefs**](docs/InternalApi.md#dumpRefs) | **PUT** /repositories/{repository}/refs/dump | Dump repository refs (tags, commits, branches) to object store Deprecated: a new API will introduce long running operations -*InternalApi* | [**getAuthCapabilities**](docs/InternalApi.md#getAuthCapabilities) | **GET** /auth/capabilities | list authentication capabilities supported -*InternalApi* | [**getGarbageCollectionConfig**](docs/InternalApi.md#getGarbageCollectionConfig) | **GET** /config/garbage-collection | -*InternalApi* | [**getLakeFSVersion**](docs/InternalApi.md#getLakeFSVersion) | **GET** /config/version | -*InternalApi* | [**getMetadataObject**](docs/InternalApi.md#getMetadataObject) | **GET** /repositories/{repository}/metadata/object/{type}/{object_id} | return a lakeFS metadata object by ID -*InternalApi* | [**getSetupState**](docs/InternalApi.md#getSetupState) | **GET** /setup_lakefs | check if the lakeFS installation is already set up -*InternalApi* | [**getStorageConfig**](docs/InternalApi.md#getStorageConfig) | **GET** /config/storage | -*InternalApi* | [**getUsageReportSummary**](docs/InternalApi.md#getUsageReportSummary) | **GET** /usage-report/summary | get usage report summary -*InternalApi* | [**internalCreateBranchProtectionRule**](docs/InternalApi.md#internalCreateBranchProtectionRule) | **POST** /repositories/{repository}/branch_protection | -*InternalApi* | [**internalDeleteBranchProtectionRule**](docs/InternalApi.md#internalDeleteBranchProtectionRule) | **DELETE** /repositories/{repository}/branch_protection | -*InternalApi* | [**internalDeleteGarbageCollectionRules**](docs/InternalApi.md#internalDeleteGarbageCollectionRules) | **DELETE** /repositories/{repository}/gc/rules | -*InternalApi* | [**internalGetBranchProtectionRules**](docs/InternalApi.md#internalGetBranchProtectionRules) | **GET** /repositories/{repository}/branch_protection | get branch protection rules -*InternalApi* | [**internalGetGarbageCollectionRules**](docs/InternalApi.md#internalGetGarbageCollectionRules) | **GET** /repositories/{repository}/gc/rules | -*InternalApi* | [**internalSetGarbageCollectionRules**](docs/InternalApi.md#internalSetGarbageCollectionRules) | **POST** /repositories/{repository}/gc/rules | -*InternalApi* | [**postStatsEvents**](docs/InternalApi.md#postStatsEvents) | **POST** /statistics | post stats events, this endpoint is meant for internal use only -*InternalApi* | [**prepareGarbageCollectionCommits**](docs/InternalApi.md#prepareGarbageCollectionCommits) | **POST** /repositories/{repository}/gc/prepare_commits | save lists of active commits for garbage collection -*InternalApi* | [**prepareGarbageCollectionUncommitted**](docs/InternalApi.md#prepareGarbageCollectionUncommitted) | **POST** /repositories/{repository}/gc/prepare_uncommited | save repository uncommitted metadata for garbage collection -*InternalApi* | [**restoreRefs**](docs/InternalApi.md#restoreRefs) | **PUT** /repositories/{repository}/refs/restore | Restore repository refs (tags, commits, branches) from object store. Deprecated: a new API will introduce long running operations -*InternalApi* | [**setGarbageCollectionRulesPreflight**](docs/InternalApi.md#setGarbageCollectionRulesPreflight) | **GET** /repositories/{repository}/gc/rules/set_allowed | -*InternalApi* | [**setRepositoryMetadata**](docs/InternalApi.md#setRepositoryMetadata) | **POST** /repositories/{repository}/metadata | set repository metadata -*InternalApi* | [**setup**](docs/InternalApi.md#setup) | **POST** /setup_lakefs | setup lakeFS and create a first user -*InternalApi* | [**setupCommPrefs**](docs/InternalApi.md#setupCommPrefs) | **POST** /setup_comm_prefs | setup communications preferences -*InternalApi* | [**stageObject**](docs/InternalApi.md#stageObject) | **PUT** /repositories/{repository}/branches/{branch}/objects | stage an object's metadata for the given branch -*InternalApi* | [**uploadObjectPreflight**](docs/InternalApi.md#uploadObjectPreflight) | **GET** /repositories/{repository}/branches/{branch}/objects/stage_allowed | -*MetadataApi* | [**getMetaRange**](docs/MetadataApi.md#getMetaRange) | **GET** /repositories/{repository}/metadata/meta_range/{meta_range} | return URI to a meta-range file -*MetadataApi* | [**getRange**](docs/MetadataApi.md#getRange) | **GET** /repositories/{repository}/metadata/range/{range} | return URI to a range file -*ObjectsApi* | [**copyObject**](docs/ObjectsApi.md#copyObject) | **POST** /repositories/{repository}/branches/{branch}/objects/copy | create a copy of an object -*ObjectsApi* | [**deleteObject**](docs/ObjectsApi.md#deleteObject) | **DELETE** /repositories/{repository}/branches/{branch}/objects | delete object. Missing objects will not return a NotFound error. -*ObjectsApi* | [**deleteObjects**](docs/ObjectsApi.md#deleteObjects) | **POST** /repositories/{repository}/branches/{branch}/objects/delete | delete objects. Missing objects will not return a NotFound error. -*ObjectsApi* | [**getObject**](docs/ObjectsApi.md#getObject) | **GET** /repositories/{repository}/refs/{ref}/objects | get object content -*ObjectsApi* | [**getUnderlyingProperties**](docs/ObjectsApi.md#getUnderlyingProperties) | **GET** /repositories/{repository}/refs/{ref}/objects/underlyingProperties | get object properties on underlying storage -*ObjectsApi* | [**headObject**](docs/ObjectsApi.md#headObject) | **HEAD** /repositories/{repository}/refs/{ref}/objects | check if object exists -*ObjectsApi* | [**listObjects**](docs/ObjectsApi.md#listObjects) | **GET** /repositories/{repository}/refs/{ref}/objects/ls | list objects under a given prefix -*ObjectsApi* | [**statObject**](docs/ObjectsApi.md#statObject) | **GET** /repositories/{repository}/refs/{ref}/objects/stat | get object metadata -*ObjectsApi* | [**updateObjectUserMetadata**](docs/ObjectsApi.md#updateObjectUserMetadata) | **PUT** /repositories/{repository}/branches/{branch}/objects/stat/user_metadata | rewrite (all) object metadata -*ObjectsApi* | [**uploadObject**](docs/ObjectsApi.md#uploadObject) | **POST** /repositories/{repository}/branches/{branch}/objects | -*PullsApi* | [**createPullRequest**](docs/PullsApi.md#createPullRequest) | **POST** /repositories/{repository}/pulls | create pull request -*PullsApi* | [**getPullRequest**](docs/PullsApi.md#getPullRequest) | **GET** /repositories/{repository}/pulls/{pull_request} | get pull request -*PullsApi* | [**listPullRequests**](docs/PullsApi.md#listPullRequests) | **GET** /repositories/{repository}/pulls | list pull requests -*PullsApi* | [**mergePullRequest**](docs/PullsApi.md#mergePullRequest) | **PUT** /repositories/{repository}/pulls/{pull_request}/merge | merge pull request -*PullsApi* | [**updatePullRequest**](docs/PullsApi.md#updatePullRequest) | **PATCH** /repositories/{repository}/pulls/{pull_request} | update pull request -*RefsApi* | [**diffRefs**](docs/RefsApi.md#diffRefs) | **GET** /repositories/{repository}/refs/{leftRef}/diff/{rightRef} | diff references -*RefsApi* | [**findMergeBase**](docs/RefsApi.md#findMergeBase) | **GET** /repositories/{repository}/refs/{sourceRef}/merge/{destinationBranch} | find the merge base for 2 references -*RefsApi* | [**logCommits**](docs/RefsApi.md#logCommits) | **GET** /repositories/{repository}/refs/{ref}/commits | get commit log from ref. If both objects and prefixes are empty, return all commits. -*RefsApi* | [**mergeIntoBranch**](docs/RefsApi.md#mergeIntoBranch) | **POST** /repositories/{repository}/refs/{sourceRef}/merge/{destinationBranch} | merge references -*RepositoriesApi* | [**createRepository**](docs/RepositoriesApi.md#createRepository) | **POST** /repositories | create repository -*RepositoriesApi* | [**deleteGCRules**](docs/RepositoriesApi.md#deleteGCRules) | **DELETE** /repositories/{repository}/settings/gc_rules | -*RepositoriesApi* | [**deleteRepository**](docs/RepositoriesApi.md#deleteRepository) | **DELETE** /repositories/{repository} | delete repository -*RepositoriesApi* | [**dumpStatus**](docs/RepositoriesApi.md#dumpStatus) | **GET** /repositories/{repository}/dump | Status of a repository dump task -*RepositoriesApi* | [**dumpSubmit**](docs/RepositoriesApi.md#dumpSubmit) | **POST** /repositories/{repository}/dump | Backup the repository metadata (tags, commits, branches) and save the backup to the object store. -*RepositoriesApi* | [**getBranchProtectionRules**](docs/RepositoriesApi.md#getBranchProtectionRules) | **GET** /repositories/{repository}/settings/branch_protection | get branch protection rules -*RepositoriesApi* | [**getGCRules**](docs/RepositoriesApi.md#getGCRules) | **GET** /repositories/{repository}/settings/gc_rules | get repository GC rules -*RepositoriesApi* | [**getRepository**](docs/RepositoriesApi.md#getRepository) | **GET** /repositories/{repository} | get repository -*RepositoriesApi* | [**getRepositoryMetadata**](docs/RepositoriesApi.md#getRepositoryMetadata) | **GET** /repositories/{repository}/metadata | get repository metadata -*RepositoriesApi* | [**listRepositories**](docs/RepositoriesApi.md#listRepositories) | **GET** /repositories | list repositories -*RepositoriesApi* | [**restoreStatus**](docs/RepositoriesApi.md#restoreStatus) | **GET** /repositories/{repository}/restore | Status of a restore request -*RepositoriesApi* | [**restoreSubmit**](docs/RepositoriesApi.md#restoreSubmit) | **POST** /repositories/{repository}/restore | Restore repository from a dump in the object store -*RepositoriesApi* | [**setBranchProtectionRules**](docs/RepositoriesApi.md#setBranchProtectionRules) | **PUT** /repositories/{repository}/settings/branch_protection | -*RepositoriesApi* | [**setGCRules**](docs/RepositoriesApi.md#setGCRules) | **PUT** /repositories/{repository}/settings/gc_rules | -*StagingApi* | [**getPhysicalAddress**](docs/StagingApi.md#getPhysicalAddress) | **GET** /repositories/{repository}/branches/{branch}/staging/backing | generate an address to which the client can upload an object -*StagingApi* | [**linkPhysicalAddress**](docs/StagingApi.md#linkPhysicalAddress) | **PUT** /repositories/{repository}/branches/{branch}/staging/backing | associate staging on this physical address with a path -*TagsApi* | [**createTag**](docs/TagsApi.md#createTag) | **POST** /repositories/{repository}/tags | create tag -*TagsApi* | [**deleteTag**](docs/TagsApi.md#deleteTag) | **DELETE** /repositories/{repository}/tags/{tag} | delete tag -*TagsApi* | [**getTag**](docs/TagsApi.md#getTag) | **GET** /repositories/{repository}/tags/{tag} | get tag -*TagsApi* | [**listTags**](docs/TagsApi.md#listTags) | **GET** /repositories/{repository}/tags | list tags - - -## Documentation for Models - - - [ACL](docs/ACL.md) - - [AbortPresignMultipartUpload](docs/AbortPresignMultipartUpload.md) - - [AccessKeyCredentials](docs/AccessKeyCredentials.md) - - [ActionRun](docs/ActionRun.md) - - [ActionRunList](docs/ActionRunList.md) - - [AuthCapabilities](docs/AuthCapabilities.md) - - [AuthenticationToken](docs/AuthenticationToken.md) - - [BranchCreation](docs/BranchCreation.md) - - [BranchProtectionRule](docs/BranchProtectionRule.md) - - [CherryPickCreation](docs/CherryPickCreation.md) - - [CommPrefsInput](docs/CommPrefsInput.md) - - [Commit](docs/Commit.md) - - [CommitCreation](docs/CommitCreation.md) - - [CommitList](docs/CommitList.md) - - [CommitOverrides](docs/CommitOverrides.md) - - [CommitRecordCreation](docs/CommitRecordCreation.md) - - [CompletePresignMultipartUpload](docs/CompletePresignMultipartUpload.md) - - [Config](docs/Config.md) - - [Credentials](docs/Credentials.md) - - [CredentialsList](docs/CredentialsList.md) - - [CredentialsWithSecret](docs/CredentialsWithSecret.md) - - [CurrentUser](docs/CurrentUser.md) - - [Diff](docs/Diff.md) - - [DiffList](docs/DiffList.md) - - [Error](docs/Error.md) - - [ErrorNoACL](docs/ErrorNoACL.md) - - [ExternalLoginInformation](docs/ExternalLoginInformation.md) - - [ExternalPrincipal](docs/ExternalPrincipal.md) - - [ExternalPrincipalCreation](docs/ExternalPrincipalCreation.md) - - [ExternalPrincipalList](docs/ExternalPrincipalList.md) - - [FindMergeBaseResult](docs/FindMergeBaseResult.md) - - [GarbageCollectionConfig](docs/GarbageCollectionConfig.md) - - [GarbageCollectionPrepareResponse](docs/GarbageCollectionPrepareResponse.md) - - [GarbageCollectionRule](docs/GarbageCollectionRule.md) - - [GarbageCollectionRules](docs/GarbageCollectionRules.md) - - [Group](docs/Group.md) - - [GroupCreation](docs/GroupCreation.md) - - [GroupList](docs/GroupList.md) - - [HookRun](docs/HookRun.md) - - [HookRunList](docs/HookRunList.md) - - [ImportCreation](docs/ImportCreation.md) - - [ImportCreationResponse](docs/ImportCreationResponse.md) - - [ImportLocation](docs/ImportLocation.md) - - [ImportStatus](docs/ImportStatus.md) - - [InlineObject](docs/InlineObject.md) - - [InlineObject1](docs/InlineObject1.md) - - [InstallationUsageReport](docs/InstallationUsageReport.md) - - [LoginConfig](docs/LoginConfig.md) - - [LoginInformation](docs/LoginInformation.md) - - [Merge](docs/Merge.md) - - [MergeResult](docs/MergeResult.md) - - [MetaRangeCreation](docs/MetaRangeCreation.md) - - [MetaRangeCreationResponse](docs/MetaRangeCreationResponse.md) - - [ObjectCopyCreation](docs/ObjectCopyCreation.md) - - [ObjectError](docs/ObjectError.md) - - [ObjectErrorList](docs/ObjectErrorList.md) - - [ObjectStageCreation](docs/ObjectStageCreation.md) - - [ObjectStats](docs/ObjectStats.md) - - [ObjectStatsList](docs/ObjectStatsList.md) - - [Pagination](docs/Pagination.md) - - [PathList](docs/PathList.md) - - [Policy](docs/Policy.md) - - [PolicyList](docs/PolicyList.md) - - [PrepareGCUncommittedRequest](docs/PrepareGCUncommittedRequest.md) - - [PrepareGCUncommittedResponse](docs/PrepareGCUncommittedResponse.md) - - [PresignMultipartUpload](docs/PresignMultipartUpload.md) - - [PullRequest](docs/PullRequest.md) - - [PullRequestAllOf](docs/PullRequestAllOf.md) - - [PullRequestBasic](docs/PullRequestBasic.md) - - [PullRequestCreation](docs/PullRequestCreation.md) - - [PullRequestCreationResponse](docs/PullRequestCreationResponse.md) - - [PullRequestsList](docs/PullRequestsList.md) - - [RangeMetadata](docs/RangeMetadata.md) - - [Ref](docs/Ref.md) - - [RefList](docs/RefList.md) - - [RefsDump](docs/RefsDump.md) - - [RefsRestore](docs/RefsRestore.md) - - [Repository](docs/Repository.md) - - [RepositoryCreation](docs/RepositoryCreation.md) - - [RepositoryDumpStatus](docs/RepositoryDumpStatus.md) - - [RepositoryList](docs/RepositoryList.md) - - [RepositoryMetadataKeys](docs/RepositoryMetadataKeys.md) - - [RepositoryMetadataSet](docs/RepositoryMetadataSet.md) - - [RepositoryRestoreStatus](docs/RepositoryRestoreStatus.md) - - [ResetCreation](docs/ResetCreation.md) - - [RevertCreation](docs/RevertCreation.md) - - [Setup](docs/Setup.md) - - [SetupState](docs/SetupState.md) - - [StagingLocation](docs/StagingLocation.md) - - [StagingMetadata](docs/StagingMetadata.md) - - [Statement](docs/Statement.md) - - [StatsEvent](docs/StatsEvent.md) - - [StatsEventsList](docs/StatsEventsList.md) - - [StorageConfig](docs/StorageConfig.md) - - [StorageURI](docs/StorageURI.md) - - [StsAuthRequest](docs/StsAuthRequest.md) - - [TagCreation](docs/TagCreation.md) - - [TaskInfo](docs/TaskInfo.md) - - [UnderlyingObjectProperties](docs/UnderlyingObjectProperties.md) - - [UpdateObjectUserMetadata](docs/UpdateObjectUserMetadata.md) - - [UpdateToken](docs/UpdateToken.md) - - [UploadPart](docs/UploadPart.md) - - [UsageReport](docs/UsageReport.md) - - [User](docs/User.md) - - [UserCreation](docs/UserCreation.md) - - [UserList](docs/UserList.md) - - [VersionConfig](docs/VersionConfig.md) - - -## Documentation for Authorization - -Authentication schemes defined for the API: -### basic_auth - -- **Type**: HTTP basic authentication - -### cookie_auth - -- **Type**: API key -- **API key parameter name**: internal_auth_session -- **Location**: - -### jwt_token - -- **Type**: HTTP basic authentication - -### oidc_auth - -- **Type**: API key -- **API key parameter name**: oidc_auth_session -- **Location**: - -### saml_auth - -- **Type**: API key -- **API key parameter name**: saml_auth_session -- **Location**: - - -## Recommendation - -It's recommended to create an instance of `ApiClient` per thread in a multithreaded environment to avoid any potential issues. - -## Author - - - diff --git a/clients/java-legacy/api/openapi.yaml b/clients/java-legacy/api/openapi.yaml deleted file mode 100644 index 50741121d4a..00000000000 --- a/clients/java-legacy/api/openapi.yaml +++ /dev/null @@ -1,9846 +0,0 @@ -openapi: 3.0.0 -info: - description: lakeFS HTTP API - license: - name: Apache 2.0 - url: https://www.apache.org/licenses/LICENSE-2.0.html - title: lakeFS API - version: 1.0.0 -servers: -- description: lakeFS server endpoint - url: /api/v1 -security: -- jwt_token: [] -- basic_auth: [] -- cookie_auth: [] -- oidc_auth: [] -- saml_auth: [] -paths: - /setup_comm_prefs: - post: - operationId: setupCommPrefs - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/CommPrefsInput' - required: true - responses: - "200": - description: communication preferences saved successfully - "409": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: setup was already completed - "412": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: wrong setup state for this operation - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - security: [] - summary: setup communications preferences - tags: - - internal - x-contentType: application/json - x-accepts: application/json - /setup_lakefs: - get: - operationId: getSetupState - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/SetupState' - description: lakeFS setup state - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - security: [] - summary: check if the lakeFS installation is already set up - tags: - - internal - x-accepts: application/json - post: - operationId: setup - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/Setup' - required: true - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/CredentialsWithSecret' - description: user created successfully - "400": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Bad Request - "409": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: setup was already called - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - security: [] - summary: setup lakeFS and create a first user - tags: - - internal - x-contentType: application/json - x-accepts: application/json - /user: - get: - operationId: getCurrentUser - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/CurrentUser' - description: user - summary: get current user - tags: - - auth - x-accepts: application/json - /auth/login: - post: - operationId: login - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/LoginInformation' - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/AuthenticationToken' - description: successful login - headers: - Set-Cookie: - explode: false - schema: - example: access_token=abcde12356; Path=/; HttpOnly - type: string - style: simple - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - security: [] - summary: perform a login - tags: - - auth - x-contentType: application/json - x-accepts: application/json - /auth/external/principal/login: - post: - operationId: externalPrincipalLogin - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/ExternalLoginInformation' - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/AuthenticationToken' - description: successful external login - "400": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Bad Request - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "403": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Forbidden - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - security: [] - summary: perform a login using an external authenticator - tags: - - external - - experimental - - auth - x-contentType: application/json - x-accepts: application/json - /sts/login: - post: - operationId: stsLogin - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/StsAuthRequest' - required: true - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/AuthenticationToken' - description: successful STS login - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - security: [] - summary: perform a login with STS - tags: - - experimental - x-contentType: application/json - x-accepts: application/json - /auth/capabilities: - get: - operationId: getAuthCapabilities - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/AuthCapabilities' - description: auth capabilities - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - security: [] - summary: list authentication capabilities supported - tags: - - internal - x-accepts: application/json - /auth/users: - get: - operationId: listUsers - parameters: - - description: return items prefixed with this value - explode: true - in: query - name: prefix - required: false - schema: - type: string - style: form - - description: return items after this value - explode: true - in: query - name: after - required: false - schema: - type: string - style: form - - description: how many items to return - explode: true - in: query - name: amount - required: false - schema: - default: 100 - maximum: 1000 - minimum: -1 - type: integer - style: form - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/UserList' - description: user list - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: list users - tags: - - auth - x-accepts: application/json - post: - operationId: createUser - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/UserCreation' - responses: - "201": - content: - application/json: - schema: - $ref: '#/components/schemas/User' - description: user - "400": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: validation error - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "409": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Conflicts With Target - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: create user - tags: - - auth - x-contentType: application/json - x-accepts: application/json - /auth/users/{userId}: - delete: - operationId: deleteUser - parameters: - - explode: false - in: path - name: userId - required: true - schema: - type: string - style: simple - responses: - "204": - description: user deleted successfully - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: delete user - tags: - - auth - x-accepts: application/json - get: - operationId: getUser - parameters: - - explode: false - in: path - name: userId - required: true - schema: - type: string - style: simple - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/User' - description: user - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: get user - tags: - - auth - x-accepts: application/json - /auth/groups: - get: - operationId: listGroups - parameters: - - description: return items prefixed with this value - explode: true - in: query - name: prefix - required: false - schema: - type: string - style: form - - description: return items after this value - explode: true - in: query - name: after - required: false - schema: - type: string - style: form - - description: how many items to return - explode: true - in: query - name: amount - required: false - schema: - default: 100 - maximum: 1000 - minimum: -1 - type: integer - style: form - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/GroupList' - description: group list - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: list groups - tags: - - auth - x-accepts: application/json - post: - operationId: createGroup - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/GroupCreation' - responses: - "201": - content: - application/json: - schema: - $ref: '#/components/schemas/Group' - description: group - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: create group - tags: - - auth - x-contentType: application/json - x-accepts: application/json - /auth/groups/{groupId}: - delete: - operationId: deleteGroup - parameters: - - explode: false - in: path - name: groupId - required: true - schema: - type: string - style: simple - responses: - "204": - description: group deleted successfully - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: delete group - tags: - - auth - x-accepts: application/json - get: - operationId: getGroup - parameters: - - explode: false - in: path - name: groupId - required: true - schema: - type: string - style: simple - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/Group' - description: group - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: get group - tags: - - auth - x-accepts: application/json - /auth/policies: - get: - operationId: listPolicies - parameters: - - description: return items prefixed with this value - explode: true - in: query - name: prefix - required: false - schema: - type: string - style: form - - description: return items after this value - explode: true - in: query - name: after - required: false - schema: - type: string - style: form - - description: how many items to return - explode: true - in: query - name: amount - required: false - schema: - default: 100 - maximum: 1000 - minimum: -1 - type: integer - style: form - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/PolicyList' - description: policy list - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: list policies - tags: - - auth - x-accepts: application/json - post: - operationId: createPolicy - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/Policy' - required: true - responses: - "201": - content: - application/json: - schema: - $ref: '#/components/schemas/Policy' - description: policy - "400": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Validation Error - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "409": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Conflicts With Target - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: create policy - tags: - - auth - x-contentType: application/json - x-accepts: application/json - /auth/policies/{policyId}: - delete: - operationId: deletePolicy - parameters: - - explode: false - in: path - name: policyId - required: true - schema: - type: string - style: simple - responses: - "204": - description: policy deleted successfully - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: delete policy - tags: - - auth - x-accepts: application/json - get: - operationId: getPolicy - parameters: - - explode: false - in: path - name: policyId - required: true - schema: - type: string - style: simple - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/Policy' - description: policy - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: get policy - tags: - - auth - x-accepts: application/json - put: - operationId: updatePolicy - parameters: - - explode: false - in: path - name: policyId - required: true - schema: - type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/Policy' - required: true - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/Policy' - description: policy - "400": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Validation Error - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: update policy - tags: - - auth - x-contentType: application/json - x-accepts: application/json - /auth/groups/{groupId}/members: - get: - operationId: listGroupMembers - parameters: - - explode: false - in: path - name: groupId - required: true - schema: - type: string - style: simple - - description: return items prefixed with this value - explode: true - in: query - name: prefix - required: false - schema: - type: string - style: form - - description: return items after this value - explode: true - in: query - name: after - required: false - schema: - type: string - style: form - - description: how many items to return - explode: true - in: query - name: amount - required: false - schema: - default: 100 - maximum: 1000 - minimum: -1 - type: integer - style: form - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/UserList' - description: group member list - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: list group members - tags: - - auth - x-accepts: application/json - /auth/groups/{groupId}/members/{userId}: - delete: - operationId: deleteGroupMembership - parameters: - - explode: false - in: path - name: groupId - required: true - schema: - type: string - style: simple - - explode: false - in: path - name: userId - required: true - schema: - type: string - style: simple - responses: - "204": - description: membership deleted successfully - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: delete group membership - tags: - - auth - x-accepts: application/json - put: - operationId: addGroupMembership - parameters: - - explode: false - in: path - name: groupId - required: true - schema: - type: string - style: simple - - explode: false - in: path - name: userId - required: true - schema: - type: string - style: simple - responses: - "201": - description: membership added successfully - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: add group membership - tags: - - auth - x-accepts: application/json - /auth/users/{userId}/credentials: - get: - operationId: listUserCredentials - parameters: - - explode: false - in: path - name: userId - required: true - schema: - type: string - style: simple - - description: return items prefixed with this value - explode: true - in: query - name: prefix - required: false - schema: - type: string - style: form - - description: return items after this value - explode: true - in: query - name: after - required: false - schema: - type: string - style: form - - description: how many items to return - explode: true - in: query - name: amount - required: false - schema: - default: 100 - maximum: 1000 - minimum: -1 - type: integer - style: form - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/CredentialsList' - description: credential list - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: list user credentials - tags: - - auth - x-accepts: application/json - post: - operationId: createCredentials - parameters: - - explode: false - in: path - name: userId - required: true - schema: - type: string - style: simple - responses: - "201": - content: - application/json: - schema: - $ref: '#/components/schemas/CredentialsWithSecret' - description: credentials - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: create credentials - tags: - - auth - x-accepts: application/json - /auth/users/{userId}/credentials/{accessKeyId}: - delete: - operationId: deleteCredentials - parameters: - - explode: false - in: path - name: userId - required: true - schema: - type: string - style: simple - - explode: false - in: path - name: accessKeyId - required: true - schema: - type: string - style: simple - responses: - "204": - description: credentials deleted successfully - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: delete credentials - tags: - - auth - x-accepts: application/json - get: - operationId: getCredentials - parameters: - - explode: false - in: path - name: userId - required: true - schema: - type: string - style: simple - - explode: false - in: path - name: accessKeyId - required: true - schema: - type: string - style: simple - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/Credentials' - description: credentials - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: get credentials - tags: - - auth - x-accepts: application/json - /auth/users/{userId}/groups: - get: - operationId: listUserGroups - parameters: - - explode: false - in: path - name: userId - required: true - schema: - type: string - style: simple - - description: return items prefixed with this value - explode: true - in: query - name: prefix - required: false - schema: - type: string - style: form - - description: return items after this value - explode: true - in: query - name: after - required: false - schema: - type: string - style: form - - description: how many items to return - explode: true - in: query - name: amount - required: false - schema: - default: 100 - maximum: 1000 - minimum: -1 - type: integer - style: form - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/GroupList' - description: group list - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: list user groups - tags: - - auth - x-accepts: application/json - /auth/users/{userId}/policies: - get: - operationId: listUserPolicies - parameters: - - explode: false - in: path - name: userId - required: true - schema: - type: string - style: simple - - description: return items prefixed with this value - explode: true - in: query - name: prefix - required: false - schema: - type: string - style: form - - description: return items after this value - explode: true - in: query - name: after - required: false - schema: - type: string - style: form - - description: how many items to return - explode: true - in: query - name: amount - required: false - schema: - default: 100 - maximum: 1000 - minimum: -1 - type: integer - style: form - - description: will return all distinct policies attached to the user or any - of its groups - explode: true - in: query - name: effective - required: false - schema: - default: false - type: boolean - style: form - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/PolicyList' - description: policy list - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: list user policies - tags: - - auth - x-accepts: application/json - /auth/users/{userId}/policies/{policyId}: - delete: - operationId: detachPolicyFromUser - parameters: - - explode: false - in: path - name: userId - required: true - schema: - type: string - style: simple - - explode: false - in: path - name: policyId - required: true - schema: - type: string - style: simple - responses: - "204": - description: policy detached successfully - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: detach policy from user - tags: - - auth - x-accepts: application/json - put: - operationId: attachPolicyToUser - parameters: - - explode: false - in: path - name: userId - required: true - schema: - type: string - style: simple - - explode: false - in: path - name: policyId - required: true - schema: - type: string - style: simple - responses: - "201": - description: policy attached successfully - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: attach policy to user - tags: - - auth - x-accepts: application/json - /auth/users/{userId}/external/principals: - delete: - operationId: deleteUserExternalPrincipal - parameters: - - explode: false - in: path - name: userId - required: true - schema: - type: string - style: simple - - explode: true - in: query - name: principalId - required: true - schema: - type: string - style: form - responses: - "204": - description: external principal detached successfully - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: delete external principal from user - tags: - - auth - - external - - experimental - x-accepts: application/json - post: - operationId: createUserExternalPrincipal - parameters: - - explode: false - in: path - name: userId - required: true - schema: - type: string - style: simple - - explode: true - in: query - name: principalId - required: true - schema: - type: string - style: form - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/ExternalPrincipalCreation' - required: false - responses: - "201": - description: external principal attached successfully - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "409": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Conflicts With Target - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: attach external principal to user - tags: - - auth - - external - - experimental - x-contentType: application/json - x-accepts: application/json - /auth/users/{userId}/external/principals/ls: - get: - operationId: listUserExternalPrincipals - parameters: - - explode: false - in: path - name: userId - required: true - schema: - type: string - style: simple - - description: return items prefixed with this value - explode: true - in: query - name: prefix - required: false - schema: - type: string - style: form - - description: return items after this value - explode: true - in: query - name: after - required: false - schema: - type: string - style: form - - description: how many items to return - explode: true - in: query - name: amount - required: false - schema: - default: 100 - maximum: 1000 - minimum: -1 - type: integer - style: form - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/ExternalPrincipalList' - description: external principals list - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: list user external policies attached to a user - tags: - - auth - - external - - experimental - x-accepts: application/json - /auth/external/principals: - get: - operationId: getExternalPrincipal - parameters: - - explode: true - in: query - name: principalId - required: true - schema: - type: string - style: form - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/ExternalPrincipal' - description: external principal - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: describe external principal by id - tags: - - auth - - external - - experimental - x-accepts: application/json - /auth/groups/{groupId}/policies: - get: - operationId: listGroupPolicies - parameters: - - explode: false - in: path - name: groupId - required: true - schema: - type: string - style: simple - - description: return items prefixed with this value - explode: true - in: query - name: prefix - required: false - schema: - type: string - style: form - - description: return items after this value - explode: true - in: query - name: after - required: false - schema: - type: string - style: form - - description: how many items to return - explode: true - in: query - name: amount - required: false - schema: - default: 100 - maximum: 1000 - minimum: -1 - type: integer - style: form - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/PolicyList' - description: policy list - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: list group policies - tags: - - auth - x-accepts: application/json - /auth/groups/{groupId}/policies/{policyId}: - delete: - operationId: detachPolicyFromGroup - parameters: - - explode: false - in: path - name: groupId - required: true - schema: - type: string - style: simple - - explode: false - in: path - name: policyId - required: true - schema: - type: string - style: simple - responses: - "204": - description: policy detached successfully - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: detach policy from group - tags: - - auth - x-accepts: application/json - put: - operationId: attachPolicyToGroup - parameters: - - explode: false - in: path - name: groupId - required: true - schema: - type: string - style: simple - - explode: false - in: path - name: policyId - required: true - schema: - type: string - style: simple - responses: - "201": - description: policy attached successfully - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: attach policy to group - tags: - - auth - x-accepts: application/json - /auth/groups/{groupId}/acl: - get: - operationId: getGroupACL - parameters: - - explode: false - in: path - name: groupId - required: true - schema: - type: string - style: simple - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/ACL' - description: ACL of group - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorNoACL' - description: Group not found, or group found but has no ACL - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: get ACL of group - tags: - - auth - x-accepts: application/json - post: - operationId: setGroupACL - parameters: - - explode: false - in: path - name: groupId - required: true - schema: - type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/ACL' - required: true - responses: - "201": - description: ACL successfully changed - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: set ACL of group - tags: - - auth - x-contentType: application/json - x-accepts: application/json - /repositories: - get: - operationId: listRepositories - parameters: - - description: return items prefixed with this value - explode: true - in: query - name: prefix - required: false - schema: - type: string - style: form - - description: return items after this value - explode: true - in: query - name: after - required: false - schema: - type: string - style: form - - description: how many items to return - explode: true - in: query - name: amount - required: false - schema: - default: 100 - maximum: 1000 - minimum: -1 - type: integer - style: form - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/RepositoryList' - description: repository list - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: list repositories - tags: - - repositories - x-accepts: application/json - post: - operationId: createRepository - parameters: - - description: If true, create a bare repository with no initial commit and - branch - explode: true - in: query - name: bare - required: false - schema: - default: false - type: boolean - style: form - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/RepositoryCreation' - required: true - responses: - "201": - content: - application/json: - schema: - $ref: '#/components/schemas/Repository' - description: repository - "400": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Validation Error - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "409": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Conflicts With Target - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: create repository - tags: - - repositories - x-contentType: application/json - x-accepts: application/json - /repositories/{repository}: - delete: - operationId: deleteRepository - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - - description: Bypass read-only protection and delete the repository - explode: true - in: query - name: force - required: false - schema: - default: false - type: boolean - style: form - responses: - "204": - description: repository deleted successfully - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: delete repository - tags: - - repositories - x-accepts: application/json - get: - operationId: getRepository - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/Repository' - description: repository - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: get repository - tags: - - repositories - x-accepts: application/json - /repositories/{repository}/metadata: - delete: - description: | - Delete specified keys from the repository's metadata. - operationId: deleteRepositoryMetadata - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/RepositoryMetadataKeys' - required: true - responses: - "204": - description: repository metadata keys deleted successfully - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: delete repository metadata - tags: - - internal - x-contentType: application/json - x-accepts: application/json - get: - operationId: getRepositoryMetadata - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/RepositoryMetadata' - description: repository metadata - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: get repository metadata - tags: - - repositories - x-accepts: application/json - post: - description: | - Set repository metadata. This will only add or update the provided keys, and will not remove any existing keys. - operationId: setRepositoryMetadata - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/RepositoryMetadataSet' - required: true - responses: - "204": - description: repository metadata set successfully - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: set repository metadata - tags: - - internal - x-contentType: application/json - x-accepts: application/json - /repositories/{repository}/settings/gc_rules: - delete: - operationId: deleteGCRules - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - responses: - "204": - description: deleted garbage collection rules successfully - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "403": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Forbidden - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - tags: - - repositories - x-accepts: application/json - get: - operationId: getGCRules - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/GarbageCollectionRules' - description: repository GC rules - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: get repository GC rules - tags: - - repositories - x-accepts: application/json - put: - operationId: setGCRules - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/GarbageCollectionRules' - required: true - responses: - "204": - description: set garbage collection rules successfully - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "403": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Forbidden - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - tags: - - repositories - x-contentType: application/json - x-accepts: application/json - /repositories/{repository}/settings/branch_protection: - get: - operationId: getBranchProtectionRules - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - responses: - "200": - content: - application/json: - schema: - items: - $ref: '#/components/schemas/BranchProtectionRule' - type: array - description: branch protection rules - headers: - ETag: - explode: false - schema: - description: ETag of the branch protection rules - type: string - style: simple - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: get branch protection rules - tags: - - repositories - x-accepts: application/json - put: - operationId: setBranchProtectionRules - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - - description: if provided, the branch protection rules will be updated only - if the current ETag match the provided value - explode: false - in: header - name: If-Match - required: false - schema: - type: string - style: simple - requestBody: - content: - application/json: - schema: - items: - $ref: '#/components/schemas/BranchProtectionRule' - type: array - required: true - responses: - "204": - description: branch protection rule created successfully - "400": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Bad Request - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "403": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Forbidden - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "412": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Precondition Failed - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - tags: - - repositories - x-contentType: application/json - x-accepts: application/json - /repositories/{repository}/refs/dump: - put: - operationId: dumpRefs - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - responses: - "201": - content: - application/json: - schema: - $ref: '#/components/schemas/RefsDump' - description: refs dump - "400": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Validation Error - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: | - Dump repository refs (tags, commits, branches) to object store - Deprecated: a new API will introduce long running operations - tags: - - internal - x-accepts: application/json - /repositories/{repository}/refs/restore: - put: - operationId: restoreRefs - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/RefsRestore' - required: true - responses: - "200": - description: refs successfully loaded - "400": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Validation Error - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: | - Restore repository refs (tags, commits, branches) from object store. - Deprecated: a new API will introduce long running operations - tags: - - internal - x-contentType: application/json - x-accepts: application/json - /repositories/{repository}/dump: - get: - operationId: dumpStatus - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - - explode: true - in: query - name: task_id - required: true - schema: - type: string - style: form - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/RepositoryDumpStatus' - description: dump task status - "400": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Validation Error - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: Status of a repository dump task - tags: - - repositories - x-accepts: application/json - post: - operationId: dumpSubmit - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - responses: - "202": - content: - application/json: - schema: - $ref: '#/components/schemas/TaskInfo' - description: dump task information - "400": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Validation Error - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: Backup the repository metadata (tags, commits, branches) and save the - backup to the object store. - tags: - - repositories - x-accepts: application/json - /repositories/{repository}/restore: - get: - operationId: restoreStatus - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - - explode: true - in: query - name: task_id - required: true - schema: - type: string - style: form - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/RepositoryRestoreStatus' - description: restore task status - "400": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Validation Error - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: Status of a restore request - tags: - - repositories - x-accepts: application/json - post: - operationId: restoreSubmit - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/RefsRestore' - required: true - responses: - "202": - content: - application/json: - schema: - $ref: '#/components/schemas/TaskInfo' - description: restore task created - "400": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Validation Error - "403": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Forbidden - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: Restore repository from a dump in the object store - tags: - - repositories - x-contentType: application/json - x-accepts: application/json - /repositories/{repository}/tags: - get: - operationId: listTags - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - - description: return items prefixed with this value - explode: true - in: query - name: prefix - required: false - schema: - type: string - style: form - - description: return items after this value - explode: true - in: query - name: after - required: false - schema: - type: string - style: form - - description: how many items to return - explode: true - in: query - name: amount - required: false - schema: - default: 100 - maximum: 1000 - minimum: -1 - type: integer - style: form - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/RefList' - description: tag list - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: list tags - tags: - - tags - x-accepts: application/json - post: - operationId: createTag - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/TagCreation' - required: true - responses: - "201": - content: - application/json: - schema: - $ref: '#/components/schemas/Ref' - description: tag - "400": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Validation Error - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "403": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Forbidden - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "409": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Conflicts With Target - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: create tag - tags: - - tags - x-contentType: application/json - x-accepts: application/json - /repositories/{repository}/tags/{tag}: - delete: - operationId: deleteTag - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - - explode: false - in: path - name: tag - required: true - schema: - type: string - style: simple - - explode: true - in: query - name: force - required: false - schema: - type: boolean - style: form - responses: - "204": - description: tag deleted successfully - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "403": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Forbidden - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: delete tag - tags: - - tags - x-accepts: application/json - get: - operationId: getTag - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - - explode: false - in: path - name: tag - required: true - schema: - type: string - style: simple - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/Ref' - description: tag - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: get tag - tags: - - tags - x-accepts: application/json - /repositories/{repository}/branches: - get: - operationId: listBranches - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - - description: return items prefixed with this value - explode: true - in: query - name: prefix - required: false - schema: - type: string - style: form - - description: return items after this value - explode: true - in: query - name: after - required: false - schema: - type: string - style: form - - description: how many items to return - explode: true - in: query - name: amount - required: false - schema: - default: 100 - maximum: 1000 - minimum: -1 - type: integer - style: form - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/RefList' - description: branch list - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: list branches - tags: - - branches - x-accepts: application/json - post: - operationId: createBranch - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/BranchCreation' - required: true - responses: - "201": - content: - text/html: - schema: - type: string - description: reference - "400": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Validation Error - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "403": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Forbidden - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "409": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Conflicts With Target - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: create branch - tags: - - branches - x-contentType: application/json - x-accepts: application/json - /repositories/{repository}/refs/{ref}/commits: - get: - operationId: logCommits - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - - explode: false - in: path - name: ref - required: true - schema: - type: string - style: simple - - description: return items after this value - explode: true - in: query - name: after - required: false - schema: - type: string - style: form - - description: how many items to return - explode: true - in: query - name: amount - required: false - schema: - default: 100 - maximum: 1000 - minimum: -1 - type: integer - style: form - - description: list of paths, each element is a path of a specific object - explode: true - in: query - name: objects - required: false - schema: - items: - type: string - type: array - style: form - - description: list of paths, each element is a path of a prefix - explode: true - in: query - name: prefixes - required: false - schema: - items: - type: string - type: array - style: form - - description: limit the number of items in return to 'amount'. Without further - indication on actual number of items. - explode: true - in: query - name: limit - required: false - schema: - type: boolean - style: form - - description: if set to true, follow only the first parent upon reaching a - merge commit - explode: true - in: query - name: first_parent - required: false - schema: - type: boolean - style: form - - description: Show commits more recent than a specific date-time. In case used - with stop_at parameter, will stop at the first commit that meets any of - the conditions. - explode: true - in: query - name: since - required: false - schema: - format: date-time - type: string - style: form - - description: A reference to stop at. In case used with since parameter, will - stop at the first commit that meets any of the conditions. - explode: true - in: query - name: stop_at - required: false - schema: - type: string - style: form - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/CommitList' - description: commit log - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: get commit log from ref. If both objects and prefixes are empty, return - all commits. - tags: - - refs - x-accepts: application/json - /repositories/{repository}/branches/{branch}/commits: - post: - operationId: commit - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - - explode: false - in: path - name: branch - required: true - schema: - type: string - style: simple - - description: The source metarange to commit. Branch must not have uncommitted - changes. - explode: true - in: query - name: source_metarange - required: false - schema: - type: string - style: form - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/CommitCreation' - required: true - responses: - "201": - content: - application/json: - schema: - $ref: '#/components/schemas/Commit' - description: commit - "400": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Validation Error - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "403": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Forbidden - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "409": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Conflicts With Target - "412": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Precondition Failed (e.g. a pre-commit hook returned a failure) - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: create commit - tags: - - commits - x-contentType: application/json - x-accepts: application/json - /repositories/{repository}/commits: - post: - operationId: CreateCommitRecord - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/CommitRecordCreation' - required: true - responses: - "204": - description: commit record created - "400": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Validation Error - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "403": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Forbidden - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: create commit record - tags: - - internal - x-contentType: application/json - x-accepts: application/json - /repositories/{repository}/branches/{branch}: - delete: - operationId: deleteBranch - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - - explode: false - in: path - name: branch - required: true - schema: - type: string - style: simple - - explode: true - in: query - name: force - required: false - schema: - default: false - type: boolean - style: form - responses: - "204": - description: branch deleted successfully - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "403": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Forbidden - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: delete branch - tags: - - branches - x-accepts: application/json - get: - operationId: getBranch - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - - explode: false - in: path - name: branch - required: true - schema: - type: string - style: simple - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/Ref' - description: branch - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: get branch - tags: - - branches - x-accepts: application/json - put: - operationId: resetBranch - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - - explode: false - in: path - name: branch - required: true - schema: - type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/ResetCreation' - required: true - responses: - "204": - description: reset successful - "400": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Bad Request - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "403": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Forbidden - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: reset branch - tags: - - branches - x-contentType: application/json - x-accepts: application/json - /repositories/{repository}/branches/{branch}/hard_reset: - put: - description: Relocate branch to refer to ref. Branch must not contain uncommitted - data. - operationId: hardResetBranch - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - - explode: false - in: path - name: branch - required: true - schema: - type: string - style: simple - - description: After reset, branch will point at this reference. - explode: true - in: query - name: ref - required: true - schema: - type: string - style: form - - explode: true - in: query - name: force - required: false - schema: - default: false - type: boolean - style: form - responses: - "204": - description: reset successful - "400": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Bad Request - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "403": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Forbidden - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: hard reset branch - tags: - - experimental - x-accepts: application/json - /repositories/{repository}/branches/{branch}/revert: - post: - operationId: revertBranch - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - - explode: false - in: path - name: branch - required: true - schema: - type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/RevertCreation' - required: true - responses: - "204": - description: revert successful - "400": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Validation Error - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "403": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Forbidden - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "409": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Conflict Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: revert - tags: - - branches - x-contentType: application/json - x-accepts: application/json - /repositories/{repository}/branches/{branch}/cherry-pick: - post: - operationId: cherryPick - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - - explode: false - in: path - name: branch - required: true - schema: - type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/CherryPickCreation' - required: true - responses: - "201": - content: - application/json: - schema: - $ref: '#/components/schemas/Commit' - description: the cherry-pick commit - "400": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Validation Error - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "403": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Forbidden - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "409": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Conflict Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: Replay the changes from the given commit on the branch - tags: - - branches - x-contentType: application/json - x-accepts: application/json - /repositories/{repository}/refs/{sourceRef}/merge/{destinationBranch}: - get: - operationId: findMergeBase - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - - description: source ref - explode: false - in: path - name: sourceRef - required: true - schema: - type: string - style: simple - - description: destination branch name - explode: false - in: path - name: destinationBranch - required: true - schema: - type: string - style: simple - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/FindMergeBaseResult' - description: Found the merge base - "400": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Validation Error - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: find the merge base for 2 references - tags: - - refs - x-accepts: application/json - post: - operationId: mergeIntoBranch - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - - description: source ref - explode: false - in: path - name: sourceRef - required: true - schema: - type: string - style: simple - - description: destination branch name - explode: false - in: path - name: destinationBranch - required: true - schema: - type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/Merge' - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/MergeResult' - description: merge completed - "400": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Validation Error - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "403": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Forbidden - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "409": - content: - application/json: - schema: - $ref: '#/components/schemas/MergeResult' - description: | - Conflict - Deprecated: content schema will return Error format and not an empty MergeResult - "412": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: precondition failed (e.g. a pre-merge hook returned a failure) - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: merge references - tags: - - refs - x-contentType: application/json - x-accepts: application/json - /repositories/{repository}/branches/{branch}/diff: - get: - operationId: diffBranch - parameters: - - description: return items after this value - explode: true - in: query - name: after - required: false - schema: - type: string - style: form - - description: how many items to return - explode: true - in: query - name: amount - required: false - schema: - default: 100 - maximum: 1000 - minimum: -1 - type: integer - style: form - - description: return items prefixed with this value - explode: true - in: query - name: prefix - required: false - schema: - type: string - style: form - - description: delimiter used to group common prefixes by - explode: true - in: query - name: delimiter - required: false - schema: - type: string - style: form - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - - explode: false - in: path - name: branch - required: true - schema: - type: string - style: simple - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/DiffList' - description: diff of branch uncommitted changes - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: diff branch - tags: - - branches - x-accepts: application/json - /repositories/{repository}/refs/{leftRef}/diff/{rightRef}: - get: - operationId: diffRefs - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - - description: a reference (could be either a branch or a commit ID) - explode: false - in: path - name: leftRef - required: true - schema: - type: string - style: simple - - description: a reference (could be either a branch or a commit ID) to compare - against - explode: false - in: path - name: rightRef - required: true - schema: - type: string - style: simple - - description: return items after this value - explode: true - in: query - name: after - required: false - schema: - type: string - style: form - - description: how many items to return - explode: true - in: query - name: amount - required: false - schema: - default: 100 - maximum: 1000 - minimum: -1 - type: integer - style: form - - description: return items prefixed with this value - explode: true - in: query - name: prefix - required: false - schema: - type: string - style: form - - description: delimiter used to group common prefixes by - explode: true - in: query - name: delimiter - required: false - schema: - type: string - style: form - - explode: true - in: query - name: type - required: false - schema: - default: three_dot - enum: - - two_dot - - three_dot - type: string - style: form - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/DiffList' - description: diff between refs - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: diff references - tags: - - refs - x-accepts: application/json - /repositories/{repository}/commits/{commitId}: - get: - operationId: getCommit - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - - explode: false - in: path - name: commitId - required: true - schema: - type: string - style: simple - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/Commit' - description: commit - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: get commit - tags: - - commits - x-accepts: application/json - /repositories/{repository}/refs/{ref}/objects: - get: - operationId: getObject - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - - description: a reference (could be either a branch or a commit ID) - explode: false - in: path - name: ref - required: true - schema: - type: string - style: simple - - description: relative to the ref - explode: true - in: query - name: path - required: true - schema: - type: string - style: form - - description: Byte range to retrieve - example: bytes=0-1023 - explode: false - in: header - name: Range - required: false - schema: - pattern: ^bytes=((\d*-\d*,? ?)+)$ - type: string - style: simple - - description: Returns response only if the object does not have a matching - ETag - example: 33a64df551425fcc55e4d42a148795d9f25f89d4 - explode: false - in: header - name: If-None-Match - required: false - schema: - type: string - style: simple - - explode: true - in: query - name: presign - required: false - schema: - type: boolean - style: form - responses: - "200": - content: - application/octet-stream: - schema: - format: binary - type: string - description: object content - headers: - Content-Length: - explode: false - schema: - format: int64 - type: integer - style: simple - Last-Modified: - explode: false - schema: - type: string - style: simple - ETag: - explode: false - schema: - type: string - style: simple - "206": - content: - application/octet-stream: - schema: - format: binary - type: string - description: partial object content - headers: - Content-Length: - explode: false - schema: - format: int64 - type: integer - style: simple - Content-Range: - explode: false - schema: - pattern: ^bytes=((\d*-\d*,? ?)+)$ - type: string - style: simple - Last-Modified: - explode: false - schema: - type: string - style: simple - ETag: - explode: false - schema: - type: string - style: simple - "302": - description: Redirect to a pre-signed URL for the object - headers: - Location: - explode: false - schema: - type: string - style: simple - "304": - description: Content not modified - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "410": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: object expired - "416": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Requested Range Not Satisfiable - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: get object content - tags: - - objects - x-accepts: application/json - head: - operationId: headObject - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - - description: a reference (could be either a branch or a commit ID) - explode: false - in: path - name: ref - required: true - schema: - type: string - style: simple - - description: relative to the ref - explode: true - in: query - name: path - required: true - schema: - type: string - style: form - - description: Byte range to retrieve - example: bytes=0-1023 - explode: false - in: header - name: Range - required: false - schema: - pattern: ^bytes=((\d*-\d*,? ?)+)$ - type: string - style: simple - responses: - "200": - description: object exists - headers: - Content-Length: - explode: false - schema: - format: int64 - type: integer - style: simple - Last-Modified: - explode: false - schema: - type: string - style: simple - ETag: - explode: false - schema: - type: string - style: simple - "206": - description: partial object content info - headers: - Content-Length: - explode: false - schema: - format: int64 - type: integer - style: simple - Content-Range: - explode: false - schema: - pattern: ^bytes=((\d*-\d*,? ?)+)$ - type: string - style: simple - Last-Modified: - explode: false - schema: - type: string - style: simple - ETag: - explode: false - schema: - type: string - style: simple - "401": - description: Unauthorized - "404": - description: object not found - "410": - description: object expired - "416": - description: Requested Range Not Satisfiable - "420": - description: too many requests - default: - description: internal server error - summary: check if object exists - tags: - - objects - x-accepts: application/json - /repositories/{repository}/branches/{branch}/staging/pmpu: - post: - description: | - Initiates a multipart upload and returns an upload ID with presigned URLs for each part (optional). - Part numbers starts with 1. Each part except the last one has minimum size depends on the underlying blockstore implementation. - For example working with S3 blockstore, minimum size is 5MB (excluding the last part). - operationId: createPresignMultipartUpload - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - - explode: false - in: path - name: branch - required: true - schema: - type: string - style: simple - - description: relative to the branch - explode: true - in: query - name: path - required: true - schema: - type: string - style: form - - description: number of presigned URL parts required to upload - explode: true - in: query - name: parts - required: false - schema: - type: integer - style: form - responses: - "201": - content: - application/json: - schema: - $ref: '#/components/schemas/PresignMultipartUpload' - description: Presign multipart upload initiated - "400": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Bad Request - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: Initiate a multipart upload - tags: - - experimental - x-accepts: application/json - /repositories/{repository}/branches/{branch}/staging/pmpu/{uploadId}: - delete: - description: Aborts a presign multipart upload. - operationId: abortPresignMultipartUpload - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - - explode: false - in: path - name: branch - required: true - schema: - type: string - style: simple - - explode: false - in: path - name: uploadId - required: true - schema: - type: string - style: simple - - description: relative to the branch - explode: true - in: query - name: path - required: true - schema: - type: string - style: form - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/AbortPresignMultipartUpload' - responses: - "204": - description: Presign multipart upload aborted - "400": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Bad Request - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: Abort a presign multipart upload - tags: - - experimental - x-contentType: application/json - x-accepts: application/json - put: - description: Completes a presign multipart upload by assembling the uploaded - parts. - operationId: completePresignMultipartUpload - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - - explode: false - in: path - name: branch - required: true - schema: - type: string - style: simple - - explode: false - in: path - name: uploadId - required: true - schema: - type: string - style: simple - - description: relative to the branch - explode: true - in: query - name: path - required: true - schema: - type: string - style: form - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/CompletePresignMultipartUpload' - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/ObjectStats' - description: Presign multipart upload completed - "400": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Bad Request - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "409": - content: - application/json: - schema: - $ref: '#/components/schemas/StagingLocation' - description: conflict with a commit, try here - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: Complete a presign multipart upload request - tags: - - experimental - x-contentType: application/json - x-accepts: application/json - /repositories/{repository}/branches/{branch}/staging/backing: - get: - operationId: getPhysicalAddress - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - - explode: false - in: path - name: branch - required: true - schema: - type: string - style: simple - - description: relative to the branch - explode: true - in: query - name: path - required: true - schema: - type: string - style: form - - explode: true - in: query - name: presign - required: false - schema: - type: boolean - style: form - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/StagingLocation' - description: physical address for staging area - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: generate an address to which the client can upload an object - tags: - - staging - x-accepts: application/json - put: - description: | - Link the physical address with the path in lakeFS, creating an uncommitted change. - The given address can be one generated by getPhysicalAddress, or an address outside the repository's storage namespace. - operationId: linkPhysicalAddress - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - - explode: false - in: path - name: branch - required: true - schema: - type: string - style: simple - - description: relative to the branch - explode: true - in: query - name: path - required: true - schema: - type: string - style: form - - description: Set to "*" to atomically allow the upload only if the key has - no object yet. Other values are not supported. - example: '*' - explode: false - in: header - name: If-None-Match - required: false - schema: - type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/StagingMetadata' - required: true - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/ObjectStats' - description: object metadata - "400": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Validation Error - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "403": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Forbidden - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - "409": - content: - application/json: - schema: - $ref: '#/components/schemas/StagingLocation' - description: conflict with a commit, try here - "412": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Precondition Failed - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: associate staging on this physical address with a path - tags: - - staging - x-contentType: application/json - x-accepts: application/json - /repositories/{repository}/branches/{branch}/import: - delete: - operationId: importCancel - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - - explode: false - in: path - name: branch - required: true - schema: - type: string - style: simple - - description: Unique identifier of the import process - explode: true - in: query - name: id - required: true - schema: - type: string - style: form - responses: - "204": - description: import canceled successfully - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "403": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Forbidden - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "409": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Conflicts With Target - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: cancel ongoing import - tags: - - import - x-accepts: application/json - get: - operationId: importStatus - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - - explode: false - in: path - name: branch - required: true - schema: - type: string - style: simple - - description: Unique identifier of the import process - explode: true - in: query - name: id - required: true - schema: - type: string - style: form - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/ImportStatus' - description: import status - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: get import status - tags: - - import - x-accepts: application/json - post: - operationId: importStart - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - - explode: false - in: path - name: branch - required: true - schema: - type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/ImportCreation' - required: true - responses: - "202": - content: - application/json: - schema: - $ref: '#/components/schemas/ImportCreationResponse' - description: Import started - "400": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Validation Error - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "403": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Forbidden - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: import data from object store - tags: - - import - x-contentType: application/json - x-accepts: application/json - /repositories/{repository}/branches/{branch}/objects/stage_allowed: - get: - operationId: uploadObjectPreflight - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - - explode: false - in: path - name: branch - required: true - schema: - type: string - style: simple - - description: relative to the branch - explode: true - in: query - name: path - required: true - schema: - type: string - style: form - responses: - "204": - description: User has permissions to upload this object. This does not guarantee - that the upload will be successful or even possible. It indicates only - the permission at the time of calling this endpoint - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "403": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Forbidden - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - tags: - - internal - x-accepts: application/json - /repositories/{repository}/branches/{branch}/objects: - delete: - operationId: deleteObject - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - - explode: false - in: path - name: branch - required: true - schema: - type: string - style: simple - - description: relative to the branch - explode: true - in: query - name: path - required: true - schema: - type: string - style: form - - explode: true - in: query - name: force - required: false - schema: - default: false - type: boolean - style: form - responses: - "204": - description: object deleted successfully - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "403": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Forbidden - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: delete object. Missing objects will not return a NotFound error. - tags: - - objects - x-accepts: application/json - post: - operationId: uploadObject - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - - explode: false - in: path - name: branch - required: true - schema: - type: string - style: simple - - description: relative to the branch - explode: true - in: query - name: path - required: true - schema: - type: string - style: form - - description: Set to "*" to atomically allow the upload only if the key has - no object yet. Other values are not supported. - example: '*' - explode: false - in: header - name: If-None-Match - required: false - schema: - type: string - style: simple - - deprecated: true - description: Deprecated, this capability will not be supported in future releases. - explode: true - in: query - name: storageClass - required: false - schema: - type: string - style: form - - explode: true - in: query - name: force - required: false - schema: - default: false - type: boolean - style: form - requestBody: - $ref: '#/components/requestBodies/inline_object' - content: - multipart/form-data: - schema: - properties: - content: - description: Only a single file per upload which must be named "content". - format: binary - type: string - type: object - application/octet-stream: - schema: - format: binary - type: string - responses: - "201": - content: - application/json: - schema: - $ref: '#/components/schemas/ObjectStats' - description: object metadata - "400": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Validation Error - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "403": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Forbidden - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "412": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Precondition Failed - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - tags: - - objects - x-validation-exclude-body: true - x-contentType: multipart/form-data - x-accepts: application/json - put: - deprecated: true - operationId: stageObject - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - - explode: false - in: path - name: branch - required: true - schema: - type: string - style: simple - - description: relative to the branch - explode: true - in: query - name: path - required: true - schema: - type: string - style: form - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/ObjectStageCreation' - required: true - responses: - "201": - content: - application/json: - schema: - $ref: '#/components/schemas/ObjectStats' - description: object metadata - "400": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Validation Error - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "403": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Forbidden - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: stage an object's metadata for the given branch - tags: - - internal - x-contentType: application/json - x-accepts: application/json - /repositories/{repository}/branches/{branch}/objects/delete: - post: - operationId: deleteObjects - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - - explode: false - in: path - name: branch - required: true - schema: - type: string - style: simple - - explode: true - in: query - name: force - required: false - schema: - default: false - type: boolean - style: form - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/PathList' - required: true - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/ObjectErrorList' - description: Delete objects response - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "403": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Forbidden - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: delete objects. Missing objects will not return a NotFound error. - tags: - - objects - x-contentType: application/json - x-accepts: application/json - /repositories/{repository}/branches/{branch}/objects/copy: - post: - operationId: copyObject - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - - description: destination branch for the copy - explode: false - in: path - name: branch - required: true - schema: - type: string - style: simple - - description: destination path relative to the branch - explode: true - in: query - name: dest_path - required: true - schema: - type: string - style: form - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/ObjectCopyCreation' - required: true - responses: - "201": - content: - application/json: - schema: - $ref: '#/components/schemas/ObjectStats' - description: Copy object response - "400": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Validation Error - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "403": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Forbidden - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: create a copy of an object - tags: - - objects - x-contentType: application/json - x-accepts: application/json - /repositories/{repository}/refs/{ref}/objects/stat: - get: - operationId: statObject - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - - description: a reference (could be either a branch or a commit ID) - explode: false - in: path - name: ref - required: true - schema: - type: string - style: simple - - description: relative to the branch - explode: true - in: query - name: path - required: true - schema: - type: string - style: form - - explode: true - in: query - name: user_metadata - required: false - schema: - default: true - type: boolean - style: form - - explode: true - in: query - name: presign - required: false - schema: - type: boolean - style: form - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/ObjectStats' - description: object metadata - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "400": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Bad Request - "410": - description: object gone (but partial metadata may be available) - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: get object metadata - tags: - - objects - x-accepts: application/json - /repositories/{repository}/branches/{branch}/objects/stat/user_metadata: - put: - operationId: updateObjectUserMetadata - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - - description: branch to update - explode: false - in: path - name: branch - required: true - schema: - type: string - style: simple - - description: path to object relative to the branch - explode: true - in: query - name: path - required: true - schema: - type: string - style: form - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/UpdateObjectUserMetadata' - required: true - responses: - "201": - description: User metadata updated - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "400": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Bad Request - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: rewrite (all) object metadata - tags: - - objects - - experimental - x-contentType: application/json - x-accepts: application/json - /repositories/{repository}/refs/{ref}/objects/underlyingProperties: - get: - operationId: getUnderlyingProperties - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - - description: a reference (could be either a branch or a commit ID) - explode: false - in: path - name: ref - required: true - schema: - type: string - style: simple - - description: relative to the branch - explode: true - in: query - name: path - required: true - schema: - type: string - style: form - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/UnderlyingObjectProperties' - description: object metadata on underlying storage - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: get object properties on underlying storage - tags: - - objects - x-accepts: application/json - /repositories/{repository}/refs/{ref}/objects/ls: - get: - operationId: listObjects - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - - description: a reference (could be either a branch or a commit ID) - explode: false - in: path - name: ref - required: true - schema: - type: string - style: simple - - explode: true - in: query - name: user_metadata - required: false - schema: - default: true - type: boolean - style: form - - explode: true - in: query - name: presign - required: false - schema: - type: boolean - style: form - - description: return items after this value - explode: true - in: query - name: after - required: false - schema: - type: string - style: form - - description: how many items to return - explode: true - in: query - name: amount - required: false - schema: - default: 100 - maximum: 1000 - minimum: -1 - type: integer - style: form - - description: delimiter used to group common prefixes by - explode: true - in: query - name: delimiter - required: false - schema: - type: string - style: form - - description: return items prefixed with this value - explode: true - in: query - name: prefix - required: false - schema: - type: string - style: form - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/ObjectStatsList' - description: object listing - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: list objects under a given prefix - tags: - - objects - x-accepts: application/json - /repositories/{repository}/refs/{branch}/symlink: - post: - operationId: createSymlinkFile - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - - explode: false - in: path - name: branch - required: true - schema: - type: string - style: simple - - description: path to the table data - explode: true - in: query - name: location - required: false - schema: - type: string - style: form - responses: - "201": - content: - application/json: - schema: - $ref: '#/components/schemas/StorageURI' - description: location created - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: creates symlink files corresponding to the given directory - tags: - - internal - x-accepts: application/json - /repositories/{repository}/actions/runs: - get: - operationId: listRepositoryRuns - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - - description: return items after this value - explode: true - in: query - name: after - required: false - schema: - type: string - style: form - - description: how many items to return - explode: true - in: query - name: amount - required: false - schema: - default: 100 - maximum: 1000 - minimum: -1 - type: integer - style: form - - explode: true - in: query - name: branch - required: false - schema: - type: string - style: form - - explode: true - in: query - name: commit - required: false - schema: - type: string - style: form - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/ActionRunList' - description: list action runs - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: list runs - tags: - - actions - x-accepts: application/json - /repositories/{repository}/actions/runs/{run_id}: - get: - operationId: getRun - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - - explode: false - in: path - name: run_id - required: true - schema: - type: string - style: simple - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/ActionRun' - description: action run result - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: get a run - tags: - - actions - x-accepts: application/json - /repositories/{repository}/actions/runs/{run_id}/hooks: - get: - operationId: listRunHooks - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - - explode: false - in: path - name: run_id - required: true - schema: - type: string - style: simple - - description: return items after this value - explode: true - in: query - name: after - required: false - schema: - type: string - style: form - - description: how many items to return - explode: true - in: query - name: amount - required: false - schema: - default: 100 - maximum: 1000 - minimum: -1 - type: integer - style: form - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/HookRunList' - description: list specific run hooks - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: list run hooks - tags: - - actions - x-accepts: application/json - /repositories/{repository}/actions/runs/{run_id}/hooks/{hook_run_id}/output: - get: - operationId: getRunHookOutput - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - - explode: false - in: path - name: run_id - required: true - schema: - type: string - style: simple - - explode: false - in: path - name: hook_run_id - required: true - schema: - type: string - style: simple - responses: - "200": - content: - application/octet-stream: - schema: - format: binary - type: string - description: run hook output - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: get run hook output - tags: - - actions - x-accepts: application/json - /repositories/{repository}/metadata/object/{type}/{object_id}: - get: - operationId: getMetadataObject - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - - explode: false - in: path - name: object_id - required: true - schema: - type: string - style: simple - - explode: false - in: path - name: type - required: true - schema: - enum: - - range - - meta_range - type: string - style: simple - - explode: true - in: query - name: presign - required: false - schema: - type: boolean - style: form - responses: - "200": - content: - application/octet-stream: - schema: - format: binary - type: string - description: object content - headers: - Content-Length: - explode: false - schema: - format: int64 - type: integer - style: simple - "302": - description: Redirect to a pre-signed URL for the object - headers: - Location: - explode: false - schema: - type: string - style: simple - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: return a lakeFS metadata object by ID - tags: - - internal - x-accepts: application/json - /repositories/{repository}/metadata/meta_range/{meta_range}: - get: - operationId: getMetaRange - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - - explode: false - in: path - name: meta_range - required: true - schema: - type: string - style: simple - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/StorageURI' - description: meta-range URI - headers: - Location: - description: redirect to S3 - explode: false - schema: - type: string - style: simple - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: return URI to a meta-range file - tags: - - metadata - x-accepts: application/json - /repositories/{repository}/metadata/range/{range}: - get: - operationId: getRange - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - - explode: false - in: path - name: range - required: true - schema: - type: string - style: simple - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/StorageURI' - description: range URI - headers: - Location: - description: redirect to S3 - explode: false - schema: - type: string - style: simple - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: return URI to a range file - tags: - - metadata - x-accepts: application/json - /repositories/{repository}/gc/rules/set_allowed: - get: - operationId: setGarbageCollectionRulesPreflight - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - responses: - "204": - description: User has permissions to set garbage collection rules on this - repository - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - tags: - - internal - x-accepts: application/json - /repositories/{repository}/gc/rules: - delete: - deprecated: true - operationId: internalDeleteGarbageCollectionRules - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - responses: - "204": - description: deleted garbage collection rules successfully - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - tags: - - internal - x-accepts: application/json - get: - deprecated: true - operationId: internalGetGarbageCollectionRules - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/GarbageCollectionRules' - description: gc rule list - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - tags: - - internal - x-accepts: application/json - post: - deprecated: true - operationId: internalSetGarbageCollectionRules - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/GarbageCollectionRules' - required: true - responses: - "204": - description: set garbage collection rules successfully - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - tags: - - internal - x-contentType: application/json - x-accepts: application/json - /repositories/{repository}/gc/prepare_commits: - post: - operationId: prepareGarbageCollectionCommits - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - responses: - "201": - content: - application/json: - schema: - $ref: '#/components/schemas/GarbageCollectionPrepareResponse' - description: paths to commit dataset - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "403": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Forbidden - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: save lists of active commits for garbage collection - tags: - - internal - x-accepts: application/json - /repositories/{repository}/gc/prepare_uncommited: - post: - operationId: prepareGarbageCollectionUncommitted - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/PrepareGCUncommittedRequest' - responses: - "201": - content: - application/json: - schema: - $ref: '#/components/schemas/PrepareGCUncommittedResponse' - description: paths to commit dataset - "400": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Validation Error - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "403": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Forbidden - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: save repository uncommitted metadata for garbage collection - tags: - - internal - x-contentType: application/json - x-accepts: application/json - /repositories/{repository}/branch_protection/set_allowed: - get: - operationId: createBranchProtectionRulePreflight - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - responses: - "204": - description: User has permissions to create a branch protection rule in - this repository - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "409": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Conflicts With Target - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - tags: - - internal - x-accepts: application/json - /repositories/{repository}/branch_protection: - delete: - deprecated: true - operationId: internalDeleteBranchProtectionRule - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - requestBody: - $ref: '#/components/requestBodies/inline_object_1' - content: - application/json: - schema: - properties: - pattern: - type: string - required: - - pattern - type: object - required: true - responses: - "204": - description: branch protection rule deleted successfully - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - tags: - - internal - x-contentType: application/json - x-accepts: application/json - get: - deprecated: true - operationId: internalGetBranchProtectionRules - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - responses: - "200": - content: - application/json: - schema: - items: - $ref: '#/components/schemas/BranchProtectionRule' - type: array - description: branch protection rules - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: get branch protection rules - tags: - - internal - x-accepts: application/json - post: - deprecated: true - operationId: internalCreateBranchProtectionRule - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/BranchProtectionRule' - required: true - responses: - "204": - description: branch protection rule created successfully - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - tags: - - internal - x-contentType: application/json - x-accepts: application/json - /repositories/{repository}/pulls: - get: - operationId: listPullRequests - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - - description: return items prefixed with this value - explode: true - in: query - name: prefix - required: false - schema: - type: string - style: form - - description: return items after this value - explode: true - in: query - name: after - required: false - schema: - type: string - style: form - - description: how many items to return - explode: true - in: query - name: amount - required: false - schema: - default: 100 - maximum: 1000 - minimum: -1 - type: integer - style: form - - explode: true - in: query - name: status - required: false - schema: - default: all - description: filter pull requests by status - enum: - - open - - closed - - all - type: string - style: form - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/PullRequestsList' - description: list of pull requests - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: list pull requests - tags: - - pulls - - experimental - x-accepts: application/json - post: - operationId: createPullRequest - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/PullRequestCreation' - required: true - responses: - "201": - content: - application/json: - schema: - $ref: '#/components/schemas/PullRequestCreationResponse' - description: pull request created - "400": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Validation Error - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "403": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Forbidden - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "409": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Conflicts With Target - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: create pull request - tags: - - pulls - - experimental - x-contentType: application/json - x-accepts: application/json - /repositories/{repository}/pulls/{pull_request}: - get: - operationId: getPullRequest - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - - description: pull request id - explode: false - in: path - name: pull_request - required: true - schema: - type: string - style: simple - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/PullRequest' - description: pull request - "400": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Validation Error - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: get pull request - tags: - - pulls - - experimental - x-accepts: application/json - patch: - operationId: updatePullRequest - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - - description: pull request id - explode: false - in: path - name: pull_request - required: true - schema: - type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/PullRequestBasic' - required: true - responses: - "200": - description: pull request updated successfully - "400": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Validation Error - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "403": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Forbidden - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: update pull request - tags: - - pulls - - experimental - x-contentType: application/json - x-accepts: application/json - /repositories/{repository}/pulls/{pull_request}/merge: - put: - operationId: mergePullRequest - parameters: - - explode: false - in: path - name: repository - required: true - schema: - type: string - style: simple - - description: pull request id - explode: false - in: path - name: pull_request - required: true - schema: - type: string - style: simple - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/MergeResult' - description: merge completed - "400": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Validation Error - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "403": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Forbidden - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "409": - content: - application/json: - schema: - $ref: '#/components/schemas/MergeResult' - description: | - Conflict - Deprecated: content schema will return Error format and not an empty MergeResult - "412": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: precondition failed (e.g. a pre-merge hook returned a failure) - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: merge pull request - tags: - - pulls - - experimental - x-accepts: application/json - /healthcheck: - get: - description: check that the API server is up and running - operationId: healthCheck - responses: - "204": - description: NoContent - security: [] - tags: - - healthCheck - x-accepts: application/json - /config: - get: - description: retrieve lakeFS configuration - operationId: getConfig - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/Config' - description: lakeFS configuration - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - tags: - - config - x-accepts: application/json - /config/version: - get: - deprecated: true - description: get version of lakeFS server - operationId: getLakeFSVersion - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/VersionConfig' - description: lakeFS version - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - tags: - - internal - x-accepts: application/json - /config/storage: - get: - deprecated: true - description: retrieve lakeFS storage configuration - operationId: getStorageConfig - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/StorageConfig' - description: lakeFS storage configuration - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - tags: - - internal - x-accepts: application/json - /config/garbage-collection: - get: - description: get information of gc settings - operationId: getGarbageCollectionConfig - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/GarbageCollectionConfig' - description: lakeFS garbage collection config - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - tags: - - internal - x-accepts: application/json - /statistics: - post: - operationId: postStatsEvents - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/StatsEventsList' - required: true - responses: - "204": - description: reported successfully - "400": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Bad Request - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: post stats events, this endpoint is meant for internal use only - tags: - - internal - x-contentType: application/json - x-accepts: application/json - /usage-report/summary: - get: - operationId: getUsageReportSummary - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/InstallationUsageReport' - application/text: - schema: - type: string - description: Usage report - "400": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Bad Request - "401": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - "404": - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - "420": - description: too many requests - default: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - summary: get usage report summary - tags: - - internal - x-accepts: application/json -components: - parameters: - PaginationPrefix: - description: return items prefixed with this value - explode: true - in: query - name: prefix - required: false - schema: - type: string - style: form - PaginationAfter: - description: return items after this value - explode: true - in: query - name: after - required: false - schema: - type: string - style: form - PaginationAmount: - description: how many items to return - explode: true - in: query - name: amount - required: false - schema: - default: 100 - maximum: 1000 - minimum: -1 - type: integer - style: form - PaginationDelimiter: - description: delimiter used to group common prefixes by - explode: true - in: query - name: delimiter - required: false - schema: - type: string - style: form - IfNoneMatch: - description: Set to "*" to atomically allow the upload only if the key has no - object yet. Other values are not supported. - example: '*' - explode: false - in: header - name: If-None-Match - required: false - schema: - type: string - style: simple - requestBodies: - inline_object_1: - content: - application/json: - schema: - $ref: '#/components/schemas/inline_object_1' - required: true - inline_object: - content: - multipart/form-data: - schema: - $ref: '#/components/schemas/inline_object' - application/octet-stream: - schema: - $ref: '#/components/schemas/inline_object' - responses: - NotFoundOrNoACL: - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorNoACL' - description: Group not found, or group found but has no ACL - Unauthorized: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Unauthorized - ServerError: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Internal Server Error - NotFound: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Not Found - Conflict: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Resource Conflicts With Target - PreconditionFailed: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Precondition Failed - BadRequest: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Bad Request - Forbidden: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Forbidden - ValidationError: - content: - application/json: - schema: - $ref: '#/components/schemas/Error' - description: Validation Error - schemas: - Pagination: - example: - max_per_page: 0 - has_more: true - next_offset: next_offset - results: 0 - properties: - has_more: - description: Next page is available - type: boolean - next_offset: - description: Token used to retrieve the next page - type: string - results: - description: Number of values found in the results - minimum: 0 - type: integer - max_per_page: - description: Maximal number of entries per page - minimum: 0 - type: integer - required: - - has_more - - max_per_page - - next_offset - - results - type: object - Repository: - example: - read_only: true - default_branch: default_branch - id: id - creation_date: 0 - storage_namespace: storage_namespace - properties: - id: - type: string - creation_date: - description: Unix Epoch in seconds - format: int64 - type: integer - default_branch: - type: string - storage_namespace: - description: Filesystem URI to store the underlying data in (e.g. "s3://my-bucket/some/path/") - type: string - read_only: - description: Whether the repository is a read-only repository- not relevant - for bare repositories - type: boolean - required: - - creation_date - - default_branch - - id - - storage_namespace - type: object - RepositoryMetadata: - additionalProperties: - type: string - type: object - RepositoryMetadataSet: - example: - metadata: - key: metadata - properties: - metadata: - additionalProperties: - type: string - type: object - required: - - metadata - type: object - RepositoryMetadataKeys: - example: - keys: - - keys - - keys - properties: - keys: - items: - description: metadata key - type: string - type: array - required: - - keys - type: object - RepositoryList: - example: - pagination: - max_per_page: 0 - has_more: true - next_offset: next_offset - results: 0 - results: - - read_only: true - default_branch: default_branch - id: id - creation_date: 0 - storage_namespace: storage_namespace - - read_only: true - default_branch: default_branch - id: id - creation_date: 0 - storage_namespace: storage_namespace - properties: - pagination: - $ref: '#/components/schemas/Pagination' - results: - items: - $ref: '#/components/schemas/Repository' - type: array - required: - - pagination - - results - type: object - FindMergeBaseResult: - example: - destination_commit_id: destination_commit_id - base_commit_id: base_commit_id - source_commit_id: source_commit_id - properties: - source_commit_id: - description: The commit ID of the merge source - type: string - destination_commit_id: - description: The commit ID of the merge destination - type: string - base_commit_id: - description: The commit ID of the merge base - type: string - required: - - base_commit_id - - destination_commit_id - - source_commit_id - type: object - MergeResult: - example: - reference: reference - properties: - reference: - type: string - required: - - reference - type: object - RepositoryCreation: - example: - sample_data: true - read_only: true - name: name - default_branch: main - storage_namespace: s3://example-bucket/ - properties: - name: - pattern: ^[a-z0-9][a-z0-9-]{2,62}$ - type: string - storage_namespace: - description: Filesystem URI to store the underlying data in (e.g. "s3://my-bucket/some/path/") - example: s3://example-bucket/ - pattern: ^(s3|gs|https?|mem|local|transient)://.*$ - type: string - default_branch: - example: main - type: string - sample_data: - default: false - example: true - type: boolean - read_only: - default: false - example: true - type: boolean - required: - - name - - storage_namespace - type: object - PathList: - example: - paths: - - paths - - paths - properties: - paths: - items: - description: Object path - type: string - type: array - required: - - paths - type: object - ObjectStats: - example: - physical_address: physical_address - path: path - metadata: - key: metadata - size_bytes: 6 - content_type: content_type - physical_address_expiry: 0 - checksum: checksum - path_type: common_prefix - mtime: 1 - properties: - path: - type: string - path_type: - enum: - - common_prefix - - object - type: string - physical_address: - description: | - The location of the object on the underlying object store. - Formatted as a native URI with the object store type as scheme ("s3://...", "gs://...", etc.) - Or, in the case of presign=true, will be an HTTP URL to be consumed via regular HTTP GET - type: string - physical_address_expiry: - description: | - If present and nonzero, physical_address is a pre-signed URL and - will expire at this Unix Epoch time. This will be shorter than - the pre-signed URL lifetime if an authentication token is about - to expire. - - This field is *optional*. - format: int64 - type: integer - checksum: - type: string - size_bytes: - description: | - The number of bytes in the object. lakeFS always populates this - field when returning ObjectStats. This field is optional _for - the client_ to supply, for instance on upload. - format: int64 - type: integer - mtime: - description: Unix Epoch in seconds - format: int64 - type: integer - metadata: - additionalProperties: - type: string - type: object - content_type: - description: Object media type - type: string - required: - - checksum - - mtime - - path - - path_type - - physical_address - type: object - ObjectStatsList: - example: - pagination: - max_per_page: 0 - has_more: true - next_offset: next_offset - results: 0 - results: - - physical_address: physical_address - path: path - metadata: - key: metadata - size_bytes: 6 - content_type: content_type - physical_address_expiry: 0 - checksum: checksum - path_type: common_prefix - mtime: 1 - - physical_address: physical_address - path: path - metadata: - key: metadata - size_bytes: 6 - content_type: content_type - physical_address_expiry: 0 - checksum: checksum - path_type: common_prefix - mtime: 1 - properties: - pagination: - $ref: '#/components/schemas/Pagination' - results: - items: - $ref: '#/components/schemas/ObjectStats' - type: array - required: - - pagination - - results - type: object - UpdateObjectUserMetadata: - example: - set: - key: set - properties: - set: - additionalProperties: - type: string - type: object - required: - - set - type: object - ObjectCopyCreation: - example: - force: false - src_path: src_path - src_ref: src_ref - properties: - src_path: - description: path of the copied object relative to the ref - type: string - src_ref: - description: a reference, if empty uses the provided branch as ref - type: string - force: - default: false - type: boolean - required: - - src_path - type: object - ObjectStageCreation: - example: - physical_address: physical_address - metadata: - key: metadata - size_bytes: 0 - content_type: content_type - checksum: checksum - force: false - mtime: 6 - properties: - physical_address: - type: string - checksum: - type: string - size_bytes: - format: int64 - type: integer - mtime: - description: Unix Epoch in seconds - format: int64 - type: integer - metadata: - additionalProperties: - type: string - type: object - content_type: - description: Object media type - type: string - force: - default: false - type: boolean - required: - - checksum - - physical_address - - size_bytes - type: object - ObjectUserMetadata: - additionalProperties: - type: string - type: object - UnderlyingObjectProperties: - example: - storage_class: storage_class - properties: - storage_class: - nullable: true - type: string - type: object - Ref: - example: - id: id - commit_id: commit_id - properties: - id: - type: string - commit_id: - type: string - required: - - commit_id - - id - type: object - RefList: - example: - pagination: - max_per_page: 0 - has_more: true - next_offset: next_offset - results: 0 - results: - - id: id - commit_id: commit_id - - id: id - commit_id: commit_id - properties: - pagination: - $ref: '#/components/schemas/Pagination' - results: - items: - $ref: '#/components/schemas/Ref' - type: array - required: - - pagination - - results - type: object - Diff: - example: - path: path - size_bytes: 0 - path_type: common_prefix - type: added - properties: - type: - enum: - - added - - removed - - changed - - conflict - - prefix_changed - type: string - path: - type: string - path_type: - enum: - - common_prefix - - object - type: string - size_bytes: - description: represents the size of the added/changed/deleted entry - format: int64 - type: integer - required: - - path - - path_type - - type - type: object - DiffList: - example: - pagination: - max_per_page: 0 - has_more: true - next_offset: next_offset - results: 0 - results: - - path: path - size_bytes: 0 - path_type: common_prefix - type: added - - path: path - size_bytes: 0 - path_type: common_prefix - type: added - properties: - pagination: - $ref: '#/components/schemas/Pagination' - results: - items: - $ref: '#/components/schemas/Diff' - type: array - required: - - pagination - - results - type: object - ResetCreation: - example: - path: path - force: false - type: object - properties: - type: - description: What to reset according to path. - enum: - - object - - common_prefix - - reset - type: string - path: - type: string - force: - default: false - type: boolean - required: - - type - type: object - CommitOverrides: - example: - metadata: - key: metadata - message: message - properties: - message: - description: replace the commit message - type: string - metadata: - additionalProperties: - type: string - description: replace the metadata of the commit - type: object - type: object - RevertCreation: - example: - commit_overrides: - metadata: - key: metadata - message: message - ref: ref - parent_number: 0 - force: false - allow_empty: false - properties: - ref: - description: the commit to revert, given by a ref - type: string - commit_overrides: - $ref: '#/components/schemas/CommitOverrides' - parent_number: - description: when reverting a merge commit, the parent number (starting - from 1) relative to which to perform the revert. - type: integer - force: - default: false - type: boolean - allow_empty: - default: false - description: allow empty commit (revert without changes) - type: boolean - required: - - parent_number - - ref - type: object - CherryPickCreation: - example: - commit_overrides: - metadata: - key: metadata - message: message - ref: ref - parent_number: 0 - force: false - properties: - ref: - description: the commit to cherry-pick, given by a ref - type: string - parent_number: - description: | - When cherry-picking a merge commit, the parent number (starting from 1) with which to perform the diff. - The default branch is parent 1. - type: integer - commit_overrides: - $ref: '#/components/schemas/CommitOverrides' - force: - default: false - type: boolean - required: - - ref - type: object - Commit: - example: - generation: 6 - metadata: - key: metadata - committer: committer - id: id - creation_date: 0 - meta_range_id: meta_range_id - message: message - version: 0 - parents: - - parents - - parents - properties: - id: - type: string - parents: - items: - type: string - type: array - committer: - type: string - message: - type: string - creation_date: - description: Unix Epoch in seconds - format: int64 - type: integer - meta_range_id: - type: string - metadata: - additionalProperties: - type: string - type: object - generation: - format: int64 - type: integer - version: - maximum: 1 - minimum: 0 - type: integer - required: - - committer - - creation_date - - id - - message - - meta_range_id - - parents - type: object - CommitList: - example: - pagination: - max_per_page: 0 - has_more: true - next_offset: next_offset - results: 0 - results: - - generation: 6 - metadata: - key: metadata - committer: committer - id: id - creation_date: 0 - meta_range_id: meta_range_id - message: message - version: 0 - parents: - - parents - - parents - - generation: 6 - metadata: - key: metadata - committer: committer - id: id - creation_date: 0 - meta_range_id: meta_range_id - message: message - version: 0 - parents: - - parents - - parents - properties: - pagination: - $ref: '#/components/schemas/Pagination' - results: - items: - $ref: '#/components/schemas/Commit' - type: array - required: - - pagination - - results - type: object - CommitCreation: - example: - date: 0 - metadata: - key: metadata - force: false - message: message - allow_empty: false - properties: - message: - type: string - metadata: - additionalProperties: - type: string - type: object - date: - description: set date to override creation date in the commit (Unix Epoch - in seconds) - format: int64 - type: integer - allow_empty: - default: false - description: sets whether a commit can contain no changes - type: boolean - force: - default: false - type: boolean - required: - - message - type: object - CommitRecordCreation: - example: - generation: 1 - metadata: - key: metadata - committer: committer - metarange_id: metarange_id - force: false - creation_date: 6 - message: message - commit_id: commit_id - version: 0 - parents: - - parents - - parents - properties: - commit_id: - description: id of the commit record - type: string - version: - description: version of the commit record - maximum: 1 - minimum: 0 - type: integer - committer: - description: committer of the commit record - type: string - message: - description: message of the commit record - type: string - metarange_id: - description: metarange_id of the commit record - type: string - creation_date: - description: Unix Epoch in seconds - format: int64 - type: integer - parents: - description: parents of the commit record - items: - type: string - type: array - metadata: - additionalProperties: - type: string - description: metadata of the commit record - type: object - generation: - description: generation of the commit record - format: int64 - type: integer - force: - default: false - type: boolean - required: - - commit_id - - committer - - creation_date - - generation - - message - - metarange_id - - parents - - version - type: object - Merge: - example: - metadata: - key: metadata - force: false - message: message - strategy: strategy - allow_empty: false - properties: - message: - type: string - metadata: - additionalProperties: - type: string - type: object - strategy: - description: In case of a merge conflict, this option will force the merge - process to automatically favor changes from the dest branch ('dest-wins') - or from the source branch('source-wins'). In case no selection is made, - the merge process will fail in case of a conflict - type: string - force: - default: false - description: Allow merge into a read-only branch or into a branch with the - same content - type: boolean - allow_empty: - default: false - description: Allow merge when the branches have the same content - type: boolean - type: object - BranchCreation: - example: - name: name - force: false - source: source - properties: - name: - type: string - source: - type: string - force: - default: false - type: boolean - required: - - name - - source - type: object - TagCreation: - description: Make tag ID point at this REF. - example: - ref: ref - force: false - id: id - properties: - id: - description: ID of tag to create - type: string - ref: - description: the commit to tag - type: string - force: - default: false - type: boolean - required: - - id - - ref - type: object - TaskInfo: - example: - id: id - properties: - id: - description: ID of the task - type: string - required: - - id - type: object - RepositoryDumpStatus: - example: - update_time: 2000-01-23T04:56:07.000+00:00 - refs: - tags_meta_range_id: tags_meta_range_id - branches_meta_range_id: branches_meta_range_id - commits_meta_range_id: commits_meta_range_id - id: id - error: error - done: true - properties: - id: - description: ID of the task - type: string - done: - type: boolean - update_time: - format: date-time - type: string - error: - type: string - refs: - $ref: '#/components/schemas/RefsDump' - required: - - done - - id - - update_time - type: object - RepositoryRestoreStatus: - example: - update_time: 2000-01-23T04:56:07.000+00:00 - id: id - error: error - done: true - properties: - id: - description: ID of the task - type: string - done: - type: boolean - update_time: - format: date-time - type: string - error: - type: string - required: - - done - - id - - update_time - type: object - RefsDump: - example: - tags_meta_range_id: tags_meta_range_id - branches_meta_range_id: branches_meta_range_id - commits_meta_range_id: commits_meta_range_id - properties: - commits_meta_range_id: - type: string - tags_meta_range_id: - type: string - branches_meta_range_id: - type: string - required: - - branches_meta_range_id - - commits_meta_range_id - - tags_meta_range_id - type: object - RefsRestore: - example: - tags_meta_range_id: tags_meta_range_id - branches_meta_range_id: branches_meta_range_id - force: false - commits_meta_range_id: commits_meta_range_id - properties: - commits_meta_range_id: - type: string - tags_meta_range_id: - type: string - branches_meta_range_id: - type: string - force: - default: false - type: boolean - required: - - branches_meta_range_id - - commits_meta_range_id - - tags_meta_range_id - type: object - StorageURI: - description: URI to a path in a storage provider (e.g. "s3://bucket1/path/to/object") - example: - location: location - properties: - location: - type: string - required: - - location - type: object - Error: - example: - message: message - properties: - message: - description: short message explaining the error - type: string - required: - - message - type: object - ObjectError: - example: - path: path - status_code: 0 - message: message - properties: - status_code: - description: HTTP status code associated for operation on path - type: integer - message: - description: short message explaining status_code - type: string - path: - description: affected path - type: string - required: - - message - - status_code - type: object - ObjectErrorList: - example: - errors: - - path: path - status_code: 0 - message: message - - path: path - status_code: 0 - message: message - properties: - errors: - items: - $ref: '#/components/schemas/ObjectError' - type: array - required: - - errors - type: object - ErrorNoACL: - properties: - message: - description: short message explaining the error - type: string - no_acl: - description: true if the group exists but has no ACL - type: boolean - required: - - message - type: object - User: - example: - friendly_name: friendly_name - id: id - creation_date: 0 - email: email - properties: - id: - description: A unique identifier for the user. Cannot be edited. - type: string - creation_date: - description: Unix Epoch in seconds - format: int64 - type: integer - friendly_name: - description: | - A shorter name for the user than the id. Unlike id it does not identify the user (it - might not be unique). Used in some places in the UI. - type: string - email: - description: "The email address of the user. If API authentication is enabled,\ - \ this field is mandatory and will be invited to login.\nIf API authentication\ - \ is disabled, this field will be ignored. All current APIAuthenticators\ - \ require the email to be \nlowercase and unique, although custom authenticators\ - \ may not enforce this.\n" - type: string - required: - - creation_date - - id - type: object - CurrentUser: - example: - user: - friendly_name: friendly_name - id: id - creation_date: 0 - email: email - properties: - user: - $ref: '#/components/schemas/User' - required: - - user - type: object - UserCreation: - example: - invite_user: true - id: id - properties: - id: - description: a unique identifier for the user. - type: string - invite_user: - type: boolean - required: - - id - type: object - LoginConfig: - example: - login_failed_message: login_failed_message - logout_url: logout_url - login_url: login_url - RBAC: none - fallback_login_url: fallback_login_url - login_cookie_names: - - login_cookie_names - - login_cookie_names - fallback_login_label: fallback_login_label - properties: - RBAC: - description: | - RBAC will remain enabled on GUI if "external". That only works - with an external auth service. - enum: - - none - - simplified - - external - type: string - login_url: - description: primary URL to use for login. - type: string - login_failed_message: - description: | - message to display to users who fail to login; a full sentence that is rendered - in HTML and may contain a link to a secondary login method - type: string - fallback_login_url: - description: secondary URL to offer users to use for login. - type: string - fallback_login_label: - description: label to place on fallback_login_url. - type: string - login_cookie_names: - description: cookie names used to store JWT - items: - type: string - type: array - logout_url: - description: URL to use for logging out. - type: string - required: - - login_cookie_names - - login_url - - logout_url - type: object - SetupState: - example: - login_config: - login_failed_message: login_failed_message - logout_url: logout_url - login_url: login_url - RBAC: none - fallback_login_url: fallback_login_url - login_cookie_names: - - login_cookie_names - - login_cookie_names - fallback_login_label: fallback_login_label - state: initialized - comm_prefs_missing: true - properties: - state: - enum: - - initialized - - not_initialized - type: string - comm_prefs_missing: - description: true if the comm prefs are missing. - type: boolean - login_config: - $ref: '#/components/schemas/LoginConfig' - type: object - AccessKeyCredentials: - example: - access_key_id: AKIAIOSFODNN7EXAMPLE - secret_access_key: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY - properties: - access_key_id: - description: access key ID to set for user for use in integration testing. - example: AKIAIOSFODNN7EXAMPLE - minLength: 1 - type: string - secret_access_key: - description: secret access key to set for user for use in integration testing. - example: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY - minLength: 1 - type: string - required: - - access_key_id - - secret_access_key - type: object - Setup: - example: - key: - access_key_id: AKIAIOSFODNN7EXAMPLE - secret_access_key: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY - username: username - properties: - username: - description: an identifier for the user (e.g. jane.doe) - type: string - key: - $ref: '#/components/schemas/AccessKeyCredentials' - required: - - username - type: object - CommPrefsInput: - example: - featureUpdates: true - email: email - securityUpdates: true - properties: - email: - description: the provided email - type: string - featureUpdates: - description: user preference to receive feature updates - type: boolean - securityUpdates: - description: user preference to receive security updates - type: boolean - required: - - featureUpdates - - securityUpdates - type: object - Credentials: - example: - access_key_id: access_key_id - creation_date: 0 - properties: - access_key_id: - type: string - creation_date: - description: Unix Epoch in seconds - format: int64 - type: integer - required: - - access_key_id - - creation_date - type: object - CredentialsList: - example: - pagination: - max_per_page: 0 - has_more: true - next_offset: next_offset - results: 0 - results: - - access_key_id: access_key_id - creation_date: 0 - - access_key_id: access_key_id - creation_date: 0 - properties: - pagination: - $ref: '#/components/schemas/Pagination' - results: - items: - $ref: '#/components/schemas/Credentials' - type: array - required: - - pagination - - results - type: object - CredentialsWithSecret: - example: - access_key_id: access_key_id - secret_access_key: secret_access_key - creation_date: 0 - properties: - access_key_id: - type: string - secret_access_key: - type: string - creation_date: - description: Unix Epoch in seconds - format: int64 - type: integer - required: - - access_key_id - - creation_date - - secret_access_key - type: object - Group: - example: - name: name - id: id - creation_date: 0 - properties: - id: - type: string - name: - type: string - creation_date: - description: Unix Epoch in seconds - format: int64 - type: integer - required: - - creation_date - - id - type: object - GroupList: - example: - pagination: - max_per_page: 0 - has_more: true - next_offset: next_offset - results: 0 - results: - - name: name - id: id - creation_date: 0 - - name: name - id: id - creation_date: 0 - properties: - pagination: - $ref: '#/components/schemas/Pagination' - results: - items: - $ref: '#/components/schemas/Group' - type: array - required: - - pagination - - results - type: object - AuthCapabilities: - example: - invite_user: true - forgot_password: true - properties: - invite_user: - type: boolean - forgot_password: - type: boolean - type: object - UserList: - example: - pagination: - max_per_page: 0 - has_more: true - next_offset: next_offset - results: 0 - results: - - friendly_name: friendly_name - id: id - creation_date: 0 - email: email - - friendly_name: friendly_name - id: id - creation_date: 0 - email: email - properties: - pagination: - $ref: '#/components/schemas/Pagination' - results: - items: - $ref: '#/components/schemas/User' - type: array - required: - - pagination - - results - type: object - LoginInformation: - example: - access_key_id: access_key_id - secret_access_key: secret_access_key - properties: - access_key_id: - type: string - secret_access_key: - type: string - required: - - access_key_id - - secret_access_key - type: object - ExternalLoginInformation: - example: - identityRequest: '{}' - token_expiration_duration: 0 - properties: - token_expiration_duration: - type: integer - identityRequest: - type: object - required: - - identityRequest - type: object - StsAuthRequest: - example: - code: code - ttl_seconds: 0 - state: state - redirect_uri: redirect_uri - properties: - code: - type: string - state: - type: string - redirect_uri: - type: string - ttl_seconds: - description: | - The time-to-live for the generated token in seconds. The default - value is 3600 seconds (1 hour) maximum time allowed is 12 hours. - format: int64 - type: integer - required: - - code - - redirect_uri - - state - type: object - AuthenticationToken: - example: - token_expiration: 0 - token: token - properties: - token: - description: a JWT token that could be used to authenticate requests - type: string - token_expiration: - description: Unix Epoch in seconds - format: int64 - type: integer - required: - - token - type: object - GroupCreation: - example: - id: id - properties: - id: - type: string - required: - - id - type: object - Statement: - example: - resource: resource - effect: allow - action: - - action - - action - properties: - effect: - enum: - - allow - - deny - type: string - resource: - type: string - action: - items: - type: string - minItems: 1 - type: array - required: - - action - - effect - - resource - type: object - Policy: - example: - statement: - - resource: resource - effect: allow - action: - - action - - action - - resource: resource - effect: allow - action: - - action - - action - id: id - creation_date: 0 - properties: - id: - type: string - creation_date: - description: Unix Epoch in seconds - format: int64 - type: integer - statement: - items: - $ref: '#/components/schemas/Statement' - minItems: 1 - type: array - required: - - id - - statement - type: object - PolicyList: - example: - pagination: - max_per_page: 0 - has_more: true - next_offset: next_offset - results: 0 - results: - - statement: - - resource: resource - effect: allow - action: - - action - - action - - resource: resource - effect: allow - action: - - action - - action - id: id - creation_date: 0 - - statement: - - resource: resource - effect: allow - action: - - action - - action - - resource: resource - effect: allow - action: - - action - - action - id: id - creation_date: 0 - properties: - pagination: - $ref: '#/components/schemas/Pagination' - results: - items: - $ref: '#/components/schemas/Policy' - type: array - required: - - pagination - - results - type: object - ACL: - example: - permission: permission - properties: - permission: - description: | - Permission level to give this ACL. "Read", "Write", "Super" and - "Admin" are all supported. - type: string - required: - - permission - type: object - StorageConfig: - example: - pre_sign_multipart_upload: true - blockstore_namespace_example: blockstore_namespace_example - blockstore_namespace_ValidityRegex: blockstore_namespace_ValidityRegex - blockstore_type: blockstore_type - pre_sign_support_ui: true - import_support: true - import_validity_regex: import_validity_regex - default_namespace_prefix: default_namespace_prefix - pre_sign_support: true - properties: - blockstore_type: - type: string - blockstore_namespace_example: - type: string - blockstore_namespace_ValidityRegex: - type: string - default_namespace_prefix: - type: string - pre_sign_support: - type: boolean - pre_sign_support_ui: - type: boolean - import_support: - type: boolean - import_validity_regex: - type: string - pre_sign_multipart_upload: - type: boolean - required: - - blockstore_namespace_ValidityRegex - - blockstore_namespace_example - - blockstore_type - - import_support - - import_validity_regex - - pre_sign_support - - pre_sign_support_ui - type: object - Config: - example: - storage_config: - pre_sign_multipart_upload: true - blockstore_namespace_example: blockstore_namespace_example - blockstore_namespace_ValidityRegex: blockstore_namespace_ValidityRegex - blockstore_type: blockstore_type - pre_sign_support_ui: true - import_support: true - import_validity_regex: import_validity_regex - default_namespace_prefix: default_namespace_prefix - pre_sign_support: true - version_config: - latest_version: latest_version - version: version - upgrade_recommended: true - upgrade_url: upgrade_url - properties: - version_config: - $ref: '#/components/schemas/VersionConfig' - storage_config: - $ref: '#/components/schemas/StorageConfig' - type: object - VersionConfig: - example: - latest_version: latest_version - version: version - upgrade_recommended: true - upgrade_url: upgrade_url - properties: - version: - type: string - latest_version: - type: string - upgrade_recommended: - type: boolean - upgrade_url: - type: string - type: object - GarbageCollectionConfig: - example: - grace_period: 0 - properties: - grace_period: - description: Duration in seconds. Objects created in the recent grace_period - will not be collected. - type: integer - type: object - ActionRun: - example: - start_time: 2000-01-23T04:56:07.000+00:00 - run_id: run_id - event_type: event_type - end_time: 2000-01-23T04:56:07.000+00:00 - branch: branch - commit_id: commit_id - status: failed - properties: - run_id: - type: string - branch: - type: string - start_time: - format: date-time - type: string - end_time: - format: date-time - type: string - event_type: - type: string - status: - enum: - - failed - - completed - type: string - commit_id: - type: string - required: - - branch - - commit_id - - event_type - - run_id - - start_time - - status - type: object - ActionRunList: - example: - pagination: - max_per_page: 0 - has_more: true - next_offset: next_offset - results: 0 - results: - - start_time: 2000-01-23T04:56:07.000+00:00 - run_id: run_id - event_type: event_type - end_time: 2000-01-23T04:56:07.000+00:00 - branch: branch - commit_id: commit_id - status: failed - - start_time: 2000-01-23T04:56:07.000+00:00 - run_id: run_id - event_type: event_type - end_time: 2000-01-23T04:56:07.000+00:00 - branch: branch - commit_id: commit_id - status: failed - properties: - pagination: - $ref: '#/components/schemas/Pagination' - results: - items: - $ref: '#/components/schemas/ActionRun' - type: array - required: - - pagination - - results - type: object - HookRun: - example: - start_time: 2000-01-23T04:56:07.000+00:00 - hook_id: hook_id - end_time: 2000-01-23T04:56:07.000+00:00 - action: action - hook_run_id: hook_run_id - status: failed - properties: - hook_run_id: - type: string - action: - type: string - hook_id: - type: string - start_time: - format: date-time - type: string - end_time: - format: date-time - type: string - status: - enum: - - failed - - completed - type: string - required: - - action - - hook_id - - hook_run_id - - start_time - - status - type: object - HookRunList: - example: - pagination: - max_per_page: 0 - has_more: true - next_offset: next_offset - results: 0 - results: - - start_time: 2000-01-23T04:56:07.000+00:00 - hook_id: hook_id - end_time: 2000-01-23T04:56:07.000+00:00 - action: action - hook_run_id: hook_run_id - status: failed - - start_time: 2000-01-23T04:56:07.000+00:00 - hook_id: hook_id - end_time: 2000-01-23T04:56:07.000+00:00 - action: action - hook_run_id: hook_run_id - status: failed - properties: - pagination: - $ref: '#/components/schemas/Pagination' - results: - items: - $ref: '#/components/schemas/HookRun' - type: array - required: - - pagination - - results - type: object - StagingLocation: - description: location for placing an object when staging it - example: - physical_address: physical_address - presigned_url: presigned_url - presigned_url_expiry: 0 - properties: - physical_address: - type: string - presigned_url: - description: if presign=true is passed in the request, this field will contain - a pre-signed URL to use when uploading - nullable: true - type: string - presigned_url_expiry: - description: | - If present and nonzero, physical_address is a pre-signed URL and - will expire at this Unix Epoch time. This will be shorter than - the pre-signed URL lifetime if an authentication token is about - to expire. - - This field is *optional*. - format: int64 - type: integer - type: object - StagingMetadata: - description: information about uploaded object - example: - size_bytes: 0 - user_metadata: - key: user_metadata - content_type: content_type - checksum: checksum - force: false - mtime: 6 - staging: - physical_address: physical_address - presigned_url: presigned_url - presigned_url_expiry: 0 - properties: - staging: - $ref: '#/components/schemas/StagingLocation' - checksum: - description: unique identifier of object content on backing store (typically - ETag) - type: string - size_bytes: - format: int64 - type: integer - user_metadata: - additionalProperties: - type: string - type: object - content_type: - description: Object media type - type: string - mtime: - description: Unix Epoch in seconds. May be ignored by server. - format: int64 - type: integer - force: - default: false - type: boolean - required: - - checksum - - size_bytes - - staging - type: object - GarbageCollectionPrepareResponse: - example: - run_id: 64eaa103-d726-4a33-bcb8-7c0b4abfe09e - gc_addresses_location: s3://my-storage-namespace/_lakefs/retention/addresses - gc_commits_location: s3://my-storage-namespace/_lakefs/retention/commits - gc_commits_presigned_url: gc_commits_presigned_url - properties: - run_id: - description: a unique identifier generated for this GC job - example: 64eaa103-d726-4a33-bcb8-7c0b4abfe09e - type: string - gc_commits_location: - description: location of the resulting commits csv table (partitioned by - run_id) - example: s3://my-storage-namespace/_lakefs/retention/commits - type: string - gc_addresses_location: - description: location to use for expired addresses parquet table (partitioned - by run_id) - example: s3://my-storage-namespace/_lakefs/retention/addresses - type: string - gc_commits_presigned_url: - description: a presigned url to download the commits csv - type: string - required: - - gc_addresses_location - - gc_commits_location - - run_id - type: object - PrepareGCUncommittedRequest: - example: - continuation_token: continuation_token - properties: - continuation_token: - type: string - type: object - PrepareGCUncommittedResponse: - example: - continuation_token: continuation_token - run_id: run_id - gc_uncommitted_location: gc_uncommitted_location - properties: - run_id: - type: string - gc_uncommitted_location: - description: location of uncommitted information data - type: string - continuation_token: - type: string - required: - - gc_uncommitted_location - - run_id - type: object - GarbageCollectionRule: - example: - branch_id: branch_id - retention_days: 6 - properties: - branch_id: - type: string - retention_days: - type: integer - required: - - branch_id - - retention_days - type: object - GarbageCollectionRules: - example: - branches: - - branch_id: branch_id - retention_days: 6 - - branch_id: branch_id - retention_days: 6 - default_retention_days: 0 - properties: - default_retention_days: - type: integer - branches: - items: - $ref: '#/components/schemas/GarbageCollectionRule' - type: array - required: - - branches - - default_retention_days - type: object - BranchProtectionRule: - example: - pattern: stable_* - properties: - pattern: - description: fnmatch pattern for the branch name, supporting * and ? wildcards - example: stable_* - minLength: 1 - type: string - required: - - pattern - type: object - ImportLocation: - properties: - type: - description: Path type, can either be 'common_prefix' or 'object' - enum: - - common_prefix - - object - type: string - path: - description: A source location to a 'common_prefix' or to a single object. - Must match the lakeFS installation blockstore type. - example: s3://my-bucket/production/collections/ - type: string - destination: - description: | - Destination for the imported objects on the branch. Must be a relative path to the branch. - If the type is an 'object', the destination is the exact object name under the branch. - If the type is a 'common_prefix', the destination is the prefix under the branch. - example: collections/ - type: string - required: - - destination - - path - - type - type: object - ImportCreation: - example: - paths: - - path: s3://my-bucket/production/collections/ - destination: collections/ - type: common_prefix - - path: s3://my-bucket/production/collections/file1 - destination: collections/file1 - type: object - properties: - paths: - items: - $ref: '#/components/schemas/ImportLocation' - type: array - commit: - $ref: '#/components/schemas/CommitCreation' - force: - default: false - type: boolean - required: - - commit - - paths - type: object - RangeMetadata: - properties: - id: - description: ID of the range. - example: 480e19972a6fbe98ab8e81ae5efdfd1a29037587e91244e87abd4adefffdb01c - type: string - min_key: - description: First key in the range. - example: production/collections/some/file_1.parquet - type: string - max_key: - description: Last key in the range. - example: production/collections/some/file_8229.parquet - type: string - count: - description: Number of records in the range. - type: integer - estimated_size: - description: Estimated size of the range in bytes - type: integer - required: - - count - - estimated_size - - id - - max_key - - min_key - type: object - ImportStatus: - example: - update_time: 2000-01-23T04:56:07.000+00:00 - metarange_id: metarange_id - ingested_objects: 0 - commit: - generation: 6 - metadata: - key: metadata - committer: committer - id: id - creation_date: 0 - meta_range_id: meta_range_id - message: message - version: 0 - parents: - - parents - - parents - completed: true - error: - message: message - properties: - completed: - type: boolean - update_time: - format: date-time - type: string - ingested_objects: - description: Number of objects processed so far - format: int64 - type: integer - metarange_id: - type: string - commit: - $ref: '#/components/schemas/Commit' - error: - $ref: '#/components/schemas/Error' - required: - - completed - - update_time - type: object - ImportCreationResponse: - example: - id: id - properties: - id: - description: The id of the import process - type: string - required: - - id - type: object - MetaRangeCreation: - properties: - ranges: - items: - $ref: '#/components/schemas/RangeMetadata' - minItems: 1 - type: array - required: - - ranges - type: object - MetaRangeCreationResponse: - properties: - id: - description: The id of the created metarange - type: string - type: object - UpdateToken: - properties: - staging_token: - type: string - required: - - staging_token - type: object - StatsEvent: - example: - name: name - count: 0 - class: class - properties: - class: - description: stats event class (e.g. "s3_gateway", "openapi_request", "experimental-feature", - "ui-event") - type: string - name: - description: stats event name (e.g. "put_object", "create_repository", "") - type: string - count: - description: number of events of the class and name - type: integer - required: - - class - - count - - name - type: object - StatsEventsList: - example: - events: - - name: name - count: 0 - class: class - - name: name - count: 0 - class: class - properties: - events: - items: - $ref: '#/components/schemas/StatsEvent' - type: array - required: - - events - type: object - PresignMultipartUpload: - example: - physical_address: physical_address - upload_id: upload_id - presigned_urls: - - presigned_urls - - presigned_urls - properties: - upload_id: - type: string - physical_address: - type: string - presigned_urls: - items: - type: string - type: array - required: - - physical_address - - upload_id - type: object - UploadPart: - example: - part_number: 0 - etag: etag - properties: - part_number: - type: integer - etag: - type: string - required: - - etag - - part_number - type: object - CompletePresignMultipartUpload: - example: - physical_address: physical_address - user_metadata: - key: user_metadata - content_type: content_type - parts: - - part_number: 0 - etag: etag - - part_number: 0 - etag: etag - properties: - physical_address: - type: string - parts: - description: List of uploaded parts, should be ordered by ascending part - number - items: - $ref: '#/components/schemas/UploadPart' - type: array - user_metadata: - additionalProperties: - type: string - type: object - content_type: - description: Object media type - type: string - required: - - parts - - physical_address - type: object - AbortPresignMultipartUpload: - example: - physical_address: physical_address - properties: - physical_address: - type: string - required: - - physical_address - type: object - UsageReport: - example: - month: 6 - year: 0 - count: 1 - properties: - year: - type: integer - month: - type: integer - count: - format: int64 - type: integer - required: - - count - - month - - year - type: object - InstallationUsageReport: - example: - reports: - - month: 6 - year: 0 - count: 1 - - month: 6 - year: 0 - count: 1 - installation_id: installation_id - properties: - installation_id: - type: string - reports: - items: - $ref: '#/components/schemas/UsageReport' - type: array - required: - - installation_id - - reports - type: object - ExternalPrincipalList: - example: - pagination: - max_per_page: 0 - has_more: true - next_offset: next_offset - results: 0 - results: - - settings: - - null - - null - user_id: user_id - id: id - - settings: - - null - - null - user_id: user_id - id: id - properties: - pagination: - $ref: '#/components/schemas/Pagination' - results: - items: - $ref: '#/components/schemas/ExternalPrincipal' - type: array - required: - - pagination - - results - type: object - ExternalPrincipalSettings: - additionalProperties: - type: string - description: Additional settings to be consumed by the remote authenticator - type: object - ExternalPrincipalCreation: - example: - settings: - - null - - null - properties: - settings: - items: - $ref: '#/components/schemas/ExternalPrincipalSettings' - type: array - type: object - ExternalPrincipal: - example: - settings: - - null - - null - user_id: user_id - id: id - properties: - id: - description: A unique identifier for the external principal i.e aws:sts::123:assumed-role/role-name - type: string - user_id: - description: | - lakeFS user ID to associate with an external principal. - type: string - settings: - items: - $ref: '#/components/schemas/ExternalPrincipalSettings' - type: array - required: - - id - - user_id - type: object - PullRequestBasic: - example: - description: description - title: title - status: open - properties: - status: - enum: - - open - - closed - - merged - type: string - title: - type: string - description: - type: string - type: object - PullRequest: - allOf: - - $ref: '#/components/schemas/PullRequestBasic' - - required: - - description - - status - - title - - $ref: '#/components/schemas/PullRequest_allOf' - PullRequestsList: - example: - pagination: - max_per_page: 0 - has_more: true - next_offset: next_offset - results: 0 - results: - - null - - null - properties: - pagination: - $ref: '#/components/schemas/Pagination' - results: - items: - $ref: '#/components/schemas/PullRequest' - type: array - required: - - pagination - - results - type: object - PullRequestCreation: - example: - destination_branch: destination_branch - description: description - title: title - source_branch: source_branch - properties: - title: - type: string - description: - type: string - source_branch: - type: string - destination_branch: - type: string - required: - - destination_branch - - source_branch - - title - type: object - PullRequestCreationResponse: - example: - id: id - properties: - id: - description: ID of the pull request - type: string - required: - - id - type: object - inline_object: - properties: - content: - description: Only a single file per upload which must be named "content". - format: binary - type: string - type: object - inline_object_1: - properties: - pattern: - type: string - required: - - pattern - type: object - PullRequest_allOf: - properties: - id: - type: string - creation_date: - format: date-time - type: string - author: - type: string - source_branch: - type: string - destination_branch: - type: string - merged_commit_id: - description: the commit id of merged PRs - type: string - closed_date: - format: date-time - type: string - required: - - author - - creation_date - - destination_branch - - id - - source_branch - type: object - securitySchemes: - basic_auth: - scheme: basic - type: http - jwt_token: - bearerFormat: JWT - scheme: bearer - type: http - cookie_auth: - in: cookie - name: internal_auth_session - type: apiKey - oidc_auth: - in: cookie - name: oidc_auth_session - type: apiKey - saml_auth: - in: cookie - name: saml_auth_session - type: apiKey - diff --git a/clients/java-legacy/build.gradle b/clients/java-legacy/build.gradle deleted file mode 100644 index ffef9fffd9a..00000000000 --- a/clients/java-legacy/build.gradle +++ /dev/null @@ -1,123 +0,0 @@ -apply plugin: 'idea' -apply plugin: 'eclipse' -apply plugin: 'java' - -group = 'io.lakefs' -version = '0.1.0-SNAPSHOT' - -buildscript { - repositories { - mavenCentral() - } - dependencies { - classpath 'com.android.tools.build:gradle:2.3.+' - classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5' - } -} - -repositories { - mavenCentral() -} -sourceSets { - main.java.srcDirs = ['src/main/java'] -} - -if(hasProperty('target') && target == 'android') { - - apply plugin: 'com.android.library' - apply plugin: 'com.github.dcendents.android-maven' - - android { - compileSdkVersion 25 - buildToolsVersion '25.0.2' - defaultConfig { - minSdkVersion 14 - targetSdkVersion 25 - } - compileOptions { - sourceCompatibility JavaVersion.VERSION_1_8 - targetCompatibility JavaVersion.VERSION_1_8 - } - - // Rename the aar correctly - libraryVariants.all { variant -> - variant.outputs.each { output -> - def outputFile = output.outputFile - if (outputFile != null && outputFile.name.endsWith('.aar')) { - def fileName = "${project.name}-${variant.baseName}-${version}.aar" - output.outputFile = new File(outputFile.parent, fileName) - } - } - } - - dependencies { - provided "jakarta.annotation:jakarta.annotation-api:$jakarta_annotation_version" - } - } - - afterEvaluate { - android.libraryVariants.all { variant -> - def task = project.tasks.create "jar${variant.name.capitalize()}", Jar - task.description = "Create jar artifact for ${variant.name}" - task.dependsOn variant.javaCompile - task.from variant.javaCompile.destinationDir - task.destinationDir = project.file("${project.buildDir}/outputs/jar") - task.archiveName = "${project.name}-${variant.baseName}-${version}.jar" - artifacts.add('archives', task); - } - } - - task sourcesJar(type: Jar) { - from android.sourceSets.main.java.srcDirs - classifier = 'sources' - } - - artifacts { - archives sourcesJar - } - -} else { - - apply plugin: 'java' - apply plugin: 'maven-publish' - - sourceCompatibility = JavaVersion.VERSION_1_8 - targetCompatibility = JavaVersion.VERSION_1_8 - - publishing { - publications { - maven(MavenPublication) { - artifactId = 'api-client' - from components.java - } - } - } - - task execute(type:JavaExec) { - main = System.getProperty('mainClass') - classpath = sourceSets.main.runtimeClasspath - } -} - -ext { - jakarta_annotation_version = "1.3.5" -} - -dependencies { - implementation 'io.swagger:swagger-annotations:1.5.24' - implementation "com.google.code.findbugs:jsr305:3.0.2" - implementation 'com.squareup.okhttp3:okhttp:4.9.1' - implementation 'com.squareup.okhttp3:logging-interceptor:4.9.1' - implementation 'com.google.code.gson:gson:2.8.6' - implementation 'io.gsonfire:gson-fire:1.8.4' - implementation 'org.openapitools:jackson-databind-nullable:0.2.1' - implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.10' - implementation 'org.threeten:threetenbp:1.4.3' - implementation "jakarta.annotation:jakarta.annotation-api:$jakarta_annotation_version" - testImplementation 'junit:junit:4.13.1' - testImplementation 'org.mockito:mockito-core:3.11.2' -} - -javadoc { - options.tags = [ "http.response.details:a:Http Response Details" ] -} diff --git a/clients/java-legacy/build.sbt b/clients/java-legacy/build.sbt deleted file mode 100644 index c2bb424c99d..00000000000 --- a/clients/java-legacy/build.sbt +++ /dev/null @@ -1,26 +0,0 @@ -lazy val root = (project in file(".")). - settings( - organization := "io.lakefs", - name := "api-client", - version := "0.1.0-SNAPSHOT", - scalaVersion := "2.11.4", - scalacOptions ++= Seq("-feature"), - javacOptions in compile ++= Seq("-Xlint:deprecation"), - publishArtifact in (Compile, packageDoc) := false, - resolvers += Resolver.mavenLocal, - libraryDependencies ++= Seq( - "io.swagger" % "swagger-annotations" % "1.5.24", - "com.squareup.okhttp3" % "okhttp" % "4.9.1", - "com.squareup.okhttp3" % "logging-interceptor" % "4.9.1", - "com.google.code.gson" % "gson" % "2.8.6", - "org.apache.commons" % "commons-lang3" % "3.10", - "org.openapitools" % "jackson-databind-nullable" % "0.2.1", - "org.threeten" % "threetenbp" % "1.4.3" % "compile", - "io.gsonfire" % "gson-fire" % "1.8.3" % "compile", - "jakarta.annotation" % "jakarta.annotation-api" % "1.3.5" % "compile", - "com.google.code.findbugs" % "jsr305" % "3.0.2" % "compile", - "jakarta.annotation" % "jakarta.annotation-api" % "1.3.5" % "compile", - "junit" % "junit" % "4.13.1" % "test", - "com.novocode" % "junit-interface" % "0.10" % "test" - ) - ) diff --git a/clients/java-legacy/docs/ACL.md b/clients/java-legacy/docs/ACL.md deleted file mode 100644 index 549df7fe41b..00000000000 --- a/clients/java-legacy/docs/ACL.md +++ /dev/null @@ -1,13 +0,0 @@ - - -# ACL - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**permission** | **String** | Permission level to give this ACL. \"Read\", \"Write\", \"Super\" and \"Admin\" are all supported. | - - - diff --git a/clients/java-legacy/docs/AbortPresignMultipartUpload.md b/clients/java-legacy/docs/AbortPresignMultipartUpload.md deleted file mode 100644 index f4cedead352..00000000000 --- a/clients/java-legacy/docs/AbortPresignMultipartUpload.md +++ /dev/null @@ -1,13 +0,0 @@ - - -# AbortPresignMultipartUpload - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**physicalAddress** | **String** | | - - - diff --git a/clients/java-legacy/docs/AccessKeyCredentials.md b/clients/java-legacy/docs/AccessKeyCredentials.md deleted file mode 100644 index 9cf893ec2e1..00000000000 --- a/clients/java-legacy/docs/AccessKeyCredentials.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# AccessKeyCredentials - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**accessKeyId** | **String** | access key ID to set for user for use in integration testing. | -**secretAccessKey** | **String** | secret access key to set for user for use in integration testing. | - - - diff --git a/clients/java-legacy/docs/ActionRun.md b/clients/java-legacy/docs/ActionRun.md deleted file mode 100644 index 799b04a9449..00000000000 --- a/clients/java-legacy/docs/ActionRun.md +++ /dev/null @@ -1,28 +0,0 @@ - - -# ActionRun - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**runId** | **String** | | -**branch** | **String** | | -**startTime** | **OffsetDateTime** | | -**endTime** | **OffsetDateTime** | | [optional] -**eventType** | **String** | | -**status** | [**StatusEnum**](#StatusEnum) | | -**commitId** | **String** | | - - - -## Enum: StatusEnum - -Name | Value ----- | ----- -FAILED | "failed" -COMPLETED | "completed" - - - diff --git a/clients/java-legacy/docs/ActionRunList.md b/clients/java-legacy/docs/ActionRunList.md deleted file mode 100644 index 6e284fd2f39..00000000000 --- a/clients/java-legacy/docs/ActionRunList.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# ActionRunList - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**pagination** | [**Pagination**](Pagination.md) | | -**results** | [**List<ActionRun>**](ActionRun.md) | | - - - diff --git a/clients/java-legacy/docs/ActionsApi.md b/clients/java-legacy/docs/ActionsApi.md deleted file mode 100644 index 76e04a9bd9f..00000000000 --- a/clients/java-legacy/docs/ActionsApi.md +++ /dev/null @@ -1,400 +0,0 @@ -# ActionsApi - -All URIs are relative to *http://localhost/api/v1* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**getRun**](ActionsApi.md#getRun) | **GET** /repositories/{repository}/actions/runs/{run_id} | get a run -[**getRunHookOutput**](ActionsApi.md#getRunHookOutput) | **GET** /repositories/{repository}/actions/runs/{run_id}/hooks/{hook_run_id}/output | get run hook output -[**listRepositoryRuns**](ActionsApi.md#listRepositoryRuns) | **GET** /repositories/{repository}/actions/runs | list runs -[**listRunHooks**](ActionsApi.md#listRunHooks) | **GET** /repositories/{repository}/actions/runs/{run_id}/hooks | list run hooks - - - -# **getRun** -> ActionRun getRun(repository, runId) - -get a run - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.ActionsApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - ActionsApi apiInstance = new ActionsApi(defaultClient); - String repository = "repository_example"; // String | - String runId = "runId_example"; // String | - try { - ActionRun result = apiInstance.getRun(repository, runId); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ActionsApi#getRun"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - **runId** | **String**| | - -### Return type - -[**ActionRun**](ActionRun.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | action run result | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **getRunHookOutput** -> File getRunHookOutput(repository, runId, hookRunId) - -get run hook output - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.ActionsApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - ActionsApi apiInstance = new ActionsApi(defaultClient); - String repository = "repository_example"; // String | - String runId = "runId_example"; // String | - String hookRunId = "hookRunId_example"; // String | - try { - File result = apiInstance.getRunHookOutput(repository, runId, hookRunId); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ActionsApi#getRunHookOutput"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - **runId** | **String**| | - **hookRunId** | **String**| | - -### Return type - -[**File**](File.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/octet-stream, application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | run hook output | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **listRepositoryRuns** -> ActionRunList listRepositoryRuns(repository, after, amount, branch, commit) - -list runs - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.ActionsApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - ActionsApi apiInstance = new ActionsApi(defaultClient); - String repository = "repository_example"; // String | - String after = "after_example"; // String | return items after this value - Integer amount = 100; // Integer | how many items to return - String branch = "branch_example"; // String | - String commit = "commit_example"; // String | - try { - ActionRunList result = apiInstance.listRepositoryRuns(repository, after, amount, branch, commit); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ActionsApi#listRepositoryRuns"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - **after** | **String**| return items after this value | [optional] - **amount** | **Integer**| how many items to return | [optional] [default to 100] - **branch** | **String**| | [optional] - **commit** | **String**| | [optional] - -### Return type - -[**ActionRunList**](ActionRunList.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | list action runs | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **listRunHooks** -> HookRunList listRunHooks(repository, runId, after, amount) - -list run hooks - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.ActionsApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - ActionsApi apiInstance = new ActionsApi(defaultClient); - String repository = "repository_example"; // String | - String runId = "runId_example"; // String | - String after = "after_example"; // String | return items after this value - Integer amount = 100; // Integer | how many items to return - try { - HookRunList result = apiInstance.listRunHooks(repository, runId, after, amount); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ActionsApi#listRunHooks"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - **runId** | **String**| | - **after** | **String**| return items after this value | [optional] - **amount** | **Integer**| how many items to return | [optional] [default to 100] - -### Return type - -[**HookRunList**](HookRunList.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | list specific run hooks | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - diff --git a/clients/java-legacy/docs/AuthApi.md b/clients/java-legacy/docs/AuthApi.md deleted file mode 100644 index 536fd454137..00000000000 --- a/clients/java-legacy/docs/AuthApi.md +++ /dev/null @@ -1,3356 +0,0 @@ -# AuthApi - -All URIs are relative to *http://localhost/api/v1* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**addGroupMembership**](AuthApi.md#addGroupMembership) | **PUT** /auth/groups/{groupId}/members/{userId} | add group membership -[**attachPolicyToGroup**](AuthApi.md#attachPolicyToGroup) | **PUT** /auth/groups/{groupId}/policies/{policyId} | attach policy to group -[**attachPolicyToUser**](AuthApi.md#attachPolicyToUser) | **PUT** /auth/users/{userId}/policies/{policyId} | attach policy to user -[**createCredentials**](AuthApi.md#createCredentials) | **POST** /auth/users/{userId}/credentials | create credentials -[**createGroup**](AuthApi.md#createGroup) | **POST** /auth/groups | create group -[**createPolicy**](AuthApi.md#createPolicy) | **POST** /auth/policies | create policy -[**createUser**](AuthApi.md#createUser) | **POST** /auth/users | create user -[**createUserExternalPrincipal**](AuthApi.md#createUserExternalPrincipal) | **POST** /auth/users/{userId}/external/principals | attach external principal to user -[**deleteCredentials**](AuthApi.md#deleteCredentials) | **DELETE** /auth/users/{userId}/credentials/{accessKeyId} | delete credentials -[**deleteGroup**](AuthApi.md#deleteGroup) | **DELETE** /auth/groups/{groupId} | delete group -[**deleteGroupMembership**](AuthApi.md#deleteGroupMembership) | **DELETE** /auth/groups/{groupId}/members/{userId} | delete group membership -[**deletePolicy**](AuthApi.md#deletePolicy) | **DELETE** /auth/policies/{policyId} | delete policy -[**deleteUser**](AuthApi.md#deleteUser) | **DELETE** /auth/users/{userId} | delete user -[**deleteUserExternalPrincipal**](AuthApi.md#deleteUserExternalPrincipal) | **DELETE** /auth/users/{userId}/external/principals | delete external principal from user -[**detachPolicyFromGroup**](AuthApi.md#detachPolicyFromGroup) | **DELETE** /auth/groups/{groupId}/policies/{policyId} | detach policy from group -[**detachPolicyFromUser**](AuthApi.md#detachPolicyFromUser) | **DELETE** /auth/users/{userId}/policies/{policyId} | detach policy from user -[**externalPrincipalLogin**](AuthApi.md#externalPrincipalLogin) | **POST** /auth/external/principal/login | perform a login using an external authenticator -[**getCredentials**](AuthApi.md#getCredentials) | **GET** /auth/users/{userId}/credentials/{accessKeyId} | get credentials -[**getCurrentUser**](AuthApi.md#getCurrentUser) | **GET** /user | get current user -[**getExternalPrincipal**](AuthApi.md#getExternalPrincipal) | **GET** /auth/external/principals | describe external principal by id -[**getGroup**](AuthApi.md#getGroup) | **GET** /auth/groups/{groupId} | get group -[**getGroupACL**](AuthApi.md#getGroupACL) | **GET** /auth/groups/{groupId}/acl | get ACL of group -[**getPolicy**](AuthApi.md#getPolicy) | **GET** /auth/policies/{policyId} | get policy -[**getUser**](AuthApi.md#getUser) | **GET** /auth/users/{userId} | get user -[**listGroupMembers**](AuthApi.md#listGroupMembers) | **GET** /auth/groups/{groupId}/members | list group members -[**listGroupPolicies**](AuthApi.md#listGroupPolicies) | **GET** /auth/groups/{groupId}/policies | list group policies -[**listGroups**](AuthApi.md#listGroups) | **GET** /auth/groups | list groups -[**listPolicies**](AuthApi.md#listPolicies) | **GET** /auth/policies | list policies -[**listUserCredentials**](AuthApi.md#listUserCredentials) | **GET** /auth/users/{userId}/credentials | list user credentials -[**listUserExternalPrincipals**](AuthApi.md#listUserExternalPrincipals) | **GET** /auth/users/{userId}/external/principals/ls | list user external policies attached to a user -[**listUserGroups**](AuthApi.md#listUserGroups) | **GET** /auth/users/{userId}/groups | list user groups -[**listUserPolicies**](AuthApi.md#listUserPolicies) | **GET** /auth/users/{userId}/policies | list user policies -[**listUsers**](AuthApi.md#listUsers) | **GET** /auth/users | list users -[**login**](AuthApi.md#login) | **POST** /auth/login | perform a login -[**setGroupACL**](AuthApi.md#setGroupACL) | **POST** /auth/groups/{groupId}/acl | set ACL of group -[**updatePolicy**](AuthApi.md#updatePolicy) | **PUT** /auth/policies/{policyId} | update policy - - - -# **addGroupMembership** -> addGroupMembership(groupId, userId) - -add group membership - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.AuthApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - AuthApi apiInstance = new AuthApi(defaultClient); - String groupId = "groupId_example"; // String | - String userId = "userId_example"; // String | - try { - apiInstance.addGroupMembership(groupId, userId); - } catch (ApiException e) { - System.err.println("Exception when calling AuthApi#addGroupMembership"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **groupId** | **String**| | - **userId** | **String**| | - -### Return type - -null (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | membership added successfully | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **attachPolicyToGroup** -> attachPolicyToGroup(groupId, policyId) - -attach policy to group - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.AuthApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - AuthApi apiInstance = new AuthApi(defaultClient); - String groupId = "groupId_example"; // String | - String policyId = "policyId_example"; // String | - try { - apiInstance.attachPolicyToGroup(groupId, policyId); - } catch (ApiException e) { - System.err.println("Exception when calling AuthApi#attachPolicyToGroup"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **groupId** | **String**| | - **policyId** | **String**| | - -### Return type - -null (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | policy attached successfully | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **attachPolicyToUser** -> attachPolicyToUser(userId, policyId) - -attach policy to user - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.AuthApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - AuthApi apiInstance = new AuthApi(defaultClient); - String userId = "userId_example"; // String | - String policyId = "policyId_example"; // String | - try { - apiInstance.attachPolicyToUser(userId, policyId); - } catch (ApiException e) { - System.err.println("Exception when calling AuthApi#attachPolicyToUser"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **userId** | **String**| | - **policyId** | **String**| | - -### Return type - -null (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | policy attached successfully | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **createCredentials** -> CredentialsWithSecret createCredentials(userId) - -create credentials - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.AuthApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - AuthApi apiInstance = new AuthApi(defaultClient); - String userId = "userId_example"; // String | - try { - CredentialsWithSecret result = apiInstance.createCredentials(userId); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling AuthApi#createCredentials"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **userId** | **String**| | - -### Return type - -[**CredentialsWithSecret**](CredentialsWithSecret.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | credentials | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **createGroup** -> Group createGroup(groupCreation) - -create group - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.AuthApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - AuthApi apiInstance = new AuthApi(defaultClient); - GroupCreation groupCreation = new GroupCreation(); // GroupCreation | - try { - Group result = apiInstance.createGroup(groupCreation); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling AuthApi#createGroup"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **groupCreation** | [**GroupCreation**](GroupCreation.md)| | [optional] - -### Return type - -[**Group**](Group.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | group | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **createPolicy** -> Policy createPolicy(policy) - -create policy - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.AuthApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - AuthApi apiInstance = new AuthApi(defaultClient); - Policy policy = new Policy(); // Policy | - try { - Policy result = apiInstance.createPolicy(policy); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling AuthApi#createPolicy"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **policy** | [**Policy**](Policy.md)| | - -### Return type - -[**Policy**](Policy.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | policy | - | -**400** | Validation Error | - | -**401** | Unauthorized | - | -**409** | Resource Conflicts With Target | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **createUser** -> User createUser(userCreation) - -create user - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.AuthApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - AuthApi apiInstance = new AuthApi(defaultClient); - UserCreation userCreation = new UserCreation(); // UserCreation | - try { - User result = apiInstance.createUser(userCreation); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling AuthApi#createUser"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **userCreation** | [**UserCreation**](UserCreation.md)| | [optional] - -### Return type - -[**User**](User.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | user | - | -**400** | validation error | - | -**401** | Unauthorized | - | -**409** | Resource Conflicts With Target | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **createUserExternalPrincipal** -> createUserExternalPrincipal(userId, principalId, externalPrincipalCreation) - -attach external principal to user - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.AuthApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - AuthApi apiInstance = new AuthApi(defaultClient); - String userId = "userId_example"; // String | - String principalId = "principalId_example"; // String | - ExternalPrincipalCreation externalPrincipalCreation = new ExternalPrincipalCreation(); // ExternalPrincipalCreation | - try { - apiInstance.createUserExternalPrincipal(userId, principalId, externalPrincipalCreation); - } catch (ApiException e) { - System.err.println("Exception when calling AuthApi#createUserExternalPrincipal"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **userId** | **String**| | - **principalId** | **String**| | - **externalPrincipalCreation** | [**ExternalPrincipalCreation**](ExternalPrincipalCreation.md)| | [optional] - -### Return type - -null (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | external principal attached successfully | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**409** | Resource Conflicts With Target | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **deleteCredentials** -> deleteCredentials(userId, accessKeyId) - -delete credentials - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.AuthApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - AuthApi apiInstance = new AuthApi(defaultClient); - String userId = "userId_example"; // String | - String accessKeyId = "accessKeyId_example"; // String | - try { - apiInstance.deleteCredentials(userId, accessKeyId); - } catch (ApiException e) { - System.err.println("Exception when calling AuthApi#deleteCredentials"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **userId** | **String**| | - **accessKeyId** | **String**| | - -### Return type - -null (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | credentials deleted successfully | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **deleteGroup** -> deleteGroup(groupId) - -delete group - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.AuthApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - AuthApi apiInstance = new AuthApi(defaultClient); - String groupId = "groupId_example"; // String | - try { - apiInstance.deleteGroup(groupId); - } catch (ApiException e) { - System.err.println("Exception when calling AuthApi#deleteGroup"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **groupId** | **String**| | - -### Return type - -null (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | group deleted successfully | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **deleteGroupMembership** -> deleteGroupMembership(groupId, userId) - -delete group membership - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.AuthApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - AuthApi apiInstance = new AuthApi(defaultClient); - String groupId = "groupId_example"; // String | - String userId = "userId_example"; // String | - try { - apiInstance.deleteGroupMembership(groupId, userId); - } catch (ApiException e) { - System.err.println("Exception when calling AuthApi#deleteGroupMembership"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **groupId** | **String**| | - **userId** | **String**| | - -### Return type - -null (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | membership deleted successfully | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **deletePolicy** -> deletePolicy(policyId) - -delete policy - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.AuthApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - AuthApi apiInstance = new AuthApi(defaultClient); - String policyId = "policyId_example"; // String | - try { - apiInstance.deletePolicy(policyId); - } catch (ApiException e) { - System.err.println("Exception when calling AuthApi#deletePolicy"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **policyId** | **String**| | - -### Return type - -null (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | policy deleted successfully | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **deleteUser** -> deleteUser(userId) - -delete user - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.AuthApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - AuthApi apiInstance = new AuthApi(defaultClient); - String userId = "userId_example"; // String | - try { - apiInstance.deleteUser(userId); - } catch (ApiException e) { - System.err.println("Exception when calling AuthApi#deleteUser"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **userId** | **String**| | - -### Return type - -null (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | user deleted successfully | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **deleteUserExternalPrincipal** -> deleteUserExternalPrincipal(userId, principalId) - -delete external principal from user - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.AuthApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - AuthApi apiInstance = new AuthApi(defaultClient); - String userId = "userId_example"; // String | - String principalId = "principalId_example"; // String | - try { - apiInstance.deleteUserExternalPrincipal(userId, principalId); - } catch (ApiException e) { - System.err.println("Exception when calling AuthApi#deleteUserExternalPrincipal"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **userId** | **String**| | - **principalId** | **String**| | - -### Return type - -null (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | external principal detached successfully | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **detachPolicyFromGroup** -> detachPolicyFromGroup(groupId, policyId) - -detach policy from group - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.AuthApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - AuthApi apiInstance = new AuthApi(defaultClient); - String groupId = "groupId_example"; // String | - String policyId = "policyId_example"; // String | - try { - apiInstance.detachPolicyFromGroup(groupId, policyId); - } catch (ApiException e) { - System.err.println("Exception when calling AuthApi#detachPolicyFromGroup"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **groupId** | **String**| | - **policyId** | **String**| | - -### Return type - -null (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | policy detached successfully | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **detachPolicyFromUser** -> detachPolicyFromUser(userId, policyId) - -detach policy from user - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.AuthApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - AuthApi apiInstance = new AuthApi(defaultClient); - String userId = "userId_example"; // String | - String policyId = "policyId_example"; // String | - try { - apiInstance.detachPolicyFromUser(userId, policyId); - } catch (ApiException e) { - System.err.println("Exception when calling AuthApi#detachPolicyFromUser"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **userId** | **String**| | - **policyId** | **String**| | - -### Return type - -null (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | policy detached successfully | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **externalPrincipalLogin** -> AuthenticationToken externalPrincipalLogin(externalLoginInformation) - -perform a login using an external authenticator - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.AuthApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - AuthApi apiInstance = new AuthApi(defaultClient); - ExternalLoginInformation externalLoginInformation = new ExternalLoginInformation(); // ExternalLoginInformation | - try { - AuthenticationToken result = apiInstance.externalPrincipalLogin(externalLoginInformation); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling AuthApi#externalPrincipalLogin"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **externalLoginInformation** | [**ExternalLoginInformation**](ExternalLoginInformation.md)| | [optional] - -### Return type - -[**AuthenticationToken**](AuthenticationToken.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | successful external login | - | -**400** | Bad Request | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **getCredentials** -> Credentials getCredentials(userId, accessKeyId) - -get credentials - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.AuthApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - AuthApi apiInstance = new AuthApi(defaultClient); - String userId = "userId_example"; // String | - String accessKeyId = "accessKeyId_example"; // String | - try { - Credentials result = apiInstance.getCredentials(userId, accessKeyId); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling AuthApi#getCredentials"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **userId** | **String**| | - **accessKeyId** | **String**| | - -### Return type - -[**Credentials**](Credentials.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | credentials | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **getCurrentUser** -> CurrentUser getCurrentUser() - -get current user - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.AuthApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - AuthApi apiInstance = new AuthApi(defaultClient); - try { - CurrentUser result = apiInstance.getCurrentUser(); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling AuthApi#getCurrentUser"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**CurrentUser**](CurrentUser.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | user | - | - - -# **getExternalPrincipal** -> ExternalPrincipal getExternalPrincipal(principalId) - -describe external principal by id - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.AuthApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - AuthApi apiInstance = new AuthApi(defaultClient); - String principalId = "principalId_example"; // String | - try { - ExternalPrincipal result = apiInstance.getExternalPrincipal(principalId); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling AuthApi#getExternalPrincipal"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **principalId** | **String**| | - -### Return type - -[**ExternalPrincipal**](ExternalPrincipal.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | external principal | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **getGroup** -> Group getGroup(groupId) - -get group - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.AuthApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - AuthApi apiInstance = new AuthApi(defaultClient); - String groupId = "groupId_example"; // String | - try { - Group result = apiInstance.getGroup(groupId); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling AuthApi#getGroup"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **groupId** | **String**| | - -### Return type - -[**Group**](Group.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | group | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **getGroupACL** -> ACL getGroupACL(groupId) - -get ACL of group - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.AuthApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - AuthApi apiInstance = new AuthApi(defaultClient); - String groupId = "groupId_example"; // String | - try { - ACL result = apiInstance.getGroupACL(groupId); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling AuthApi#getGroupACL"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **groupId** | **String**| | - -### Return type - -[**ACL**](ACL.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | ACL of group | - | -**401** | Unauthorized | - | -**404** | Group not found, or group found but has no ACL | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **getPolicy** -> Policy getPolicy(policyId) - -get policy - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.AuthApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - AuthApi apiInstance = new AuthApi(defaultClient); - String policyId = "policyId_example"; // String | - try { - Policy result = apiInstance.getPolicy(policyId); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling AuthApi#getPolicy"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **policyId** | **String**| | - -### Return type - -[**Policy**](Policy.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | policy | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **getUser** -> User getUser(userId) - -get user - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.AuthApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - AuthApi apiInstance = new AuthApi(defaultClient); - String userId = "userId_example"; // String | - try { - User result = apiInstance.getUser(userId); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling AuthApi#getUser"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **userId** | **String**| | - -### Return type - -[**User**](User.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | user | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **listGroupMembers** -> UserList listGroupMembers(groupId, prefix, after, amount) - -list group members - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.AuthApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - AuthApi apiInstance = new AuthApi(defaultClient); - String groupId = "groupId_example"; // String | - String prefix = "prefix_example"; // String | return items prefixed with this value - String after = "after_example"; // String | return items after this value - Integer amount = 100; // Integer | how many items to return - try { - UserList result = apiInstance.listGroupMembers(groupId, prefix, after, amount); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling AuthApi#listGroupMembers"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **groupId** | **String**| | - **prefix** | **String**| return items prefixed with this value | [optional] - **after** | **String**| return items after this value | [optional] - **amount** | **Integer**| how many items to return | [optional] [default to 100] - -### Return type - -[**UserList**](UserList.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | group member list | - | -**401** | Unauthorized | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **listGroupPolicies** -> PolicyList listGroupPolicies(groupId, prefix, after, amount) - -list group policies - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.AuthApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - AuthApi apiInstance = new AuthApi(defaultClient); - String groupId = "groupId_example"; // String | - String prefix = "prefix_example"; // String | return items prefixed with this value - String after = "after_example"; // String | return items after this value - Integer amount = 100; // Integer | how many items to return - try { - PolicyList result = apiInstance.listGroupPolicies(groupId, prefix, after, amount); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling AuthApi#listGroupPolicies"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **groupId** | **String**| | - **prefix** | **String**| return items prefixed with this value | [optional] - **after** | **String**| return items after this value | [optional] - **amount** | **Integer**| how many items to return | [optional] [default to 100] - -### Return type - -[**PolicyList**](PolicyList.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | policy list | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **listGroups** -> GroupList listGroups(prefix, after, amount) - -list groups - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.AuthApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - AuthApi apiInstance = new AuthApi(defaultClient); - String prefix = "prefix_example"; // String | return items prefixed with this value - String after = "after_example"; // String | return items after this value - Integer amount = 100; // Integer | how many items to return - try { - GroupList result = apiInstance.listGroups(prefix, after, amount); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling AuthApi#listGroups"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **prefix** | **String**| return items prefixed with this value | [optional] - **after** | **String**| return items after this value | [optional] - **amount** | **Integer**| how many items to return | [optional] [default to 100] - -### Return type - -[**GroupList**](GroupList.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | group list | - | -**401** | Unauthorized | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **listPolicies** -> PolicyList listPolicies(prefix, after, amount) - -list policies - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.AuthApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - AuthApi apiInstance = new AuthApi(defaultClient); - String prefix = "prefix_example"; // String | return items prefixed with this value - String after = "after_example"; // String | return items after this value - Integer amount = 100; // Integer | how many items to return - try { - PolicyList result = apiInstance.listPolicies(prefix, after, amount); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling AuthApi#listPolicies"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **prefix** | **String**| return items prefixed with this value | [optional] - **after** | **String**| return items after this value | [optional] - **amount** | **Integer**| how many items to return | [optional] [default to 100] - -### Return type - -[**PolicyList**](PolicyList.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | policy list | - | -**401** | Unauthorized | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **listUserCredentials** -> CredentialsList listUserCredentials(userId, prefix, after, amount) - -list user credentials - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.AuthApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - AuthApi apiInstance = new AuthApi(defaultClient); - String userId = "userId_example"; // String | - String prefix = "prefix_example"; // String | return items prefixed with this value - String after = "after_example"; // String | return items after this value - Integer amount = 100; // Integer | how many items to return - try { - CredentialsList result = apiInstance.listUserCredentials(userId, prefix, after, amount); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling AuthApi#listUserCredentials"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **userId** | **String**| | - **prefix** | **String**| return items prefixed with this value | [optional] - **after** | **String**| return items after this value | [optional] - **amount** | **Integer**| how many items to return | [optional] [default to 100] - -### Return type - -[**CredentialsList**](CredentialsList.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | credential list | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **listUserExternalPrincipals** -> ExternalPrincipalList listUserExternalPrincipals(userId, prefix, after, amount) - -list user external policies attached to a user - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.AuthApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - AuthApi apiInstance = new AuthApi(defaultClient); - String userId = "userId_example"; // String | - String prefix = "prefix_example"; // String | return items prefixed with this value - String after = "after_example"; // String | return items after this value - Integer amount = 100; // Integer | how many items to return - try { - ExternalPrincipalList result = apiInstance.listUserExternalPrincipals(userId, prefix, after, amount); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling AuthApi#listUserExternalPrincipals"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **userId** | **String**| | - **prefix** | **String**| return items prefixed with this value | [optional] - **after** | **String**| return items after this value | [optional] - **amount** | **Integer**| how many items to return | [optional] [default to 100] - -### Return type - -[**ExternalPrincipalList**](ExternalPrincipalList.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | external principals list | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **listUserGroups** -> GroupList listUserGroups(userId, prefix, after, amount) - -list user groups - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.AuthApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - AuthApi apiInstance = new AuthApi(defaultClient); - String userId = "userId_example"; // String | - String prefix = "prefix_example"; // String | return items prefixed with this value - String after = "after_example"; // String | return items after this value - Integer amount = 100; // Integer | how many items to return - try { - GroupList result = apiInstance.listUserGroups(userId, prefix, after, amount); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling AuthApi#listUserGroups"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **userId** | **String**| | - **prefix** | **String**| return items prefixed with this value | [optional] - **after** | **String**| return items after this value | [optional] - **amount** | **Integer**| how many items to return | [optional] [default to 100] - -### Return type - -[**GroupList**](GroupList.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | group list | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **listUserPolicies** -> PolicyList listUserPolicies(userId, prefix, after, amount, effective) - -list user policies - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.AuthApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - AuthApi apiInstance = new AuthApi(defaultClient); - String userId = "userId_example"; // String | - String prefix = "prefix_example"; // String | return items prefixed with this value - String after = "after_example"; // String | return items after this value - Integer amount = 100; // Integer | how many items to return - Boolean effective = false; // Boolean | will return all distinct policies attached to the user or any of its groups - try { - PolicyList result = apiInstance.listUserPolicies(userId, prefix, after, amount, effective); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling AuthApi#listUserPolicies"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **userId** | **String**| | - **prefix** | **String**| return items prefixed with this value | [optional] - **after** | **String**| return items after this value | [optional] - **amount** | **Integer**| how many items to return | [optional] [default to 100] - **effective** | **Boolean**| will return all distinct policies attached to the user or any of its groups | [optional] [default to false] - -### Return type - -[**PolicyList**](PolicyList.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | policy list | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **listUsers** -> UserList listUsers(prefix, after, amount) - -list users - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.AuthApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - AuthApi apiInstance = new AuthApi(defaultClient); - String prefix = "prefix_example"; // String | return items prefixed with this value - String after = "after_example"; // String | return items after this value - Integer amount = 100; // Integer | how many items to return - try { - UserList result = apiInstance.listUsers(prefix, after, amount); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling AuthApi#listUsers"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **prefix** | **String**| return items prefixed with this value | [optional] - **after** | **String**| return items after this value | [optional] - **amount** | **Integer**| how many items to return | [optional] [default to 100] - -### Return type - -[**UserList**](UserList.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | user list | - | -**401** | Unauthorized | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **login** -> AuthenticationToken login(loginInformation) - -perform a login - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.AuthApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - AuthApi apiInstance = new AuthApi(defaultClient); - LoginInformation loginInformation = new LoginInformation(); // LoginInformation | - try { - AuthenticationToken result = apiInstance.login(loginInformation); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling AuthApi#login"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **loginInformation** | [**LoginInformation**](LoginInformation.md)| | [optional] - -### Return type - -[**AuthenticationToken**](AuthenticationToken.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | successful login | * Set-Cookie -
| -**401** | Unauthorized | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **setGroupACL** -> setGroupACL(groupId, ACL) - -set ACL of group - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.AuthApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - AuthApi apiInstance = new AuthApi(defaultClient); - String groupId = "groupId_example"; // String | - ACL ACL = new ACL(); // ACL | - try { - apiInstance.setGroupACL(groupId, ACL); - } catch (ApiException e) { - System.err.println("Exception when calling AuthApi#setGroupACL"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **groupId** | **String**| | - **ACL** | [**ACL**](ACL.md)| | - -### Return type - -null (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | ACL successfully changed | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **updatePolicy** -> Policy updatePolicy(policyId, policy) - -update policy - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.AuthApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - AuthApi apiInstance = new AuthApi(defaultClient); - String policyId = "policyId_example"; // String | - Policy policy = new Policy(); // Policy | - try { - Policy result = apiInstance.updatePolicy(policyId, policy); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling AuthApi#updatePolicy"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **policyId** | **String**| | - **policy** | [**Policy**](Policy.md)| | - -### Return type - -[**Policy**](Policy.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | policy | - | -**400** | Validation Error | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - diff --git a/clients/java-legacy/docs/AuthCapabilities.md b/clients/java-legacy/docs/AuthCapabilities.md deleted file mode 100644 index 664d2ccb8fd..00000000000 --- a/clients/java-legacy/docs/AuthCapabilities.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# AuthCapabilities - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**inviteUser** | **Boolean** | | [optional] -**forgotPassword** | **Boolean** | | [optional] - - - diff --git a/clients/java-legacy/docs/AuthenticationToken.md b/clients/java-legacy/docs/AuthenticationToken.md deleted file mode 100644 index 826f4e3c6e5..00000000000 --- a/clients/java-legacy/docs/AuthenticationToken.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# AuthenticationToken - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**token** | **String** | a JWT token that could be used to authenticate requests | -**tokenExpiration** | **Long** | Unix Epoch in seconds | [optional] - - - diff --git a/clients/java-legacy/docs/BranchCreation.md b/clients/java-legacy/docs/BranchCreation.md deleted file mode 100644 index 4b4d50285c5..00000000000 --- a/clients/java-legacy/docs/BranchCreation.md +++ /dev/null @@ -1,15 +0,0 @@ - - -# BranchCreation - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **String** | | -**source** | **String** | | -**force** | **Boolean** | | [optional] - - - diff --git a/clients/java-legacy/docs/BranchProtectionRule.md b/clients/java-legacy/docs/BranchProtectionRule.md deleted file mode 100644 index 28153739a93..00000000000 --- a/clients/java-legacy/docs/BranchProtectionRule.md +++ /dev/null @@ -1,13 +0,0 @@ - - -# BranchProtectionRule - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**pattern** | **String** | fnmatch pattern for the branch name, supporting * and ? wildcards | - - - diff --git a/clients/java-legacy/docs/BranchesApi.md b/clients/java-legacy/docs/BranchesApi.md deleted file mode 100644 index c1a1fc02597..00000000000 --- a/clients/java-legacy/docs/BranchesApi.md +++ /dev/null @@ -1,797 +0,0 @@ -# BranchesApi - -All URIs are relative to *http://localhost/api/v1* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**cherryPick**](BranchesApi.md#cherryPick) | **POST** /repositories/{repository}/branches/{branch}/cherry-pick | Replay the changes from the given commit on the branch -[**createBranch**](BranchesApi.md#createBranch) | **POST** /repositories/{repository}/branches | create branch -[**deleteBranch**](BranchesApi.md#deleteBranch) | **DELETE** /repositories/{repository}/branches/{branch} | delete branch -[**diffBranch**](BranchesApi.md#diffBranch) | **GET** /repositories/{repository}/branches/{branch}/diff | diff branch -[**getBranch**](BranchesApi.md#getBranch) | **GET** /repositories/{repository}/branches/{branch} | get branch -[**listBranches**](BranchesApi.md#listBranches) | **GET** /repositories/{repository}/branches | list branches -[**resetBranch**](BranchesApi.md#resetBranch) | **PUT** /repositories/{repository}/branches/{branch} | reset branch -[**revertBranch**](BranchesApi.md#revertBranch) | **POST** /repositories/{repository}/branches/{branch}/revert | revert - - - -# **cherryPick** -> Commit cherryPick(repository, branch, cherryPickCreation) - -Replay the changes from the given commit on the branch - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.BranchesApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - BranchesApi apiInstance = new BranchesApi(defaultClient); - String repository = "repository_example"; // String | - String branch = "branch_example"; // String | - CherryPickCreation cherryPickCreation = new CherryPickCreation(); // CherryPickCreation | - try { - Commit result = apiInstance.cherryPick(repository, branch, cherryPickCreation); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling BranchesApi#cherryPick"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - **branch** | **String**| | - **cherryPickCreation** | [**CherryPickCreation**](CherryPickCreation.md)| | - -### Return type - -[**Commit**](Commit.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | the cherry-pick commit | - | -**400** | Validation Error | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Resource Not Found | - | -**409** | Conflict Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **createBranch** -> String createBranch(repository, branchCreation) - -create branch - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.BranchesApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - BranchesApi apiInstance = new BranchesApi(defaultClient); - String repository = "repository_example"; // String | - BranchCreation branchCreation = new BranchCreation(); // BranchCreation | - try { - String result = apiInstance.createBranch(repository, branchCreation); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling BranchesApi#createBranch"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - **branchCreation** | [**BranchCreation**](BranchCreation.md)| | - -### Return type - -**String** - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: text/html, application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | reference | - | -**400** | Validation Error | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Resource Not Found | - | -**409** | Resource Conflicts With Target | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **deleteBranch** -> deleteBranch(repository, branch, force) - -delete branch - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.BranchesApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - BranchesApi apiInstance = new BranchesApi(defaultClient); - String repository = "repository_example"; // String | - String branch = "branch_example"; // String | - Boolean force = false; // Boolean | - try { - apiInstance.deleteBranch(repository, branch, force); - } catch (ApiException e) { - System.err.println("Exception when calling BranchesApi#deleteBranch"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - **branch** | **String**| | - **force** | **Boolean**| | [optional] [default to false] - -### Return type - -null (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | branch deleted successfully | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **diffBranch** -> DiffList diffBranch(repository, branch, after, amount, prefix, delimiter) - -diff branch - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.BranchesApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - BranchesApi apiInstance = new BranchesApi(defaultClient); - String repository = "repository_example"; // String | - String branch = "branch_example"; // String | - String after = "after_example"; // String | return items after this value - Integer amount = 100; // Integer | how many items to return - String prefix = "prefix_example"; // String | return items prefixed with this value - String delimiter = "delimiter_example"; // String | delimiter used to group common prefixes by - try { - DiffList result = apiInstance.diffBranch(repository, branch, after, amount, prefix, delimiter); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling BranchesApi#diffBranch"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - **branch** | **String**| | - **after** | **String**| return items after this value | [optional] - **amount** | **Integer**| how many items to return | [optional] [default to 100] - **prefix** | **String**| return items prefixed with this value | [optional] - **delimiter** | **String**| delimiter used to group common prefixes by | [optional] - -### Return type - -[**DiffList**](DiffList.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | diff of branch uncommitted changes | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **getBranch** -> Ref getBranch(repository, branch) - -get branch - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.BranchesApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - BranchesApi apiInstance = new BranchesApi(defaultClient); - String repository = "repository_example"; // String | - String branch = "branch_example"; // String | - try { - Ref result = apiInstance.getBranch(repository, branch); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling BranchesApi#getBranch"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - **branch** | **String**| | - -### Return type - -[**Ref**](Ref.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | branch | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **listBranches** -> RefList listBranches(repository, prefix, after, amount) - -list branches - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.BranchesApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - BranchesApi apiInstance = new BranchesApi(defaultClient); - String repository = "repository_example"; // String | - String prefix = "prefix_example"; // String | return items prefixed with this value - String after = "after_example"; // String | return items after this value - Integer amount = 100; // Integer | how many items to return - try { - RefList result = apiInstance.listBranches(repository, prefix, after, amount); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling BranchesApi#listBranches"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - **prefix** | **String**| return items prefixed with this value | [optional] - **after** | **String**| return items after this value | [optional] - **amount** | **Integer**| how many items to return | [optional] [default to 100] - -### Return type - -[**RefList**](RefList.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | branch list | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **resetBranch** -> resetBranch(repository, branch, resetCreation) - -reset branch - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.BranchesApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - BranchesApi apiInstance = new BranchesApi(defaultClient); - String repository = "repository_example"; // String | - String branch = "branch_example"; // String | - ResetCreation resetCreation = new ResetCreation(); // ResetCreation | - try { - apiInstance.resetBranch(repository, branch, resetCreation); - } catch (ApiException e) { - System.err.println("Exception when calling BranchesApi#resetBranch"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - **branch** | **String**| | - **resetCreation** | [**ResetCreation**](ResetCreation.md)| | - -### Return type - -null (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | reset successful | - | -**400** | Bad Request | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **revertBranch** -> revertBranch(repository, branch, revertCreation) - -revert - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.BranchesApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - BranchesApi apiInstance = new BranchesApi(defaultClient); - String repository = "repository_example"; // String | - String branch = "branch_example"; // String | - RevertCreation revertCreation = new RevertCreation(); // RevertCreation | - try { - apiInstance.revertBranch(repository, branch, revertCreation); - } catch (ApiException e) { - System.err.println("Exception when calling BranchesApi#revertBranch"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - **branch** | **String**| | - **revertCreation** | [**RevertCreation**](RevertCreation.md)| | - -### Return type - -null (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | revert successful | - | -**400** | Validation Error | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Resource Not Found | - | -**409** | Conflict Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - diff --git a/clients/java-legacy/docs/CherryPickCreation.md b/clients/java-legacy/docs/CherryPickCreation.md deleted file mode 100644 index 744b8bd26c0..00000000000 --- a/clients/java-legacy/docs/CherryPickCreation.md +++ /dev/null @@ -1,16 +0,0 @@ - - -# CherryPickCreation - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**ref** | **String** | the commit to cherry-pick, given by a ref | -**parentNumber** | **Integer** | When cherry-picking a merge commit, the parent number (starting from 1) with which to perform the diff. The default branch is parent 1. | [optional] -**commitOverrides** | [**CommitOverrides**](CommitOverrides.md) | | [optional] -**force** | **Boolean** | | [optional] - - - diff --git a/clients/java-legacy/docs/CommPrefsInput.md b/clients/java-legacy/docs/CommPrefsInput.md deleted file mode 100644 index 8a9acd74c1c..00000000000 --- a/clients/java-legacy/docs/CommPrefsInput.md +++ /dev/null @@ -1,15 +0,0 @@ - - -# CommPrefsInput - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**email** | **String** | the provided email | [optional] -**featureUpdates** | **Boolean** | user preference to receive feature updates | -**securityUpdates** | **Boolean** | user preference to receive security updates | - - - diff --git a/clients/java-legacy/docs/Commit.md b/clients/java-legacy/docs/Commit.md deleted file mode 100644 index 8e0118a082a..00000000000 --- a/clients/java-legacy/docs/Commit.md +++ /dev/null @@ -1,21 +0,0 @@ - - -# Commit - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **String** | | -**parents** | **List<String>** | | -**committer** | **String** | | -**message** | **String** | | -**creationDate** | **Long** | Unix Epoch in seconds | -**metaRangeId** | **String** | | -**metadata** | **Map<String, String>** | | [optional] -**generation** | **Long** | | [optional] -**version** | **Integer** | | [optional] - - - diff --git a/clients/java-legacy/docs/CommitCreation.md b/clients/java-legacy/docs/CommitCreation.md deleted file mode 100644 index be749dc88b7..00000000000 --- a/clients/java-legacy/docs/CommitCreation.md +++ /dev/null @@ -1,17 +0,0 @@ - - -# CommitCreation - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**message** | **String** | | -**metadata** | **Map<String, String>** | | [optional] -**date** | **Long** | set date to override creation date in the commit (Unix Epoch in seconds) | [optional] -**allowEmpty** | **Boolean** | sets whether a commit can contain no changes | [optional] -**force** | **Boolean** | | [optional] - - - diff --git a/clients/java-legacy/docs/CommitList.md b/clients/java-legacy/docs/CommitList.md deleted file mode 100644 index 746bdbad057..00000000000 --- a/clients/java-legacy/docs/CommitList.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# CommitList - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**pagination** | [**Pagination**](Pagination.md) | | -**results** | [**List<Commit>**](Commit.md) | | - - - diff --git a/clients/java-legacy/docs/CommitOverrides.md b/clients/java-legacy/docs/CommitOverrides.md deleted file mode 100644 index 53f43a20a28..00000000000 --- a/clients/java-legacy/docs/CommitOverrides.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# CommitOverrides - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**message** | **String** | replace the commit message | [optional] -**metadata** | **Map<String, String>** | replace the metadata of the commit | [optional] - - - diff --git a/clients/java-legacy/docs/CommitRecordCreation.md b/clients/java-legacy/docs/CommitRecordCreation.md deleted file mode 100644 index 179aa234c3c..00000000000 --- a/clients/java-legacy/docs/CommitRecordCreation.md +++ /dev/null @@ -1,22 +0,0 @@ - - -# CommitRecordCreation - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**commitId** | **String** | id of the commit record | -**version** | **Integer** | version of the commit record | -**committer** | **String** | committer of the commit record | -**message** | **String** | message of the commit record | -**metarangeId** | **String** | metarange_id of the commit record | -**creationDate** | **Long** | Unix Epoch in seconds | -**parents** | **List<String>** | parents of the commit record | -**metadata** | **Map<String, String>** | metadata of the commit record | [optional] -**generation** | **Long** | generation of the commit record | -**force** | **Boolean** | | [optional] - - - diff --git a/clients/java-legacy/docs/CommitsApi.md b/clients/java-legacy/docs/CommitsApi.md deleted file mode 100644 index 904969f3f78..00000000000 --- a/clients/java-legacy/docs/CommitsApi.md +++ /dev/null @@ -1,206 +0,0 @@ -# CommitsApi - -All URIs are relative to *http://localhost/api/v1* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**commit**](CommitsApi.md#commit) | **POST** /repositories/{repository}/branches/{branch}/commits | create commit -[**getCommit**](CommitsApi.md#getCommit) | **GET** /repositories/{repository}/commits/{commitId} | get commit - - - -# **commit** -> Commit commit(repository, branch, commitCreation, sourceMetarange) - -create commit - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.CommitsApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - CommitsApi apiInstance = new CommitsApi(defaultClient); - String repository = "repository_example"; // String | - String branch = "branch_example"; // String | - CommitCreation commitCreation = new CommitCreation(); // CommitCreation | - String sourceMetarange = "sourceMetarange_example"; // String | The source metarange to commit. Branch must not have uncommitted changes. - try { - Commit result = apiInstance.commit(repository, branch, commitCreation, sourceMetarange); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling CommitsApi#commit"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - **branch** | **String**| | - **commitCreation** | [**CommitCreation**](CommitCreation.md)| | - **sourceMetarange** | **String**| The source metarange to commit. Branch must not have uncommitted changes. | [optional] - -### Return type - -[**Commit**](Commit.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | commit | - | -**400** | Validation Error | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Resource Not Found | - | -**409** | Resource Conflicts With Target | - | -**412** | Precondition Failed (e.g. a pre-commit hook returned a failure) | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **getCommit** -> Commit getCommit(repository, commitId) - -get commit - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.CommitsApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - CommitsApi apiInstance = new CommitsApi(defaultClient); - String repository = "repository_example"; // String | - String commitId = "commitId_example"; // String | - try { - Commit result = apiInstance.getCommit(repository, commitId); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling CommitsApi#getCommit"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - **commitId** | **String**| | - -### Return type - -[**Commit**](Commit.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | commit | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - diff --git a/clients/java-legacy/docs/CompletePresignMultipartUpload.md b/clients/java-legacy/docs/CompletePresignMultipartUpload.md deleted file mode 100644 index b0d435c35d6..00000000000 --- a/clients/java-legacy/docs/CompletePresignMultipartUpload.md +++ /dev/null @@ -1,16 +0,0 @@ - - -# CompletePresignMultipartUpload - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**physicalAddress** | **String** | | -**parts** | [**List<UploadPart>**](UploadPart.md) | List of uploaded parts, should be ordered by ascending part number | -**userMetadata** | **Map<String, String>** | | [optional] -**contentType** | **String** | Object media type | [optional] - - - diff --git a/clients/java-legacy/docs/Config.md b/clients/java-legacy/docs/Config.md deleted file mode 100644 index 823d18cd2f7..00000000000 --- a/clients/java-legacy/docs/Config.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# Config - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**versionConfig** | [**VersionConfig**](VersionConfig.md) | | [optional] -**storageConfig** | [**StorageConfig**](StorageConfig.md) | | [optional] - - - diff --git a/clients/java-legacy/docs/ConfigApi.md b/clients/java-legacy/docs/ConfigApi.md deleted file mode 100644 index df872aca7ca..00000000000 --- a/clients/java-legacy/docs/ConfigApi.md +++ /dev/null @@ -1,96 +0,0 @@ -# ConfigApi - -All URIs are relative to *http://localhost/api/v1* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**getConfig**](ConfigApi.md#getConfig) | **GET** /config | - - - -# **getConfig** -> Config getConfig() - - - -retrieve lakeFS configuration - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.ConfigApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - ConfigApi apiInstance = new ConfigApi(defaultClient); - try { - Config result = apiInstance.getConfig(); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ConfigApi#getConfig"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**Config**](Config.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | lakeFS configuration | - | -**401** | Unauthorized | - | - diff --git a/clients/java-legacy/docs/Credentials.md b/clients/java-legacy/docs/Credentials.md deleted file mode 100644 index fe7e7c7cfbd..00000000000 --- a/clients/java-legacy/docs/Credentials.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# Credentials - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**accessKeyId** | **String** | | -**creationDate** | **Long** | Unix Epoch in seconds | - - - diff --git a/clients/java-legacy/docs/CredentialsList.md b/clients/java-legacy/docs/CredentialsList.md deleted file mode 100644 index cf87d215c42..00000000000 --- a/clients/java-legacy/docs/CredentialsList.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# CredentialsList - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**pagination** | [**Pagination**](Pagination.md) | | -**results** | [**List<Credentials>**](Credentials.md) | | - - - diff --git a/clients/java-legacy/docs/CredentialsWithSecret.md b/clients/java-legacy/docs/CredentialsWithSecret.md deleted file mode 100644 index 82e9b89c207..00000000000 --- a/clients/java-legacy/docs/CredentialsWithSecret.md +++ /dev/null @@ -1,15 +0,0 @@ - - -# CredentialsWithSecret - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**accessKeyId** | **String** | | -**secretAccessKey** | **String** | | -**creationDate** | **Long** | Unix Epoch in seconds | - - - diff --git a/clients/java-legacy/docs/CurrentUser.md b/clients/java-legacy/docs/CurrentUser.md deleted file mode 100644 index 0c0af81ddfe..00000000000 --- a/clients/java-legacy/docs/CurrentUser.md +++ /dev/null @@ -1,13 +0,0 @@ - - -# CurrentUser - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**user** | [**User**](User.md) | | - - - diff --git a/clients/java-legacy/docs/Diff.md b/clients/java-legacy/docs/Diff.md deleted file mode 100644 index 640d51ba54f..00000000000 --- a/clients/java-legacy/docs/Diff.md +++ /dev/null @@ -1,37 +0,0 @@ - - -# Diff - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**type** | [**TypeEnum**](#TypeEnum) | | -**path** | **String** | | -**pathType** | [**PathTypeEnum**](#PathTypeEnum) | | -**sizeBytes** | **Long** | represents the size of the added/changed/deleted entry | [optional] - - - -## Enum: TypeEnum - -Name | Value ----- | ----- -ADDED | "added" -REMOVED | "removed" -CHANGED | "changed" -CONFLICT | "conflict" -PREFIX_CHANGED | "prefix_changed" - - - -## Enum: PathTypeEnum - -Name | Value ----- | ----- -COMMON_PREFIX | "common_prefix" -OBJECT | "object" - - - diff --git a/clients/java-legacy/docs/DiffList.md b/clients/java-legacy/docs/DiffList.md deleted file mode 100644 index 17f99dedfa2..00000000000 --- a/clients/java-legacy/docs/DiffList.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# DiffList - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**pagination** | [**Pagination**](Pagination.md) | | -**results** | [**List<Diff>**](Diff.md) | | - - - diff --git a/clients/java-legacy/docs/Error.md b/clients/java-legacy/docs/Error.md deleted file mode 100644 index 996ecb91cbc..00000000000 --- a/clients/java-legacy/docs/Error.md +++ /dev/null @@ -1,13 +0,0 @@ - - -# Error - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**message** | **String** | short message explaining the error | - - - diff --git a/clients/java-legacy/docs/ErrorNoACL.md b/clients/java-legacy/docs/ErrorNoACL.md deleted file mode 100644 index cc0d72f6f35..00000000000 --- a/clients/java-legacy/docs/ErrorNoACL.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# ErrorNoACL - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**message** | **String** | short message explaining the error | -**noAcl** | **Boolean** | true if the group exists but has no ACL | [optional] - - - diff --git a/clients/java-legacy/docs/ExperimentalApi.md b/clients/java-legacy/docs/ExperimentalApi.md deleted file mode 100644 index 449bef8ca80..00000000000 --- a/clients/java-legacy/docs/ExperimentalApi.md +++ /dev/null @@ -1,1525 +0,0 @@ -# ExperimentalApi - -All URIs are relative to *http://localhost/api/v1* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**abortPresignMultipartUpload**](ExperimentalApi.md#abortPresignMultipartUpload) | **DELETE** /repositories/{repository}/branches/{branch}/staging/pmpu/{uploadId} | Abort a presign multipart upload -[**completePresignMultipartUpload**](ExperimentalApi.md#completePresignMultipartUpload) | **PUT** /repositories/{repository}/branches/{branch}/staging/pmpu/{uploadId} | Complete a presign multipart upload request -[**createPresignMultipartUpload**](ExperimentalApi.md#createPresignMultipartUpload) | **POST** /repositories/{repository}/branches/{branch}/staging/pmpu | Initiate a multipart upload -[**createPullRequest**](ExperimentalApi.md#createPullRequest) | **POST** /repositories/{repository}/pulls | create pull request -[**createUserExternalPrincipal**](ExperimentalApi.md#createUserExternalPrincipal) | **POST** /auth/users/{userId}/external/principals | attach external principal to user -[**deleteUserExternalPrincipal**](ExperimentalApi.md#deleteUserExternalPrincipal) | **DELETE** /auth/users/{userId}/external/principals | delete external principal from user -[**externalPrincipalLogin**](ExperimentalApi.md#externalPrincipalLogin) | **POST** /auth/external/principal/login | perform a login using an external authenticator -[**getExternalPrincipal**](ExperimentalApi.md#getExternalPrincipal) | **GET** /auth/external/principals | describe external principal by id -[**getPullRequest**](ExperimentalApi.md#getPullRequest) | **GET** /repositories/{repository}/pulls/{pull_request} | get pull request -[**hardResetBranch**](ExperimentalApi.md#hardResetBranch) | **PUT** /repositories/{repository}/branches/{branch}/hard_reset | hard reset branch -[**listPullRequests**](ExperimentalApi.md#listPullRequests) | **GET** /repositories/{repository}/pulls | list pull requests -[**listUserExternalPrincipals**](ExperimentalApi.md#listUserExternalPrincipals) | **GET** /auth/users/{userId}/external/principals/ls | list user external policies attached to a user -[**mergePullRequest**](ExperimentalApi.md#mergePullRequest) | **PUT** /repositories/{repository}/pulls/{pull_request}/merge | merge pull request -[**stsLogin**](ExperimentalApi.md#stsLogin) | **POST** /sts/login | perform a login with STS -[**updateObjectUserMetadata**](ExperimentalApi.md#updateObjectUserMetadata) | **PUT** /repositories/{repository}/branches/{branch}/objects/stat/user_metadata | rewrite (all) object metadata -[**updatePullRequest**](ExperimentalApi.md#updatePullRequest) | **PATCH** /repositories/{repository}/pulls/{pull_request} | update pull request - - - -# **abortPresignMultipartUpload** -> abortPresignMultipartUpload(repository, branch, uploadId, path, abortPresignMultipartUpload) - -Abort a presign multipart upload - -Aborts a presign multipart upload. - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.ExperimentalApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - ExperimentalApi apiInstance = new ExperimentalApi(defaultClient); - String repository = "repository_example"; // String | - String branch = "branch_example"; // String | - String uploadId = "uploadId_example"; // String | - String path = "path_example"; // String | relative to the branch - AbortPresignMultipartUpload abortPresignMultipartUpload = new AbortPresignMultipartUpload(); // AbortPresignMultipartUpload | - try { - apiInstance.abortPresignMultipartUpload(repository, branch, uploadId, path, abortPresignMultipartUpload); - } catch (ApiException e) { - System.err.println("Exception when calling ExperimentalApi#abortPresignMultipartUpload"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - **branch** | **String**| | - **uploadId** | **String**| | - **path** | **String**| relative to the branch | - **abortPresignMultipartUpload** | [**AbortPresignMultipartUpload**](AbortPresignMultipartUpload.md)| | [optional] - -### Return type - -null (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | Presign multipart upload aborted | - | -**400** | Bad Request | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **completePresignMultipartUpload** -> ObjectStats completePresignMultipartUpload(repository, branch, uploadId, path, completePresignMultipartUpload) - -Complete a presign multipart upload request - -Completes a presign multipart upload by assembling the uploaded parts. - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.ExperimentalApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - ExperimentalApi apiInstance = new ExperimentalApi(defaultClient); - String repository = "repository_example"; // String | - String branch = "branch_example"; // String | - String uploadId = "uploadId_example"; // String | - String path = "path_example"; // String | relative to the branch - CompletePresignMultipartUpload completePresignMultipartUpload = new CompletePresignMultipartUpload(); // CompletePresignMultipartUpload | - try { - ObjectStats result = apiInstance.completePresignMultipartUpload(repository, branch, uploadId, path, completePresignMultipartUpload); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ExperimentalApi#completePresignMultipartUpload"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - **branch** | **String**| | - **uploadId** | **String**| | - **path** | **String**| relative to the branch | - **completePresignMultipartUpload** | [**CompletePresignMultipartUpload**](CompletePresignMultipartUpload.md)| | [optional] - -### Return type - -[**ObjectStats**](ObjectStats.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Presign multipart upload completed | - | -**400** | Bad Request | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**409** | conflict with a commit, try here | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **createPresignMultipartUpload** -> PresignMultipartUpload createPresignMultipartUpload(repository, branch, path, parts) - -Initiate a multipart upload - -Initiates a multipart upload and returns an upload ID with presigned URLs for each part (optional). Part numbers starts with 1. Each part except the last one has minimum size depends on the underlying blockstore implementation. For example working with S3 blockstore, minimum size is 5MB (excluding the last part). - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.ExperimentalApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - ExperimentalApi apiInstance = new ExperimentalApi(defaultClient); - String repository = "repository_example"; // String | - String branch = "branch_example"; // String | - String path = "path_example"; // String | relative to the branch - Integer parts = 56; // Integer | number of presigned URL parts required to upload - try { - PresignMultipartUpload result = apiInstance.createPresignMultipartUpload(repository, branch, path, parts); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ExperimentalApi#createPresignMultipartUpload"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - **branch** | **String**| | - **path** | **String**| relative to the branch | - **parts** | **Integer**| number of presigned URL parts required to upload | [optional] - -### Return type - -[**PresignMultipartUpload**](PresignMultipartUpload.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | Presign multipart upload initiated | - | -**400** | Bad Request | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **createPullRequest** -> PullRequestCreationResponse createPullRequest(repository, pullRequestCreation) - -create pull request - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.ExperimentalApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - ExperimentalApi apiInstance = new ExperimentalApi(defaultClient); - String repository = "repository_example"; // String | - PullRequestCreation pullRequestCreation = new PullRequestCreation(); // PullRequestCreation | - try { - PullRequestCreationResponse result = apiInstance.createPullRequest(repository, pullRequestCreation); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ExperimentalApi#createPullRequest"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - **pullRequestCreation** | [**PullRequestCreation**](PullRequestCreation.md)| | - -### Return type - -[**PullRequestCreationResponse**](PullRequestCreationResponse.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | pull request created | - | -**400** | Validation Error | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Resource Not Found | - | -**409** | Resource Conflicts With Target | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **createUserExternalPrincipal** -> createUserExternalPrincipal(userId, principalId, externalPrincipalCreation) - -attach external principal to user - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.ExperimentalApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - ExperimentalApi apiInstance = new ExperimentalApi(defaultClient); - String userId = "userId_example"; // String | - String principalId = "principalId_example"; // String | - ExternalPrincipalCreation externalPrincipalCreation = new ExternalPrincipalCreation(); // ExternalPrincipalCreation | - try { - apiInstance.createUserExternalPrincipal(userId, principalId, externalPrincipalCreation); - } catch (ApiException e) { - System.err.println("Exception when calling ExperimentalApi#createUserExternalPrincipal"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **userId** | **String**| | - **principalId** | **String**| | - **externalPrincipalCreation** | [**ExternalPrincipalCreation**](ExternalPrincipalCreation.md)| | [optional] - -### Return type - -null (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | external principal attached successfully | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**409** | Resource Conflicts With Target | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **deleteUserExternalPrincipal** -> deleteUserExternalPrincipal(userId, principalId) - -delete external principal from user - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.ExperimentalApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - ExperimentalApi apiInstance = new ExperimentalApi(defaultClient); - String userId = "userId_example"; // String | - String principalId = "principalId_example"; // String | - try { - apiInstance.deleteUserExternalPrincipal(userId, principalId); - } catch (ApiException e) { - System.err.println("Exception when calling ExperimentalApi#deleteUserExternalPrincipal"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **userId** | **String**| | - **principalId** | **String**| | - -### Return type - -null (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | external principal detached successfully | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **externalPrincipalLogin** -> AuthenticationToken externalPrincipalLogin(externalLoginInformation) - -perform a login using an external authenticator - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.ExperimentalApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - ExperimentalApi apiInstance = new ExperimentalApi(defaultClient); - ExternalLoginInformation externalLoginInformation = new ExternalLoginInformation(); // ExternalLoginInformation | - try { - AuthenticationToken result = apiInstance.externalPrincipalLogin(externalLoginInformation); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ExperimentalApi#externalPrincipalLogin"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **externalLoginInformation** | [**ExternalLoginInformation**](ExternalLoginInformation.md)| | [optional] - -### Return type - -[**AuthenticationToken**](AuthenticationToken.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | successful external login | - | -**400** | Bad Request | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **getExternalPrincipal** -> ExternalPrincipal getExternalPrincipal(principalId) - -describe external principal by id - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.ExperimentalApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - ExperimentalApi apiInstance = new ExperimentalApi(defaultClient); - String principalId = "principalId_example"; // String | - try { - ExternalPrincipal result = apiInstance.getExternalPrincipal(principalId); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ExperimentalApi#getExternalPrincipal"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **principalId** | **String**| | - -### Return type - -[**ExternalPrincipal**](ExternalPrincipal.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | external principal | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **getPullRequest** -> PullRequest getPullRequest(repository, pullRequest) - -get pull request - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.ExperimentalApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - ExperimentalApi apiInstance = new ExperimentalApi(defaultClient); - String repository = "repository_example"; // String | - String pullRequest = "pullRequest_example"; // String | pull request id - try { - PullRequest result = apiInstance.getPullRequest(repository, pullRequest); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ExperimentalApi#getPullRequest"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - **pullRequest** | **String**| pull request id | - -### Return type - -[**PullRequest**](PullRequest.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | pull request | - | -**400** | Validation Error | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **hardResetBranch** -> hardResetBranch(repository, branch, ref, force) - -hard reset branch - -Relocate branch to refer to ref. Branch must not contain uncommitted data. - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.ExperimentalApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - ExperimentalApi apiInstance = new ExperimentalApi(defaultClient); - String repository = "repository_example"; // String | - String branch = "branch_example"; // String | - String ref = "ref_example"; // String | After reset, branch will point at this reference. - Boolean force = false; // Boolean | - try { - apiInstance.hardResetBranch(repository, branch, ref, force); - } catch (ApiException e) { - System.err.println("Exception when calling ExperimentalApi#hardResetBranch"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - **branch** | **String**| | - **ref** | **String**| After reset, branch will point at this reference. | - **force** | **Boolean**| | [optional] [default to false] - -### Return type - -null (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | reset successful | - | -**400** | Bad Request | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **listPullRequests** -> PullRequestsList listPullRequests(repository, prefix, after, amount, status) - -list pull requests - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.ExperimentalApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - ExperimentalApi apiInstance = new ExperimentalApi(defaultClient); - String repository = "repository_example"; // String | - String prefix = "prefix_example"; // String | return items prefixed with this value - String after = "after_example"; // String | return items after this value - Integer amount = 100; // Integer | how many items to return - String status = "open"; // String | - try { - PullRequestsList result = apiInstance.listPullRequests(repository, prefix, after, amount, status); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ExperimentalApi#listPullRequests"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - **prefix** | **String**| return items prefixed with this value | [optional] - **after** | **String**| return items after this value | [optional] - **amount** | **Integer**| how many items to return | [optional] [default to 100] - **status** | **String**| | [optional] [default to all] [enum: open, closed, all] - -### Return type - -[**PullRequestsList**](PullRequestsList.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | list of pull requests | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **listUserExternalPrincipals** -> ExternalPrincipalList listUserExternalPrincipals(userId, prefix, after, amount) - -list user external policies attached to a user - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.ExperimentalApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - ExperimentalApi apiInstance = new ExperimentalApi(defaultClient); - String userId = "userId_example"; // String | - String prefix = "prefix_example"; // String | return items prefixed with this value - String after = "after_example"; // String | return items after this value - Integer amount = 100; // Integer | how many items to return - try { - ExternalPrincipalList result = apiInstance.listUserExternalPrincipals(userId, prefix, after, amount); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ExperimentalApi#listUserExternalPrincipals"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **userId** | **String**| | - **prefix** | **String**| return items prefixed with this value | [optional] - **after** | **String**| return items after this value | [optional] - **amount** | **Integer**| how many items to return | [optional] [default to 100] - -### Return type - -[**ExternalPrincipalList**](ExternalPrincipalList.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | external principals list | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **mergePullRequest** -> MergeResult mergePullRequest(repository, pullRequest) - -merge pull request - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.ExperimentalApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - ExperimentalApi apiInstance = new ExperimentalApi(defaultClient); - String repository = "repository_example"; // String | - String pullRequest = "pullRequest_example"; // String | pull request id - try { - MergeResult result = apiInstance.mergePullRequest(repository, pullRequest); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ExperimentalApi#mergePullRequest"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - **pullRequest** | **String**| pull request id | - -### Return type - -[**MergeResult**](MergeResult.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | merge completed | - | -**400** | Validation Error | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Resource Not Found | - | -**409** | Conflict Deprecated: content schema will return Error format and not an empty MergeResult | - | -**412** | precondition failed (e.g. a pre-merge hook returned a failure) | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **stsLogin** -> AuthenticationToken stsLogin(stsAuthRequest) - -perform a login with STS - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.ExperimentalApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - ExperimentalApi apiInstance = new ExperimentalApi(defaultClient); - StsAuthRequest stsAuthRequest = new StsAuthRequest(); // StsAuthRequest | - try { - AuthenticationToken result = apiInstance.stsLogin(stsAuthRequest); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ExperimentalApi#stsLogin"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **stsAuthRequest** | [**StsAuthRequest**](StsAuthRequest.md)| | - -### Return type - -[**AuthenticationToken**](AuthenticationToken.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | successful STS login | - | -**401** | Unauthorized | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **updateObjectUserMetadata** -> updateObjectUserMetadata(repository, branch, path, updateObjectUserMetadata) - -rewrite (all) object metadata - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.ExperimentalApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - ExperimentalApi apiInstance = new ExperimentalApi(defaultClient); - String repository = "repository_example"; // String | - String branch = "branch_example"; // String | branch to update - String path = "path_example"; // String | path to object relative to the branch - UpdateObjectUserMetadata updateObjectUserMetadata = new UpdateObjectUserMetadata(); // UpdateObjectUserMetadata | - try { - apiInstance.updateObjectUserMetadata(repository, branch, path, updateObjectUserMetadata); - } catch (ApiException e) { - System.err.println("Exception when calling ExperimentalApi#updateObjectUserMetadata"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - **branch** | **String**| branch to update | - **path** | **String**| path to object relative to the branch | - **updateObjectUserMetadata** | [**UpdateObjectUserMetadata**](UpdateObjectUserMetadata.md)| | - -### Return type - -null (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | User metadata updated | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**400** | Bad Request | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **updatePullRequest** -> updatePullRequest(repository, pullRequest, pullRequestBasic) - -update pull request - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.ExperimentalApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - ExperimentalApi apiInstance = new ExperimentalApi(defaultClient); - String repository = "repository_example"; // String | - String pullRequest = "pullRequest_example"; // String | pull request id - PullRequestBasic pullRequestBasic = new PullRequestBasic(); // PullRequestBasic | - try { - apiInstance.updatePullRequest(repository, pullRequest, pullRequestBasic); - } catch (ApiException e) { - System.err.println("Exception when calling ExperimentalApi#updatePullRequest"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - **pullRequest** | **String**| pull request id | - **pullRequestBasic** | [**PullRequestBasic**](PullRequestBasic.md)| | - -### Return type - -null (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | pull request updated successfully | - | -**400** | Validation Error | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - diff --git a/clients/java-legacy/docs/ExternalApi.md b/clients/java-legacy/docs/ExternalApi.md deleted file mode 100644 index 01e917d344a..00000000000 --- a/clients/java-legacy/docs/ExternalApi.md +++ /dev/null @@ -1,458 +0,0 @@ -# ExternalApi - -All URIs are relative to *http://localhost/api/v1* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**createUserExternalPrincipal**](ExternalApi.md#createUserExternalPrincipal) | **POST** /auth/users/{userId}/external/principals | attach external principal to user -[**deleteUserExternalPrincipal**](ExternalApi.md#deleteUserExternalPrincipal) | **DELETE** /auth/users/{userId}/external/principals | delete external principal from user -[**externalPrincipalLogin**](ExternalApi.md#externalPrincipalLogin) | **POST** /auth/external/principal/login | perform a login using an external authenticator -[**getExternalPrincipal**](ExternalApi.md#getExternalPrincipal) | **GET** /auth/external/principals | describe external principal by id -[**listUserExternalPrincipals**](ExternalApi.md#listUserExternalPrincipals) | **GET** /auth/users/{userId}/external/principals/ls | list user external policies attached to a user - - - -# **createUserExternalPrincipal** -> createUserExternalPrincipal(userId, principalId, externalPrincipalCreation) - -attach external principal to user - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.ExternalApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - ExternalApi apiInstance = new ExternalApi(defaultClient); - String userId = "userId_example"; // String | - String principalId = "principalId_example"; // String | - ExternalPrincipalCreation externalPrincipalCreation = new ExternalPrincipalCreation(); // ExternalPrincipalCreation | - try { - apiInstance.createUserExternalPrincipal(userId, principalId, externalPrincipalCreation); - } catch (ApiException e) { - System.err.println("Exception when calling ExternalApi#createUserExternalPrincipal"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **userId** | **String**| | - **principalId** | **String**| | - **externalPrincipalCreation** | [**ExternalPrincipalCreation**](ExternalPrincipalCreation.md)| | [optional] - -### Return type - -null (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | external principal attached successfully | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**409** | Resource Conflicts With Target | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **deleteUserExternalPrincipal** -> deleteUserExternalPrincipal(userId, principalId) - -delete external principal from user - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.ExternalApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - ExternalApi apiInstance = new ExternalApi(defaultClient); - String userId = "userId_example"; // String | - String principalId = "principalId_example"; // String | - try { - apiInstance.deleteUserExternalPrincipal(userId, principalId); - } catch (ApiException e) { - System.err.println("Exception when calling ExternalApi#deleteUserExternalPrincipal"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **userId** | **String**| | - **principalId** | **String**| | - -### Return type - -null (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | external principal detached successfully | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **externalPrincipalLogin** -> AuthenticationToken externalPrincipalLogin(externalLoginInformation) - -perform a login using an external authenticator - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.ExternalApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - ExternalApi apiInstance = new ExternalApi(defaultClient); - ExternalLoginInformation externalLoginInformation = new ExternalLoginInformation(); // ExternalLoginInformation | - try { - AuthenticationToken result = apiInstance.externalPrincipalLogin(externalLoginInformation); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ExternalApi#externalPrincipalLogin"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **externalLoginInformation** | [**ExternalLoginInformation**](ExternalLoginInformation.md)| | [optional] - -### Return type - -[**AuthenticationToken**](AuthenticationToken.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | successful external login | - | -**400** | Bad Request | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **getExternalPrincipal** -> ExternalPrincipal getExternalPrincipal(principalId) - -describe external principal by id - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.ExternalApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - ExternalApi apiInstance = new ExternalApi(defaultClient); - String principalId = "principalId_example"; // String | - try { - ExternalPrincipal result = apiInstance.getExternalPrincipal(principalId); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ExternalApi#getExternalPrincipal"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **principalId** | **String**| | - -### Return type - -[**ExternalPrincipal**](ExternalPrincipal.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | external principal | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **listUserExternalPrincipals** -> ExternalPrincipalList listUserExternalPrincipals(userId, prefix, after, amount) - -list user external policies attached to a user - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.ExternalApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - ExternalApi apiInstance = new ExternalApi(defaultClient); - String userId = "userId_example"; // String | - String prefix = "prefix_example"; // String | return items prefixed with this value - String after = "after_example"; // String | return items after this value - Integer amount = 100; // Integer | how many items to return - try { - ExternalPrincipalList result = apiInstance.listUserExternalPrincipals(userId, prefix, after, amount); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ExternalApi#listUserExternalPrincipals"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **userId** | **String**| | - **prefix** | **String**| return items prefixed with this value | [optional] - **after** | **String**| return items after this value | [optional] - **amount** | **Integer**| how many items to return | [optional] [default to 100] - -### Return type - -[**ExternalPrincipalList**](ExternalPrincipalList.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | external principals list | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - diff --git a/clients/java-legacy/docs/ExternalLoginInformation.md b/clients/java-legacy/docs/ExternalLoginInformation.md deleted file mode 100644 index a5a627e1924..00000000000 --- a/clients/java-legacy/docs/ExternalLoginInformation.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# ExternalLoginInformation - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**tokenExpirationDuration** | **Integer** | | [optional] -**identityRequest** | **Object** | | - - - diff --git a/clients/java-legacy/docs/ExternalPrincipal.md b/clients/java-legacy/docs/ExternalPrincipal.md deleted file mode 100644 index 718d53279b5..00000000000 --- a/clients/java-legacy/docs/ExternalPrincipal.md +++ /dev/null @@ -1,15 +0,0 @@ - - -# ExternalPrincipal - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **String** | A unique identifier for the external principal i.e aws:sts::123:assumed-role/role-name | -**userId** | **String** | lakeFS user ID to associate with an external principal. | -**settings** | **List<Map<String, String>>** | | [optional] - - - diff --git a/clients/java-legacy/docs/ExternalPrincipalCreation.md b/clients/java-legacy/docs/ExternalPrincipalCreation.md deleted file mode 100644 index b0b723143af..00000000000 --- a/clients/java-legacy/docs/ExternalPrincipalCreation.md +++ /dev/null @@ -1,13 +0,0 @@ - - -# ExternalPrincipalCreation - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**settings** | **List<Map<String, String>>** | | [optional] - - - diff --git a/clients/java-legacy/docs/ExternalPrincipalList.md b/clients/java-legacy/docs/ExternalPrincipalList.md deleted file mode 100644 index ca12d513045..00000000000 --- a/clients/java-legacy/docs/ExternalPrincipalList.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# ExternalPrincipalList - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**pagination** | [**Pagination**](Pagination.md) | | -**results** | [**List<ExternalPrincipal>**](ExternalPrincipal.md) | | - - - diff --git a/clients/java-legacy/docs/FindMergeBaseResult.md b/clients/java-legacy/docs/FindMergeBaseResult.md deleted file mode 100644 index 227aeb19c3b..00000000000 --- a/clients/java-legacy/docs/FindMergeBaseResult.md +++ /dev/null @@ -1,15 +0,0 @@ - - -# FindMergeBaseResult - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**sourceCommitId** | **String** | The commit ID of the merge source | -**destinationCommitId** | **String** | The commit ID of the merge destination | -**baseCommitId** | **String** | The commit ID of the merge base | - - - diff --git a/clients/java-legacy/docs/GarbageCollectionConfig.md b/clients/java-legacy/docs/GarbageCollectionConfig.md deleted file mode 100644 index bca9ecf343c..00000000000 --- a/clients/java-legacy/docs/GarbageCollectionConfig.md +++ /dev/null @@ -1,13 +0,0 @@ - - -# GarbageCollectionConfig - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**gracePeriod** | **Integer** | Duration in seconds. Objects created in the recent grace_period will not be collected. | [optional] - - - diff --git a/clients/java-legacy/docs/GarbageCollectionPrepareResponse.md b/clients/java-legacy/docs/GarbageCollectionPrepareResponse.md deleted file mode 100644 index 55e53a80dad..00000000000 --- a/clients/java-legacy/docs/GarbageCollectionPrepareResponse.md +++ /dev/null @@ -1,16 +0,0 @@ - - -# GarbageCollectionPrepareResponse - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**runId** | **String** | a unique identifier generated for this GC job | -**gcCommitsLocation** | **String** | location of the resulting commits csv table (partitioned by run_id) | -**gcAddressesLocation** | **String** | location to use for expired addresses parquet table (partitioned by run_id) | -**gcCommitsPresignedUrl** | **String** | a presigned url to download the commits csv | [optional] - - - diff --git a/clients/java-legacy/docs/GarbageCollectionRule.md b/clients/java-legacy/docs/GarbageCollectionRule.md deleted file mode 100644 index 8d71ee5936b..00000000000 --- a/clients/java-legacy/docs/GarbageCollectionRule.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# GarbageCollectionRule - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**branchId** | **String** | | -**retentionDays** | **Integer** | | - - - diff --git a/clients/java-legacy/docs/GarbageCollectionRules.md b/clients/java-legacy/docs/GarbageCollectionRules.md deleted file mode 100644 index 47241dd588f..00000000000 --- a/clients/java-legacy/docs/GarbageCollectionRules.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# GarbageCollectionRules - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**defaultRetentionDays** | **Integer** | | -**branches** | [**List<GarbageCollectionRule>**](GarbageCollectionRule.md) | | - - - diff --git a/clients/java-legacy/docs/Group.md b/clients/java-legacy/docs/Group.md deleted file mode 100644 index 267967724ad..00000000000 --- a/clients/java-legacy/docs/Group.md +++ /dev/null @@ -1,15 +0,0 @@ - - -# Group - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **String** | | -**name** | **String** | | [optional] -**creationDate** | **Long** | Unix Epoch in seconds | - - - diff --git a/clients/java-legacy/docs/GroupCreation.md b/clients/java-legacy/docs/GroupCreation.md deleted file mode 100644 index aa708281470..00000000000 --- a/clients/java-legacy/docs/GroupCreation.md +++ /dev/null @@ -1,13 +0,0 @@ - - -# GroupCreation - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **String** | | - - - diff --git a/clients/java-legacy/docs/GroupList.md b/clients/java-legacy/docs/GroupList.md deleted file mode 100644 index ec0135a5d27..00000000000 --- a/clients/java-legacy/docs/GroupList.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# GroupList - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**pagination** | [**Pagination**](Pagination.md) | | -**results** | [**List<Group>**](Group.md) | | - - - diff --git a/clients/java-legacy/docs/HealthCheckApi.md b/clients/java-legacy/docs/HealthCheckApi.md deleted file mode 100644 index a2fb177f41f..00000000000 --- a/clients/java-legacy/docs/HealthCheckApi.md +++ /dev/null @@ -1,66 +0,0 @@ -# HealthCheckApi - -All URIs are relative to *http://localhost/api/v1* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**healthCheck**](HealthCheckApi.md#healthCheck) | **GET** /healthcheck | - - - -# **healthCheck** -> healthCheck() - - - -check that the API server is up and running - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.HealthCheckApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - HealthCheckApi apiInstance = new HealthCheckApi(defaultClient); - try { - apiInstance.healthCheck(); - } catch (ApiException e) { - System.err.println("Exception when calling HealthCheckApi#healthCheck"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters -This endpoint does not need any parameter. - -### Return type - -null (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | NoContent | - | - diff --git a/clients/java-legacy/docs/HookRun.md b/clients/java-legacy/docs/HookRun.md deleted file mode 100644 index 9f046a5a807..00000000000 --- a/clients/java-legacy/docs/HookRun.md +++ /dev/null @@ -1,27 +0,0 @@ - - -# HookRun - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**hookRunId** | **String** | | -**action** | **String** | | -**hookId** | **String** | | -**startTime** | **OffsetDateTime** | | -**endTime** | **OffsetDateTime** | | [optional] -**status** | [**StatusEnum**](#StatusEnum) | | - - - -## Enum: StatusEnum - -Name | Value ----- | ----- -FAILED | "failed" -COMPLETED | "completed" - - - diff --git a/clients/java-legacy/docs/HookRunList.md b/clients/java-legacy/docs/HookRunList.md deleted file mode 100644 index ee78cfec604..00000000000 --- a/clients/java-legacy/docs/HookRunList.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# HookRunList - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**pagination** | [**Pagination**](Pagination.md) | | -**results** | [**List<HookRun>**](HookRun.md) | | - - - diff --git a/clients/java-legacy/docs/ImportApi.md b/clients/java-legacy/docs/ImportApi.md deleted file mode 100644 index 89e2170feef..00000000000 --- a/clients/java-legacy/docs/ImportApi.md +++ /dev/null @@ -1,302 +0,0 @@ -# ImportApi - -All URIs are relative to *http://localhost/api/v1* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**importCancel**](ImportApi.md#importCancel) | **DELETE** /repositories/{repository}/branches/{branch}/import | cancel ongoing import -[**importStart**](ImportApi.md#importStart) | **POST** /repositories/{repository}/branches/{branch}/import | import data from object store -[**importStatus**](ImportApi.md#importStatus) | **GET** /repositories/{repository}/branches/{branch}/import | get import status - - - -# **importCancel** -> importCancel(repository, branch, id) - -cancel ongoing import - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.ImportApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - ImportApi apiInstance = new ImportApi(defaultClient); - String repository = "repository_example"; // String | - String branch = "branch_example"; // String | - String id = "id_example"; // String | Unique identifier of the import process - try { - apiInstance.importCancel(repository, branch, id); - } catch (ApiException e) { - System.err.println("Exception when calling ImportApi#importCancel"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - **branch** | **String**| | - **id** | **String**| Unique identifier of the import process | - -### Return type - -null (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | import canceled successfully | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Resource Not Found | - | -**409** | Resource Conflicts With Target | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **importStart** -> ImportCreationResponse importStart(repository, branch, importCreation) - -import data from object store - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.ImportApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - ImportApi apiInstance = new ImportApi(defaultClient); - String repository = "repository_example"; // String | - String branch = "branch_example"; // String | - ImportCreation importCreation = new ImportCreation(); // ImportCreation | - try { - ImportCreationResponse result = apiInstance.importStart(repository, branch, importCreation); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ImportApi#importStart"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - **branch** | **String**| | - **importCreation** | [**ImportCreation**](ImportCreation.md)| | - -### Return type - -[**ImportCreationResponse**](ImportCreationResponse.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**202** | Import started | - | -**400** | Validation Error | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **importStatus** -> ImportStatus importStatus(repository, branch, id) - -get import status - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.ImportApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - ImportApi apiInstance = new ImportApi(defaultClient); - String repository = "repository_example"; // String | - String branch = "branch_example"; // String | - String id = "id_example"; // String | Unique identifier of the import process - try { - ImportStatus result = apiInstance.importStatus(repository, branch, id); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ImportApi#importStatus"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - **branch** | **String**| | - **id** | **String**| Unique identifier of the import process | - -### Return type - -[**ImportStatus**](ImportStatus.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | import status | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - diff --git a/clients/java-legacy/docs/ImportCreation.md b/clients/java-legacy/docs/ImportCreation.md deleted file mode 100644 index 9be1490cb90..00000000000 --- a/clients/java-legacy/docs/ImportCreation.md +++ /dev/null @@ -1,15 +0,0 @@ - - -# ImportCreation - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**paths** | [**List<ImportLocation>**](ImportLocation.md) | | -**commit** | [**CommitCreation**](CommitCreation.md) | | -**force** | **Boolean** | | [optional] - - - diff --git a/clients/java-legacy/docs/ImportCreationResponse.md b/clients/java-legacy/docs/ImportCreationResponse.md deleted file mode 100644 index 98b8852d49f..00000000000 --- a/clients/java-legacy/docs/ImportCreationResponse.md +++ /dev/null @@ -1,13 +0,0 @@ - - -# ImportCreationResponse - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **String** | The id of the import process | - - - diff --git a/clients/java-legacy/docs/ImportLocation.md b/clients/java-legacy/docs/ImportLocation.md deleted file mode 100644 index fafda9f8982..00000000000 --- a/clients/java-legacy/docs/ImportLocation.md +++ /dev/null @@ -1,24 +0,0 @@ - - -# ImportLocation - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**type** | [**TypeEnum**](#TypeEnum) | Path type, can either be 'common_prefix' or 'object' | -**path** | **String** | A source location to a 'common_prefix' or to a single object. Must match the lakeFS installation blockstore type. | -**destination** | **String** | Destination for the imported objects on the branch. Must be a relative path to the branch. If the type is an 'object', the destination is the exact object name under the branch. If the type is a 'common_prefix', the destination is the prefix under the branch. | - - - -## Enum: TypeEnum - -Name | Value ----- | ----- -COMMON_PREFIX | "common_prefix" -OBJECT | "object" - - - diff --git a/clients/java-legacy/docs/ImportStatus.md b/clients/java-legacy/docs/ImportStatus.md deleted file mode 100644 index e184f352672..00000000000 --- a/clients/java-legacy/docs/ImportStatus.md +++ /dev/null @@ -1,18 +0,0 @@ - - -# ImportStatus - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**completed** | **Boolean** | | -**updateTime** | **OffsetDateTime** | | -**ingestedObjects** | **Long** | Number of objects processed so far | [optional] -**metarangeId** | **String** | | [optional] -**commit** | [**Commit**](Commit.md) | | [optional] -**error** | [**Error**](Error.md) | | [optional] - - - diff --git a/clients/java-legacy/docs/InlineObject.md b/clients/java-legacy/docs/InlineObject.md deleted file mode 100644 index 139d6ccbaa5..00000000000 --- a/clients/java-legacy/docs/InlineObject.md +++ /dev/null @@ -1,13 +0,0 @@ - - -# InlineObject - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**content** | **File** | Only a single file per upload which must be named \"content\". | [optional] - - - diff --git a/clients/java-legacy/docs/InlineObject1.md b/clients/java-legacy/docs/InlineObject1.md deleted file mode 100644 index c9050558572..00000000000 --- a/clients/java-legacy/docs/InlineObject1.md +++ /dev/null @@ -1,13 +0,0 @@ - - -# InlineObject1 - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**pattern** | **String** | | - - - diff --git a/clients/java-legacy/docs/InstallationUsageReport.md b/clients/java-legacy/docs/InstallationUsageReport.md deleted file mode 100644 index e88bb4b07a1..00000000000 --- a/clients/java-legacy/docs/InstallationUsageReport.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# InstallationUsageReport - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**installationId** | **String** | | -**reports** | [**List<UsageReport>**](UsageReport.md) | | - - - diff --git a/clients/java-legacy/docs/InternalApi.md b/clients/java-legacy/docs/InternalApi.md deleted file mode 100644 index 4f98590eb3a..00000000000 --- a/clients/java-legacy/docs/InternalApi.md +++ /dev/null @@ -1,2508 +0,0 @@ -# InternalApi - -All URIs are relative to *http://localhost/api/v1* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**createBranchProtectionRulePreflight**](InternalApi.md#createBranchProtectionRulePreflight) | **GET** /repositories/{repository}/branch_protection/set_allowed | -[**createCommitRecord**](InternalApi.md#createCommitRecord) | **POST** /repositories/{repository}/commits | create commit record -[**createSymlinkFile**](InternalApi.md#createSymlinkFile) | **POST** /repositories/{repository}/refs/{branch}/symlink | creates symlink files corresponding to the given directory -[**deleteRepositoryMetadata**](InternalApi.md#deleteRepositoryMetadata) | **DELETE** /repositories/{repository}/metadata | delete repository metadata -[**dumpRefs**](InternalApi.md#dumpRefs) | **PUT** /repositories/{repository}/refs/dump | Dump repository refs (tags, commits, branches) to object store Deprecated: a new API will introduce long running operations -[**getAuthCapabilities**](InternalApi.md#getAuthCapabilities) | **GET** /auth/capabilities | list authentication capabilities supported -[**getGarbageCollectionConfig**](InternalApi.md#getGarbageCollectionConfig) | **GET** /config/garbage-collection | -[**getLakeFSVersion**](InternalApi.md#getLakeFSVersion) | **GET** /config/version | -[**getMetadataObject**](InternalApi.md#getMetadataObject) | **GET** /repositories/{repository}/metadata/object/{type}/{object_id} | return a lakeFS metadata object by ID -[**getSetupState**](InternalApi.md#getSetupState) | **GET** /setup_lakefs | check if the lakeFS installation is already set up -[**getStorageConfig**](InternalApi.md#getStorageConfig) | **GET** /config/storage | -[**getUsageReportSummary**](InternalApi.md#getUsageReportSummary) | **GET** /usage-report/summary | get usage report summary -[**internalCreateBranchProtectionRule**](InternalApi.md#internalCreateBranchProtectionRule) | **POST** /repositories/{repository}/branch_protection | -[**internalDeleteBranchProtectionRule**](InternalApi.md#internalDeleteBranchProtectionRule) | **DELETE** /repositories/{repository}/branch_protection | -[**internalDeleteGarbageCollectionRules**](InternalApi.md#internalDeleteGarbageCollectionRules) | **DELETE** /repositories/{repository}/gc/rules | -[**internalGetBranchProtectionRules**](InternalApi.md#internalGetBranchProtectionRules) | **GET** /repositories/{repository}/branch_protection | get branch protection rules -[**internalGetGarbageCollectionRules**](InternalApi.md#internalGetGarbageCollectionRules) | **GET** /repositories/{repository}/gc/rules | -[**internalSetGarbageCollectionRules**](InternalApi.md#internalSetGarbageCollectionRules) | **POST** /repositories/{repository}/gc/rules | -[**postStatsEvents**](InternalApi.md#postStatsEvents) | **POST** /statistics | post stats events, this endpoint is meant for internal use only -[**prepareGarbageCollectionCommits**](InternalApi.md#prepareGarbageCollectionCommits) | **POST** /repositories/{repository}/gc/prepare_commits | save lists of active commits for garbage collection -[**prepareGarbageCollectionUncommitted**](InternalApi.md#prepareGarbageCollectionUncommitted) | **POST** /repositories/{repository}/gc/prepare_uncommited | save repository uncommitted metadata for garbage collection -[**restoreRefs**](InternalApi.md#restoreRefs) | **PUT** /repositories/{repository}/refs/restore | Restore repository refs (tags, commits, branches) from object store. Deprecated: a new API will introduce long running operations -[**setGarbageCollectionRulesPreflight**](InternalApi.md#setGarbageCollectionRulesPreflight) | **GET** /repositories/{repository}/gc/rules/set_allowed | -[**setRepositoryMetadata**](InternalApi.md#setRepositoryMetadata) | **POST** /repositories/{repository}/metadata | set repository metadata -[**setup**](InternalApi.md#setup) | **POST** /setup_lakefs | setup lakeFS and create a first user -[**setupCommPrefs**](InternalApi.md#setupCommPrefs) | **POST** /setup_comm_prefs | setup communications preferences -[**stageObject**](InternalApi.md#stageObject) | **PUT** /repositories/{repository}/branches/{branch}/objects | stage an object's metadata for the given branch -[**uploadObjectPreflight**](InternalApi.md#uploadObjectPreflight) | **GET** /repositories/{repository}/branches/{branch}/objects/stage_allowed | - - - -# **createBranchProtectionRulePreflight** -> createBranchProtectionRulePreflight(repository) - - - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.InternalApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - InternalApi apiInstance = new InternalApi(defaultClient); - String repository = "repository_example"; // String | - try { - apiInstance.createBranchProtectionRulePreflight(repository); - } catch (ApiException e) { - System.err.println("Exception when calling InternalApi#createBranchProtectionRulePreflight"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - -### Return type - -null (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | User has permissions to create a branch protection rule in this repository | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**409** | Resource Conflicts With Target | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **createCommitRecord** -> createCommitRecord(repository, commitRecordCreation) - -create commit record - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.InternalApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - InternalApi apiInstance = new InternalApi(defaultClient); - String repository = "repository_example"; // String | - CommitRecordCreation commitRecordCreation = new CommitRecordCreation(); // CommitRecordCreation | - try { - apiInstance.createCommitRecord(repository, commitRecordCreation); - } catch (ApiException e) { - System.err.println("Exception when calling InternalApi#createCommitRecord"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - **commitRecordCreation** | [**CommitRecordCreation**](CommitRecordCreation.md)| | - -### Return type - -null (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | commit record created | - | -**400** | Validation Error | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **createSymlinkFile** -> StorageURI createSymlinkFile(repository, branch, location) - -creates symlink files corresponding to the given directory - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.InternalApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - InternalApi apiInstance = new InternalApi(defaultClient); - String repository = "repository_example"; // String | - String branch = "branch_example"; // String | - String location = "location_example"; // String | path to the table data - try { - StorageURI result = apiInstance.createSymlinkFile(repository, branch, location); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling InternalApi#createSymlinkFile"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - **branch** | **String**| | - **location** | **String**| path to the table data | [optional] - -### Return type - -[**StorageURI**](StorageURI.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | location created | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **deleteRepositoryMetadata** -> deleteRepositoryMetadata(repository, repositoryMetadataKeys) - -delete repository metadata - -Delete specified keys from the repository's metadata. - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.InternalApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - InternalApi apiInstance = new InternalApi(defaultClient); - String repository = "repository_example"; // String | - RepositoryMetadataKeys repositoryMetadataKeys = new RepositoryMetadataKeys(); // RepositoryMetadataKeys | - try { - apiInstance.deleteRepositoryMetadata(repository, repositoryMetadataKeys); - } catch (ApiException e) { - System.err.println("Exception when calling InternalApi#deleteRepositoryMetadata"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - **repositoryMetadataKeys** | [**RepositoryMetadataKeys**](RepositoryMetadataKeys.md)| | - -### Return type - -null (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | repository metadata keys deleted successfully | - | -**401** | Unauthorized | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **dumpRefs** -> RefsDump dumpRefs(repository) - -Dump repository refs (tags, commits, branches) to object store Deprecated: a new API will introduce long running operations - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.InternalApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - InternalApi apiInstance = new InternalApi(defaultClient); - String repository = "repository_example"; // String | - try { - RefsDump result = apiInstance.dumpRefs(repository); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling InternalApi#dumpRefs"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - -### Return type - -[**RefsDump**](RefsDump.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | refs dump | - | -**400** | Validation Error | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **getAuthCapabilities** -> AuthCapabilities getAuthCapabilities() - -list authentication capabilities supported - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.InternalApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - InternalApi apiInstance = new InternalApi(defaultClient); - try { - AuthCapabilities result = apiInstance.getAuthCapabilities(); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling InternalApi#getAuthCapabilities"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**AuthCapabilities**](AuthCapabilities.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | auth capabilities | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **getGarbageCollectionConfig** -> GarbageCollectionConfig getGarbageCollectionConfig() - - - -get information of gc settings - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.InternalApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - InternalApi apiInstance = new InternalApi(defaultClient); - try { - GarbageCollectionConfig result = apiInstance.getGarbageCollectionConfig(); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling InternalApi#getGarbageCollectionConfig"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**GarbageCollectionConfig**](GarbageCollectionConfig.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | lakeFS garbage collection config | - | -**401** | Unauthorized | - | - - -# **getLakeFSVersion** -> VersionConfig getLakeFSVersion() - - - -get version of lakeFS server - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.InternalApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - InternalApi apiInstance = new InternalApi(defaultClient); - try { - VersionConfig result = apiInstance.getLakeFSVersion(); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling InternalApi#getLakeFSVersion"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**VersionConfig**](VersionConfig.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | lakeFS version | - | -**401** | Unauthorized | - | - - -# **getMetadataObject** -> File getMetadataObject(repository, objectId, type, presign) - -return a lakeFS metadata object by ID - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.InternalApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - InternalApi apiInstance = new InternalApi(defaultClient); - String repository = "repository_example"; // String | - String objectId = "objectId_example"; // String | - String type = "range"; // String | - Boolean presign = true; // Boolean | - try { - File result = apiInstance.getMetadataObject(repository, objectId, type, presign); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling InternalApi#getMetadataObject"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - **objectId** | **String**| | - **type** | **String**| | [enum: range, meta_range] - **presign** | **Boolean**| | [optional] - -### Return type - -[**File**](File.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/octet-stream, application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | object content | * Content-Length -
| -**302** | Redirect to a pre-signed URL for the object | * Location - redirect to S3
| -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **getSetupState** -> SetupState getSetupState() - -check if the lakeFS installation is already set up - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.InternalApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - InternalApi apiInstance = new InternalApi(defaultClient); - try { - SetupState result = apiInstance.getSetupState(); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling InternalApi#getSetupState"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**SetupState**](SetupState.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | lakeFS setup state | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **getStorageConfig** -> StorageConfig getStorageConfig() - - - -retrieve lakeFS storage configuration - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.InternalApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - InternalApi apiInstance = new InternalApi(defaultClient); - try { - StorageConfig result = apiInstance.getStorageConfig(); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling InternalApi#getStorageConfig"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**StorageConfig**](StorageConfig.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | lakeFS storage configuration | - | -**401** | Unauthorized | - | - - -# **getUsageReportSummary** -> InstallationUsageReport getUsageReportSummary() - -get usage report summary - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.InternalApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - InternalApi apiInstance = new InternalApi(defaultClient); - try { - InstallationUsageReport result = apiInstance.getUsageReportSummary(); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling InternalApi#getUsageReportSummary"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**InstallationUsageReport**](InstallationUsageReport.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json, application/text - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Usage report | - | -**400** | Bad Request | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **internalCreateBranchProtectionRule** -> internalCreateBranchProtectionRule(repository, branchProtectionRule) - - - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.InternalApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - InternalApi apiInstance = new InternalApi(defaultClient); - String repository = "repository_example"; // String | - BranchProtectionRule branchProtectionRule = new BranchProtectionRule(); // BranchProtectionRule | - try { - apiInstance.internalCreateBranchProtectionRule(repository, branchProtectionRule); - } catch (ApiException e) { - System.err.println("Exception when calling InternalApi#internalCreateBranchProtectionRule"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - **branchProtectionRule** | [**BranchProtectionRule**](BranchProtectionRule.md)| | - -### Return type - -null (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | branch protection rule created successfully | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **internalDeleteBranchProtectionRule** -> internalDeleteBranchProtectionRule(repository, inlineObject1) - - - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.InternalApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - InternalApi apiInstance = new InternalApi(defaultClient); - String repository = "repository_example"; // String | - InlineObject1 inlineObject1 = new InlineObject1(); // InlineObject1 | - try { - apiInstance.internalDeleteBranchProtectionRule(repository, inlineObject1); - } catch (ApiException e) { - System.err.println("Exception when calling InternalApi#internalDeleteBranchProtectionRule"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - **inlineObject1** | [**InlineObject1**](InlineObject1.md)| | - -### Return type - -null (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | branch protection rule deleted successfully | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **internalDeleteGarbageCollectionRules** -> internalDeleteGarbageCollectionRules(repository) - - - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.InternalApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - InternalApi apiInstance = new InternalApi(defaultClient); - String repository = "repository_example"; // String | - try { - apiInstance.internalDeleteGarbageCollectionRules(repository); - } catch (ApiException e) { - System.err.println("Exception when calling InternalApi#internalDeleteGarbageCollectionRules"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - -### Return type - -null (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | deleted garbage collection rules successfully | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **internalGetBranchProtectionRules** -> List<BranchProtectionRule> internalGetBranchProtectionRules(repository) - -get branch protection rules - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.InternalApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - InternalApi apiInstance = new InternalApi(defaultClient); - String repository = "repository_example"; // String | - try { - List result = apiInstance.internalGetBranchProtectionRules(repository); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling InternalApi#internalGetBranchProtectionRules"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - -### Return type - -[**List<BranchProtectionRule>**](BranchProtectionRule.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | branch protection rules | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **internalGetGarbageCollectionRules** -> GarbageCollectionRules internalGetGarbageCollectionRules(repository) - - - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.InternalApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - InternalApi apiInstance = new InternalApi(defaultClient); - String repository = "repository_example"; // String | - try { - GarbageCollectionRules result = apiInstance.internalGetGarbageCollectionRules(repository); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling InternalApi#internalGetGarbageCollectionRules"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - -### Return type - -[**GarbageCollectionRules**](GarbageCollectionRules.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | gc rule list | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **internalSetGarbageCollectionRules** -> internalSetGarbageCollectionRules(repository, garbageCollectionRules) - - - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.InternalApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - InternalApi apiInstance = new InternalApi(defaultClient); - String repository = "repository_example"; // String | - GarbageCollectionRules garbageCollectionRules = new GarbageCollectionRules(); // GarbageCollectionRules | - try { - apiInstance.internalSetGarbageCollectionRules(repository, garbageCollectionRules); - } catch (ApiException e) { - System.err.println("Exception when calling InternalApi#internalSetGarbageCollectionRules"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - **garbageCollectionRules** | [**GarbageCollectionRules**](GarbageCollectionRules.md)| | - -### Return type - -null (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | set garbage collection rules successfully | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **postStatsEvents** -> postStatsEvents(statsEventsList) - -post stats events, this endpoint is meant for internal use only - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.InternalApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - InternalApi apiInstance = new InternalApi(defaultClient); - StatsEventsList statsEventsList = new StatsEventsList(); // StatsEventsList | - try { - apiInstance.postStatsEvents(statsEventsList); - } catch (ApiException e) { - System.err.println("Exception when calling InternalApi#postStatsEvents"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **statsEventsList** | [**StatsEventsList**](StatsEventsList.md)| | - -### Return type - -null (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | reported successfully | - | -**400** | Bad Request | - | -**401** | Unauthorized | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **prepareGarbageCollectionCommits** -> GarbageCollectionPrepareResponse prepareGarbageCollectionCommits(repository) - -save lists of active commits for garbage collection - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.InternalApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - InternalApi apiInstance = new InternalApi(defaultClient); - String repository = "repository_example"; // String | - try { - GarbageCollectionPrepareResponse result = apiInstance.prepareGarbageCollectionCommits(repository); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling InternalApi#prepareGarbageCollectionCommits"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - -### Return type - -[**GarbageCollectionPrepareResponse**](GarbageCollectionPrepareResponse.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | paths to commit dataset | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **prepareGarbageCollectionUncommitted** -> PrepareGCUncommittedResponse prepareGarbageCollectionUncommitted(repository, prepareGCUncommittedRequest) - -save repository uncommitted metadata for garbage collection - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.InternalApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - InternalApi apiInstance = new InternalApi(defaultClient); - String repository = "repository_example"; // String | - PrepareGCUncommittedRequest prepareGCUncommittedRequest = new PrepareGCUncommittedRequest(); // PrepareGCUncommittedRequest | - try { - PrepareGCUncommittedResponse result = apiInstance.prepareGarbageCollectionUncommitted(repository, prepareGCUncommittedRequest); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling InternalApi#prepareGarbageCollectionUncommitted"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - **prepareGCUncommittedRequest** | [**PrepareGCUncommittedRequest**](PrepareGCUncommittedRequest.md)| | [optional] - -### Return type - -[**PrepareGCUncommittedResponse**](PrepareGCUncommittedResponse.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | paths to commit dataset | - | -**400** | Validation Error | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **restoreRefs** -> restoreRefs(repository, refsRestore) - -Restore repository refs (tags, commits, branches) from object store. Deprecated: a new API will introduce long running operations - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.InternalApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - InternalApi apiInstance = new InternalApi(defaultClient); - String repository = "repository_example"; // String | - RefsRestore refsRestore = new RefsRestore(); // RefsRestore | - try { - apiInstance.restoreRefs(repository, refsRestore); - } catch (ApiException e) { - System.err.println("Exception when calling InternalApi#restoreRefs"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - **refsRestore** | [**RefsRestore**](RefsRestore.md)| | - -### Return type - -null (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | refs successfully loaded | - | -**400** | Validation Error | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **setGarbageCollectionRulesPreflight** -> setGarbageCollectionRulesPreflight(repository) - - - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.InternalApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - InternalApi apiInstance = new InternalApi(defaultClient); - String repository = "repository_example"; // String | - try { - apiInstance.setGarbageCollectionRulesPreflight(repository); - } catch (ApiException e) { - System.err.println("Exception when calling InternalApi#setGarbageCollectionRulesPreflight"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - -### Return type - -null (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | User has permissions to set garbage collection rules on this repository | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **setRepositoryMetadata** -> setRepositoryMetadata(repository, repositoryMetadataSet) - -set repository metadata - -Set repository metadata. This will only add or update the provided keys, and will not remove any existing keys. - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.InternalApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - InternalApi apiInstance = new InternalApi(defaultClient); - String repository = "repository_example"; // String | - RepositoryMetadataSet repositoryMetadataSet = new RepositoryMetadataSet(); // RepositoryMetadataSet | - try { - apiInstance.setRepositoryMetadata(repository, repositoryMetadataSet); - } catch (ApiException e) { - System.err.println("Exception when calling InternalApi#setRepositoryMetadata"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - **repositoryMetadataSet** | [**RepositoryMetadataSet**](RepositoryMetadataSet.md)| | - -### Return type - -null (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | repository metadata set successfully | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **setup** -> CredentialsWithSecret setup(setup) - -setup lakeFS and create a first user - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.InternalApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - InternalApi apiInstance = new InternalApi(defaultClient); - Setup setup = new Setup(); // Setup | - try { - CredentialsWithSecret result = apiInstance.setup(setup); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling InternalApi#setup"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **setup** | [**Setup**](Setup.md)| | - -### Return type - -[**CredentialsWithSecret**](CredentialsWithSecret.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | user created successfully | - | -**400** | Bad Request | - | -**409** | setup was already called | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **setupCommPrefs** -> setupCommPrefs(commPrefsInput) - -setup communications preferences - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.InternalApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - InternalApi apiInstance = new InternalApi(defaultClient); - CommPrefsInput commPrefsInput = new CommPrefsInput(); // CommPrefsInput | - try { - apiInstance.setupCommPrefs(commPrefsInput); - } catch (ApiException e) { - System.err.println("Exception when calling InternalApi#setupCommPrefs"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **commPrefsInput** | [**CommPrefsInput**](CommPrefsInput.md)| | - -### Return type - -null (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | communication preferences saved successfully | - | -**409** | setup was already completed | - | -**412** | wrong setup state for this operation | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **stageObject** -> ObjectStats stageObject(repository, branch, path, objectStageCreation) - -stage an object's metadata for the given branch - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.InternalApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - InternalApi apiInstance = new InternalApi(defaultClient); - String repository = "repository_example"; // String | - String branch = "branch_example"; // String | - String path = "path_example"; // String | relative to the branch - ObjectStageCreation objectStageCreation = new ObjectStageCreation(); // ObjectStageCreation | - try { - ObjectStats result = apiInstance.stageObject(repository, branch, path, objectStageCreation); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling InternalApi#stageObject"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - **branch** | **String**| | - **path** | **String**| relative to the branch | - **objectStageCreation** | [**ObjectStageCreation**](ObjectStageCreation.md)| | - -### Return type - -[**ObjectStats**](ObjectStats.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | object metadata | - | -**400** | Validation Error | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **uploadObjectPreflight** -> uploadObjectPreflight(repository, branch, path) - - - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.InternalApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - InternalApi apiInstance = new InternalApi(defaultClient); - String repository = "repository_example"; // String | - String branch = "branch_example"; // String | - String path = "path_example"; // String | relative to the branch - try { - apiInstance.uploadObjectPreflight(repository, branch, path); - } catch (ApiException e) { - System.err.println("Exception when calling InternalApi#uploadObjectPreflight"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - **branch** | **String**| | - **path** | **String**| relative to the branch | - -### Return type - -null (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | User has permissions to upload this object. This does not guarantee that the upload will be successful or even possible. It indicates only the permission at the time of calling this endpoint | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - diff --git a/clients/java-legacy/docs/LoginConfig.md b/clients/java-legacy/docs/LoginConfig.md deleted file mode 100644 index 5431bb7de14..00000000000 --- a/clients/java-legacy/docs/LoginConfig.md +++ /dev/null @@ -1,29 +0,0 @@ - - -# LoginConfig - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**RBAC** | [**RBACEnum**](#RBACEnum) | RBAC will remain enabled on GUI if \"external\". That only works with an external auth service. | [optional] -**loginUrl** | **String** | primary URL to use for login. | -**loginFailedMessage** | **String** | message to display to users who fail to login; a full sentence that is rendered in HTML and may contain a link to a secondary login method | [optional] -**fallbackLoginUrl** | **String** | secondary URL to offer users to use for login. | [optional] -**fallbackLoginLabel** | **String** | label to place on fallback_login_url. | [optional] -**loginCookieNames** | **List<String>** | cookie names used to store JWT | -**logoutUrl** | **String** | URL to use for logging out. | - - - -## Enum: RBACEnum - -Name | Value ----- | ----- -NONE | "none" -SIMPLIFIED | "simplified" -EXTERNAL | "external" - - - diff --git a/clients/java-legacy/docs/LoginInformation.md b/clients/java-legacy/docs/LoginInformation.md deleted file mode 100644 index 2e7005e504a..00000000000 --- a/clients/java-legacy/docs/LoginInformation.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# LoginInformation - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**accessKeyId** | **String** | | -**secretAccessKey** | **String** | | - - - diff --git a/clients/java-legacy/docs/Merge.md b/clients/java-legacy/docs/Merge.md deleted file mode 100644 index fefa0445dc7..00000000000 --- a/clients/java-legacy/docs/Merge.md +++ /dev/null @@ -1,17 +0,0 @@ - - -# Merge - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**message** | **String** | | [optional] -**metadata** | **Map<String, String>** | | [optional] -**strategy** | **String** | In case of a merge conflict, this option will force the merge process to automatically favor changes from the dest branch ('dest-wins') or from the source branch('source-wins'). In case no selection is made, the merge process will fail in case of a conflict | [optional] -**force** | **Boolean** | Allow merge into a read-only branch or into a branch with the same content | [optional] -**allowEmpty** | **Boolean** | Allow merge when the branches have the same content | [optional] - - - diff --git a/clients/java-legacy/docs/MergeResult.md b/clients/java-legacy/docs/MergeResult.md deleted file mode 100644 index ade30e913af..00000000000 --- a/clients/java-legacy/docs/MergeResult.md +++ /dev/null @@ -1,13 +0,0 @@ - - -# MergeResult - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**reference** | **String** | | - - - diff --git a/clients/java-legacy/docs/MetaRangeCreation.md b/clients/java-legacy/docs/MetaRangeCreation.md deleted file mode 100644 index c80331077ac..00000000000 --- a/clients/java-legacy/docs/MetaRangeCreation.md +++ /dev/null @@ -1,13 +0,0 @@ - - -# MetaRangeCreation - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**ranges** | [**List<RangeMetadata>**](RangeMetadata.md) | | - - - diff --git a/clients/java-legacy/docs/MetaRangeCreationResponse.md b/clients/java-legacy/docs/MetaRangeCreationResponse.md deleted file mode 100644 index 7480032cb74..00000000000 --- a/clients/java-legacy/docs/MetaRangeCreationResponse.md +++ /dev/null @@ -1,13 +0,0 @@ - - -# MetaRangeCreationResponse - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **String** | The id of the created metarange | [optional] - - - diff --git a/clients/java-legacy/docs/MetadataApi.md b/clients/java-legacy/docs/MetadataApi.md deleted file mode 100644 index 77e7a4d2445..00000000000 --- a/clients/java-legacy/docs/MetadataApi.md +++ /dev/null @@ -1,198 +0,0 @@ -# MetadataApi - -All URIs are relative to *http://localhost/api/v1* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**getMetaRange**](MetadataApi.md#getMetaRange) | **GET** /repositories/{repository}/metadata/meta_range/{meta_range} | return URI to a meta-range file -[**getRange**](MetadataApi.md#getRange) | **GET** /repositories/{repository}/metadata/range/{range} | return URI to a range file - - - -# **getMetaRange** -> StorageURI getMetaRange(repository, metaRange) - -return URI to a meta-range file - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.MetadataApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - MetadataApi apiInstance = new MetadataApi(defaultClient); - String repository = "repository_example"; // String | - String metaRange = "metaRange_example"; // String | - try { - StorageURI result = apiInstance.getMetaRange(repository, metaRange); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling MetadataApi#getMetaRange"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - **metaRange** | **String**| | - -### Return type - -[**StorageURI**](StorageURI.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | meta-range URI | * Location - redirect to S3
| -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **getRange** -> StorageURI getRange(repository, range) - -return URI to a range file - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.MetadataApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - MetadataApi apiInstance = new MetadataApi(defaultClient); - String repository = "repository_example"; // String | - String range = "range_example"; // String | - try { - StorageURI result = apiInstance.getRange(repository, range); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling MetadataApi#getRange"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - **range** | **String**| | - -### Return type - -[**StorageURI**](StorageURI.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | range URI | * Location - redirect to S3
| -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - diff --git a/clients/java-legacy/docs/ObjectCopyCreation.md b/clients/java-legacy/docs/ObjectCopyCreation.md deleted file mode 100644 index b447ea0af2a..00000000000 --- a/clients/java-legacy/docs/ObjectCopyCreation.md +++ /dev/null @@ -1,15 +0,0 @@ - - -# ObjectCopyCreation - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**srcPath** | **String** | path of the copied object relative to the ref | -**srcRef** | **String** | a reference, if empty uses the provided branch as ref | [optional] -**force** | **Boolean** | | [optional] - - - diff --git a/clients/java-legacy/docs/ObjectError.md b/clients/java-legacy/docs/ObjectError.md deleted file mode 100644 index 9f31da2bc2d..00000000000 --- a/clients/java-legacy/docs/ObjectError.md +++ /dev/null @@ -1,15 +0,0 @@ - - -# ObjectError - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**statusCode** | **Integer** | HTTP status code associated for operation on path | -**message** | **String** | short message explaining status_code | -**path** | **String** | affected path | [optional] - - - diff --git a/clients/java-legacy/docs/ObjectErrorList.md b/clients/java-legacy/docs/ObjectErrorList.md deleted file mode 100644 index f94202ec3b5..00000000000 --- a/clients/java-legacy/docs/ObjectErrorList.md +++ /dev/null @@ -1,13 +0,0 @@ - - -# ObjectErrorList - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**errors** | [**List<ObjectError>**](ObjectError.md) | | - - - diff --git a/clients/java-legacy/docs/ObjectStageCreation.md b/clients/java-legacy/docs/ObjectStageCreation.md deleted file mode 100644 index b1ae6213a77..00000000000 --- a/clients/java-legacy/docs/ObjectStageCreation.md +++ /dev/null @@ -1,19 +0,0 @@ - - -# ObjectStageCreation - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**physicalAddress** | **String** | | -**checksum** | **String** | | -**sizeBytes** | **Long** | | -**mtime** | **Long** | Unix Epoch in seconds | [optional] -**metadata** | **Map<String, String>** | | [optional] -**contentType** | **String** | Object media type | [optional] -**force** | **Boolean** | | [optional] - - - diff --git a/clients/java-legacy/docs/ObjectStats.md b/clients/java-legacy/docs/ObjectStats.md deleted file mode 100644 index 011ee0c4ba3..00000000000 --- a/clients/java-legacy/docs/ObjectStats.md +++ /dev/null @@ -1,30 +0,0 @@ - - -# ObjectStats - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**path** | **String** | | -**pathType** | [**PathTypeEnum**](#PathTypeEnum) | | -**physicalAddress** | **String** | The location of the object on the underlying object store. Formatted as a native URI with the object store type as scheme (\"s3://...\", \"gs://...\", etc.) Or, in the case of presign=true, will be an HTTP URL to be consumed via regular HTTP GET | -**physicalAddressExpiry** | **Long** | If present and nonzero, physical_address is a pre-signed URL and will expire at this Unix Epoch time. This will be shorter than the pre-signed URL lifetime if an authentication token is about to expire. This field is *optional*. | [optional] -**checksum** | **String** | | -**sizeBytes** | **Long** | The number of bytes in the object. lakeFS always populates this field when returning ObjectStats. This field is optional _for the client_ to supply, for instance on upload. | [optional] -**mtime** | **Long** | Unix Epoch in seconds | -**metadata** | **Map<String, String>** | | [optional] -**contentType** | **String** | Object media type | [optional] - - - -## Enum: PathTypeEnum - -Name | Value ----- | ----- -COMMON_PREFIX | "common_prefix" -OBJECT | "object" - - - diff --git a/clients/java-legacy/docs/ObjectStatsList.md b/clients/java-legacy/docs/ObjectStatsList.md deleted file mode 100644 index 7db300499db..00000000000 --- a/clients/java-legacy/docs/ObjectStatsList.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# ObjectStatsList - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**pagination** | [**Pagination**](Pagination.md) | | -**results** | [**List<ObjectStats>**](ObjectStats.md) | | - - - diff --git a/clients/java-legacy/docs/ObjectsApi.md b/clients/java-legacy/docs/ObjectsApi.md deleted file mode 100644 index c5a3390a130..00000000000 --- a/clients/java-legacy/docs/ObjectsApi.md +++ /dev/null @@ -1,1031 +0,0 @@ -# ObjectsApi - -All URIs are relative to *http://localhost/api/v1* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**copyObject**](ObjectsApi.md#copyObject) | **POST** /repositories/{repository}/branches/{branch}/objects/copy | create a copy of an object -[**deleteObject**](ObjectsApi.md#deleteObject) | **DELETE** /repositories/{repository}/branches/{branch}/objects | delete object. Missing objects will not return a NotFound error. -[**deleteObjects**](ObjectsApi.md#deleteObjects) | **POST** /repositories/{repository}/branches/{branch}/objects/delete | delete objects. Missing objects will not return a NotFound error. -[**getObject**](ObjectsApi.md#getObject) | **GET** /repositories/{repository}/refs/{ref}/objects | get object content -[**getUnderlyingProperties**](ObjectsApi.md#getUnderlyingProperties) | **GET** /repositories/{repository}/refs/{ref}/objects/underlyingProperties | get object properties on underlying storage -[**headObject**](ObjectsApi.md#headObject) | **HEAD** /repositories/{repository}/refs/{ref}/objects | check if object exists -[**listObjects**](ObjectsApi.md#listObjects) | **GET** /repositories/{repository}/refs/{ref}/objects/ls | list objects under a given prefix -[**statObject**](ObjectsApi.md#statObject) | **GET** /repositories/{repository}/refs/{ref}/objects/stat | get object metadata -[**updateObjectUserMetadata**](ObjectsApi.md#updateObjectUserMetadata) | **PUT** /repositories/{repository}/branches/{branch}/objects/stat/user_metadata | rewrite (all) object metadata -[**uploadObject**](ObjectsApi.md#uploadObject) | **POST** /repositories/{repository}/branches/{branch}/objects | - - - -# **copyObject** -> ObjectStats copyObject(repository, branch, destPath, objectCopyCreation) - -create a copy of an object - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.ObjectsApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - ObjectsApi apiInstance = new ObjectsApi(defaultClient); - String repository = "repository_example"; // String | - String branch = "branch_example"; // String | destination branch for the copy - String destPath = "destPath_example"; // String | destination path relative to the branch - ObjectCopyCreation objectCopyCreation = new ObjectCopyCreation(); // ObjectCopyCreation | - try { - ObjectStats result = apiInstance.copyObject(repository, branch, destPath, objectCopyCreation); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ObjectsApi#copyObject"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - **branch** | **String**| destination branch for the copy | - **destPath** | **String**| destination path relative to the branch | - **objectCopyCreation** | [**ObjectCopyCreation**](ObjectCopyCreation.md)| | - -### Return type - -[**ObjectStats**](ObjectStats.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | Copy object response | - | -**400** | Validation Error | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **deleteObject** -> deleteObject(repository, branch, path, force) - -delete object. Missing objects will not return a NotFound error. - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.ObjectsApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - ObjectsApi apiInstance = new ObjectsApi(defaultClient); - String repository = "repository_example"; // String | - String branch = "branch_example"; // String | - String path = "path_example"; // String | relative to the branch - Boolean force = false; // Boolean | - try { - apiInstance.deleteObject(repository, branch, path, force); - } catch (ApiException e) { - System.err.println("Exception when calling ObjectsApi#deleteObject"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - **branch** | **String**| | - **path** | **String**| relative to the branch | - **force** | **Boolean**| | [optional] [default to false] - -### Return type - -null (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | object deleted successfully | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **deleteObjects** -> ObjectErrorList deleteObjects(repository, branch, pathList, force) - -delete objects. Missing objects will not return a NotFound error. - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.ObjectsApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - ObjectsApi apiInstance = new ObjectsApi(defaultClient); - String repository = "repository_example"; // String | - String branch = "branch_example"; // String | - PathList pathList = new PathList(); // PathList | - Boolean force = false; // Boolean | - try { - ObjectErrorList result = apiInstance.deleteObjects(repository, branch, pathList, force); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ObjectsApi#deleteObjects"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - **branch** | **String**| | - **pathList** | [**PathList**](PathList.md)| | - **force** | **Boolean**| | [optional] [default to false] - -### Return type - -[**ObjectErrorList**](ObjectErrorList.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Delete objects response | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **getObject** -> File getObject(repository, ref, path, range, ifNoneMatch, presign) - -get object content - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.ObjectsApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - ObjectsApi apiInstance = new ObjectsApi(defaultClient); - String repository = "repository_example"; // String | - String ref = "ref_example"; // String | a reference (could be either a branch or a commit ID) - String path = "path_example"; // String | relative to the ref - String range = "bytes=0-1023"; // String | Byte range to retrieve - String ifNoneMatch = "33a64df551425fcc55e4d42a148795d9f25f89d4"; // String | Returns response only if the object does not have a matching ETag - Boolean presign = true; // Boolean | - try { - File result = apiInstance.getObject(repository, ref, path, range, ifNoneMatch, presign); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ObjectsApi#getObject"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - **ref** | **String**| a reference (could be either a branch or a commit ID) | - **path** | **String**| relative to the ref | - **range** | **String**| Byte range to retrieve | [optional] - **ifNoneMatch** | **String**| Returns response only if the object does not have a matching ETag | [optional] - **presign** | **Boolean**| | [optional] - -### Return type - -[**File**](File.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/octet-stream, application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | object content | * Content-Length -
* Last-Modified -
* ETag -
| -**206** | partial object content | * Content-Length -
* Content-Range -
* Last-Modified -
* ETag -
| -**302** | Redirect to a pre-signed URL for the object | * Location - redirect to S3
| -**304** | Content not modified | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**410** | object expired | - | -**416** | Requested Range Not Satisfiable | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **getUnderlyingProperties** -> UnderlyingObjectProperties getUnderlyingProperties(repository, ref, path) - -get object properties on underlying storage - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.ObjectsApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - ObjectsApi apiInstance = new ObjectsApi(defaultClient); - String repository = "repository_example"; // String | - String ref = "ref_example"; // String | a reference (could be either a branch or a commit ID) - String path = "path_example"; // String | relative to the branch - try { - UnderlyingObjectProperties result = apiInstance.getUnderlyingProperties(repository, ref, path); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ObjectsApi#getUnderlyingProperties"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - **ref** | **String**| a reference (could be either a branch or a commit ID) | - **path** | **String**| relative to the branch | - -### Return type - -[**UnderlyingObjectProperties**](UnderlyingObjectProperties.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | object metadata on underlying storage | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **headObject** -> headObject(repository, ref, path, range) - -check if object exists - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.ObjectsApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - ObjectsApi apiInstance = new ObjectsApi(defaultClient); - String repository = "repository_example"; // String | - String ref = "ref_example"; // String | a reference (could be either a branch or a commit ID) - String path = "path_example"; // String | relative to the ref - String range = "bytes=0-1023"; // String | Byte range to retrieve - try { - apiInstance.headObject(repository, ref, path, range); - } catch (ApiException e) { - System.err.println("Exception when calling ObjectsApi#headObject"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - **ref** | **String**| a reference (could be either a branch or a commit ID) | - **path** | **String**| relative to the ref | - **range** | **String**| Byte range to retrieve | [optional] - -### Return type - -null (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | object exists | * Content-Length -
* Last-Modified -
* ETag -
| -**206** | partial object content info | * Content-Length -
* Content-Range -
* Last-Modified -
* ETag -
| -**401** | Unauthorized | - | -**404** | object not found | - | -**410** | object expired | - | -**416** | Requested Range Not Satisfiable | - | -**420** | too many requests | - | -**0** | internal server error | - | - - -# **listObjects** -> ObjectStatsList listObjects(repository, ref, userMetadata, presign, after, amount, delimiter, prefix) - -list objects under a given prefix - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.ObjectsApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - ObjectsApi apiInstance = new ObjectsApi(defaultClient); - String repository = "repository_example"; // String | - String ref = "ref_example"; // String | a reference (could be either a branch or a commit ID) - Boolean userMetadata = true; // Boolean | - Boolean presign = true; // Boolean | - String after = "after_example"; // String | return items after this value - Integer amount = 100; // Integer | how many items to return - String delimiter = "delimiter_example"; // String | delimiter used to group common prefixes by - String prefix = "prefix_example"; // String | return items prefixed with this value - try { - ObjectStatsList result = apiInstance.listObjects(repository, ref, userMetadata, presign, after, amount, delimiter, prefix); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ObjectsApi#listObjects"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - **ref** | **String**| a reference (could be either a branch or a commit ID) | - **userMetadata** | **Boolean**| | [optional] [default to true] - **presign** | **Boolean**| | [optional] - **after** | **String**| return items after this value | [optional] - **amount** | **Integer**| how many items to return | [optional] [default to 100] - **delimiter** | **String**| delimiter used to group common prefixes by | [optional] - **prefix** | **String**| return items prefixed with this value | [optional] - -### Return type - -[**ObjectStatsList**](ObjectStatsList.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | object listing | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **statObject** -> ObjectStats statObject(repository, ref, path, userMetadata, presign) - -get object metadata - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.ObjectsApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - ObjectsApi apiInstance = new ObjectsApi(defaultClient); - String repository = "repository_example"; // String | - String ref = "ref_example"; // String | a reference (could be either a branch or a commit ID) - String path = "path_example"; // String | relative to the branch - Boolean userMetadata = true; // Boolean | - Boolean presign = true; // Boolean | - try { - ObjectStats result = apiInstance.statObject(repository, ref, path, userMetadata, presign); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ObjectsApi#statObject"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - **ref** | **String**| a reference (could be either a branch or a commit ID) | - **path** | **String**| relative to the branch | - **userMetadata** | **Boolean**| | [optional] [default to true] - **presign** | **Boolean**| | [optional] - -### Return type - -[**ObjectStats**](ObjectStats.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | object metadata | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**400** | Bad Request | - | -**410** | object gone (but partial metadata may be available) | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **updateObjectUserMetadata** -> updateObjectUserMetadata(repository, branch, path, updateObjectUserMetadata) - -rewrite (all) object metadata - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.ObjectsApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - ObjectsApi apiInstance = new ObjectsApi(defaultClient); - String repository = "repository_example"; // String | - String branch = "branch_example"; // String | branch to update - String path = "path_example"; // String | path to object relative to the branch - UpdateObjectUserMetadata updateObjectUserMetadata = new UpdateObjectUserMetadata(); // UpdateObjectUserMetadata | - try { - apiInstance.updateObjectUserMetadata(repository, branch, path, updateObjectUserMetadata); - } catch (ApiException e) { - System.err.println("Exception when calling ObjectsApi#updateObjectUserMetadata"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - **branch** | **String**| branch to update | - **path** | **String**| path to object relative to the branch | - **updateObjectUserMetadata** | [**UpdateObjectUserMetadata**](UpdateObjectUserMetadata.md)| | - -### Return type - -null (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | User metadata updated | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**400** | Bad Request | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **uploadObject** -> ObjectStats uploadObject(repository, branch, path, ifNoneMatch, storageClass, force, content) - - - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.ObjectsApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - ObjectsApi apiInstance = new ObjectsApi(defaultClient); - String repository = "repository_example"; // String | - String branch = "branch_example"; // String | - String path = "path_example"; // String | relative to the branch - String ifNoneMatch = "*"; // String | Set to \"*\" to atomically allow the upload only if the key has no object yet. Other values are not supported. - String storageClass = "storageClass_example"; // String | Deprecated, this capability will not be supported in future releases. - Boolean force = false; // Boolean | - File content = new File("/path/to/file"); // File | Only a single file per upload which must be named \\\"content\\\". - try { - ObjectStats result = apiInstance.uploadObject(repository, branch, path, ifNoneMatch, storageClass, force, content); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling ObjectsApi#uploadObject"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - **branch** | **String**| | - **path** | **String**| relative to the branch | - **ifNoneMatch** | **String**| Set to \"*\" to atomically allow the upload only if the key has no object yet. Other values are not supported. | [optional] - **storageClass** | **String**| Deprecated, this capability will not be supported in future releases. | [optional] - **force** | **Boolean**| | [optional] [default to false] - **content** | **File**| Only a single file per upload which must be named \\\"content\\\". | [optional] - -### Return type - -[**ObjectStats**](ObjectStats.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: multipart/form-data, application/octet-stream - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | object metadata | - | -**400** | Validation Error | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Resource Not Found | - | -**412** | Precondition Failed | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - diff --git a/clients/java-legacy/docs/Pagination.md b/clients/java-legacy/docs/Pagination.md deleted file mode 100644 index f4ca9a3a972..00000000000 --- a/clients/java-legacy/docs/Pagination.md +++ /dev/null @@ -1,16 +0,0 @@ - - -# Pagination - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**hasMore** | **Boolean** | Next page is available | -**nextOffset** | **String** | Token used to retrieve the next page | -**results** | **Integer** | Number of values found in the results | -**maxPerPage** | **Integer** | Maximal number of entries per page | - - - diff --git a/clients/java-legacy/docs/PathList.md b/clients/java-legacy/docs/PathList.md deleted file mode 100644 index d4e84921d2a..00000000000 --- a/clients/java-legacy/docs/PathList.md +++ /dev/null @@ -1,13 +0,0 @@ - - -# PathList - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**paths** | **List<String>** | | - - - diff --git a/clients/java-legacy/docs/Policy.md b/clients/java-legacy/docs/Policy.md deleted file mode 100644 index 4f83f134c98..00000000000 --- a/clients/java-legacy/docs/Policy.md +++ /dev/null @@ -1,15 +0,0 @@ - - -# Policy - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **String** | | -**creationDate** | **Long** | Unix Epoch in seconds | [optional] -**statement** | [**List<Statement>**](Statement.md) | | - - - diff --git a/clients/java-legacy/docs/PolicyList.md b/clients/java-legacy/docs/PolicyList.md deleted file mode 100644 index 4ca1e729ed5..00000000000 --- a/clients/java-legacy/docs/PolicyList.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# PolicyList - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**pagination** | [**Pagination**](Pagination.md) | | -**results** | [**List<Policy>**](Policy.md) | | - - - diff --git a/clients/java-legacy/docs/PrepareGCUncommittedRequest.md b/clients/java-legacy/docs/PrepareGCUncommittedRequest.md deleted file mode 100644 index a117f5cda1b..00000000000 --- a/clients/java-legacy/docs/PrepareGCUncommittedRequest.md +++ /dev/null @@ -1,13 +0,0 @@ - - -# PrepareGCUncommittedRequest - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**continuationToken** | **String** | | [optional] - - - diff --git a/clients/java-legacy/docs/PrepareGCUncommittedResponse.md b/clients/java-legacy/docs/PrepareGCUncommittedResponse.md deleted file mode 100644 index 372f18f64f4..00000000000 --- a/clients/java-legacy/docs/PrepareGCUncommittedResponse.md +++ /dev/null @@ -1,15 +0,0 @@ - - -# PrepareGCUncommittedResponse - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**runId** | **String** | | -**gcUncommittedLocation** | **String** | location of uncommitted information data | -**continuationToken** | **String** | | [optional] - - - diff --git a/clients/java-legacy/docs/PresignMultipartUpload.md b/clients/java-legacy/docs/PresignMultipartUpload.md deleted file mode 100644 index 8d8396771a8..00000000000 --- a/clients/java-legacy/docs/PresignMultipartUpload.md +++ /dev/null @@ -1,15 +0,0 @@ - - -# PresignMultipartUpload - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**uploadId** | **String** | | -**physicalAddress** | **String** | | -**presignedUrls** | **List<String>** | | [optional] - - - diff --git a/clients/java-legacy/docs/PullRequest.md b/clients/java-legacy/docs/PullRequest.md deleted file mode 100644 index eb895d186ae..00000000000 --- a/clients/java-legacy/docs/PullRequest.md +++ /dev/null @@ -1,32 +0,0 @@ - - -# PullRequest - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**StatusEnum**](#StatusEnum) | | -**title** | **String** | | -**description** | **String** | | -**id** | **String** | | -**creationDate** | **OffsetDateTime** | | -**author** | **String** | | -**sourceBranch** | **String** | | -**destinationBranch** | **String** | | -**mergedCommitId** | **String** | the commit id of merged PRs | [optional] -**closedDate** | **OffsetDateTime** | | [optional] - - - -## Enum: StatusEnum - -Name | Value ----- | ----- -OPEN | "open" -CLOSED | "closed" -MERGED | "merged" - - - diff --git a/clients/java-legacy/docs/PullRequestAllOf.md b/clients/java-legacy/docs/PullRequestAllOf.md deleted file mode 100644 index 556f12cd542..00000000000 --- a/clients/java-legacy/docs/PullRequestAllOf.md +++ /dev/null @@ -1,19 +0,0 @@ - - -# PullRequestAllOf - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **String** | | -**creationDate** | **OffsetDateTime** | | -**author** | **String** | | -**sourceBranch** | **String** | | -**destinationBranch** | **String** | | -**mergedCommitId** | **String** | the commit id of merged PRs | [optional] -**closedDate** | **OffsetDateTime** | | [optional] - - - diff --git a/clients/java-legacy/docs/PullRequestBasic.md b/clients/java-legacy/docs/PullRequestBasic.md deleted file mode 100644 index 7597aa560b4..00000000000 --- a/clients/java-legacy/docs/PullRequestBasic.md +++ /dev/null @@ -1,25 +0,0 @@ - - -# PullRequestBasic - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [**StatusEnum**](#StatusEnum) | | [optional] -**title** | **String** | | [optional] -**description** | **String** | | [optional] - - - -## Enum: StatusEnum - -Name | Value ----- | ----- -OPEN | "open" -CLOSED | "closed" -MERGED | "merged" - - - diff --git a/clients/java-legacy/docs/PullRequestCreation.md b/clients/java-legacy/docs/PullRequestCreation.md deleted file mode 100644 index af5d7d4a04e..00000000000 --- a/clients/java-legacy/docs/PullRequestCreation.md +++ /dev/null @@ -1,16 +0,0 @@ - - -# PullRequestCreation - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**title** | **String** | | -**description** | **String** | | [optional] -**sourceBranch** | **String** | | -**destinationBranch** | **String** | | - - - diff --git a/clients/java-legacy/docs/PullRequestCreationResponse.md b/clients/java-legacy/docs/PullRequestCreationResponse.md deleted file mode 100644 index 2edb86231ec..00000000000 --- a/clients/java-legacy/docs/PullRequestCreationResponse.md +++ /dev/null @@ -1,13 +0,0 @@ - - -# PullRequestCreationResponse - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **String** | ID of the pull request | - - - diff --git a/clients/java-legacy/docs/PullRequestsList.md b/clients/java-legacy/docs/PullRequestsList.md deleted file mode 100644 index caa6e819683..00000000000 --- a/clients/java-legacy/docs/PullRequestsList.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# PullRequestsList - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**pagination** | [**Pagination**](Pagination.md) | | -**results** | [**List<PullRequest>**](PullRequest.md) | | - - - diff --git a/clients/java-legacy/docs/PullsApi.md b/clients/java-legacy/docs/PullsApi.md deleted file mode 100644 index 57a3932703e..00000000000 --- a/clients/java-legacy/docs/PullsApi.md +++ /dev/null @@ -1,500 +0,0 @@ -# PullsApi - -All URIs are relative to *http://localhost/api/v1* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**createPullRequest**](PullsApi.md#createPullRequest) | **POST** /repositories/{repository}/pulls | create pull request -[**getPullRequest**](PullsApi.md#getPullRequest) | **GET** /repositories/{repository}/pulls/{pull_request} | get pull request -[**listPullRequests**](PullsApi.md#listPullRequests) | **GET** /repositories/{repository}/pulls | list pull requests -[**mergePullRequest**](PullsApi.md#mergePullRequest) | **PUT** /repositories/{repository}/pulls/{pull_request}/merge | merge pull request -[**updatePullRequest**](PullsApi.md#updatePullRequest) | **PATCH** /repositories/{repository}/pulls/{pull_request} | update pull request - - - -# **createPullRequest** -> PullRequestCreationResponse createPullRequest(repository, pullRequestCreation) - -create pull request - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.PullsApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - PullsApi apiInstance = new PullsApi(defaultClient); - String repository = "repository_example"; // String | - PullRequestCreation pullRequestCreation = new PullRequestCreation(); // PullRequestCreation | - try { - PullRequestCreationResponse result = apiInstance.createPullRequest(repository, pullRequestCreation); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling PullsApi#createPullRequest"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - **pullRequestCreation** | [**PullRequestCreation**](PullRequestCreation.md)| | - -### Return type - -[**PullRequestCreationResponse**](PullRequestCreationResponse.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | pull request created | - | -**400** | Validation Error | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Resource Not Found | - | -**409** | Resource Conflicts With Target | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **getPullRequest** -> PullRequest getPullRequest(repository, pullRequest) - -get pull request - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.PullsApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - PullsApi apiInstance = new PullsApi(defaultClient); - String repository = "repository_example"; // String | - String pullRequest = "pullRequest_example"; // String | pull request id - try { - PullRequest result = apiInstance.getPullRequest(repository, pullRequest); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling PullsApi#getPullRequest"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - **pullRequest** | **String**| pull request id | - -### Return type - -[**PullRequest**](PullRequest.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | pull request | - | -**400** | Validation Error | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **listPullRequests** -> PullRequestsList listPullRequests(repository, prefix, after, amount, status) - -list pull requests - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.PullsApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - PullsApi apiInstance = new PullsApi(defaultClient); - String repository = "repository_example"; // String | - String prefix = "prefix_example"; // String | return items prefixed with this value - String after = "after_example"; // String | return items after this value - Integer amount = 100; // Integer | how many items to return - String status = "open"; // String | - try { - PullRequestsList result = apiInstance.listPullRequests(repository, prefix, after, amount, status); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling PullsApi#listPullRequests"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - **prefix** | **String**| return items prefixed with this value | [optional] - **after** | **String**| return items after this value | [optional] - **amount** | **Integer**| how many items to return | [optional] [default to 100] - **status** | **String**| | [optional] [default to all] [enum: open, closed, all] - -### Return type - -[**PullRequestsList**](PullRequestsList.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | list of pull requests | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **mergePullRequest** -> MergeResult mergePullRequest(repository, pullRequest) - -merge pull request - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.PullsApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - PullsApi apiInstance = new PullsApi(defaultClient); - String repository = "repository_example"; // String | - String pullRequest = "pullRequest_example"; // String | pull request id - try { - MergeResult result = apiInstance.mergePullRequest(repository, pullRequest); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling PullsApi#mergePullRequest"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - **pullRequest** | **String**| pull request id | - -### Return type - -[**MergeResult**](MergeResult.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | merge completed | - | -**400** | Validation Error | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Resource Not Found | - | -**409** | Conflict Deprecated: content schema will return Error format and not an empty MergeResult | - | -**412** | precondition failed (e.g. a pre-merge hook returned a failure) | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **updatePullRequest** -> updatePullRequest(repository, pullRequest, pullRequestBasic) - -update pull request - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.PullsApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - PullsApi apiInstance = new PullsApi(defaultClient); - String repository = "repository_example"; // String | - String pullRequest = "pullRequest_example"; // String | pull request id - PullRequestBasic pullRequestBasic = new PullRequestBasic(); // PullRequestBasic | - try { - apiInstance.updatePullRequest(repository, pullRequest, pullRequestBasic); - } catch (ApiException e) { - System.err.println("Exception when calling PullsApi#updatePullRequest"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - **pullRequest** | **String**| pull request id | - **pullRequestBasic** | [**PullRequestBasic**](PullRequestBasic.md)| | - -### Return type - -null (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | pull request updated successfully | - | -**400** | Validation Error | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - diff --git a/clients/java-legacy/docs/RangeMetadata.md b/clients/java-legacy/docs/RangeMetadata.md deleted file mode 100644 index e1cab3c8a52..00000000000 --- a/clients/java-legacy/docs/RangeMetadata.md +++ /dev/null @@ -1,17 +0,0 @@ - - -# RangeMetadata - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **String** | ID of the range. | -**minKey** | **String** | First key in the range. | -**maxKey** | **String** | Last key in the range. | -**count** | **Integer** | Number of records in the range. | -**estimatedSize** | **Integer** | Estimated size of the range in bytes | - - - diff --git a/clients/java-legacy/docs/Ref.md b/clients/java-legacy/docs/Ref.md deleted file mode 100644 index 181ed2cbc4a..00000000000 --- a/clients/java-legacy/docs/Ref.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# Ref - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **String** | | -**commitId** | **String** | | - - - diff --git a/clients/java-legacy/docs/RefList.md b/clients/java-legacy/docs/RefList.md deleted file mode 100644 index 3acde5d5362..00000000000 --- a/clients/java-legacy/docs/RefList.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# RefList - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**pagination** | [**Pagination**](Pagination.md) | | -**results** | [**List<Ref>**](Ref.md) | | - - - diff --git a/clients/java-legacy/docs/RefsApi.md b/clients/java-legacy/docs/RefsApi.md deleted file mode 100644 index 944f4b55ee3..00000000000 --- a/clients/java-legacy/docs/RefsApi.md +++ /dev/null @@ -1,427 +0,0 @@ -# RefsApi - -All URIs are relative to *http://localhost/api/v1* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**diffRefs**](RefsApi.md#diffRefs) | **GET** /repositories/{repository}/refs/{leftRef}/diff/{rightRef} | diff references -[**findMergeBase**](RefsApi.md#findMergeBase) | **GET** /repositories/{repository}/refs/{sourceRef}/merge/{destinationBranch} | find the merge base for 2 references -[**logCommits**](RefsApi.md#logCommits) | **GET** /repositories/{repository}/refs/{ref}/commits | get commit log from ref. If both objects and prefixes are empty, return all commits. -[**mergeIntoBranch**](RefsApi.md#mergeIntoBranch) | **POST** /repositories/{repository}/refs/{sourceRef}/merge/{destinationBranch} | merge references - - - -# **diffRefs** -> DiffList diffRefs(repository, leftRef, rightRef, after, amount, prefix, delimiter, type) - -diff references - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.RefsApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - RefsApi apiInstance = new RefsApi(defaultClient); - String repository = "repository_example"; // String | - String leftRef = "leftRef_example"; // String | a reference (could be either a branch or a commit ID) - String rightRef = "rightRef_example"; // String | a reference (could be either a branch or a commit ID) to compare against - String after = "after_example"; // String | return items after this value - Integer amount = 100; // Integer | how many items to return - String prefix = "prefix_example"; // String | return items prefixed with this value - String delimiter = "delimiter_example"; // String | delimiter used to group common prefixes by - String type = "two_dot"; // String | - try { - DiffList result = apiInstance.diffRefs(repository, leftRef, rightRef, after, amount, prefix, delimiter, type); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling RefsApi#diffRefs"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - **leftRef** | **String**| a reference (could be either a branch or a commit ID) | - **rightRef** | **String**| a reference (could be either a branch or a commit ID) to compare against | - **after** | **String**| return items after this value | [optional] - **amount** | **Integer**| how many items to return | [optional] [default to 100] - **prefix** | **String**| return items prefixed with this value | [optional] - **delimiter** | **String**| delimiter used to group common prefixes by | [optional] - **type** | **String**| | [optional] [default to three_dot] [enum: two_dot, three_dot] - -### Return type - -[**DiffList**](DiffList.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | diff between refs | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **findMergeBase** -> FindMergeBaseResult findMergeBase(repository, sourceRef, destinationBranch) - -find the merge base for 2 references - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.RefsApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - RefsApi apiInstance = new RefsApi(defaultClient); - String repository = "repository_example"; // String | - String sourceRef = "sourceRef_example"; // String | source ref - String destinationBranch = "destinationBranch_example"; // String | destination branch name - try { - FindMergeBaseResult result = apiInstance.findMergeBase(repository, sourceRef, destinationBranch); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling RefsApi#findMergeBase"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - **sourceRef** | **String**| source ref | - **destinationBranch** | **String**| destination branch name | - -### Return type - -[**FindMergeBaseResult**](FindMergeBaseResult.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Found the merge base | - | -**400** | Validation Error | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **logCommits** -> CommitList logCommits(repository, ref, after, amount, objects, prefixes, limit, firstParent, since, stopAt) - -get commit log from ref. If both objects and prefixes are empty, return all commits. - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.RefsApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - RefsApi apiInstance = new RefsApi(defaultClient); - String repository = "repository_example"; // String | - String ref = "ref_example"; // String | - String after = "after_example"; // String | return items after this value - Integer amount = 100; // Integer | how many items to return - List objects = Arrays.asList(); // List | list of paths, each element is a path of a specific object - List prefixes = Arrays.asList(); // List | list of paths, each element is a path of a prefix - Boolean limit = true; // Boolean | limit the number of items in return to 'amount'. Without further indication on actual number of items. - Boolean firstParent = true; // Boolean | if set to true, follow only the first parent upon reaching a merge commit - OffsetDateTime since = OffsetDateTime.now(); // OffsetDateTime | Show commits more recent than a specific date-time. In case used with stop_at parameter, will stop at the first commit that meets any of the conditions. - String stopAt = "stopAt_example"; // String | A reference to stop at. In case used with since parameter, will stop at the first commit that meets any of the conditions. - try { - CommitList result = apiInstance.logCommits(repository, ref, after, amount, objects, prefixes, limit, firstParent, since, stopAt); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling RefsApi#logCommits"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - **ref** | **String**| | - **after** | **String**| return items after this value | [optional] - **amount** | **Integer**| how many items to return | [optional] [default to 100] - **objects** | [**List<String>**](String.md)| list of paths, each element is a path of a specific object | [optional] - **prefixes** | [**List<String>**](String.md)| list of paths, each element is a path of a prefix | [optional] - **limit** | **Boolean**| limit the number of items in return to 'amount'. Without further indication on actual number of items. | [optional] - **firstParent** | **Boolean**| if set to true, follow only the first parent upon reaching a merge commit | [optional] - **since** | **OffsetDateTime**| Show commits more recent than a specific date-time. In case used with stop_at parameter, will stop at the first commit that meets any of the conditions. | [optional] - **stopAt** | **String**| A reference to stop at. In case used with since parameter, will stop at the first commit that meets any of the conditions. | [optional] - -### Return type - -[**CommitList**](CommitList.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | commit log | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **mergeIntoBranch** -> MergeResult mergeIntoBranch(repository, sourceRef, destinationBranch, merge) - -merge references - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.RefsApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - RefsApi apiInstance = new RefsApi(defaultClient); - String repository = "repository_example"; // String | - String sourceRef = "sourceRef_example"; // String | source ref - String destinationBranch = "destinationBranch_example"; // String | destination branch name - Merge merge = new Merge(); // Merge | - try { - MergeResult result = apiInstance.mergeIntoBranch(repository, sourceRef, destinationBranch, merge); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling RefsApi#mergeIntoBranch"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - **sourceRef** | **String**| source ref | - **destinationBranch** | **String**| destination branch name | - **merge** | [**Merge**](Merge.md)| | [optional] - -### Return type - -[**MergeResult**](MergeResult.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | merge completed | - | -**400** | Validation Error | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Resource Not Found | - | -**409** | Conflict Deprecated: content schema will return Error format and not an empty MergeResult | - | -**412** | precondition failed (e.g. a pre-merge hook returned a failure) | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - diff --git a/clients/java-legacy/docs/RefsDump.md b/clients/java-legacy/docs/RefsDump.md deleted file mode 100644 index 832abf289e1..00000000000 --- a/clients/java-legacy/docs/RefsDump.md +++ /dev/null @@ -1,15 +0,0 @@ - - -# RefsDump - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**commitsMetaRangeId** | **String** | | -**tagsMetaRangeId** | **String** | | -**branchesMetaRangeId** | **String** | | - - - diff --git a/clients/java-legacy/docs/RefsRestore.md b/clients/java-legacy/docs/RefsRestore.md deleted file mode 100644 index 0cecb6a63d0..00000000000 --- a/clients/java-legacy/docs/RefsRestore.md +++ /dev/null @@ -1,16 +0,0 @@ - - -# RefsRestore - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**commitsMetaRangeId** | **String** | | -**tagsMetaRangeId** | **String** | | -**branchesMetaRangeId** | **String** | | -**force** | **Boolean** | | [optional] - - - diff --git a/clients/java-legacy/docs/RepositoriesApi.md b/clients/java-legacy/docs/RepositoriesApi.md deleted file mode 100644 index c34ec869b6d..00000000000 --- a/clients/java-legacy/docs/RepositoriesApi.md +++ /dev/null @@ -1,1334 +0,0 @@ -# RepositoriesApi - -All URIs are relative to *http://localhost/api/v1* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**createRepository**](RepositoriesApi.md#createRepository) | **POST** /repositories | create repository -[**deleteGCRules**](RepositoriesApi.md#deleteGCRules) | **DELETE** /repositories/{repository}/settings/gc_rules | -[**deleteRepository**](RepositoriesApi.md#deleteRepository) | **DELETE** /repositories/{repository} | delete repository -[**dumpStatus**](RepositoriesApi.md#dumpStatus) | **GET** /repositories/{repository}/dump | Status of a repository dump task -[**dumpSubmit**](RepositoriesApi.md#dumpSubmit) | **POST** /repositories/{repository}/dump | Backup the repository metadata (tags, commits, branches) and save the backup to the object store. -[**getBranchProtectionRules**](RepositoriesApi.md#getBranchProtectionRules) | **GET** /repositories/{repository}/settings/branch_protection | get branch protection rules -[**getGCRules**](RepositoriesApi.md#getGCRules) | **GET** /repositories/{repository}/settings/gc_rules | get repository GC rules -[**getRepository**](RepositoriesApi.md#getRepository) | **GET** /repositories/{repository} | get repository -[**getRepositoryMetadata**](RepositoriesApi.md#getRepositoryMetadata) | **GET** /repositories/{repository}/metadata | get repository metadata -[**listRepositories**](RepositoriesApi.md#listRepositories) | **GET** /repositories | list repositories -[**restoreStatus**](RepositoriesApi.md#restoreStatus) | **GET** /repositories/{repository}/restore | Status of a restore request -[**restoreSubmit**](RepositoriesApi.md#restoreSubmit) | **POST** /repositories/{repository}/restore | Restore repository from a dump in the object store -[**setBranchProtectionRules**](RepositoriesApi.md#setBranchProtectionRules) | **PUT** /repositories/{repository}/settings/branch_protection | -[**setGCRules**](RepositoriesApi.md#setGCRules) | **PUT** /repositories/{repository}/settings/gc_rules | - - - -# **createRepository** -> Repository createRepository(repositoryCreation, bare) - -create repository - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.RepositoriesApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - RepositoriesApi apiInstance = new RepositoriesApi(defaultClient); - RepositoryCreation repositoryCreation = new RepositoryCreation(); // RepositoryCreation | - Boolean bare = false; // Boolean | If true, create a bare repository with no initial commit and branch - try { - Repository result = apiInstance.createRepository(repositoryCreation, bare); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling RepositoriesApi#createRepository"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repositoryCreation** | [**RepositoryCreation**](RepositoryCreation.md)| | - **bare** | **Boolean**| If true, create a bare repository with no initial commit and branch | [optional] [default to false] - -### Return type - -[**Repository**](Repository.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | repository | - | -**400** | Validation Error | - | -**401** | Unauthorized | - | -**409** | Resource Conflicts With Target | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **deleteGCRules** -> deleteGCRules(repository) - - - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.RepositoriesApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - RepositoriesApi apiInstance = new RepositoriesApi(defaultClient); - String repository = "repository_example"; // String | - try { - apiInstance.deleteGCRules(repository); - } catch (ApiException e) { - System.err.println("Exception when calling RepositoriesApi#deleteGCRules"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - -### Return type - -null (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | deleted garbage collection rules successfully | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **deleteRepository** -> deleteRepository(repository, force) - -delete repository - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.RepositoriesApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - RepositoriesApi apiInstance = new RepositoriesApi(defaultClient); - String repository = "repository_example"; // String | - Boolean force = false; // Boolean | Bypass read-only protection and delete the repository - try { - apiInstance.deleteRepository(repository, force); - } catch (ApiException e) { - System.err.println("Exception when calling RepositoriesApi#deleteRepository"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - **force** | **Boolean**| Bypass read-only protection and delete the repository | [optional] [default to false] - -### Return type - -null (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | repository deleted successfully | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **dumpStatus** -> RepositoryDumpStatus dumpStatus(repository, taskId) - -Status of a repository dump task - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.RepositoriesApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - RepositoriesApi apiInstance = new RepositoriesApi(defaultClient); - String repository = "repository_example"; // String | - String taskId = "taskId_example"; // String | - try { - RepositoryDumpStatus result = apiInstance.dumpStatus(repository, taskId); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling RepositoriesApi#dumpStatus"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - **taskId** | **String**| | - -### Return type - -[**RepositoryDumpStatus**](RepositoryDumpStatus.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | dump task status | - | -**400** | Validation Error | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **dumpSubmit** -> TaskInfo dumpSubmit(repository) - -Backup the repository metadata (tags, commits, branches) and save the backup to the object store. - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.RepositoriesApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - RepositoriesApi apiInstance = new RepositoriesApi(defaultClient); - String repository = "repository_example"; // String | - try { - TaskInfo result = apiInstance.dumpSubmit(repository); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling RepositoriesApi#dumpSubmit"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - -### Return type - -[**TaskInfo**](TaskInfo.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**202** | dump task information | - | -**400** | Validation Error | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**0** | Internal Server Error | - | - - -# **getBranchProtectionRules** -> List<BranchProtectionRule> getBranchProtectionRules(repository) - -get branch protection rules - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.RepositoriesApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - RepositoriesApi apiInstance = new RepositoriesApi(defaultClient); - String repository = "repository_example"; // String | - try { - List result = apiInstance.getBranchProtectionRules(repository); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling RepositoriesApi#getBranchProtectionRules"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - -### Return type - -[**List<BranchProtectionRule>**](BranchProtectionRule.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | branch protection rules | * ETag -
| -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **getGCRules** -> GarbageCollectionRules getGCRules(repository) - -get repository GC rules - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.RepositoriesApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - RepositoriesApi apiInstance = new RepositoriesApi(defaultClient); - String repository = "repository_example"; // String | - try { - GarbageCollectionRules result = apiInstance.getGCRules(repository); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling RepositoriesApi#getGCRules"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - -### Return type - -[**GarbageCollectionRules**](GarbageCollectionRules.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | repository GC rules | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **getRepository** -> Repository getRepository(repository) - -get repository - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.RepositoriesApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - RepositoriesApi apiInstance = new RepositoriesApi(defaultClient); - String repository = "repository_example"; // String | - try { - Repository result = apiInstance.getRepository(repository); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling RepositoriesApi#getRepository"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - -### Return type - -[**Repository**](Repository.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | repository | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **getRepositoryMetadata** -> Map<String, String> getRepositoryMetadata(repository) - -get repository metadata - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.RepositoriesApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - RepositoriesApi apiInstance = new RepositoriesApi(defaultClient); - String repository = "repository_example"; // String | - try { - Map result = apiInstance.getRepositoryMetadata(repository); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling RepositoriesApi#getRepositoryMetadata"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - -### Return type - -**Map<String, String>** - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | repository metadata | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **listRepositories** -> RepositoryList listRepositories(prefix, after, amount) - -list repositories - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.RepositoriesApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - RepositoriesApi apiInstance = new RepositoriesApi(defaultClient); - String prefix = "prefix_example"; // String | return items prefixed with this value - String after = "after_example"; // String | return items after this value - Integer amount = 100; // Integer | how many items to return - try { - RepositoryList result = apiInstance.listRepositories(prefix, after, amount); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling RepositoriesApi#listRepositories"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **prefix** | **String**| return items prefixed with this value | [optional] - **after** | **String**| return items after this value | [optional] - **amount** | **Integer**| how many items to return | [optional] [default to 100] - -### Return type - -[**RepositoryList**](RepositoryList.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | repository list | - | -**401** | Unauthorized | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **restoreStatus** -> RepositoryRestoreStatus restoreStatus(repository, taskId) - -Status of a restore request - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.RepositoriesApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - RepositoriesApi apiInstance = new RepositoriesApi(defaultClient); - String repository = "repository_example"; // String | - String taskId = "taskId_example"; // String | - try { - RepositoryRestoreStatus result = apiInstance.restoreStatus(repository, taskId); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling RepositoriesApi#restoreStatus"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - **taskId** | **String**| | - -### Return type - -[**RepositoryRestoreStatus**](RepositoryRestoreStatus.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | restore task status | - | -**400** | Validation Error | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **restoreSubmit** -> TaskInfo restoreSubmit(repository, refsRestore) - -Restore repository from a dump in the object store - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.RepositoriesApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - RepositoriesApi apiInstance = new RepositoriesApi(defaultClient); - String repository = "repository_example"; // String | - RefsRestore refsRestore = new RefsRestore(); // RefsRestore | - try { - TaskInfo result = apiInstance.restoreSubmit(repository, refsRestore); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling RepositoriesApi#restoreSubmit"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - **refsRestore** | [**RefsRestore**](RefsRestore.md)| | - -### Return type - -[**TaskInfo**](TaskInfo.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**202** | restore task created | - | -**400** | Validation Error | - | -**403** | Forbidden | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**0** | Internal Server Error | - | - - -# **setBranchProtectionRules** -> setBranchProtectionRules(repository, branchProtectionRule, ifMatch) - - - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.RepositoriesApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - RepositoriesApi apiInstance = new RepositoriesApi(defaultClient); - String repository = "repository_example"; // String | - List branchProtectionRule = Arrays.asList(); // List | - String ifMatch = "ifMatch_example"; // String | if provided, the branch protection rules will be updated only if the current ETag match the provided value - try { - apiInstance.setBranchProtectionRules(repository, branchProtectionRule, ifMatch); - } catch (ApiException e) { - System.err.println("Exception when calling RepositoriesApi#setBranchProtectionRules"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - **branchProtectionRule** | [**List<BranchProtectionRule>**](BranchProtectionRule.md)| | - **ifMatch** | **String**| if provided, the branch protection rules will be updated only if the current ETag match the provided value | [optional] - -### Return type - -null (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | branch protection rule created successfully | - | -**400** | Bad Request | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Resource Not Found | - | -**412** | Precondition Failed | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **setGCRules** -> setGCRules(repository, garbageCollectionRules) - - - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.RepositoriesApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - RepositoriesApi apiInstance = new RepositoriesApi(defaultClient); - String repository = "repository_example"; // String | - GarbageCollectionRules garbageCollectionRules = new GarbageCollectionRules(); // GarbageCollectionRules | - try { - apiInstance.setGCRules(repository, garbageCollectionRules); - } catch (ApiException e) { - System.err.println("Exception when calling RepositoriesApi#setGCRules"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - **garbageCollectionRules** | [**GarbageCollectionRules**](GarbageCollectionRules.md)| | - -### Return type - -null (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | set garbage collection rules successfully | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - diff --git a/clients/java-legacy/docs/Repository.md b/clients/java-legacy/docs/Repository.md deleted file mode 100644 index 6feaad9b840..00000000000 --- a/clients/java-legacy/docs/Repository.md +++ /dev/null @@ -1,17 +0,0 @@ - - -# Repository - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **String** | | -**creationDate** | **Long** | Unix Epoch in seconds | -**defaultBranch** | **String** | | -**storageNamespace** | **String** | Filesystem URI to store the underlying data in (e.g. \"s3://my-bucket/some/path/\") | -**readOnly** | **Boolean** | Whether the repository is a read-only repository- not relevant for bare repositories | [optional] - - - diff --git a/clients/java-legacy/docs/RepositoryCreation.md b/clients/java-legacy/docs/RepositoryCreation.md deleted file mode 100644 index af1e05566ff..00000000000 --- a/clients/java-legacy/docs/RepositoryCreation.md +++ /dev/null @@ -1,17 +0,0 @@ - - -# RepositoryCreation - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **String** | | -**storageNamespace** | **String** | Filesystem URI to store the underlying data in (e.g. \"s3://my-bucket/some/path/\") | -**defaultBranch** | **String** | | [optional] -**sampleData** | **Boolean** | | [optional] -**readOnly** | **Boolean** | | [optional] - - - diff --git a/clients/java-legacy/docs/RepositoryDumpStatus.md b/clients/java-legacy/docs/RepositoryDumpStatus.md deleted file mode 100644 index b01bc10a688..00000000000 --- a/clients/java-legacy/docs/RepositoryDumpStatus.md +++ /dev/null @@ -1,17 +0,0 @@ - - -# RepositoryDumpStatus - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **String** | ID of the task | -**done** | **Boolean** | | -**updateTime** | **OffsetDateTime** | | -**error** | **String** | | [optional] -**refs** | [**RefsDump**](RefsDump.md) | | [optional] - - - diff --git a/clients/java-legacy/docs/RepositoryList.md b/clients/java-legacy/docs/RepositoryList.md deleted file mode 100644 index 84971056d79..00000000000 --- a/clients/java-legacy/docs/RepositoryList.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# RepositoryList - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**pagination** | [**Pagination**](Pagination.md) | | -**results** | [**List<Repository>**](Repository.md) | | - - - diff --git a/clients/java-legacy/docs/RepositoryMetadataKeys.md b/clients/java-legacy/docs/RepositoryMetadataKeys.md deleted file mode 100644 index 6685a969f1a..00000000000 --- a/clients/java-legacy/docs/RepositoryMetadataKeys.md +++ /dev/null @@ -1,13 +0,0 @@ - - -# RepositoryMetadataKeys - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**keys** | **List<String>** | | - - - diff --git a/clients/java-legacy/docs/RepositoryMetadataSet.md b/clients/java-legacy/docs/RepositoryMetadataSet.md deleted file mode 100644 index 235cf81eeda..00000000000 --- a/clients/java-legacy/docs/RepositoryMetadataSet.md +++ /dev/null @@ -1,13 +0,0 @@ - - -# RepositoryMetadataSet - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**metadata** | **Map<String, String>** | | - - - diff --git a/clients/java-legacy/docs/RepositoryRestoreStatus.md b/clients/java-legacy/docs/RepositoryRestoreStatus.md deleted file mode 100644 index d058b185eb4..00000000000 --- a/clients/java-legacy/docs/RepositoryRestoreStatus.md +++ /dev/null @@ -1,16 +0,0 @@ - - -# RepositoryRestoreStatus - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **String** | ID of the task | -**done** | **Boolean** | | -**updateTime** | **OffsetDateTime** | | -**error** | **String** | | [optional] - - - diff --git a/clients/java-legacy/docs/ResetCreation.md b/clients/java-legacy/docs/ResetCreation.md deleted file mode 100644 index 32b69fa7f8c..00000000000 --- a/clients/java-legacy/docs/ResetCreation.md +++ /dev/null @@ -1,25 +0,0 @@ - - -# ResetCreation - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**type** | [**TypeEnum**](#TypeEnum) | What to reset according to path. | -**path** | **String** | | [optional] -**force** | **Boolean** | | [optional] - - - -## Enum: TypeEnum - -Name | Value ----- | ----- -OBJECT | "object" -COMMON_PREFIX | "common_prefix" -RESET | "reset" - - - diff --git a/clients/java-legacy/docs/RevertCreation.md b/clients/java-legacy/docs/RevertCreation.md deleted file mode 100644 index d84a127822c..00000000000 --- a/clients/java-legacy/docs/RevertCreation.md +++ /dev/null @@ -1,17 +0,0 @@ - - -# RevertCreation - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**ref** | **String** | the commit to revert, given by a ref | -**commitOverrides** | [**CommitOverrides**](CommitOverrides.md) | | [optional] -**parentNumber** | **Integer** | when reverting a merge commit, the parent number (starting from 1) relative to which to perform the revert. | -**force** | **Boolean** | | [optional] -**allowEmpty** | **Boolean** | allow empty commit (revert without changes) | [optional] - - - diff --git a/clients/java-legacy/docs/Setup.md b/clients/java-legacy/docs/Setup.md deleted file mode 100644 index a8940098dcc..00000000000 --- a/clients/java-legacy/docs/Setup.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# Setup - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**username** | **String** | an identifier for the user (e.g. jane.doe) | -**key** | [**AccessKeyCredentials**](AccessKeyCredentials.md) | | [optional] - - - diff --git a/clients/java-legacy/docs/SetupState.md b/clients/java-legacy/docs/SetupState.md deleted file mode 100644 index f7e6b3e4190..00000000000 --- a/clients/java-legacy/docs/SetupState.md +++ /dev/null @@ -1,24 +0,0 @@ - - -# SetupState - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**state** | [**StateEnum**](#StateEnum) | | [optional] -**commPrefsMissing** | **Boolean** | true if the comm prefs are missing. | [optional] -**loginConfig** | [**LoginConfig**](LoginConfig.md) | | [optional] - - - -## Enum: StateEnum - -Name | Value ----- | ----- -INITIALIZED | "initialized" -NOT_INITIALIZED | "not_initialized" - - - diff --git a/clients/java-legacy/docs/StagingApi.md b/clients/java-legacy/docs/StagingApi.md deleted file mode 100644 index 6aa4318f66c..00000000000 --- a/clients/java-legacy/docs/StagingApi.md +++ /dev/null @@ -1,214 +0,0 @@ -# StagingApi - -All URIs are relative to *http://localhost/api/v1* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**getPhysicalAddress**](StagingApi.md#getPhysicalAddress) | **GET** /repositories/{repository}/branches/{branch}/staging/backing | generate an address to which the client can upload an object -[**linkPhysicalAddress**](StagingApi.md#linkPhysicalAddress) | **PUT** /repositories/{repository}/branches/{branch}/staging/backing | associate staging on this physical address with a path - - - -# **getPhysicalAddress** -> StagingLocation getPhysicalAddress(repository, branch, path, presign) - -generate an address to which the client can upload an object - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.StagingApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - StagingApi apiInstance = new StagingApi(defaultClient); - String repository = "repository_example"; // String | - String branch = "branch_example"; // String | - String path = "path_example"; // String | relative to the branch - Boolean presign = true; // Boolean | - try { - StagingLocation result = apiInstance.getPhysicalAddress(repository, branch, path, presign); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling StagingApi#getPhysicalAddress"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - **branch** | **String**| | - **path** | **String**| relative to the branch | - **presign** | **Boolean**| | [optional] - -### Return type - -[**StagingLocation**](StagingLocation.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | physical address for staging area | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **linkPhysicalAddress** -> ObjectStats linkPhysicalAddress(repository, branch, path, stagingMetadata, ifNoneMatch) - -associate staging on this physical address with a path - -Link the physical address with the path in lakeFS, creating an uncommitted change. The given address can be one generated by getPhysicalAddress, or an address outside the repository's storage namespace. - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.StagingApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - StagingApi apiInstance = new StagingApi(defaultClient); - String repository = "repository_example"; // String | - String branch = "branch_example"; // String | - String path = "path_example"; // String | relative to the branch - StagingMetadata stagingMetadata = new StagingMetadata(); // StagingMetadata | - String ifNoneMatch = "*"; // String | Set to \"*\" to atomically allow the upload only if the key has no object yet. Other values are not supported. - try { - ObjectStats result = apiInstance.linkPhysicalAddress(repository, branch, path, stagingMetadata, ifNoneMatch); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling StagingApi#linkPhysicalAddress"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - **branch** | **String**| | - **path** | **String**| relative to the branch | - **stagingMetadata** | [**StagingMetadata**](StagingMetadata.md)| | - **ifNoneMatch** | **String**| Set to \"*\" to atomically allow the upload only if the key has no object yet. Other values are not supported. | [optional] - -### Return type - -[**ObjectStats**](ObjectStats.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | object metadata | - | -**400** | Validation Error | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Internal Server Error | - | -**409** | conflict with a commit, try here | - | -**412** | Precondition Failed | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - diff --git a/clients/java-legacy/docs/StagingLocation.md b/clients/java-legacy/docs/StagingLocation.md deleted file mode 100644 index b397a4fd16c..00000000000 --- a/clients/java-legacy/docs/StagingLocation.md +++ /dev/null @@ -1,16 +0,0 @@ - - -# StagingLocation - -location for placing an object when staging it - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**physicalAddress** | **String** | | [optional] -**presignedUrl** | **String** | if presign=true is passed in the request, this field will contain a pre-signed URL to use when uploading | [optional] -**presignedUrlExpiry** | **Long** | If present and nonzero, physical_address is a pre-signed URL and will expire at this Unix Epoch time. This will be shorter than the pre-signed URL lifetime if an authentication token is about to expire. This field is *optional*. | [optional] - - - diff --git a/clients/java-legacy/docs/StagingMetadata.md b/clients/java-legacy/docs/StagingMetadata.md deleted file mode 100644 index 41b274d8b61..00000000000 --- a/clients/java-legacy/docs/StagingMetadata.md +++ /dev/null @@ -1,20 +0,0 @@ - - -# StagingMetadata - -information about uploaded object - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**staging** | [**StagingLocation**](StagingLocation.md) | | -**checksum** | **String** | unique identifier of object content on backing store (typically ETag) | -**sizeBytes** | **Long** | | -**userMetadata** | **Map<String, String>** | | [optional] -**contentType** | **String** | Object media type | [optional] -**mtime** | **Long** | Unix Epoch in seconds. May be ignored by server. | [optional] -**force** | **Boolean** | | [optional] - - - diff --git a/clients/java-legacy/docs/Statement.md b/clients/java-legacy/docs/Statement.md deleted file mode 100644 index c95e6d3770c..00000000000 --- a/clients/java-legacy/docs/Statement.md +++ /dev/null @@ -1,24 +0,0 @@ - - -# Statement - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**effect** | [**EffectEnum**](#EffectEnum) | | -**resource** | **String** | | -**action** | **List<String>** | | - - - -## Enum: EffectEnum - -Name | Value ----- | ----- -ALLOW | "allow" -DENY | "deny" - - - diff --git a/clients/java-legacy/docs/StatsEvent.md b/clients/java-legacy/docs/StatsEvent.md deleted file mode 100644 index c1de16909c5..00000000000 --- a/clients/java-legacy/docs/StatsEvent.md +++ /dev/null @@ -1,15 +0,0 @@ - - -# StatsEvent - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**propertyClass** | **String** | stats event class (e.g. \"s3_gateway\", \"openapi_request\", \"experimental-feature\", \"ui-event\") | -**name** | **String** | stats event name (e.g. \"put_object\", \"create_repository\", \"<experimental-feature-name>\") | -**count** | **Integer** | number of events of the class and name | - - - diff --git a/clients/java-legacy/docs/StatsEventsList.md b/clients/java-legacy/docs/StatsEventsList.md deleted file mode 100644 index 331b12f6df6..00000000000 --- a/clients/java-legacy/docs/StatsEventsList.md +++ /dev/null @@ -1,13 +0,0 @@ - - -# StatsEventsList - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**events** | [**List<StatsEvent>**](StatsEvent.md) | | - - - diff --git a/clients/java-legacy/docs/StorageConfig.md b/clients/java-legacy/docs/StorageConfig.md deleted file mode 100644 index 2d342a3c060..00000000000 --- a/clients/java-legacy/docs/StorageConfig.md +++ /dev/null @@ -1,21 +0,0 @@ - - -# StorageConfig - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**blockstoreType** | **String** | | -**blockstoreNamespaceExample** | **String** | | -**blockstoreNamespaceValidityRegex** | **String** | | -**defaultNamespacePrefix** | **String** | | [optional] -**preSignSupport** | **Boolean** | | -**preSignSupportUi** | **Boolean** | | -**importSupport** | **Boolean** | | -**importValidityRegex** | **String** | | -**preSignMultipartUpload** | **Boolean** | | [optional] - - - diff --git a/clients/java-legacy/docs/StorageURI.md b/clients/java-legacy/docs/StorageURI.md deleted file mode 100644 index e890eae4d13..00000000000 --- a/clients/java-legacy/docs/StorageURI.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# StorageURI - -URI to a path in a storage provider (e.g. \"s3://bucket1/path/to/object\") - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**location** | **String** | | - - - diff --git a/clients/java-legacy/docs/StsAuthRequest.md b/clients/java-legacy/docs/StsAuthRequest.md deleted file mode 100644 index fa6d915593e..00000000000 --- a/clients/java-legacy/docs/StsAuthRequest.md +++ /dev/null @@ -1,16 +0,0 @@ - - -# StsAuthRequest - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**code** | **String** | | -**state** | **String** | | -**redirectUri** | **String** | | -**ttlSeconds** | **Long** | The time-to-live for the generated token in seconds. The default value is 3600 seconds (1 hour) maximum time allowed is 12 hours. | [optional] - - - diff --git a/clients/java-legacy/docs/TagCreation.md b/clients/java-legacy/docs/TagCreation.md deleted file mode 100644 index 4e36a1d461f..00000000000 --- a/clients/java-legacy/docs/TagCreation.md +++ /dev/null @@ -1,16 +0,0 @@ - - -# TagCreation - -Make tag ID point at this REF. - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **String** | ID of tag to create | -**ref** | **String** | the commit to tag | -**force** | **Boolean** | | [optional] - - - diff --git a/clients/java-legacy/docs/TagsApi.md b/clients/java-legacy/docs/TagsApi.md deleted file mode 100644 index 97b0228b8d7..00000000000 --- a/clients/java-legacy/docs/TagsApi.md +++ /dev/null @@ -1,397 +0,0 @@ -# TagsApi - -All URIs are relative to *http://localhost/api/v1* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**createTag**](TagsApi.md#createTag) | **POST** /repositories/{repository}/tags | create tag -[**deleteTag**](TagsApi.md#deleteTag) | **DELETE** /repositories/{repository}/tags/{tag} | delete tag -[**getTag**](TagsApi.md#getTag) | **GET** /repositories/{repository}/tags/{tag} | get tag -[**listTags**](TagsApi.md#listTags) | **GET** /repositories/{repository}/tags | list tags - - - -# **createTag** -> Ref createTag(repository, tagCreation) - -create tag - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.TagsApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - TagsApi apiInstance = new TagsApi(defaultClient); - String repository = "repository_example"; // String | - TagCreation tagCreation = new TagCreation(); // TagCreation | - try { - Ref result = apiInstance.createTag(repository, tagCreation); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling TagsApi#createTag"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - **tagCreation** | [**TagCreation**](TagCreation.md)| | - -### Return type - -[**Ref**](Ref.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | tag | - | -**400** | Validation Error | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Resource Not Found | - | -**409** | Resource Conflicts With Target | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **deleteTag** -> deleteTag(repository, tag, force) - -delete tag - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.TagsApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - TagsApi apiInstance = new TagsApi(defaultClient); - String repository = "repository_example"; // String | - String tag = "tag_example"; // String | - Boolean force = true; // Boolean | - try { - apiInstance.deleteTag(repository, tag, force); - } catch (ApiException e) { - System.err.println("Exception when calling TagsApi#deleteTag"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - **tag** | **String**| | - **force** | **Boolean**| | [optional] - -### Return type - -null (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | tag deleted successfully | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **getTag** -> Ref getTag(repository, tag) - -get tag - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.TagsApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - TagsApi apiInstance = new TagsApi(defaultClient); - String repository = "repository_example"; // String | - String tag = "tag_example"; // String | - try { - Ref result = apiInstance.getTag(repository, tag); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling TagsApi#getTag"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - **tag** | **String**| | - -### Return type - -[**Ref**](Ref.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | tag | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - - -# **listTags** -> RefList listTags(repository, prefix, after, amount) - -list tags - -### Example -```java -// Import classes: -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.auth.*; -import io.lakefs.clients.api.models.*; -import io.lakefs.clients.api.TagsApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost/api/v1"); - - // Configure HTTP basic authorization: basic_auth - HttpBasicAuth basic_auth = (HttpBasicAuth) defaultClient.getAuthentication("basic_auth"); - basic_auth.setUsername("YOUR USERNAME"); - basic_auth.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: cookie_auth - ApiKeyAuth cookie_auth = (ApiKeyAuth) defaultClient.getAuthentication("cookie_auth"); - cookie_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //cookie_auth.setApiKeyPrefix("Token"); - - // Configure HTTP bearer authorization: jwt_token - HttpBearerAuth jwt_token = (HttpBearerAuth) defaultClient.getAuthentication("jwt_token"); - jwt_token.setBearerToken("BEARER TOKEN"); - - // Configure API key authorization: oidc_auth - ApiKeyAuth oidc_auth = (ApiKeyAuth) defaultClient.getAuthentication("oidc_auth"); - oidc_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //oidc_auth.setApiKeyPrefix("Token"); - - // Configure API key authorization: saml_auth - ApiKeyAuth saml_auth = (ApiKeyAuth) defaultClient.getAuthentication("saml_auth"); - saml_auth.setApiKey("YOUR API KEY"); - // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //saml_auth.setApiKeyPrefix("Token"); - - TagsApi apiInstance = new TagsApi(defaultClient); - String repository = "repository_example"; // String | - String prefix = "prefix_example"; // String | return items prefixed with this value - String after = "after_example"; // String | return items after this value - Integer amount = 100; // Integer | how many items to return - try { - RefList result = apiInstance.listTags(repository, prefix, after, amount); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling TagsApi#listTags"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **String**| | - **prefix** | **String**| return items prefixed with this value | [optional] - **after** | **String**| return items after this value | [optional] - **amount** | **Integer**| how many items to return | [optional] [default to 100] - -### Return type - -[**RefList**](RefList.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | tag list | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - diff --git a/clients/java-legacy/docs/TaskInfo.md b/clients/java-legacy/docs/TaskInfo.md deleted file mode 100644 index 2286cb19873..00000000000 --- a/clients/java-legacy/docs/TaskInfo.md +++ /dev/null @@ -1,13 +0,0 @@ - - -# TaskInfo - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **String** | ID of the task | - - - diff --git a/clients/java-legacy/docs/UnderlyingObjectProperties.md b/clients/java-legacy/docs/UnderlyingObjectProperties.md deleted file mode 100644 index f9be999984a..00000000000 --- a/clients/java-legacy/docs/UnderlyingObjectProperties.md +++ /dev/null @@ -1,13 +0,0 @@ - - -# UnderlyingObjectProperties - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**storageClass** | **String** | | [optional] - - - diff --git a/clients/java-legacy/docs/UpdateObjectUserMetadata.md b/clients/java-legacy/docs/UpdateObjectUserMetadata.md deleted file mode 100644 index da76849885b..00000000000 --- a/clients/java-legacy/docs/UpdateObjectUserMetadata.md +++ /dev/null @@ -1,13 +0,0 @@ - - -# UpdateObjectUserMetadata - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**set** | **Map<String, String>** | | - - - diff --git a/clients/java-legacy/docs/UpdateToken.md b/clients/java-legacy/docs/UpdateToken.md deleted file mode 100644 index 76520c19779..00000000000 --- a/clients/java-legacy/docs/UpdateToken.md +++ /dev/null @@ -1,13 +0,0 @@ - - -# UpdateToken - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**stagingToken** | **String** | | - - - diff --git a/clients/java-legacy/docs/UploadPart.md b/clients/java-legacy/docs/UploadPart.md deleted file mode 100644 index 4905ac87ad7..00000000000 --- a/clients/java-legacy/docs/UploadPart.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# UploadPart - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**partNumber** | **Integer** | | -**etag** | **String** | | - - - diff --git a/clients/java-legacy/docs/UsageReport.md b/clients/java-legacy/docs/UsageReport.md deleted file mode 100644 index c5b5883c405..00000000000 --- a/clients/java-legacy/docs/UsageReport.md +++ /dev/null @@ -1,15 +0,0 @@ - - -# UsageReport - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**year** | **Integer** | | -**month** | **Integer** | | -**count** | **Long** | | - - - diff --git a/clients/java-legacy/docs/User.md b/clients/java-legacy/docs/User.md deleted file mode 100644 index f513abfabb5..00000000000 --- a/clients/java-legacy/docs/User.md +++ /dev/null @@ -1,16 +0,0 @@ - - -# User - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **String** | A unique identifier for the user. Cannot be edited. | -**creationDate** | **Long** | Unix Epoch in seconds | -**friendlyName** | **String** | A shorter name for the user than the id. Unlike id it does not identify the user (it might not be unique). Used in some places in the UI. | [optional] -**email** | **String** | The email address of the user. If API authentication is enabled, this field is mandatory and will be invited to login. If API authentication is disabled, this field will be ignored. All current APIAuthenticators require the email to be lowercase and unique, although custom authenticators may not enforce this. | [optional] - - - diff --git a/clients/java-legacy/docs/UserCreation.md b/clients/java-legacy/docs/UserCreation.md deleted file mode 100644 index 12d8a5af0a7..00000000000 --- a/clients/java-legacy/docs/UserCreation.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# UserCreation - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **String** | a unique identifier for the user. | -**inviteUser** | **Boolean** | | [optional] - - - diff --git a/clients/java-legacy/docs/UserList.md b/clients/java-legacy/docs/UserList.md deleted file mode 100644 index b60eea08366..00000000000 --- a/clients/java-legacy/docs/UserList.md +++ /dev/null @@ -1,14 +0,0 @@ - - -# UserList - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**pagination** | [**Pagination**](Pagination.md) | | -**results** | [**List<User>**](User.md) | | - - - diff --git a/clients/java-legacy/docs/VersionConfig.md b/clients/java-legacy/docs/VersionConfig.md deleted file mode 100644 index 60716f23596..00000000000 --- a/clients/java-legacy/docs/VersionConfig.md +++ /dev/null @@ -1,16 +0,0 @@ - - -# VersionConfig - - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**version** | **String** | | [optional] -**latestVersion** | **String** | | [optional] -**upgradeRecommended** | **Boolean** | | [optional] -**upgradeUrl** | **String** | | [optional] - - - diff --git a/clients/java-legacy/git_push.sh b/clients/java-legacy/git_push.sh deleted file mode 100644 index f53a75d4fab..00000000000 --- a/clients/java-legacy/git_push.sh +++ /dev/null @@ -1,57 +0,0 @@ -#!/bin/sh -# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/ -# -# Usage example: /bin/sh ./git_push.sh wing328 openapi-petstore-perl "minor update" "gitlab.com" - -git_user_id=$1 -git_repo_id=$2 -release_note=$3 -git_host=$4 - -if [ "$git_host" = "" ]; then - git_host="github.com" - echo "[INFO] No command line input provided. Set \$git_host to $git_host" -fi - -if [ "$git_user_id" = "" ]; then - git_user_id="GIT_USER_ID" - echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id" -fi - -if [ "$git_repo_id" = "" ]; then - git_repo_id="GIT_REPO_ID" - echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id" -fi - -if [ "$release_note" = "" ]; then - release_note="Minor update" - echo "[INFO] No command line input provided. Set \$release_note to $release_note" -fi - -# Initialize the local directory as a Git repository -git init - -# Adds the files in the local repository and stages them for commit. -git add . - -# Commits the tracked changes and prepares them to be pushed to a remote repository. -git commit -m "$release_note" - -# Sets the new remote -git_remote=$(git remote) -if [ "$git_remote" = "" ]; then # git remote not defined - - if [ "$GIT_TOKEN" = "" ]; then - echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment." - git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git - else - git remote add origin https://${git_user_id}:"${GIT_TOKEN}"@${git_host}/${git_user_id}/${git_repo_id}.git - fi - -fi - -git pull origin master - -# Pushes (Forces) the changes in the local repository up to the remote repository -echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git" -git push origin master 2>&1 | grep -v 'To https' diff --git a/clients/java-legacy/gradle.properties b/clients/java-legacy/gradle.properties deleted file mode 100644 index a3408578278..00000000000 --- a/clients/java-legacy/gradle.properties +++ /dev/null @@ -1,6 +0,0 @@ -# This file is automatically generated by OpenAPI Generator (https://github.com/openAPITools/openapi-generator). -# To include other gradle properties as part of the code generation process, please use the `gradleProperties` option. -# -# Gradle properties reference: https://docs.gradle.org/current/userguide/build_environment.html#sec:gradle_configuration_properties -# For example, uncomment below to build for Android -#target = android diff --git a/clients/java-legacy/gradle/wrapper/gradle-wrapper.jar b/clients/java-legacy/gradle/wrapper/gradle-wrapper.jar deleted file mode 100644 index 7454180f2ae..00000000000 Binary files a/clients/java-legacy/gradle/wrapper/gradle-wrapper.jar and /dev/null differ diff --git a/clients/java-legacy/gradle/wrapper/gradle-wrapper.properties b/clients/java-legacy/gradle/wrapper/gradle-wrapper.properties deleted file mode 100644 index ffed3a254e9..00000000000 --- a/clients/java-legacy/gradle/wrapper/gradle-wrapper.properties +++ /dev/null @@ -1,5 +0,0 @@ -distributionBase=GRADLE_USER_HOME -distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip -zipStoreBase=GRADLE_USER_HOME -zipStorePath=wrapper/dists diff --git a/clients/java-legacy/gradlew b/clients/java-legacy/gradlew deleted file mode 100644 index 005bcde0428..00000000000 --- a/clients/java-legacy/gradlew +++ /dev/null @@ -1,234 +0,0 @@ -#!/bin/sh - -# -# Copyright © 2015-2021 the original authors. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -############################################################################## -# -# Gradle start up script for POSIX generated by Gradle. -# -# Important for running: -# -# (1) You need a POSIX-compliant shell to run this script. If your /bin/sh is -# noncompliant, but you have some other compliant shell such as ksh or -# bash, then to run this script, type that shell name before the whole -# command line, like: -# -# ksh Gradle -# -# Busybox and similar reduced shells will NOT work, because this script -# requires all of these POSIX shell features: -# * functions; -# * expansions «$var», «${var}», «${var:-default}», «${var+SET}», -# «${var#prefix}», «${var%suffix}», and «$( cmd )»; -# * compound commands having a testable exit status, especially «case»; -# * various built-in commands including «command», «set», and «ulimit». -# -# Important for patching: -# -# (2) This script targets any POSIX shell, so it avoids extensions provided -# by Bash, Ksh, etc; in particular arrays are avoided. -# -# The "traditional" practice of packing multiple parameters into a -# space-separated string is a well documented source of bugs and security -# problems, so this is (mostly) avoided, by progressively accumulating -# options in "$@", and eventually passing that to Java. -# -# Where the inherited environment variables (DEFAULT_JVM_OPTS, JAVA_OPTS, -# and GRADLE_OPTS) rely on word-splitting, this is performed explicitly; -# see the in-line comments for details. -# -# There are tweaks for specific operating systems such as AIX, CygWin, -# Darwin, MinGW, and NonStop. -# -# (3) This script is generated from the Groovy template -# https://github.com/gradle/gradle/blob/master/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt -# within the Gradle project. -# -# You can find Gradle at https://github.com/gradle/gradle/. -# -############################################################################## - -# Attempt to set APP_HOME - -# Resolve links: $0 may be a link -app_path=$0 - -# Need this for daisy-chained symlinks. -while - APP_HOME=${app_path%"${app_path##*/}"} # leaves a trailing /; empty if no leading path - [ -h "$app_path" ] -do - ls=$( ls -ld "$app_path" ) - link=${ls#*' -> '} - case $link in #( - /*) app_path=$link ;; #( - *) app_path=$APP_HOME$link ;; - esac -done - -APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit - -APP_NAME="Gradle" -APP_BASE_NAME=${0##*/} - -# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. -DEFAULT_JVM_OPTS='-Dfile.encoding=UTF-8 "-Xmx64m" "-Xms64m"' - -# Use the maximum available, or set MAX_FD != -1 to use that value. -MAX_FD=maximum - -warn () { - echo "$*" -} >&2 - -die () { - echo - echo "$*" - echo - exit 1 -} >&2 - -# OS specific support (must be 'true' or 'false'). -cygwin=false -msys=false -darwin=false -nonstop=false -case "$( uname )" in #( - CYGWIN* ) cygwin=true ;; #( - Darwin* ) darwin=true ;; #( - MSYS* | MINGW* ) msys=true ;; #( - NONSTOP* ) nonstop=true ;; -esac - -CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar - - -# Determine the Java command to use to start the JVM. -if [ -n "$JAVA_HOME" ] ; then - if [ -x "$JAVA_HOME/jre/sh/java" ] ; then - # IBM's JDK on AIX uses strange locations for the executables - JAVACMD=$JAVA_HOME/jre/sh/java - else - JAVACMD=$JAVA_HOME/bin/java - fi - if [ ! -x "$JAVACMD" ] ; then - die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME - -Please set the JAVA_HOME variable in your environment to match the -location of your Java installation." - fi -else - JAVACMD=java - which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. - -Please set the JAVA_HOME variable in your environment to match the -location of your Java installation." -fi - -# Increase the maximum file descriptors if we can. -if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then - case $MAX_FD in #( - max*) - MAX_FD=$( ulimit -H -n ) || - warn "Could not query maximum file descriptor limit" - esac - case $MAX_FD in #( - '' | soft) :;; #( - *) - ulimit -n "$MAX_FD" || - warn "Could not set maximum file descriptor limit to $MAX_FD" - esac -fi - -# Collect all arguments for the java command, stacking in reverse order: -# * args from the command line -# * the main class name -# * -classpath -# * -D...appname settings -# * --module-path (only if needed) -# * DEFAULT_JVM_OPTS, JAVA_OPTS, and GRADLE_OPTS environment variables. - -# For Cygwin or MSYS, switch paths to Windows format before running java -if "$cygwin" || "$msys" ; then - APP_HOME=$( cygpath --path --mixed "$APP_HOME" ) - CLASSPATH=$( cygpath --path --mixed "$CLASSPATH" ) - - JAVACMD=$( cygpath --unix "$JAVACMD" ) - - # Now convert the arguments - kludge to limit ourselves to /bin/sh - for arg do - if - case $arg in #( - -*) false ;; # don't mess with options #( - /?*) t=${arg#/} t=/${t%%/*} # looks like a POSIX filepath - [ -e "$t" ] ;; #( - *) false ;; - esac - then - arg=$( cygpath --path --ignore --mixed "$arg" ) - fi - # Roll the args list around exactly as many times as the number of - # args, so each arg winds up back in the position where it started, but - # possibly modified. - # - # NB: a `for` loop captures its iteration list before it begins, so - # changing the positional parameters here affects neither the number of - # iterations, nor the values presented in `arg`. - shift # remove old arg - set -- "$@" "$arg" # push replacement arg - done -fi - -# Collect all arguments for the java command; -# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of -# shell script including quotes and variable substitutions, so put them in -# double quotes to make sure that they get re-expanded; and -# * put everything else in single quotes, so that it's not re-expanded. - -set -- \ - "-Dorg.gradle.appname=$APP_BASE_NAME" \ - -classpath "$CLASSPATH" \ - org.gradle.wrapper.GradleWrapperMain \ - "$@" - -# Use "xargs" to parse quoted args. -# -# With -n1 it outputs one arg per line, with the quotes and backslashes removed. -# -# In Bash we could simply go: -# -# readarray ARGS < <( xargs -n1 <<<"$var" ) && -# set -- "${ARGS[@]}" "$@" -# -# but POSIX shell has neither arrays nor command substitution, so instead we -# post-process each arg (as a line of input to sed) to backslash-escape any -# character that might be a shell metacharacter, then use eval to reverse -# that process (while maintaining the separation between arguments), and wrap -# the whole thing up as a single "set" statement. -# -# This will of course break if any of these variables contains a newline or -# an unmatched quote. -# - -eval "set -- $( - printf '%s\n' "$DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS" | - xargs -n1 | - sed ' s~[^-[:alnum:]+,./:=@_]~\\&~g; ' | - tr '\n' ' ' - )" '"$@"' - -exec "$JAVACMD" "$@" diff --git a/clients/java-legacy/gradlew.bat b/clients/java-legacy/gradlew.bat deleted file mode 100644 index 6a68175eb70..00000000000 --- a/clients/java-legacy/gradlew.bat +++ /dev/null @@ -1,89 +0,0 @@ -@rem -@rem Copyright 2015 the original author or authors. -@rem -@rem Licensed under the Apache License, Version 2.0 (the "License"); -@rem you may not use this file except in compliance with the License. -@rem You may obtain a copy of the License at -@rem -@rem https://www.apache.org/licenses/LICENSE-2.0 -@rem -@rem Unless required by applicable law or agreed to in writing, software -@rem distributed under the License is distributed on an "AS IS" BASIS, -@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -@rem See the License for the specific language governing permissions and -@rem limitations under the License. -@rem - -@if "%DEBUG%" == "" @echo off -@rem ########################################################################## -@rem -@rem Gradle startup script for Windows -@rem -@rem ########################################################################## - -@rem Set local scope for the variables with windows NT shell -if "%OS%"=="Windows_NT" setlocal - -set DIRNAME=%~dp0 -if "%DIRNAME%" == "" set DIRNAME=. -set APP_BASE_NAME=%~n0 -set APP_HOME=%DIRNAME% - -@rem Resolve any "." and ".." in APP_HOME to make it shorter. -for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi - -@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. -set DEFAULT_JVM_OPTS=-Dfile.encoding=UTF-8 "-Xmx64m" "-Xms64m" - -@rem Find java.exe -if defined JAVA_HOME goto findJavaFromJavaHome - -set JAVA_EXE=java.exe -%JAVA_EXE% -version >NUL 2>&1 -if "%ERRORLEVEL%" == "0" goto execute - -echo. -echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. -echo. -echo Please set the JAVA_HOME variable in your environment to match the -echo location of your Java installation. - -goto fail - -:findJavaFromJavaHome -set JAVA_HOME=%JAVA_HOME:"=% -set JAVA_EXE=%JAVA_HOME%/bin/java.exe - -if exist "%JAVA_EXE%" goto execute - -echo. -echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% -echo. -echo Please set the JAVA_HOME variable in your environment to match the -echo location of your Java installation. - -goto fail - -:execute -@rem Setup the command line - -set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar - - -@rem Execute Gradle -"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %* - -:end -@rem End local scope for the variables with windows NT shell -if "%ERRORLEVEL%"=="0" goto mainEnd - -:fail -rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of -rem the _cmd.exe /c_ return code! -if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 -exit /b 1 - -:mainEnd -if "%OS%"=="Windows_NT" endlocal - -:omega diff --git a/clients/java-legacy/pom.xml b/clients/java-legacy/pom.xml deleted file mode 100644 index bec16246a3a..00000000000 --- a/clients/java-legacy/pom.xml +++ /dev/null @@ -1,299 +0,0 @@ - - 4.0.0 - io.lakefs - api-client - jar - api-client - 0.1.0-SNAPSHOT - https://lakefs.io - lakeFS OpenAPI Java client legacy SDK - - scm:git:git@github.com:treeverse/lakeFS.git - scm:git:git@github.com:treeverse/lakeFS.git - https://github.com/treeverse/lakeFS - - - io.lakefs - lakefs-parent - 0 - - - - - apache2 - https://www.apache.org/licenses/LICENSE-2.0.html - repo - - - - - - Treeverse lakeFS dev - services@treeverse.io - lakefs.io - https://lakefs.io - - - - - - - org.apache.maven.plugins - maven-compiler-plugin - 3.8.1 - - true - 128m - 512m - - -Xlint:all - -J-Xss4m - - - - - org.apache.maven.plugins - maven-enforcer-plugin - 3.0.0-M1 - - - enforce-maven - - enforce - - - - - 2.2.0 - - - - - - - - org.apache.maven.plugins - maven-surefire-plugin - 3.0.0-M4 - - - - loggerPath - conf/log4j.properties - - - -Xms512m -Xmx1500m - methods - 10 - - - - maven-dependency-plugin - - - package - - copy-dependencies - - - ${project.build.directory}/lib - - - - - - - - org.apache.maven.plugins - maven-jar-plugin - 2.2 - - - - jar - test-jar - - - - - - - - - org.codehaus.mojo - build-helper-maven-plugin - 1.10 - - - add_sources - generate-sources - - add-source - - - - src/main/java - - - - - add_test_sources - generate-test-sources - - add-test-source - - - - src/test/java - - - - - - - org.apache.maven.plugins - maven-javadoc-plugin - 3.1.1 - - - attach-javadocs - - jar - - - - - none - - - http.response.details - a - Http Response Details: - - - - - - org.apache.maven.plugins - maven-source-plugin - 2.2.1 - - - attach-sources - - jar-no-fork - - - - - - - - - - sign-artifacts - - - - org.apache.maven.plugins - maven-gpg-plugin - 1.5 - - - sign-artifacts - verify - - sign - - - - - - - - - - - - io.swagger - swagger-annotations - ${swagger-core-version} - - - - com.google.code.findbugs - jsr305 - 3.0.2 - - - com.squareup.okhttp3 - okhttp - ${okhttp-version} - - - com.squareup.okhttp3 - logging-interceptor - ${okhttp-version} - - - com.google.code.gson - gson - ${gson-version} - - - io.gsonfire - gson-fire - ${gson-fire-version} - - - org.apache.commons - commons-lang3 - ${commons-lang3-version} - - - org.threeten - threetenbp - ${threetenbp-version} - - - jakarta.annotation - jakarta.annotation-api - ${jakarta-annotation-version} - provided - - - org.openapitools - jackson-databind-nullable - ${jackson-databind-nullable-version} - - - - junit - junit - ${junit-version} - test - - - org.mockito - mockito-core - 3.11.2 - test - - - - 1.7 - ${java.version} - ${java.version} - 1.8.5 - 1.6.2 - 4.9.1 - 2.8.6 - 3.11 - 0.2.1 - 1.5.0 - 1.3.5 - 4.13.1 - UTF-8 - - diff --git a/clients/java-legacy/settings.gradle b/clients/java-legacy/settings.gradle deleted file mode 100644 index 5d37c7c9cc6..00000000000 --- a/clients/java-legacy/settings.gradle +++ /dev/null @@ -1 +0,0 @@ -rootProject.name = "api-client" \ No newline at end of file diff --git a/clients/java-legacy/src/main/AndroidManifest.xml b/clients/java-legacy/src/main/AndroidManifest.xml deleted file mode 100644 index 3cd2967e7be..00000000000 --- a/clients/java-legacy/src/main/AndroidManifest.xml +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/ActionsApi.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/ActionsApi.java deleted file mode 100644 index 5162d6e42a7..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/ActionsApi.java +++ /dev/null @@ -1,661 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api; - -import io.lakefs.clients.api.ApiCallback; -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.ApiResponse; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.Pair; -import io.lakefs.clients.api.ProgressRequestBody; -import io.lakefs.clients.api.ProgressResponseBody; - -import com.google.gson.reflect.TypeToken; - -import java.io.IOException; - - -import io.lakefs.clients.api.model.ActionRun; -import io.lakefs.clients.api.model.ActionRunList; -import io.lakefs.clients.api.model.Error; -import java.io.File; -import io.lakefs.clients.api.model.HookRunList; - -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -public class ActionsApi { - private ApiClient localVarApiClient; - - public ActionsApi() { - this(Configuration.getDefaultApiClient()); - } - - public ActionsApi(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - public ApiClient getApiClient() { - return localVarApiClient; - } - - public void setApiClient(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - /** - * Build call for getRun - * @param repository (required) - * @param runId (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 action run result -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call getRunCall(String repository, String runId, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/repositories/{repository}/actions/runs/{run_id}" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())) - .replaceAll("\\{" + "run_id" + "\\}", localVarApiClient.escapeString(runId.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getRunValidateBeforeCall(String repository, String runId, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling getRun(Async)"); - } - - // verify the required parameter 'runId' is set - if (runId == null) { - throw new ApiException("Missing the required parameter 'runId' when calling getRun(Async)"); - } - - - okhttp3.Call localVarCall = getRunCall(repository, runId, _callback); - return localVarCall; - - } - - /** - * get a run - * - * @param repository (required) - * @param runId (required) - * @return ActionRun - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 action run result -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ActionRun getRun(String repository, String runId) throws ApiException { - ApiResponse localVarResp = getRunWithHttpInfo(repository, runId); - return localVarResp.getData(); - } - - /** - * get a run - * - * @param repository (required) - * @param runId (required) - * @return ApiResponse<ActionRun> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 action run result -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse getRunWithHttpInfo(String repository, String runId) throws ApiException { - okhttp3.Call localVarCall = getRunValidateBeforeCall(repository, runId, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * get a run (asynchronously) - * - * @param repository (required) - * @param runId (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 action run result -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call getRunAsync(String repository, String runId, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getRunValidateBeforeCall(repository, runId, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getRunHookOutput - * @param repository (required) - * @param runId (required) - * @param hookRunId (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 run hook output -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call getRunHookOutputCall(String repository, String runId, String hookRunId, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/repositories/{repository}/actions/runs/{run_id}/hooks/{hook_run_id}/output" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())) - .replaceAll("\\{" + "run_id" + "\\}", localVarApiClient.escapeString(runId.toString())) - .replaceAll("\\{" + "hook_run_id" + "\\}", localVarApiClient.escapeString(hookRunId.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/octet-stream", "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getRunHookOutputValidateBeforeCall(String repository, String runId, String hookRunId, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling getRunHookOutput(Async)"); - } - - // verify the required parameter 'runId' is set - if (runId == null) { - throw new ApiException("Missing the required parameter 'runId' when calling getRunHookOutput(Async)"); - } - - // verify the required parameter 'hookRunId' is set - if (hookRunId == null) { - throw new ApiException("Missing the required parameter 'hookRunId' when calling getRunHookOutput(Async)"); - } - - - okhttp3.Call localVarCall = getRunHookOutputCall(repository, runId, hookRunId, _callback); - return localVarCall; - - } - - /** - * get run hook output - * - * @param repository (required) - * @param runId (required) - * @param hookRunId (required) - * @return File - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 run hook output -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public File getRunHookOutput(String repository, String runId, String hookRunId) throws ApiException { - ApiResponse localVarResp = getRunHookOutputWithHttpInfo(repository, runId, hookRunId); - return localVarResp.getData(); - } - - /** - * get run hook output - * - * @param repository (required) - * @param runId (required) - * @param hookRunId (required) - * @return ApiResponse<File> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 run hook output -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse getRunHookOutputWithHttpInfo(String repository, String runId, String hookRunId) throws ApiException { - okhttp3.Call localVarCall = getRunHookOutputValidateBeforeCall(repository, runId, hookRunId, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * get run hook output (asynchronously) - * - * @param repository (required) - * @param runId (required) - * @param hookRunId (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 run hook output -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call getRunHookOutputAsync(String repository, String runId, String hookRunId, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getRunHookOutputValidateBeforeCall(repository, runId, hookRunId, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for listRepositoryRuns - * @param repository (required) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @param branch (optional) - * @param commit (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 list action runs -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call listRepositoryRunsCall(String repository, String after, Integer amount, String branch, String commit, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/repositories/{repository}/actions/runs" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (after != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("after", after)); - } - - if (amount != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("amount", amount)); - } - - if (branch != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("branch", branch)); - } - - if (commit != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("commit", commit)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call listRepositoryRunsValidateBeforeCall(String repository, String after, Integer amount, String branch, String commit, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling listRepositoryRuns(Async)"); - } - - - okhttp3.Call localVarCall = listRepositoryRunsCall(repository, after, amount, branch, commit, _callback); - return localVarCall; - - } - - /** - * list runs - * - * @param repository (required) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @param branch (optional) - * @param commit (optional) - * @return ActionRunList - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 list action runs -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ActionRunList listRepositoryRuns(String repository, String after, Integer amount, String branch, String commit) throws ApiException { - ApiResponse localVarResp = listRepositoryRunsWithHttpInfo(repository, after, amount, branch, commit); - return localVarResp.getData(); - } - - /** - * list runs - * - * @param repository (required) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @param branch (optional) - * @param commit (optional) - * @return ApiResponse<ActionRunList> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 list action runs -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse listRepositoryRunsWithHttpInfo(String repository, String after, Integer amount, String branch, String commit) throws ApiException { - okhttp3.Call localVarCall = listRepositoryRunsValidateBeforeCall(repository, after, amount, branch, commit, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * list runs (asynchronously) - * - * @param repository (required) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @param branch (optional) - * @param commit (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 list action runs -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call listRepositoryRunsAsync(String repository, String after, Integer amount, String branch, String commit, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = listRepositoryRunsValidateBeforeCall(repository, after, amount, branch, commit, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for listRunHooks - * @param repository (required) - * @param runId (required) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 list specific run hooks -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call listRunHooksCall(String repository, String runId, String after, Integer amount, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/repositories/{repository}/actions/runs/{run_id}/hooks" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())) - .replaceAll("\\{" + "run_id" + "\\}", localVarApiClient.escapeString(runId.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (after != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("after", after)); - } - - if (amount != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("amount", amount)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call listRunHooksValidateBeforeCall(String repository, String runId, String after, Integer amount, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling listRunHooks(Async)"); - } - - // verify the required parameter 'runId' is set - if (runId == null) { - throw new ApiException("Missing the required parameter 'runId' when calling listRunHooks(Async)"); - } - - - okhttp3.Call localVarCall = listRunHooksCall(repository, runId, after, amount, _callback); - return localVarCall; - - } - - /** - * list run hooks - * - * @param repository (required) - * @param runId (required) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @return HookRunList - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 list specific run hooks -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public HookRunList listRunHooks(String repository, String runId, String after, Integer amount) throws ApiException { - ApiResponse localVarResp = listRunHooksWithHttpInfo(repository, runId, after, amount); - return localVarResp.getData(); - } - - /** - * list run hooks - * - * @param repository (required) - * @param runId (required) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @return ApiResponse<HookRunList> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 list specific run hooks -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse listRunHooksWithHttpInfo(String repository, String runId, String after, Integer amount) throws ApiException { - okhttp3.Call localVarCall = listRunHooksValidateBeforeCall(repository, runId, after, amount, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * list run hooks (asynchronously) - * - * @param repository (required) - * @param runId (required) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 list specific run hooks -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call listRunHooksAsync(String repository, String runId, String after, Integer amount, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = listRunHooksValidateBeforeCall(repository, runId, after, amount, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } -} diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/ApiCallback.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/ApiCallback.java deleted file mode 100644 index a8befd950ff..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/ApiCallback.java +++ /dev/null @@ -1,62 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api; - -import java.io.IOException; - -import java.util.Map; -import java.util.List; - -/** - * Callback for asynchronous API call. - * - * @param The return type - */ -public interface ApiCallback { - /** - * This is called when the API call fails. - * - * @param e The exception causing the failure - * @param statusCode Status code of the response if available, otherwise it would be 0 - * @param responseHeaders Headers of the response if available, otherwise it would be null - */ - void onFailure(ApiException e, int statusCode, Map> responseHeaders); - - /** - * This is called when the API call succeeded. - * - * @param result The result deserialized from response - * @param statusCode Status code of the response - * @param responseHeaders Headers of the response - */ - void onSuccess(T result, int statusCode, Map> responseHeaders); - - /** - * This is called when the API upload processing. - * - * @param bytesWritten bytes Written - * @param contentLength content length of request body - * @param done write end - */ - void onUploadProgress(long bytesWritten, long contentLength, boolean done); - - /** - * This is called when the API download processing. - * - * @param bytesRead bytes Read - * @param contentLength content length of the response - * @param done Read end - */ - void onDownloadProgress(long bytesRead, long contentLength, boolean done); -} diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/ApiClient.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/ApiClient.java deleted file mode 100644 index d469b38e79c..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/ApiClient.java +++ /dev/null @@ -1,1373 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api; - -import okhttp3.*; -import okhttp3.internal.http.HttpMethod; -import okhttp3.internal.tls.OkHostnameVerifier; -import okhttp3.logging.HttpLoggingInterceptor; -import okhttp3.logging.HttpLoggingInterceptor.Level; -import okio.BufferedSink; -import okio.Okio; -import org.threeten.bp.LocalDate; -import org.threeten.bp.OffsetDateTime; -import org.threeten.bp.format.DateTimeFormatter; - -import javax.net.ssl.*; -import java.io.File; -import java.io.IOException; -import java.io.InputStream; -import java.io.UnsupportedEncodingException; -import java.lang.reflect.Type; -import java.net.URI; -import java.net.URLConnection; -import java.net.URLEncoder; -import java.nio.file.Files; -import java.nio.file.Paths; -import java.security.GeneralSecurityException; -import java.security.KeyStore; -import java.security.SecureRandom; -import java.security.cert.Certificate; -import java.security.cert.CertificateException; -import java.security.cert.CertificateFactory; -import java.security.cert.X509Certificate; -import java.text.DateFormat; -import java.util.*; -import java.util.Map.Entry; -import java.util.concurrent.TimeUnit; -import java.util.regex.Matcher; -import java.util.regex.Pattern; - -import io.lakefs.clients.api.auth.Authentication; -import io.lakefs.clients.api.auth.HttpBasicAuth; -import io.lakefs.clients.api.auth.HttpBearerAuth; -import io.lakefs.clients.api.auth.ApiKeyAuth; - -public class ApiClient { - - private String basePath = "http://localhost/api/v1"; - private boolean debugging = false; - private Map defaultHeaderMap = new HashMap(); - private Map defaultCookieMap = new HashMap(); - private String tempFolderPath = null; - - private Map authentications; - - private DateFormat dateFormat; - private DateFormat datetimeFormat; - private boolean lenientDatetimeFormat; - private int dateLength; - - private InputStream sslCaCert; - private boolean verifyingSsl; - private KeyManager[] keyManagers; - - private OkHttpClient httpClient; - private JSON json; - - private HttpLoggingInterceptor loggingInterceptor; - - /* - * Basic constructor for ApiClient - */ - public ApiClient() { - init(); - initHttpClient(); - - // Setup authentications (key: authentication name, value: authentication). - authentications.put("basic_auth", new HttpBasicAuth()); - authentications.put("cookie_auth", new ApiKeyAuth("cookie", "internal_auth_session")); - authentications.put("jwt_token", new HttpBearerAuth("bearer")); - authentications.put("oidc_auth", new ApiKeyAuth("cookie", "oidc_auth_session")); - authentications.put("saml_auth", new ApiKeyAuth("cookie", "saml_auth_session")); - // Prevent the authentications from being modified. - authentications = Collections.unmodifiableMap(authentications); - } - - /* - * Basic constructor with custom OkHttpClient - */ - public ApiClient(OkHttpClient client) { - init(); - - httpClient = client; - - // Setup authentications (key: authentication name, value: authentication). - authentications.put("basic_auth", new HttpBasicAuth()); - authentications.put("cookie_auth", new ApiKeyAuth("cookie", "internal_auth_session")); - authentications.put("jwt_token", new HttpBearerAuth("bearer")); - authentications.put("oidc_auth", new ApiKeyAuth("cookie", "oidc_auth_session")); - authentications.put("saml_auth", new ApiKeyAuth("cookie", "saml_auth_session")); - // Prevent the authentications from being modified. - authentications = Collections.unmodifiableMap(authentications); - } - - private void initHttpClient() { - initHttpClient(Collections.emptyList()); - } - - private void initHttpClient(List interceptors) { - OkHttpClient.Builder builder = new OkHttpClient.Builder(); - builder.addNetworkInterceptor(getProgressInterceptor()); - for (Interceptor interceptor: interceptors) { - builder.addInterceptor(interceptor); - } - - httpClient = builder.build(); - } - - private void init() { - verifyingSsl = true; - - json = new JSON(); - - // Set default User-Agent. - setUserAgent("lakefs-java-sdk/0.1.0-SNAPSHOT-legacy"); - - authentications = new HashMap(); - } - - /** - * Get base path - * - * @return Base path - */ - public String getBasePath() { - return basePath; - } - - /** - * Set base path - * - * @param basePath Base path of the URL (e.g http://localhost/api/v1 - * @return An instance of OkHttpClient - */ - public ApiClient setBasePath(String basePath) { - this.basePath = basePath; - return this; - } - - /** - * Get HTTP client - * - * @return An instance of OkHttpClient - */ - public OkHttpClient getHttpClient() { - return httpClient; - } - - /** - * Set HTTP client, which must never be null. - * - * @param newHttpClient An instance of OkHttpClient - * @return Api Client - * @throws NullPointerException when newHttpClient is null - */ - public ApiClient setHttpClient(OkHttpClient newHttpClient) { - this.httpClient = Objects.requireNonNull(newHttpClient, "HttpClient must not be null!"); - return this; - } - - /** - * Get JSON - * - * @return JSON object - */ - public JSON getJSON() { - return json; - } - - /** - * Set JSON - * - * @param json JSON object - * @return Api client - */ - public ApiClient setJSON(JSON json) { - this.json = json; - return this; - } - - /** - * True if isVerifyingSsl flag is on - * - * @return True if isVerifySsl flag is on - */ - public boolean isVerifyingSsl() { - return verifyingSsl; - } - - /** - * Configure whether to verify certificate and hostname when making https requests. - * Default to true. - * NOTE: Do NOT set to false in production code, otherwise you would face multiple types of cryptographic attacks. - * - * @param verifyingSsl True to verify TLS/SSL connection - * @return ApiClient - */ - public ApiClient setVerifyingSsl(boolean verifyingSsl) { - this.verifyingSsl = verifyingSsl; - applySslSettings(); - return this; - } - - /** - * Get SSL CA cert. - * - * @return Input stream to the SSL CA cert - */ - public InputStream getSslCaCert() { - return sslCaCert; - } - - /** - * Configure the CA certificate to be trusted when making https requests. - * Use null to reset to default. - * - * @param sslCaCert input stream for SSL CA cert - * @return ApiClient - */ - public ApiClient setSslCaCert(InputStream sslCaCert) { - this.sslCaCert = sslCaCert; - applySslSettings(); - return this; - } - - public KeyManager[] getKeyManagers() { - return keyManagers; - } - - /** - * Configure client keys to use for authorization in an SSL session. - * Use null to reset to default. - * - * @param managers The KeyManagers to use - * @return ApiClient - */ - public ApiClient setKeyManagers(KeyManager[] managers) { - this.keyManagers = managers; - applySslSettings(); - return this; - } - - public DateFormat getDateFormat() { - return dateFormat; - } - - public ApiClient setDateFormat(DateFormat dateFormat) { - this.json.setDateFormat(dateFormat); - return this; - } - - public ApiClient setSqlDateFormat(DateFormat dateFormat) { - this.json.setSqlDateFormat(dateFormat); - return this; - } - - public ApiClient setOffsetDateTimeFormat(DateTimeFormatter dateFormat) { - this.json.setOffsetDateTimeFormat(dateFormat); - return this; - } - - public ApiClient setLocalDateFormat(DateTimeFormatter dateFormat) { - this.json.setLocalDateFormat(dateFormat); - return this; - } - - public ApiClient setLenientOnJson(boolean lenientOnJson) { - this.json.setLenientOnJson(lenientOnJson); - return this; - } - - /** - * Get authentications (key: authentication name, value: authentication). - * - * @return Map of authentication objects - */ - public Map getAuthentications() { - return authentications; - } - - /** - * Get authentication for the given name. - * - * @param authName The authentication name - * @return The authentication, null if not found - */ - public Authentication getAuthentication(String authName) { - return authentications.get(authName); - } - - /** - * Helper method to set access token for the first Bearer authentication. - * @param bearerToken Bearer token - */ - public void setBearerToken(String bearerToken) { - for (Authentication auth : authentications.values()) { - if (auth instanceof HttpBearerAuth) { - ((HttpBearerAuth) auth).setBearerToken(bearerToken); - return; - } - } - throw new RuntimeException("No Bearer authentication configured!"); - } - - /** - * Helper method to set username for the first HTTP basic authentication. - * - * @param username Username - */ - public void setUsername(String username) { - for (Authentication auth : authentications.values()) { - if (auth instanceof HttpBasicAuth) { - ((HttpBasicAuth) auth).setUsername(username); - return; - } - } - throw new RuntimeException("No HTTP basic authentication configured!"); - } - - /** - * Helper method to set password for the first HTTP basic authentication. - * - * @param password Password - */ - public void setPassword(String password) { - for (Authentication auth : authentications.values()) { - if (auth instanceof HttpBasicAuth) { - ((HttpBasicAuth) auth).setPassword(password); - return; - } - } - throw new RuntimeException("No HTTP basic authentication configured!"); - } - - /** - * Helper method to set API key value for the first API key authentication. - * - * @param apiKey API key - */ - public void setApiKey(String apiKey) { - for (Authentication auth : authentications.values()) { - if (auth instanceof ApiKeyAuth) { - ((ApiKeyAuth) auth).setApiKey(apiKey); - return; - } - } - throw new RuntimeException("No API key authentication configured!"); - } - - /** - * Helper method to set API key prefix for the first API key authentication. - * - * @param apiKeyPrefix API key prefix - */ - public void setApiKeyPrefix(String apiKeyPrefix) { - for (Authentication auth : authentications.values()) { - if (auth instanceof ApiKeyAuth) { - ((ApiKeyAuth) auth).setApiKeyPrefix(apiKeyPrefix); - return; - } - } - throw new RuntimeException("No API key authentication configured!"); - } - - /** - * Helper method to set access token for the first OAuth2 authentication. - * - * @param accessToken Access token - */ - public void setAccessToken(String accessToken) { - throw new RuntimeException("No OAuth2 authentication configured!"); - } - - /** - * Set the User-Agent header's value (by adding to the default header map). - * - * @param userAgent HTTP request's user agent - * @return ApiClient - */ - public ApiClient setUserAgent(String userAgent) { - addDefaultHeader("User-Agent", userAgent); - return this; - } - - /** - * Add a default header. - * - * @param key The header's key - * @param value The header's value - * @return ApiClient - */ - public ApiClient addDefaultHeader(String key, String value) { - defaultHeaderMap.put(key, value); - return this; - } - - /** - * Add a default cookie. - * - * @param key The cookie's key - * @param value The cookie's value - * @return ApiClient - */ - public ApiClient addDefaultCookie(String key, String value) { - defaultCookieMap.put(key, value); - return this; - } - - /** - * Check that whether debugging is enabled for this API client. - * - * @return True if debugging is enabled, false otherwise. - */ - public boolean isDebugging() { - return debugging; - } - - /** - * Enable/disable debugging for this API client. - * - * @param debugging To enable (true) or disable (false) debugging - * @return ApiClient - */ - public ApiClient setDebugging(boolean debugging) { - if (debugging != this.debugging) { - if (debugging) { - loggingInterceptor = new HttpLoggingInterceptor(); - loggingInterceptor.setLevel(Level.BODY); - httpClient = httpClient.newBuilder().addInterceptor(loggingInterceptor).build(); - } else { - final OkHttpClient.Builder builder = httpClient.newBuilder(); - builder.interceptors().remove(loggingInterceptor); - httpClient = builder.build(); - loggingInterceptor = null; - } - } - this.debugging = debugging; - return this; - } - - /** - * The path of temporary folder used to store downloaded files from endpoints - * with file response. The default value is null, i.e. using - * the system's default temporary folder. - * - * @see createTempFile - * @return Temporary folder path - */ - public String getTempFolderPath() { - return tempFolderPath; - } - - /** - * Set the temporary folder path (for downloading files) - * - * @param tempFolderPath Temporary folder path - * @return ApiClient - */ - public ApiClient setTempFolderPath(String tempFolderPath) { - this.tempFolderPath = tempFolderPath; - return this; - } - - /** - * Get connection timeout (in milliseconds). - * - * @return Timeout in milliseconds - */ - public int getConnectTimeout() { - return httpClient.connectTimeoutMillis(); - } - - /** - * Sets the connect timeout (in milliseconds). - * A value of 0 means no timeout, otherwise values must be between 1 and - * {@link Integer#MAX_VALUE}. - * - * @param connectionTimeout connection timeout in milliseconds - * @return Api client - */ - public ApiClient setConnectTimeout(int connectionTimeout) { - httpClient = httpClient.newBuilder().connectTimeout(connectionTimeout, TimeUnit.MILLISECONDS).build(); - return this; - } - - /** - * Get read timeout (in milliseconds). - * - * @return Timeout in milliseconds - */ - public int getReadTimeout() { - return httpClient.readTimeoutMillis(); - } - - /** - * Sets the read timeout (in milliseconds). - * A value of 0 means no timeout, otherwise values must be between 1 and - * {@link Integer#MAX_VALUE}. - * - * @param readTimeout read timeout in milliseconds - * @return Api client - */ - public ApiClient setReadTimeout(int readTimeout) { - httpClient = httpClient.newBuilder().readTimeout(readTimeout, TimeUnit.MILLISECONDS).build(); - return this; - } - - /** - * Get write timeout (in milliseconds). - * - * @return Timeout in milliseconds - */ - public int getWriteTimeout() { - return httpClient.writeTimeoutMillis(); - } - - /** - * Sets the write timeout (in milliseconds). - * A value of 0 means no timeout, otherwise values must be between 1 and - * {@link Integer#MAX_VALUE}. - * - * @param writeTimeout connection timeout in milliseconds - * @return Api client - */ - public ApiClient setWriteTimeout(int writeTimeout) { - httpClient = httpClient.newBuilder().writeTimeout(writeTimeout, TimeUnit.MILLISECONDS).build(); - return this; - } - - - /** - * Format the given parameter object into string. - * - * @param param Parameter - * @return String representation of the parameter - */ - public String parameterToString(Object param) { - if (param == null) { - return ""; - } else if (param instanceof Date || param instanceof OffsetDateTime || param instanceof LocalDate) { - //Serialize to json string and remove the " enclosing characters - String jsonStr = json.serialize(param); - return jsonStr.substring(1, jsonStr.length() - 1); - } else if (param instanceof Collection) { - StringBuilder b = new StringBuilder(); - for (Object o : (Collection) param) { - if (b.length() > 0) { - b.append(","); - } - b.append(String.valueOf(o)); - } - return b.toString(); - } else { - return String.valueOf(param); - } - } - - /** - * Formats the specified query parameter to a list containing a single {@code Pair} object. - * - * Note that {@code value} must not be a collection. - * - * @param name The name of the parameter. - * @param value The value of the parameter. - * @return A list containing a single {@code Pair} object. - */ - public List parameterToPair(String name, Object value) { - List params = new ArrayList(); - - // preconditions - if (name == null || name.isEmpty() || value == null || value instanceof Collection) { - return params; - } - - params.add(new Pair(name, parameterToString(value))); - return params; - } - - /** - * Formats the specified collection query parameters to a list of {@code Pair} objects. - * - * Note that the values of each of the returned Pair objects are percent-encoded. - * - * @param collectionFormat The collection format of the parameter. - * @param name The name of the parameter. - * @param value The value of the parameter. - * @return A list of {@code Pair} objects. - */ - public List parameterToPairs(String collectionFormat, String name, Collection value) { - List params = new ArrayList(); - - // preconditions - if (name == null || name.isEmpty() || value == null || value.isEmpty()) { - return params; - } - - // create the params based on the collection format - if ("multi".equals(collectionFormat)) { - for (Object item : value) { - params.add(new Pair(name, escapeString(parameterToString(item)))); - } - return params; - } - - // collectionFormat is assumed to be "csv" by default - String delimiter = ","; - - // escape all delimiters except commas, which are URI reserved - // characters - if ("ssv".equals(collectionFormat)) { - delimiter = escapeString(" "); - } else if ("tsv".equals(collectionFormat)) { - delimiter = escapeString("\t"); - } else if ("pipes".equals(collectionFormat)) { - delimiter = escapeString("|"); - } - - StringBuilder sb = new StringBuilder(); - for (Object item : value) { - sb.append(delimiter); - sb.append(escapeString(parameterToString(item))); - } - - params.add(new Pair(name, sb.substring(delimiter.length()))); - - return params; - } - - /** - * Formats the specified collection path parameter to a string value. - * - * @param collectionFormat The collection format of the parameter. - * @param value The value of the parameter. - * @return String representation of the parameter - */ - public String collectionPathParameterToString(String collectionFormat, Collection value) { - // create the value based on the collection format - if ("multi".equals(collectionFormat)) { - // not valid for path params - return parameterToString(value); - } - - // collectionFormat is assumed to be "csv" by default - String delimiter = ","; - - if ("ssv".equals(collectionFormat)) { - delimiter = " "; - } else if ("tsv".equals(collectionFormat)) { - delimiter = "\t"; - } else if ("pipes".equals(collectionFormat)) { - delimiter = "|"; - } - - StringBuilder sb = new StringBuilder() ; - for (Object item : value) { - sb.append(delimiter); - sb.append(parameterToString(item)); - } - - return sb.substring(delimiter.length()); - } - - /** - * Sanitize filename by removing path. - * e.g. ../../sun.gif becomes sun.gif - * - * @param filename The filename to be sanitized - * @return The sanitized filename - */ - public String sanitizeFilename(String filename) { - return filename.replaceAll(".*[/\\\\]", ""); - } - - /** - * Check if the given MIME is a JSON MIME. - * JSON MIME examples: - * application/json - * application/json; charset=UTF8 - * APPLICATION/JSON - * application/vnd.company+json - * "* / *" is also default to JSON - * @param mime MIME (Multipurpose Internet Mail Extensions) - * @return True if the given MIME is JSON, false otherwise. - */ - public boolean isJsonMime(String mime) { - String jsonMime = "(?i)^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$"; - return mime != null && (mime.matches(jsonMime) || mime.equals("*/*")); - } - - /** - * Select the Accept header's value from the given accepts array: - * if JSON exists in the given array, use it; - * otherwise use all of them (joining into a string) - * - * @param accepts The accepts array to select from - * @return The Accept header to use. If the given array is empty, - * null will be returned (not to set the Accept header explicitly). - */ - public String selectHeaderAccept(String[] accepts) { - if (accepts.length == 0) { - return null; - } - for (String accept : accepts) { - if (isJsonMime(accept)) { - return accept; - } - } - return StringUtil.join(accepts, ","); - } - - /** - * Select the Content-Type header's value from the given array: - * if JSON exists in the given array, use it; - * otherwise use the first one of the array. - * - * @param contentTypes The Content-Type array to select from - * @return The Content-Type header to use. If the given array is empty, - * or matches "any", JSON will be used. - */ - public String selectHeaderContentType(String[] contentTypes) { - if (contentTypes.length == 0 || contentTypes[0].equals("*/*")) { - return "application/json"; - } - for (String contentType : contentTypes) { - if (isJsonMime(contentType)) { - return contentType; - } - } - return contentTypes[0]; - } - - /** - * Escape the given string to be used as URL query value. - * - * @param str String to be escaped - * @return Escaped string - */ - public String escapeString(String str) { - try { - return URLEncoder.encode(str, "utf8").replaceAll("\\+", "%20"); - } catch (UnsupportedEncodingException e) { - return str; - } - } - - /** - * Deserialize response body to Java object, according to the return type and - * the Content-Type response header. - * - * @param Type - * @param response HTTP response - * @param returnType The type of the Java object - * @return The deserialized Java object - * @throws ApiException If fail to deserialize response body, i.e. cannot read response body - * or the Content-Type of the response is not supported. - */ - @SuppressWarnings("unchecked") - public T deserialize(Response response, Type returnType) throws ApiException { - if (response == null || returnType == null) { - return null; - } - - if ("byte[]".equals(returnType.toString())) { - // Handle binary response (byte array). - try { - return (T) response.body().bytes(); - } catch (IOException e) { - throw new ApiException(e); - } - } else if (returnType.equals(File.class)) { - // Handle file downloading. - return (T) downloadFileFromResponse(response); - } - - String respBody; - try { - if (response.body() != null) - respBody = response.body().string(); - else - respBody = null; - } catch (IOException e) { - throw new ApiException(e); - } - - if (respBody == null || "".equals(respBody)) { - return null; - } - - String contentType = response.headers().get("Content-Type"); - if (contentType == null) { - // ensuring a default content type - contentType = "application/json"; - } - if (isJsonMime(contentType)) { - return json.deserialize(respBody, returnType); - } else if (returnType.equals(String.class)) { - // Expecting string, return the raw response body. - return (T) respBody; - } else { - throw new ApiException( - "Content type \"" + contentType + "\" is not supported for type: " + returnType, - response.code(), - response.headers().toMultimap(), - respBody); - } - } - - /** - * Serialize the given Java object into request body according to the object's - * class and the request Content-Type. - * - * @param obj The Java object - * @param contentType The request Content-Type - * @return The serialized request body - * @throws ApiException If fail to serialize the given object - */ - public RequestBody serialize(Object obj, String contentType) throws ApiException { - if (obj instanceof byte[]) { - // Binary (byte array) body parameter support. - return RequestBody.create((byte[]) obj, MediaType.parse(contentType)); - } else if (obj instanceof File) { - // File body parameter support. - return RequestBody.create((File) obj, MediaType.parse(contentType)); - } else if (isJsonMime(contentType)) { - String content; - if (obj != null) { - content = json.serialize(obj); - } else { - content = null; - } - return RequestBody.create(content, MediaType.parse(contentType)); - } else { - throw new ApiException("Content type \"" + contentType + "\" is not supported"); - } - } - - /** - * Download file from the given response. - * - * @param response An instance of the Response object - * @throws ApiException If fail to read file content from response and write to disk - * @return Downloaded file - */ - public File downloadFileFromResponse(Response response) throws ApiException { - try { - File file = prepareDownloadFile(response); - BufferedSink sink = Okio.buffer(Okio.sink(file)); - sink.writeAll(response.body().source()); - sink.close(); - return file; - } catch (IOException e) { - throw new ApiException(e); - } - } - - /** - * Prepare file for download - * - * @param response An instance of the Response object - * @return Prepared file for the download - * @throws IOException If fail to prepare file for download - */ - public File prepareDownloadFile(Response response) throws IOException { - String filename = null; - String contentDisposition = response.header("Content-Disposition"); - if (contentDisposition != null && !"".equals(contentDisposition)) { - // Get filename from the Content-Disposition header. - Pattern pattern = Pattern.compile("filename=['\"]?([^'\"\\s]+)['\"]?"); - Matcher matcher = pattern.matcher(contentDisposition); - if (matcher.find()) { - filename = sanitizeFilename(matcher.group(1)); - } - } - - String prefix = null; - String suffix = null; - if (filename == null) { - prefix = "download-"; - suffix = ""; - } else { - int pos = filename.lastIndexOf("."); - if (pos == -1) { - prefix = filename + "-"; - } else { - prefix = filename.substring(0, pos) + "-"; - suffix = filename.substring(pos); - } - // Files.createTempFile requires the prefix to be at least three characters long - if (prefix.length() < 3) - prefix = "download-"; - } - - if (tempFolderPath == null) - return Files.createTempFile(prefix, suffix).toFile(); - else - return Files.createTempFile(Paths.get(tempFolderPath), prefix, suffix).toFile(); - } - - /** - * {@link #execute(Call, Type)} - * - * @param Type - * @param call An instance of the Call object - * @return ApiResponse<T> - * @throws ApiException If fail to execute the call - */ - public ApiResponse execute(Call call) throws ApiException { - return execute(call, null); - } - - /** - * Execute HTTP call and deserialize the HTTP response body into the given return type. - * - * @param returnType The return type used to deserialize HTTP response body - * @param The return type corresponding to (same with) returnType - * @param call Call - * @return ApiResponse object containing response status, headers and - * data, which is a Java object deserialized from response body and would be null - * when returnType is null. - * @throws ApiException If fail to execute the call - */ - public ApiResponse execute(Call call, Type returnType) throws ApiException { - try { - Response response = call.execute(); - T data = handleResponse(response, returnType); - return new ApiResponse(response.code(), response.headers().toMultimap(), data); - } catch (IOException e) { - throw new ApiException(e); - } - } - - /** - * {@link #executeAsync(Call, Type, ApiCallback)} - * - * @param Type - * @param call An instance of the Call object - * @param callback ApiCallback<T> - */ - public void executeAsync(Call call, ApiCallback callback) { - executeAsync(call, null, callback); - } - - /** - * Execute HTTP call asynchronously. - * - * @param Type - * @param call The callback to be executed when the API call finishes - * @param returnType Return type - * @param callback ApiCallback - * @see #execute(Call, Type) - */ - @SuppressWarnings("unchecked") - public void executeAsync(Call call, final Type returnType, final ApiCallback callback) { - call.enqueue(new Callback() { - @Override - public void onFailure(Call call, IOException e) { - callback.onFailure(new ApiException(e), 0, null); - } - - @Override - public void onResponse(Call call, Response response) throws IOException { - T result; - try { - result = (T) handleResponse(response, returnType); - } catch (ApiException e) { - callback.onFailure(e, response.code(), response.headers().toMultimap()); - return; - } catch (Exception e) { - callback.onFailure(new ApiException(e), response.code(), response.headers().toMultimap()); - return; - } - callback.onSuccess(result, response.code(), response.headers().toMultimap()); - } - }); - } - - /** - * Handle the given response, return the deserialized object when the response is successful. - * - * @param Type - * @param response Response - * @param returnType Return type - * @return Type - * @throws ApiException If the response has an unsuccessful status code or - * fail to deserialize the response body - */ - public T handleResponse(Response response, Type returnType) throws ApiException { - if (response.isSuccessful()) { - if (returnType == null || response.code() == 204) { - // returning null if the returnType is not defined, - // or the status code is 204 (No Content) - if (response.body() != null) { - try { - response.body().close(); - } catch (Exception e) { - throw new ApiException(response.message(), e, response.code(), response.headers().toMultimap()); - } - } - return null; - } else { - return deserialize(response, returnType); - } - } else { - String respBody = null; - if (response.body() != null) { - try { - respBody = response.body().string(); - } catch (IOException e) { - throw new ApiException(response.message(), e, response.code(), response.headers().toMultimap()); - } - } - throw new ApiException(response.message(), response.code(), response.headers().toMultimap(), respBody); - } - } - - /** - * Build HTTP call with the given options. - * - * @param path The sub-path of the HTTP URL - * @param method The request method, one of "GET", "HEAD", "OPTIONS", "POST", "PUT", "PATCH" and "DELETE" - * @param queryParams The query parameters - * @param collectionQueryParams The collection query parameters - * @param body The request body object - * @param headerParams The header parameters - * @param cookieParams The cookie parameters - * @param formParams The form parameters - * @param authNames The authentications to apply - * @param callback Callback for upload/download progress - * @return The HTTP call - * @throws ApiException If fail to serialize the request body object - */ - public Call buildCall(String path, String method, List queryParams, List collectionQueryParams, Object body, Map headerParams, Map cookieParams, Map formParams, String[] authNames, ApiCallback callback) throws ApiException { - Request request = buildRequest(path, method, queryParams, collectionQueryParams, body, headerParams, cookieParams, formParams, authNames, callback); - - return httpClient.newCall(request); - } - - /** - * Build an HTTP request with the given options. - * - * @param path The sub-path of the HTTP URL - * @param method The request method, one of "GET", "HEAD", "OPTIONS", "POST", "PUT", "PATCH" and "DELETE" - * @param queryParams The query parameters - * @param collectionQueryParams The collection query parameters - * @param body The request body object - * @param headerParams The header parameters - * @param cookieParams The cookie parameters - * @param formParams The form parameters - * @param authNames The authentications to apply - * @param callback Callback for upload/download progress - * @return The HTTP request - * @throws ApiException If fail to serialize the request body object - */ - public Request buildRequest(String path, String method, List queryParams, List collectionQueryParams, Object body, Map headerParams, Map cookieParams, Map formParams, String[] authNames, ApiCallback callback) throws ApiException { - updateParamsForAuth(authNames, queryParams, headerParams, cookieParams); - - final String url = buildUrl(path, queryParams, collectionQueryParams); - final Request.Builder reqBuilder = new Request.Builder().url(url); - processHeaderParams(headerParams, reqBuilder); - processCookieParams(cookieParams, reqBuilder); - - String contentType = (String) headerParams.get("Content-Type"); - // ensuring a default content type - if (contentType == null) { - contentType = "application/json"; - } - - RequestBody reqBody; - if (!HttpMethod.permitsRequestBody(method)) { - reqBody = null; - } else if ("application/x-www-form-urlencoded".equals(contentType)) { - reqBody = buildRequestBodyFormEncoding(formParams); - } else if ("multipart/form-data".equals(contentType)) { - reqBody = buildRequestBodyMultipart(formParams); - } else if (body == null) { - if ("DELETE".equals(method)) { - // allow calling DELETE without sending a request body - reqBody = null; - } else { - // use an empty request body (for POST, PUT and PATCH) - reqBody = RequestBody.create("", MediaType.parse(contentType)); - } - } else { - reqBody = serialize(body, contentType); - } - - // Associate callback with request (if not null) so interceptor can - // access it when creating ProgressResponseBody - reqBuilder.tag(callback); - - Request request = null; - - if (callback != null && reqBody != null) { - ProgressRequestBody progressRequestBody = new ProgressRequestBody(reqBody, callback); - request = reqBuilder.method(method, progressRequestBody).build(); - } else { - request = reqBuilder.method(method, reqBody).build(); - } - - return request; - } - - /** - * Build full URL by concatenating base path, the given sub path and query parameters. - * - * @param path The sub path - * @param queryParams The query parameters - * @param collectionQueryParams The collection query parameters - * @return The full URL - */ - public String buildUrl(String path, List queryParams, List collectionQueryParams) { - final StringBuilder url = new StringBuilder(); - url.append(basePath).append(path); - - if (queryParams != null && !queryParams.isEmpty()) { - // support (constant) query string in `path`, e.g. "/posts?draft=1" - String prefix = path.contains("?") ? "&" : "?"; - for (Pair param : queryParams) { - if (param.getValue() != null) { - if (prefix != null) { - url.append(prefix); - prefix = null; - } else { - url.append("&"); - } - String value = parameterToString(param.getValue()); - url.append(escapeString(param.getName())).append("=").append(escapeString(value)); - } - } - } - - if (collectionQueryParams != null && !collectionQueryParams.isEmpty()) { - String prefix = url.toString().contains("?") ? "&" : "?"; - for (Pair param : collectionQueryParams) { - if (param.getValue() != null) { - if (prefix != null) { - url.append(prefix); - prefix = null; - } else { - url.append("&"); - } - String value = parameterToString(param.getValue()); - // collection query parameter value already escaped as part of parameterToPairs - url.append(escapeString(param.getName())).append("=").append(value); - } - } - } - - return url.toString(); - } - - /** - * Set header parameters to the request builder, including default headers. - * - * @param headerParams Header parameters in the form of Map - * @param reqBuilder Request.Builder - */ - public void processHeaderParams(Map headerParams, Request.Builder reqBuilder) { - for (Entry param : headerParams.entrySet()) { - reqBuilder.header(param.getKey(), parameterToString(param.getValue())); - } - for (Entry header : defaultHeaderMap.entrySet()) { - if (!headerParams.containsKey(header.getKey())) { - reqBuilder.header(header.getKey(), parameterToString(header.getValue())); - } - } - } - - /** - * Set cookie parameters to the request builder, including default cookies. - * - * @param cookieParams Cookie parameters in the form of Map - * @param reqBuilder Request.Builder - */ - public void processCookieParams(Map cookieParams, Request.Builder reqBuilder) { - for (Entry param : cookieParams.entrySet()) { - reqBuilder.addHeader("Cookie", String.format("%s=%s", param.getKey(), param.getValue())); - } - for (Entry param : defaultCookieMap.entrySet()) { - if (!cookieParams.containsKey(param.getKey())) { - reqBuilder.addHeader("Cookie", String.format("%s=%s", param.getKey(), param.getValue())); - } - } - } - - /** - * Update query and header parameters based on authentication settings. - * - * @param authNames The authentications to apply - * @param queryParams List of query parameters - * @param headerParams Map of header parameters - * @param cookieParams Map of cookie parameters - */ - public void updateParamsForAuth(String[] authNames, List queryParams, Map headerParams, Map cookieParams) { - for (String authName : authNames) { - Authentication auth = authentications.get(authName); - if (auth == null) { - throw new RuntimeException("Authentication undefined: " + authName); - } - auth.applyToParams(queryParams, headerParams, cookieParams); - } - } - - /** - * Build a form-encoding request body with the given form parameters. - * - * @param formParams Form parameters in the form of Map - * @return RequestBody - */ - public RequestBody buildRequestBodyFormEncoding(Map formParams) { - okhttp3.FormBody.Builder formBuilder = new okhttp3.FormBody.Builder(); - for (Entry param : formParams.entrySet()) { - formBuilder.add(param.getKey(), parameterToString(param.getValue())); - } - return formBuilder.build(); - } - - /** - * Build a multipart (file uploading) request body with the given form parameters, - * which could contain text fields and file fields. - * - * @param formParams Form parameters in the form of Map - * @return RequestBody - */ - public RequestBody buildRequestBodyMultipart(Map formParams) { - MultipartBody.Builder mpBuilder = new MultipartBody.Builder().setType(MultipartBody.FORM); - for (Entry param : formParams.entrySet()) { - if (param.getValue() instanceof File) { - File file = (File) param.getValue(); - Headers partHeaders = Headers.of("Content-Disposition", "form-data; name=\"" + param.getKey() + "\"; filename=\"" + file.getName() + "\""); - MediaType mediaType = MediaType.parse(guessContentTypeFromFile(file)); - mpBuilder.addPart(partHeaders, RequestBody.create(file, mediaType)); - } else { - Headers partHeaders = Headers.of("Content-Disposition", "form-data; name=\"" + param.getKey() + "\""); - mpBuilder.addPart(partHeaders, RequestBody.create(parameterToString(param.getValue()), null)); - } - } - return mpBuilder.build(); - } - - /** - * Guess Content-Type header from the given file (defaults to "application/octet-stream"). - * - * @param file The given file - * @return The guessed Content-Type - */ - public String guessContentTypeFromFile(File file) { - String contentType = URLConnection.guessContentTypeFromName(file.getName()); - if (contentType == null) { - return "application/octet-stream"; - } else { - return contentType; - } - } - - /** - * Get network interceptor to add it to the httpClient to track download progress for - * async requests. - */ - private Interceptor getProgressInterceptor() { - return new Interceptor() { - @Override - public Response intercept(Interceptor.Chain chain) throws IOException { - final Request request = chain.request(); - final Response originalResponse = chain.proceed(request); - if (request.tag() instanceof ApiCallback) { - final ApiCallback callback = (ApiCallback) request.tag(); - return originalResponse.newBuilder() - .body(new ProgressResponseBody(originalResponse.body(), callback)) - .build(); - } - return originalResponse; - } - }; - } - - /** - * Apply SSL related settings to httpClient according to the current values of - * verifyingSsl and sslCaCert. - */ - private void applySslSettings() { - try { - TrustManager[] trustManagers; - HostnameVerifier hostnameVerifier; - if (!verifyingSsl) { - trustManagers = new TrustManager[]{ - new X509TrustManager() { - @Override - public void checkClientTrusted(java.security.cert.X509Certificate[] chain, String authType) throws CertificateException { - } - - @Override - public void checkServerTrusted(java.security.cert.X509Certificate[] chain, String authType) throws CertificateException { - } - - @Override - public java.security.cert.X509Certificate[] getAcceptedIssuers() { - return new java.security.cert.X509Certificate[]{}; - } - } - }; - hostnameVerifier = new HostnameVerifier() { - @Override - public boolean verify(String hostname, SSLSession session) { - return true; - } - }; - } else { - TrustManagerFactory trustManagerFactory = TrustManagerFactory.getInstance(TrustManagerFactory.getDefaultAlgorithm()); - - if (sslCaCert == null) { - trustManagerFactory.init((KeyStore) null); - } else { - char[] password = null; // Any password will work. - CertificateFactory certificateFactory = CertificateFactory.getInstance("X.509"); - Collection certificates = certificateFactory.generateCertificates(sslCaCert); - if (certificates.isEmpty()) { - throw new IllegalArgumentException("expected non-empty set of trusted certificates"); - } - KeyStore caKeyStore = newEmptyKeyStore(password); - int index = 0; - for (Certificate certificate : certificates) { - String certificateAlias = "ca" + Integer.toString(index++); - caKeyStore.setCertificateEntry(certificateAlias, certificate); - } - trustManagerFactory.init(caKeyStore); - } - trustManagers = trustManagerFactory.getTrustManagers(); - hostnameVerifier = OkHostnameVerifier.INSTANCE; - } - - SSLContext sslContext = SSLContext.getInstance("TLS"); - sslContext.init(keyManagers, trustManagers, new SecureRandom()); - httpClient = httpClient.newBuilder() - .sslSocketFactory(sslContext.getSocketFactory(), (X509TrustManager) trustManagers[0]) - .hostnameVerifier(hostnameVerifier) - .build(); - } catch (GeneralSecurityException e) { - throw new RuntimeException(e); - } - } - - private KeyStore newEmptyKeyStore(char[] password) throws GeneralSecurityException { - try { - KeyStore keyStore = KeyStore.getInstance(KeyStore.getDefaultType()); - keyStore.load(null, password); - return keyStore; - } catch (IOException e) { - throw new AssertionError(e); - } - } -} diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/ApiException.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/ApiException.java deleted file mode 100644 index a0ffe9f479b..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/ApiException.java +++ /dev/null @@ -1,91 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api; - -import java.util.Map; -import java.util.List; - -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class ApiException extends Exception { - private int code = 0; - private Map> responseHeaders = null; - private String responseBody = null; - - public ApiException() {} - - public ApiException(Throwable throwable) { - super(throwable); - } - - public ApiException(String message) { - super(message); - } - - public ApiException(String message, Throwable throwable, int code, Map> responseHeaders, String responseBody) { - super(message, throwable); - this.code = code; - this.responseHeaders = responseHeaders; - this.responseBody = responseBody; - } - - public ApiException(String message, int code, Map> responseHeaders, String responseBody) { - this(message, (Throwable) null, code, responseHeaders, responseBody); - } - - public ApiException(String message, Throwable throwable, int code, Map> responseHeaders) { - this(message, throwable, code, responseHeaders, null); - } - - public ApiException(int code, Map> responseHeaders, String responseBody) { - this((String) null, (Throwable) null, code, responseHeaders, responseBody); - } - - public ApiException(int code, String message) { - super(message); - this.code = code; - } - - public ApiException(int code, String message, Map> responseHeaders, String responseBody) { - this(code, message); - this.responseHeaders = responseHeaders; - this.responseBody = responseBody; - } - - /** - * Get the HTTP status code. - * - * @return HTTP status code - */ - public int getCode() { - return code; - } - - /** - * Get the HTTP response headers. - * - * @return A map of list of string - */ - public Map> getResponseHeaders() { - return responseHeaders; - } - - /** - * Get the HTTP response body. - * - * @return Response body in the form of string - */ - public String getResponseBody() { - return responseBody; - } -} diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/ApiResponse.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/ApiResponse.java deleted file mode 100644 index 14ce1a19ac6..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/ApiResponse.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api; - -import java.util.List; -import java.util.Map; - -/** - * API response returned by API call. - * - * @param The type of data that is deserialized from response body - */ -public class ApiResponse { - final private int statusCode; - final private Map> headers; - final private T data; - - /** - * @param statusCode The status code of HTTP response - * @param headers The headers of HTTP response - */ - public ApiResponse(int statusCode, Map> headers) { - this(statusCode, headers, null); - } - - /** - * @param statusCode The status code of HTTP response - * @param headers The headers of HTTP response - * @param data The object deserialized from response bod - */ - public ApiResponse(int statusCode, Map> headers, T data) { - this.statusCode = statusCode; - this.headers = headers; - this.data = data; - } - - public int getStatusCode() { - return statusCode; - } - - public Map> getHeaders() { - return headers; - } - - public T getData() { - return data; - } -} diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/AuthApi.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/AuthApi.java deleted file mode 100644 index 585ef6add21..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/AuthApi.java +++ /dev/null @@ -1,4911 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api; - -import io.lakefs.clients.api.ApiCallback; -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.ApiResponse; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.Pair; -import io.lakefs.clients.api.ProgressRequestBody; -import io.lakefs.clients.api.ProgressResponseBody; - -import com.google.gson.reflect.TypeToken; - -import java.io.IOException; - - -import io.lakefs.clients.api.model.ACL; -import io.lakefs.clients.api.model.AuthenticationToken; -import io.lakefs.clients.api.model.Credentials; -import io.lakefs.clients.api.model.CredentialsList; -import io.lakefs.clients.api.model.CredentialsWithSecret; -import io.lakefs.clients.api.model.CurrentUser; -import io.lakefs.clients.api.model.Error; -import io.lakefs.clients.api.model.ErrorNoACL; -import io.lakefs.clients.api.model.ExternalLoginInformation; -import io.lakefs.clients.api.model.ExternalPrincipal; -import io.lakefs.clients.api.model.ExternalPrincipalCreation; -import io.lakefs.clients.api.model.ExternalPrincipalList; -import io.lakefs.clients.api.model.Group; -import io.lakefs.clients.api.model.GroupCreation; -import io.lakefs.clients.api.model.GroupList; -import io.lakefs.clients.api.model.LoginInformation; -import io.lakefs.clients.api.model.Policy; -import io.lakefs.clients.api.model.PolicyList; -import io.lakefs.clients.api.model.User; -import io.lakefs.clients.api.model.UserCreation; -import io.lakefs.clients.api.model.UserList; - -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -public class AuthApi { - private ApiClient localVarApiClient; - - public AuthApi() { - this(Configuration.getDefaultApiClient()); - } - - public AuthApi(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - public ApiClient getApiClient() { - return localVarApiClient; - } - - public void setApiClient(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - /** - * Build call for addGroupMembership - * @param groupId (required) - * @param userId (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
201 membership added successfully -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call addGroupMembershipCall(String groupId, String userId, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/auth/groups/{groupId}/members/{userId}" - .replaceAll("\\{" + "groupId" + "\\}", localVarApiClient.escapeString(groupId.toString())) - .replaceAll("\\{" + "userId" + "\\}", localVarApiClient.escapeString(userId.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call addGroupMembershipValidateBeforeCall(String groupId, String userId, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'groupId' is set - if (groupId == null) { - throw new ApiException("Missing the required parameter 'groupId' when calling addGroupMembership(Async)"); - } - - // verify the required parameter 'userId' is set - if (userId == null) { - throw new ApiException("Missing the required parameter 'userId' when calling addGroupMembership(Async)"); - } - - - okhttp3.Call localVarCall = addGroupMembershipCall(groupId, userId, _callback); - return localVarCall; - - } - - /** - * add group membership - * - * @param groupId (required) - * @param userId (required) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
201 membership added successfully -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public void addGroupMembership(String groupId, String userId) throws ApiException { - addGroupMembershipWithHttpInfo(groupId, userId); - } - - /** - * add group membership - * - * @param groupId (required) - * @param userId (required) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
201 membership added successfully -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse addGroupMembershipWithHttpInfo(String groupId, String userId) throws ApiException { - okhttp3.Call localVarCall = addGroupMembershipValidateBeforeCall(groupId, userId, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * add group membership (asynchronously) - * - * @param groupId (required) - * @param userId (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
201 membership added successfully -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call addGroupMembershipAsync(String groupId, String userId, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = addGroupMembershipValidateBeforeCall(groupId, userId, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for attachPolicyToGroup - * @param groupId (required) - * @param policyId (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
201 policy attached successfully -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call attachPolicyToGroupCall(String groupId, String policyId, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/auth/groups/{groupId}/policies/{policyId}" - .replaceAll("\\{" + "groupId" + "\\}", localVarApiClient.escapeString(groupId.toString())) - .replaceAll("\\{" + "policyId" + "\\}", localVarApiClient.escapeString(policyId.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call attachPolicyToGroupValidateBeforeCall(String groupId, String policyId, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'groupId' is set - if (groupId == null) { - throw new ApiException("Missing the required parameter 'groupId' when calling attachPolicyToGroup(Async)"); - } - - // verify the required parameter 'policyId' is set - if (policyId == null) { - throw new ApiException("Missing the required parameter 'policyId' when calling attachPolicyToGroup(Async)"); - } - - - okhttp3.Call localVarCall = attachPolicyToGroupCall(groupId, policyId, _callback); - return localVarCall; - - } - - /** - * attach policy to group - * - * @param groupId (required) - * @param policyId (required) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
201 policy attached successfully -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public void attachPolicyToGroup(String groupId, String policyId) throws ApiException { - attachPolicyToGroupWithHttpInfo(groupId, policyId); - } - - /** - * attach policy to group - * - * @param groupId (required) - * @param policyId (required) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
201 policy attached successfully -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse attachPolicyToGroupWithHttpInfo(String groupId, String policyId) throws ApiException { - okhttp3.Call localVarCall = attachPolicyToGroupValidateBeforeCall(groupId, policyId, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * attach policy to group (asynchronously) - * - * @param groupId (required) - * @param policyId (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
201 policy attached successfully -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call attachPolicyToGroupAsync(String groupId, String policyId, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = attachPolicyToGroupValidateBeforeCall(groupId, policyId, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for attachPolicyToUser - * @param userId (required) - * @param policyId (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
201 policy attached successfully -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call attachPolicyToUserCall(String userId, String policyId, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/auth/users/{userId}/policies/{policyId}" - .replaceAll("\\{" + "userId" + "\\}", localVarApiClient.escapeString(userId.toString())) - .replaceAll("\\{" + "policyId" + "\\}", localVarApiClient.escapeString(policyId.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call attachPolicyToUserValidateBeforeCall(String userId, String policyId, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'userId' is set - if (userId == null) { - throw new ApiException("Missing the required parameter 'userId' when calling attachPolicyToUser(Async)"); - } - - // verify the required parameter 'policyId' is set - if (policyId == null) { - throw new ApiException("Missing the required parameter 'policyId' when calling attachPolicyToUser(Async)"); - } - - - okhttp3.Call localVarCall = attachPolicyToUserCall(userId, policyId, _callback); - return localVarCall; - - } - - /** - * attach policy to user - * - * @param userId (required) - * @param policyId (required) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
201 policy attached successfully -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public void attachPolicyToUser(String userId, String policyId) throws ApiException { - attachPolicyToUserWithHttpInfo(userId, policyId); - } - - /** - * attach policy to user - * - * @param userId (required) - * @param policyId (required) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
201 policy attached successfully -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse attachPolicyToUserWithHttpInfo(String userId, String policyId) throws ApiException { - okhttp3.Call localVarCall = attachPolicyToUserValidateBeforeCall(userId, policyId, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * attach policy to user (asynchronously) - * - * @param userId (required) - * @param policyId (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
201 policy attached successfully -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call attachPolicyToUserAsync(String userId, String policyId, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = attachPolicyToUserValidateBeforeCall(userId, policyId, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for createCredentials - * @param userId (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
201 credentials -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call createCredentialsCall(String userId, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/auth/users/{userId}/credentials" - .replaceAll("\\{" + "userId" + "\\}", localVarApiClient.escapeString(userId.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call createCredentialsValidateBeforeCall(String userId, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'userId' is set - if (userId == null) { - throw new ApiException("Missing the required parameter 'userId' when calling createCredentials(Async)"); - } - - - okhttp3.Call localVarCall = createCredentialsCall(userId, _callback); - return localVarCall; - - } - - /** - * create credentials - * - * @param userId (required) - * @return CredentialsWithSecret - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
201 credentials -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public CredentialsWithSecret createCredentials(String userId) throws ApiException { - ApiResponse localVarResp = createCredentialsWithHttpInfo(userId); - return localVarResp.getData(); - } - - /** - * create credentials - * - * @param userId (required) - * @return ApiResponse<CredentialsWithSecret> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
201 credentials -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse createCredentialsWithHttpInfo(String userId) throws ApiException { - okhttp3.Call localVarCall = createCredentialsValidateBeforeCall(userId, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * create credentials (asynchronously) - * - * @param userId (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
201 credentials -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call createCredentialsAsync(String userId, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = createCredentialsValidateBeforeCall(userId, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for createGroup - * @param groupCreation (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
201 group -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call createGroupCall(GroupCreation groupCreation, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = groupCreation; - - // create path and map variables - String localVarPath = "/auth/groups"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call createGroupValidateBeforeCall(GroupCreation groupCreation, final ApiCallback _callback) throws ApiException { - - - okhttp3.Call localVarCall = createGroupCall(groupCreation, _callback); - return localVarCall; - - } - - /** - * create group - * - * @param groupCreation (optional) - * @return Group - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
201 group -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public Group createGroup(GroupCreation groupCreation) throws ApiException { - ApiResponse localVarResp = createGroupWithHttpInfo(groupCreation); - return localVarResp.getData(); - } - - /** - * create group - * - * @param groupCreation (optional) - * @return ApiResponse<Group> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
201 group -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse createGroupWithHttpInfo(GroupCreation groupCreation) throws ApiException { - okhttp3.Call localVarCall = createGroupValidateBeforeCall(groupCreation, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * create group (asynchronously) - * - * @param groupCreation (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
201 group -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call createGroupAsync(GroupCreation groupCreation, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = createGroupValidateBeforeCall(groupCreation, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for createPolicy - * @param policy (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
201 policy -
400 Validation Error -
401 Unauthorized -
409 Resource Conflicts With Target -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call createPolicyCall(Policy policy, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = policy; - - // create path and map variables - String localVarPath = "/auth/policies"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call createPolicyValidateBeforeCall(Policy policy, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'policy' is set - if (policy == null) { - throw new ApiException("Missing the required parameter 'policy' when calling createPolicy(Async)"); - } - - - okhttp3.Call localVarCall = createPolicyCall(policy, _callback); - return localVarCall; - - } - - /** - * create policy - * - * @param policy (required) - * @return Policy - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
201 policy -
400 Validation Error -
401 Unauthorized -
409 Resource Conflicts With Target -
420 too many requests -
0 Internal Server Error -
- */ - public Policy createPolicy(Policy policy) throws ApiException { - ApiResponse localVarResp = createPolicyWithHttpInfo(policy); - return localVarResp.getData(); - } - - /** - * create policy - * - * @param policy (required) - * @return ApiResponse<Policy> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
201 policy -
400 Validation Error -
401 Unauthorized -
409 Resource Conflicts With Target -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse createPolicyWithHttpInfo(Policy policy) throws ApiException { - okhttp3.Call localVarCall = createPolicyValidateBeforeCall(policy, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * create policy (asynchronously) - * - * @param policy (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
201 policy -
400 Validation Error -
401 Unauthorized -
409 Resource Conflicts With Target -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call createPolicyAsync(Policy policy, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = createPolicyValidateBeforeCall(policy, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for createUser - * @param userCreation (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
201 user -
400 validation error -
401 Unauthorized -
409 Resource Conflicts With Target -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call createUserCall(UserCreation userCreation, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = userCreation; - - // create path and map variables - String localVarPath = "/auth/users"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call createUserValidateBeforeCall(UserCreation userCreation, final ApiCallback _callback) throws ApiException { - - - okhttp3.Call localVarCall = createUserCall(userCreation, _callback); - return localVarCall; - - } - - /** - * create user - * - * @param userCreation (optional) - * @return User - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
201 user -
400 validation error -
401 Unauthorized -
409 Resource Conflicts With Target -
420 too many requests -
0 Internal Server Error -
- */ - public User createUser(UserCreation userCreation) throws ApiException { - ApiResponse localVarResp = createUserWithHttpInfo(userCreation); - return localVarResp.getData(); - } - - /** - * create user - * - * @param userCreation (optional) - * @return ApiResponse<User> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
201 user -
400 validation error -
401 Unauthorized -
409 Resource Conflicts With Target -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse createUserWithHttpInfo(UserCreation userCreation) throws ApiException { - okhttp3.Call localVarCall = createUserValidateBeforeCall(userCreation, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * create user (asynchronously) - * - * @param userCreation (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
201 user -
400 validation error -
401 Unauthorized -
409 Resource Conflicts With Target -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call createUserAsync(UserCreation userCreation, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = createUserValidateBeforeCall(userCreation, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for createUserExternalPrincipal - * @param userId (required) - * @param principalId (required) - * @param externalPrincipalCreation (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
201 external principal attached successfully -
401 Unauthorized -
404 Resource Not Found -
409 Resource Conflicts With Target -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call createUserExternalPrincipalCall(String userId, String principalId, ExternalPrincipalCreation externalPrincipalCreation, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = externalPrincipalCreation; - - // create path and map variables - String localVarPath = "/auth/users/{userId}/external/principals" - .replaceAll("\\{" + "userId" + "\\}", localVarApiClient.escapeString(userId.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (principalId != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("principalId", principalId)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call createUserExternalPrincipalValidateBeforeCall(String userId, String principalId, ExternalPrincipalCreation externalPrincipalCreation, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'userId' is set - if (userId == null) { - throw new ApiException("Missing the required parameter 'userId' when calling createUserExternalPrincipal(Async)"); - } - - // verify the required parameter 'principalId' is set - if (principalId == null) { - throw new ApiException("Missing the required parameter 'principalId' when calling createUserExternalPrincipal(Async)"); - } - - - okhttp3.Call localVarCall = createUserExternalPrincipalCall(userId, principalId, externalPrincipalCreation, _callback); - return localVarCall; - - } - - /** - * attach external principal to user - * - * @param userId (required) - * @param principalId (required) - * @param externalPrincipalCreation (optional) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
201 external principal attached successfully -
401 Unauthorized -
404 Resource Not Found -
409 Resource Conflicts With Target -
420 too many requests -
0 Internal Server Error -
- */ - public void createUserExternalPrincipal(String userId, String principalId, ExternalPrincipalCreation externalPrincipalCreation) throws ApiException { - createUserExternalPrincipalWithHttpInfo(userId, principalId, externalPrincipalCreation); - } - - /** - * attach external principal to user - * - * @param userId (required) - * @param principalId (required) - * @param externalPrincipalCreation (optional) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
201 external principal attached successfully -
401 Unauthorized -
404 Resource Not Found -
409 Resource Conflicts With Target -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse createUserExternalPrincipalWithHttpInfo(String userId, String principalId, ExternalPrincipalCreation externalPrincipalCreation) throws ApiException { - okhttp3.Call localVarCall = createUserExternalPrincipalValidateBeforeCall(userId, principalId, externalPrincipalCreation, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * attach external principal to user (asynchronously) - * - * @param userId (required) - * @param principalId (required) - * @param externalPrincipalCreation (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
201 external principal attached successfully -
401 Unauthorized -
404 Resource Not Found -
409 Resource Conflicts With Target -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call createUserExternalPrincipalAsync(String userId, String principalId, ExternalPrincipalCreation externalPrincipalCreation, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = createUserExternalPrincipalValidateBeforeCall(userId, principalId, externalPrincipalCreation, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for deleteCredentials - * @param userId (required) - * @param accessKeyId (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
204 credentials deleted successfully -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call deleteCredentialsCall(String userId, String accessKeyId, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/auth/users/{userId}/credentials/{accessKeyId}" - .replaceAll("\\{" + "userId" + "\\}", localVarApiClient.escapeString(userId.toString())) - .replaceAll("\\{" + "accessKeyId" + "\\}", localVarApiClient.escapeString(accessKeyId.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call deleteCredentialsValidateBeforeCall(String userId, String accessKeyId, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'userId' is set - if (userId == null) { - throw new ApiException("Missing the required parameter 'userId' when calling deleteCredentials(Async)"); - } - - // verify the required parameter 'accessKeyId' is set - if (accessKeyId == null) { - throw new ApiException("Missing the required parameter 'accessKeyId' when calling deleteCredentials(Async)"); - } - - - okhttp3.Call localVarCall = deleteCredentialsCall(userId, accessKeyId, _callback); - return localVarCall; - - } - - /** - * delete credentials - * - * @param userId (required) - * @param accessKeyId (required) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
204 credentials deleted successfully -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public void deleteCredentials(String userId, String accessKeyId) throws ApiException { - deleteCredentialsWithHttpInfo(userId, accessKeyId); - } - - /** - * delete credentials - * - * @param userId (required) - * @param accessKeyId (required) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
204 credentials deleted successfully -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse deleteCredentialsWithHttpInfo(String userId, String accessKeyId) throws ApiException { - okhttp3.Call localVarCall = deleteCredentialsValidateBeforeCall(userId, accessKeyId, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * delete credentials (asynchronously) - * - * @param userId (required) - * @param accessKeyId (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
204 credentials deleted successfully -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call deleteCredentialsAsync(String userId, String accessKeyId, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = deleteCredentialsValidateBeforeCall(userId, accessKeyId, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for deleteGroup - * @param groupId (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
204 group deleted successfully -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call deleteGroupCall(String groupId, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/auth/groups/{groupId}" - .replaceAll("\\{" + "groupId" + "\\}", localVarApiClient.escapeString(groupId.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call deleteGroupValidateBeforeCall(String groupId, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'groupId' is set - if (groupId == null) { - throw new ApiException("Missing the required parameter 'groupId' when calling deleteGroup(Async)"); - } - - - okhttp3.Call localVarCall = deleteGroupCall(groupId, _callback); - return localVarCall; - - } - - /** - * delete group - * - * @param groupId (required) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
204 group deleted successfully -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public void deleteGroup(String groupId) throws ApiException { - deleteGroupWithHttpInfo(groupId); - } - - /** - * delete group - * - * @param groupId (required) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
204 group deleted successfully -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse deleteGroupWithHttpInfo(String groupId) throws ApiException { - okhttp3.Call localVarCall = deleteGroupValidateBeforeCall(groupId, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * delete group (asynchronously) - * - * @param groupId (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
204 group deleted successfully -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call deleteGroupAsync(String groupId, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = deleteGroupValidateBeforeCall(groupId, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for deleteGroupMembership - * @param groupId (required) - * @param userId (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
204 membership deleted successfully -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call deleteGroupMembershipCall(String groupId, String userId, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/auth/groups/{groupId}/members/{userId}" - .replaceAll("\\{" + "groupId" + "\\}", localVarApiClient.escapeString(groupId.toString())) - .replaceAll("\\{" + "userId" + "\\}", localVarApiClient.escapeString(userId.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call deleteGroupMembershipValidateBeforeCall(String groupId, String userId, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'groupId' is set - if (groupId == null) { - throw new ApiException("Missing the required parameter 'groupId' when calling deleteGroupMembership(Async)"); - } - - // verify the required parameter 'userId' is set - if (userId == null) { - throw new ApiException("Missing the required parameter 'userId' when calling deleteGroupMembership(Async)"); - } - - - okhttp3.Call localVarCall = deleteGroupMembershipCall(groupId, userId, _callback); - return localVarCall; - - } - - /** - * delete group membership - * - * @param groupId (required) - * @param userId (required) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
204 membership deleted successfully -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public void deleteGroupMembership(String groupId, String userId) throws ApiException { - deleteGroupMembershipWithHttpInfo(groupId, userId); - } - - /** - * delete group membership - * - * @param groupId (required) - * @param userId (required) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
204 membership deleted successfully -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse deleteGroupMembershipWithHttpInfo(String groupId, String userId) throws ApiException { - okhttp3.Call localVarCall = deleteGroupMembershipValidateBeforeCall(groupId, userId, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * delete group membership (asynchronously) - * - * @param groupId (required) - * @param userId (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
204 membership deleted successfully -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call deleteGroupMembershipAsync(String groupId, String userId, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = deleteGroupMembershipValidateBeforeCall(groupId, userId, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for deletePolicy - * @param policyId (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
204 policy deleted successfully -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call deletePolicyCall(String policyId, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/auth/policies/{policyId}" - .replaceAll("\\{" + "policyId" + "\\}", localVarApiClient.escapeString(policyId.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call deletePolicyValidateBeforeCall(String policyId, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'policyId' is set - if (policyId == null) { - throw new ApiException("Missing the required parameter 'policyId' when calling deletePolicy(Async)"); - } - - - okhttp3.Call localVarCall = deletePolicyCall(policyId, _callback); - return localVarCall; - - } - - /** - * delete policy - * - * @param policyId (required) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
204 policy deleted successfully -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public void deletePolicy(String policyId) throws ApiException { - deletePolicyWithHttpInfo(policyId); - } - - /** - * delete policy - * - * @param policyId (required) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
204 policy deleted successfully -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse deletePolicyWithHttpInfo(String policyId) throws ApiException { - okhttp3.Call localVarCall = deletePolicyValidateBeforeCall(policyId, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * delete policy (asynchronously) - * - * @param policyId (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
204 policy deleted successfully -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call deletePolicyAsync(String policyId, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = deletePolicyValidateBeforeCall(policyId, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for deleteUser - * @param userId (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
204 user deleted successfully -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call deleteUserCall(String userId, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/auth/users/{userId}" - .replaceAll("\\{" + "userId" + "\\}", localVarApiClient.escapeString(userId.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call deleteUserValidateBeforeCall(String userId, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'userId' is set - if (userId == null) { - throw new ApiException("Missing the required parameter 'userId' when calling deleteUser(Async)"); - } - - - okhttp3.Call localVarCall = deleteUserCall(userId, _callback); - return localVarCall; - - } - - /** - * delete user - * - * @param userId (required) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
204 user deleted successfully -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public void deleteUser(String userId) throws ApiException { - deleteUserWithHttpInfo(userId); - } - - /** - * delete user - * - * @param userId (required) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
204 user deleted successfully -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse deleteUserWithHttpInfo(String userId) throws ApiException { - okhttp3.Call localVarCall = deleteUserValidateBeforeCall(userId, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * delete user (asynchronously) - * - * @param userId (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
204 user deleted successfully -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call deleteUserAsync(String userId, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = deleteUserValidateBeforeCall(userId, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for deleteUserExternalPrincipal - * @param userId (required) - * @param principalId (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
204 external principal detached successfully -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call deleteUserExternalPrincipalCall(String userId, String principalId, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/auth/users/{userId}/external/principals" - .replaceAll("\\{" + "userId" + "\\}", localVarApiClient.escapeString(userId.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (principalId != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("principalId", principalId)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call deleteUserExternalPrincipalValidateBeforeCall(String userId, String principalId, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'userId' is set - if (userId == null) { - throw new ApiException("Missing the required parameter 'userId' when calling deleteUserExternalPrincipal(Async)"); - } - - // verify the required parameter 'principalId' is set - if (principalId == null) { - throw new ApiException("Missing the required parameter 'principalId' when calling deleteUserExternalPrincipal(Async)"); - } - - - okhttp3.Call localVarCall = deleteUserExternalPrincipalCall(userId, principalId, _callback); - return localVarCall; - - } - - /** - * delete external principal from user - * - * @param userId (required) - * @param principalId (required) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
204 external principal detached successfully -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public void deleteUserExternalPrincipal(String userId, String principalId) throws ApiException { - deleteUserExternalPrincipalWithHttpInfo(userId, principalId); - } - - /** - * delete external principal from user - * - * @param userId (required) - * @param principalId (required) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
204 external principal detached successfully -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse deleteUserExternalPrincipalWithHttpInfo(String userId, String principalId) throws ApiException { - okhttp3.Call localVarCall = deleteUserExternalPrincipalValidateBeforeCall(userId, principalId, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * delete external principal from user (asynchronously) - * - * @param userId (required) - * @param principalId (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
204 external principal detached successfully -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call deleteUserExternalPrincipalAsync(String userId, String principalId, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = deleteUserExternalPrincipalValidateBeforeCall(userId, principalId, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for detachPolicyFromGroup - * @param groupId (required) - * @param policyId (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
204 policy detached successfully -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call detachPolicyFromGroupCall(String groupId, String policyId, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/auth/groups/{groupId}/policies/{policyId}" - .replaceAll("\\{" + "groupId" + "\\}", localVarApiClient.escapeString(groupId.toString())) - .replaceAll("\\{" + "policyId" + "\\}", localVarApiClient.escapeString(policyId.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call detachPolicyFromGroupValidateBeforeCall(String groupId, String policyId, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'groupId' is set - if (groupId == null) { - throw new ApiException("Missing the required parameter 'groupId' when calling detachPolicyFromGroup(Async)"); - } - - // verify the required parameter 'policyId' is set - if (policyId == null) { - throw new ApiException("Missing the required parameter 'policyId' when calling detachPolicyFromGroup(Async)"); - } - - - okhttp3.Call localVarCall = detachPolicyFromGroupCall(groupId, policyId, _callback); - return localVarCall; - - } - - /** - * detach policy from group - * - * @param groupId (required) - * @param policyId (required) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
204 policy detached successfully -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public void detachPolicyFromGroup(String groupId, String policyId) throws ApiException { - detachPolicyFromGroupWithHttpInfo(groupId, policyId); - } - - /** - * detach policy from group - * - * @param groupId (required) - * @param policyId (required) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
204 policy detached successfully -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse detachPolicyFromGroupWithHttpInfo(String groupId, String policyId) throws ApiException { - okhttp3.Call localVarCall = detachPolicyFromGroupValidateBeforeCall(groupId, policyId, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * detach policy from group (asynchronously) - * - * @param groupId (required) - * @param policyId (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
204 policy detached successfully -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call detachPolicyFromGroupAsync(String groupId, String policyId, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = detachPolicyFromGroupValidateBeforeCall(groupId, policyId, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for detachPolicyFromUser - * @param userId (required) - * @param policyId (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
204 policy detached successfully -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call detachPolicyFromUserCall(String userId, String policyId, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/auth/users/{userId}/policies/{policyId}" - .replaceAll("\\{" + "userId" + "\\}", localVarApiClient.escapeString(userId.toString())) - .replaceAll("\\{" + "policyId" + "\\}", localVarApiClient.escapeString(policyId.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call detachPolicyFromUserValidateBeforeCall(String userId, String policyId, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'userId' is set - if (userId == null) { - throw new ApiException("Missing the required parameter 'userId' when calling detachPolicyFromUser(Async)"); - } - - // verify the required parameter 'policyId' is set - if (policyId == null) { - throw new ApiException("Missing the required parameter 'policyId' when calling detachPolicyFromUser(Async)"); - } - - - okhttp3.Call localVarCall = detachPolicyFromUserCall(userId, policyId, _callback); - return localVarCall; - - } - - /** - * detach policy from user - * - * @param userId (required) - * @param policyId (required) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
204 policy detached successfully -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public void detachPolicyFromUser(String userId, String policyId) throws ApiException { - detachPolicyFromUserWithHttpInfo(userId, policyId); - } - - /** - * detach policy from user - * - * @param userId (required) - * @param policyId (required) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
204 policy detached successfully -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse detachPolicyFromUserWithHttpInfo(String userId, String policyId) throws ApiException { - okhttp3.Call localVarCall = detachPolicyFromUserValidateBeforeCall(userId, policyId, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * detach policy from user (asynchronously) - * - * @param userId (required) - * @param policyId (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
204 policy detached successfully -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call detachPolicyFromUserAsync(String userId, String policyId, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = detachPolicyFromUserValidateBeforeCall(userId, policyId, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for externalPrincipalLogin - * @param externalLoginInformation (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - - - -
Status Code Description Response Headers
200 successful external login -
400 Bad Request -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call externalPrincipalLoginCall(ExternalLoginInformation externalLoginInformation, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = externalLoginInformation; - - // create path and map variables - String localVarPath = "/auth/external/principal/login"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { }; - return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call externalPrincipalLoginValidateBeforeCall(ExternalLoginInformation externalLoginInformation, final ApiCallback _callback) throws ApiException { - - - okhttp3.Call localVarCall = externalPrincipalLoginCall(externalLoginInformation, _callback); - return localVarCall; - - } - - /** - * perform a login using an external authenticator - * - * @param externalLoginInformation (optional) - * @return AuthenticationToken - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - - -
Status Code Description Response Headers
200 successful external login -
400 Bad Request -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public AuthenticationToken externalPrincipalLogin(ExternalLoginInformation externalLoginInformation) throws ApiException { - ApiResponse localVarResp = externalPrincipalLoginWithHttpInfo(externalLoginInformation); - return localVarResp.getData(); - } - - /** - * perform a login using an external authenticator - * - * @param externalLoginInformation (optional) - * @return ApiResponse<AuthenticationToken> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - - -
Status Code Description Response Headers
200 successful external login -
400 Bad Request -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse externalPrincipalLoginWithHttpInfo(ExternalLoginInformation externalLoginInformation) throws ApiException { - okhttp3.Call localVarCall = externalPrincipalLoginValidateBeforeCall(externalLoginInformation, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * perform a login using an external authenticator (asynchronously) - * - * @param externalLoginInformation (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - - - -
Status Code Description Response Headers
200 successful external login -
400 Bad Request -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call externalPrincipalLoginAsync(ExternalLoginInformation externalLoginInformation, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = externalPrincipalLoginValidateBeforeCall(externalLoginInformation, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getCredentials - * @param userId (required) - * @param accessKeyId (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 credentials -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call getCredentialsCall(String userId, String accessKeyId, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/auth/users/{userId}/credentials/{accessKeyId}" - .replaceAll("\\{" + "userId" + "\\}", localVarApiClient.escapeString(userId.toString())) - .replaceAll("\\{" + "accessKeyId" + "\\}", localVarApiClient.escapeString(accessKeyId.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getCredentialsValidateBeforeCall(String userId, String accessKeyId, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'userId' is set - if (userId == null) { - throw new ApiException("Missing the required parameter 'userId' when calling getCredentials(Async)"); - } - - // verify the required parameter 'accessKeyId' is set - if (accessKeyId == null) { - throw new ApiException("Missing the required parameter 'accessKeyId' when calling getCredentials(Async)"); - } - - - okhttp3.Call localVarCall = getCredentialsCall(userId, accessKeyId, _callback); - return localVarCall; - - } - - /** - * get credentials - * - * @param userId (required) - * @param accessKeyId (required) - * @return Credentials - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 credentials -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public Credentials getCredentials(String userId, String accessKeyId) throws ApiException { - ApiResponse localVarResp = getCredentialsWithHttpInfo(userId, accessKeyId); - return localVarResp.getData(); - } - - /** - * get credentials - * - * @param userId (required) - * @param accessKeyId (required) - * @return ApiResponse<Credentials> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 credentials -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse getCredentialsWithHttpInfo(String userId, String accessKeyId) throws ApiException { - okhttp3.Call localVarCall = getCredentialsValidateBeforeCall(userId, accessKeyId, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * get credentials (asynchronously) - * - * @param userId (required) - * @param accessKeyId (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 credentials -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call getCredentialsAsync(String userId, String accessKeyId, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getCredentialsValidateBeforeCall(userId, accessKeyId, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getCurrentUser - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - -
Status Code Description Response Headers
200 user -
- */ - public okhttp3.Call getCurrentUserCall(final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/user"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getCurrentUserValidateBeforeCall(final ApiCallback _callback) throws ApiException { - - - okhttp3.Call localVarCall = getCurrentUserCall(_callback); - return localVarCall; - - } - - /** - * get current user - * - * @return CurrentUser - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - -
Status Code Description Response Headers
200 user -
- */ - public CurrentUser getCurrentUser() throws ApiException { - ApiResponse localVarResp = getCurrentUserWithHttpInfo(); - return localVarResp.getData(); - } - - /** - * get current user - * - * @return ApiResponse<CurrentUser> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - -
Status Code Description Response Headers
200 user -
- */ - public ApiResponse getCurrentUserWithHttpInfo() throws ApiException { - okhttp3.Call localVarCall = getCurrentUserValidateBeforeCall(null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * get current user (asynchronously) - * - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - -
Status Code Description Response Headers
200 user -
- */ - public okhttp3.Call getCurrentUserAsync(final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getCurrentUserValidateBeforeCall(_callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getExternalPrincipal - * @param principalId (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 external principal -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call getExternalPrincipalCall(String principalId, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/auth/external/principals"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (principalId != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("principalId", principalId)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getExternalPrincipalValidateBeforeCall(String principalId, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'principalId' is set - if (principalId == null) { - throw new ApiException("Missing the required parameter 'principalId' when calling getExternalPrincipal(Async)"); - } - - - okhttp3.Call localVarCall = getExternalPrincipalCall(principalId, _callback); - return localVarCall; - - } - - /** - * describe external principal by id - * - * @param principalId (required) - * @return ExternalPrincipal - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 external principal -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ExternalPrincipal getExternalPrincipal(String principalId) throws ApiException { - ApiResponse localVarResp = getExternalPrincipalWithHttpInfo(principalId); - return localVarResp.getData(); - } - - /** - * describe external principal by id - * - * @param principalId (required) - * @return ApiResponse<ExternalPrincipal> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 external principal -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse getExternalPrincipalWithHttpInfo(String principalId) throws ApiException { - okhttp3.Call localVarCall = getExternalPrincipalValidateBeforeCall(principalId, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * describe external principal by id (asynchronously) - * - * @param principalId (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 external principal -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call getExternalPrincipalAsync(String principalId, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getExternalPrincipalValidateBeforeCall(principalId, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getGroup - * @param groupId (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 group -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call getGroupCall(String groupId, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/auth/groups/{groupId}" - .replaceAll("\\{" + "groupId" + "\\}", localVarApiClient.escapeString(groupId.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getGroupValidateBeforeCall(String groupId, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'groupId' is set - if (groupId == null) { - throw new ApiException("Missing the required parameter 'groupId' when calling getGroup(Async)"); - } - - - okhttp3.Call localVarCall = getGroupCall(groupId, _callback); - return localVarCall; - - } - - /** - * get group - * - * @param groupId (required) - * @return Group - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 group -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public Group getGroup(String groupId) throws ApiException { - ApiResponse localVarResp = getGroupWithHttpInfo(groupId); - return localVarResp.getData(); - } - - /** - * get group - * - * @param groupId (required) - * @return ApiResponse<Group> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 group -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse getGroupWithHttpInfo(String groupId) throws ApiException { - okhttp3.Call localVarCall = getGroupValidateBeforeCall(groupId, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * get group (asynchronously) - * - * @param groupId (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 group -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call getGroupAsync(String groupId, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getGroupValidateBeforeCall(groupId, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getGroupACL - * @param groupId (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 ACL of group -
401 Unauthorized -
404 Group not found, or group found but has no ACL -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call getGroupACLCall(String groupId, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/auth/groups/{groupId}/acl" - .replaceAll("\\{" + "groupId" + "\\}", localVarApiClient.escapeString(groupId.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getGroupACLValidateBeforeCall(String groupId, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'groupId' is set - if (groupId == null) { - throw new ApiException("Missing the required parameter 'groupId' when calling getGroupACL(Async)"); - } - - - okhttp3.Call localVarCall = getGroupACLCall(groupId, _callback); - return localVarCall; - - } - - /** - * get ACL of group - * - * @param groupId (required) - * @return ACL - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 ACL of group -
401 Unauthorized -
404 Group not found, or group found but has no ACL -
420 too many requests -
0 Internal Server Error -
- */ - public ACL getGroupACL(String groupId) throws ApiException { - ApiResponse localVarResp = getGroupACLWithHttpInfo(groupId); - return localVarResp.getData(); - } - - /** - * get ACL of group - * - * @param groupId (required) - * @return ApiResponse<ACL> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 ACL of group -
401 Unauthorized -
404 Group not found, or group found but has no ACL -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse getGroupACLWithHttpInfo(String groupId) throws ApiException { - okhttp3.Call localVarCall = getGroupACLValidateBeforeCall(groupId, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * get ACL of group (asynchronously) - * - * @param groupId (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 ACL of group -
401 Unauthorized -
404 Group not found, or group found but has no ACL -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call getGroupACLAsync(String groupId, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getGroupACLValidateBeforeCall(groupId, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getPolicy - * @param policyId (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 policy -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call getPolicyCall(String policyId, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/auth/policies/{policyId}" - .replaceAll("\\{" + "policyId" + "\\}", localVarApiClient.escapeString(policyId.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getPolicyValidateBeforeCall(String policyId, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'policyId' is set - if (policyId == null) { - throw new ApiException("Missing the required parameter 'policyId' when calling getPolicy(Async)"); - } - - - okhttp3.Call localVarCall = getPolicyCall(policyId, _callback); - return localVarCall; - - } - - /** - * get policy - * - * @param policyId (required) - * @return Policy - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 policy -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public Policy getPolicy(String policyId) throws ApiException { - ApiResponse localVarResp = getPolicyWithHttpInfo(policyId); - return localVarResp.getData(); - } - - /** - * get policy - * - * @param policyId (required) - * @return ApiResponse<Policy> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 policy -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse getPolicyWithHttpInfo(String policyId) throws ApiException { - okhttp3.Call localVarCall = getPolicyValidateBeforeCall(policyId, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * get policy (asynchronously) - * - * @param policyId (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 policy -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call getPolicyAsync(String policyId, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getPolicyValidateBeforeCall(policyId, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getUser - * @param userId (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 user -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call getUserCall(String userId, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/auth/users/{userId}" - .replaceAll("\\{" + "userId" + "\\}", localVarApiClient.escapeString(userId.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getUserValidateBeforeCall(String userId, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'userId' is set - if (userId == null) { - throw new ApiException("Missing the required parameter 'userId' when calling getUser(Async)"); - } - - - okhttp3.Call localVarCall = getUserCall(userId, _callback); - return localVarCall; - - } - - /** - * get user - * - * @param userId (required) - * @return User - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 user -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public User getUser(String userId) throws ApiException { - ApiResponse localVarResp = getUserWithHttpInfo(userId); - return localVarResp.getData(); - } - - /** - * get user - * - * @param userId (required) - * @return ApiResponse<User> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 user -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse getUserWithHttpInfo(String userId) throws ApiException { - okhttp3.Call localVarCall = getUserValidateBeforeCall(userId, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * get user (asynchronously) - * - * @param userId (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 user -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call getUserAsync(String userId, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getUserValidateBeforeCall(userId, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for listGroupMembers - * @param groupId (required) - * @param prefix return items prefixed with this value (optional) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Status Code Description Response Headers
200 group member list -
401 Unauthorized -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call listGroupMembersCall(String groupId, String prefix, String after, Integer amount, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/auth/groups/{groupId}/members" - .replaceAll("\\{" + "groupId" + "\\}", localVarApiClient.escapeString(groupId.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (prefix != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("prefix", prefix)); - } - - if (after != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("after", after)); - } - - if (amount != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("amount", amount)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call listGroupMembersValidateBeforeCall(String groupId, String prefix, String after, Integer amount, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'groupId' is set - if (groupId == null) { - throw new ApiException("Missing the required parameter 'groupId' when calling listGroupMembers(Async)"); - } - - - okhttp3.Call localVarCall = listGroupMembersCall(groupId, prefix, after, amount, _callback); - return localVarCall; - - } - - /** - * list group members - * - * @param groupId (required) - * @param prefix return items prefixed with this value (optional) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @return UserList - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Status Code Description Response Headers
200 group member list -
401 Unauthorized -
420 too many requests -
0 Internal Server Error -
- */ - public UserList listGroupMembers(String groupId, String prefix, String after, Integer amount) throws ApiException { - ApiResponse localVarResp = listGroupMembersWithHttpInfo(groupId, prefix, after, amount); - return localVarResp.getData(); - } - - /** - * list group members - * - * @param groupId (required) - * @param prefix return items prefixed with this value (optional) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @return ApiResponse<UserList> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Status Code Description Response Headers
200 group member list -
401 Unauthorized -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse listGroupMembersWithHttpInfo(String groupId, String prefix, String after, Integer amount) throws ApiException { - okhttp3.Call localVarCall = listGroupMembersValidateBeforeCall(groupId, prefix, after, amount, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * list group members (asynchronously) - * - * @param groupId (required) - * @param prefix return items prefixed with this value (optional) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Status Code Description Response Headers
200 group member list -
401 Unauthorized -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call listGroupMembersAsync(String groupId, String prefix, String after, Integer amount, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = listGroupMembersValidateBeforeCall(groupId, prefix, after, amount, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for listGroupPolicies - * @param groupId (required) - * @param prefix return items prefixed with this value (optional) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 policy list -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call listGroupPoliciesCall(String groupId, String prefix, String after, Integer amount, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/auth/groups/{groupId}/policies" - .replaceAll("\\{" + "groupId" + "\\}", localVarApiClient.escapeString(groupId.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (prefix != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("prefix", prefix)); - } - - if (after != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("after", after)); - } - - if (amount != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("amount", amount)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call listGroupPoliciesValidateBeforeCall(String groupId, String prefix, String after, Integer amount, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'groupId' is set - if (groupId == null) { - throw new ApiException("Missing the required parameter 'groupId' when calling listGroupPolicies(Async)"); - } - - - okhttp3.Call localVarCall = listGroupPoliciesCall(groupId, prefix, after, amount, _callback); - return localVarCall; - - } - - /** - * list group policies - * - * @param groupId (required) - * @param prefix return items prefixed with this value (optional) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @return PolicyList - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 policy list -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public PolicyList listGroupPolicies(String groupId, String prefix, String after, Integer amount) throws ApiException { - ApiResponse localVarResp = listGroupPoliciesWithHttpInfo(groupId, prefix, after, amount); - return localVarResp.getData(); - } - - /** - * list group policies - * - * @param groupId (required) - * @param prefix return items prefixed with this value (optional) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @return ApiResponse<PolicyList> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 policy list -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse listGroupPoliciesWithHttpInfo(String groupId, String prefix, String after, Integer amount) throws ApiException { - okhttp3.Call localVarCall = listGroupPoliciesValidateBeforeCall(groupId, prefix, after, amount, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * list group policies (asynchronously) - * - * @param groupId (required) - * @param prefix return items prefixed with this value (optional) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 policy list -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call listGroupPoliciesAsync(String groupId, String prefix, String after, Integer amount, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = listGroupPoliciesValidateBeforeCall(groupId, prefix, after, amount, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for listGroups - * @param prefix return items prefixed with this value (optional) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Status Code Description Response Headers
200 group list -
401 Unauthorized -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call listGroupsCall(String prefix, String after, Integer amount, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/auth/groups"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (prefix != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("prefix", prefix)); - } - - if (after != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("after", after)); - } - - if (amount != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("amount", amount)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call listGroupsValidateBeforeCall(String prefix, String after, Integer amount, final ApiCallback _callback) throws ApiException { - - - okhttp3.Call localVarCall = listGroupsCall(prefix, after, amount, _callback); - return localVarCall; - - } - - /** - * list groups - * - * @param prefix return items prefixed with this value (optional) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @return GroupList - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Status Code Description Response Headers
200 group list -
401 Unauthorized -
420 too many requests -
0 Internal Server Error -
- */ - public GroupList listGroups(String prefix, String after, Integer amount) throws ApiException { - ApiResponse localVarResp = listGroupsWithHttpInfo(prefix, after, amount); - return localVarResp.getData(); - } - - /** - * list groups - * - * @param prefix return items prefixed with this value (optional) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @return ApiResponse<GroupList> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Status Code Description Response Headers
200 group list -
401 Unauthorized -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse listGroupsWithHttpInfo(String prefix, String after, Integer amount) throws ApiException { - okhttp3.Call localVarCall = listGroupsValidateBeforeCall(prefix, after, amount, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * list groups (asynchronously) - * - * @param prefix return items prefixed with this value (optional) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Status Code Description Response Headers
200 group list -
401 Unauthorized -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call listGroupsAsync(String prefix, String after, Integer amount, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = listGroupsValidateBeforeCall(prefix, after, amount, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for listPolicies - * @param prefix return items prefixed with this value (optional) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Status Code Description Response Headers
200 policy list -
401 Unauthorized -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call listPoliciesCall(String prefix, String after, Integer amount, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/auth/policies"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (prefix != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("prefix", prefix)); - } - - if (after != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("after", after)); - } - - if (amount != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("amount", amount)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call listPoliciesValidateBeforeCall(String prefix, String after, Integer amount, final ApiCallback _callback) throws ApiException { - - - okhttp3.Call localVarCall = listPoliciesCall(prefix, after, amount, _callback); - return localVarCall; - - } - - /** - * list policies - * - * @param prefix return items prefixed with this value (optional) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @return PolicyList - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Status Code Description Response Headers
200 policy list -
401 Unauthorized -
420 too many requests -
0 Internal Server Error -
- */ - public PolicyList listPolicies(String prefix, String after, Integer amount) throws ApiException { - ApiResponse localVarResp = listPoliciesWithHttpInfo(prefix, after, amount); - return localVarResp.getData(); - } - - /** - * list policies - * - * @param prefix return items prefixed with this value (optional) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @return ApiResponse<PolicyList> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Status Code Description Response Headers
200 policy list -
401 Unauthorized -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse listPoliciesWithHttpInfo(String prefix, String after, Integer amount) throws ApiException { - okhttp3.Call localVarCall = listPoliciesValidateBeforeCall(prefix, after, amount, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * list policies (asynchronously) - * - * @param prefix return items prefixed with this value (optional) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Status Code Description Response Headers
200 policy list -
401 Unauthorized -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call listPoliciesAsync(String prefix, String after, Integer amount, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = listPoliciesValidateBeforeCall(prefix, after, amount, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for listUserCredentials - * @param userId (required) - * @param prefix return items prefixed with this value (optional) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 credential list -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call listUserCredentialsCall(String userId, String prefix, String after, Integer amount, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/auth/users/{userId}/credentials" - .replaceAll("\\{" + "userId" + "\\}", localVarApiClient.escapeString(userId.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (prefix != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("prefix", prefix)); - } - - if (after != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("after", after)); - } - - if (amount != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("amount", amount)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call listUserCredentialsValidateBeforeCall(String userId, String prefix, String after, Integer amount, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'userId' is set - if (userId == null) { - throw new ApiException("Missing the required parameter 'userId' when calling listUserCredentials(Async)"); - } - - - okhttp3.Call localVarCall = listUserCredentialsCall(userId, prefix, after, amount, _callback); - return localVarCall; - - } - - /** - * list user credentials - * - * @param userId (required) - * @param prefix return items prefixed with this value (optional) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @return CredentialsList - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 credential list -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public CredentialsList listUserCredentials(String userId, String prefix, String after, Integer amount) throws ApiException { - ApiResponse localVarResp = listUserCredentialsWithHttpInfo(userId, prefix, after, amount); - return localVarResp.getData(); - } - - /** - * list user credentials - * - * @param userId (required) - * @param prefix return items prefixed with this value (optional) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @return ApiResponse<CredentialsList> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 credential list -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse listUserCredentialsWithHttpInfo(String userId, String prefix, String after, Integer amount) throws ApiException { - okhttp3.Call localVarCall = listUserCredentialsValidateBeforeCall(userId, prefix, after, amount, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * list user credentials (asynchronously) - * - * @param userId (required) - * @param prefix return items prefixed with this value (optional) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 credential list -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call listUserCredentialsAsync(String userId, String prefix, String after, Integer amount, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = listUserCredentialsValidateBeforeCall(userId, prefix, after, amount, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for listUserExternalPrincipals - * @param userId (required) - * @param prefix return items prefixed with this value (optional) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 external principals list -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call listUserExternalPrincipalsCall(String userId, String prefix, String after, Integer amount, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/auth/users/{userId}/external/principals/ls" - .replaceAll("\\{" + "userId" + "\\}", localVarApiClient.escapeString(userId.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (prefix != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("prefix", prefix)); - } - - if (after != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("after", after)); - } - - if (amount != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("amount", amount)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call listUserExternalPrincipalsValidateBeforeCall(String userId, String prefix, String after, Integer amount, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'userId' is set - if (userId == null) { - throw new ApiException("Missing the required parameter 'userId' when calling listUserExternalPrincipals(Async)"); - } - - - okhttp3.Call localVarCall = listUserExternalPrincipalsCall(userId, prefix, after, amount, _callback); - return localVarCall; - - } - - /** - * list user external policies attached to a user - * - * @param userId (required) - * @param prefix return items prefixed with this value (optional) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @return ExternalPrincipalList - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 external principals list -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ExternalPrincipalList listUserExternalPrincipals(String userId, String prefix, String after, Integer amount) throws ApiException { - ApiResponse localVarResp = listUserExternalPrincipalsWithHttpInfo(userId, prefix, after, amount); - return localVarResp.getData(); - } - - /** - * list user external policies attached to a user - * - * @param userId (required) - * @param prefix return items prefixed with this value (optional) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @return ApiResponse<ExternalPrincipalList> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 external principals list -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse listUserExternalPrincipalsWithHttpInfo(String userId, String prefix, String after, Integer amount) throws ApiException { - okhttp3.Call localVarCall = listUserExternalPrincipalsValidateBeforeCall(userId, prefix, after, amount, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * list user external policies attached to a user (asynchronously) - * - * @param userId (required) - * @param prefix return items prefixed with this value (optional) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 external principals list -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call listUserExternalPrincipalsAsync(String userId, String prefix, String after, Integer amount, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = listUserExternalPrincipalsValidateBeforeCall(userId, prefix, after, amount, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for listUserGroups - * @param userId (required) - * @param prefix return items prefixed with this value (optional) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 group list -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call listUserGroupsCall(String userId, String prefix, String after, Integer amount, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/auth/users/{userId}/groups" - .replaceAll("\\{" + "userId" + "\\}", localVarApiClient.escapeString(userId.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (prefix != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("prefix", prefix)); - } - - if (after != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("after", after)); - } - - if (amount != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("amount", amount)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call listUserGroupsValidateBeforeCall(String userId, String prefix, String after, Integer amount, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'userId' is set - if (userId == null) { - throw new ApiException("Missing the required parameter 'userId' when calling listUserGroups(Async)"); - } - - - okhttp3.Call localVarCall = listUserGroupsCall(userId, prefix, after, amount, _callback); - return localVarCall; - - } - - /** - * list user groups - * - * @param userId (required) - * @param prefix return items prefixed with this value (optional) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @return GroupList - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 group list -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public GroupList listUserGroups(String userId, String prefix, String after, Integer amount) throws ApiException { - ApiResponse localVarResp = listUserGroupsWithHttpInfo(userId, prefix, after, amount); - return localVarResp.getData(); - } - - /** - * list user groups - * - * @param userId (required) - * @param prefix return items prefixed with this value (optional) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @return ApiResponse<GroupList> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 group list -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse listUserGroupsWithHttpInfo(String userId, String prefix, String after, Integer amount) throws ApiException { - okhttp3.Call localVarCall = listUserGroupsValidateBeforeCall(userId, prefix, after, amount, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * list user groups (asynchronously) - * - * @param userId (required) - * @param prefix return items prefixed with this value (optional) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 group list -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call listUserGroupsAsync(String userId, String prefix, String after, Integer amount, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = listUserGroupsValidateBeforeCall(userId, prefix, after, amount, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for listUserPolicies - * @param userId (required) - * @param prefix return items prefixed with this value (optional) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @param effective will return all distinct policies attached to the user or any of its groups (optional, default to false) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 policy list -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call listUserPoliciesCall(String userId, String prefix, String after, Integer amount, Boolean effective, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/auth/users/{userId}/policies" - .replaceAll("\\{" + "userId" + "\\}", localVarApiClient.escapeString(userId.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (prefix != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("prefix", prefix)); - } - - if (after != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("after", after)); - } - - if (amount != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("amount", amount)); - } - - if (effective != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("effective", effective)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call listUserPoliciesValidateBeforeCall(String userId, String prefix, String after, Integer amount, Boolean effective, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'userId' is set - if (userId == null) { - throw new ApiException("Missing the required parameter 'userId' when calling listUserPolicies(Async)"); - } - - - okhttp3.Call localVarCall = listUserPoliciesCall(userId, prefix, after, amount, effective, _callback); - return localVarCall; - - } - - /** - * list user policies - * - * @param userId (required) - * @param prefix return items prefixed with this value (optional) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @param effective will return all distinct policies attached to the user or any of its groups (optional, default to false) - * @return PolicyList - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 policy list -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public PolicyList listUserPolicies(String userId, String prefix, String after, Integer amount, Boolean effective) throws ApiException { - ApiResponse localVarResp = listUserPoliciesWithHttpInfo(userId, prefix, after, amount, effective); - return localVarResp.getData(); - } - - /** - * list user policies - * - * @param userId (required) - * @param prefix return items prefixed with this value (optional) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @param effective will return all distinct policies attached to the user or any of its groups (optional, default to false) - * @return ApiResponse<PolicyList> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 policy list -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse listUserPoliciesWithHttpInfo(String userId, String prefix, String after, Integer amount, Boolean effective) throws ApiException { - okhttp3.Call localVarCall = listUserPoliciesValidateBeforeCall(userId, prefix, after, amount, effective, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * list user policies (asynchronously) - * - * @param userId (required) - * @param prefix return items prefixed with this value (optional) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @param effective will return all distinct policies attached to the user or any of its groups (optional, default to false) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 policy list -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call listUserPoliciesAsync(String userId, String prefix, String after, Integer amount, Boolean effective, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = listUserPoliciesValidateBeforeCall(userId, prefix, after, amount, effective, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for listUsers - * @param prefix return items prefixed with this value (optional) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Status Code Description Response Headers
200 user list -
401 Unauthorized -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call listUsersCall(String prefix, String after, Integer amount, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/auth/users"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (prefix != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("prefix", prefix)); - } - - if (after != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("after", after)); - } - - if (amount != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("amount", amount)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call listUsersValidateBeforeCall(String prefix, String after, Integer amount, final ApiCallback _callback) throws ApiException { - - - okhttp3.Call localVarCall = listUsersCall(prefix, after, amount, _callback); - return localVarCall; - - } - - /** - * list users - * - * @param prefix return items prefixed with this value (optional) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @return UserList - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Status Code Description Response Headers
200 user list -
401 Unauthorized -
420 too many requests -
0 Internal Server Error -
- */ - public UserList listUsers(String prefix, String after, Integer amount) throws ApiException { - ApiResponse localVarResp = listUsersWithHttpInfo(prefix, after, amount); - return localVarResp.getData(); - } - - /** - * list users - * - * @param prefix return items prefixed with this value (optional) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @return ApiResponse<UserList> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Status Code Description Response Headers
200 user list -
401 Unauthorized -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse listUsersWithHttpInfo(String prefix, String after, Integer amount) throws ApiException { - okhttp3.Call localVarCall = listUsersValidateBeforeCall(prefix, after, amount, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * list users (asynchronously) - * - * @param prefix return items prefixed with this value (optional) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Status Code Description Response Headers
200 user list -
401 Unauthorized -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call listUsersAsync(String prefix, String after, Integer amount, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = listUsersValidateBeforeCall(prefix, after, amount, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for login - * @param loginInformation (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Status Code Description Response Headers
200 successful login * Set-Cookie -
401 Unauthorized -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call loginCall(LoginInformation loginInformation, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = loginInformation; - - // create path and map variables - String localVarPath = "/auth/login"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { }; - return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call loginValidateBeforeCall(LoginInformation loginInformation, final ApiCallback _callback) throws ApiException { - - - okhttp3.Call localVarCall = loginCall(loginInformation, _callback); - return localVarCall; - - } - - /** - * perform a login - * - * @param loginInformation (optional) - * @return AuthenticationToken - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Status Code Description Response Headers
200 successful login * Set-Cookie -
401 Unauthorized -
420 too many requests -
0 Internal Server Error -
- */ - public AuthenticationToken login(LoginInformation loginInformation) throws ApiException { - ApiResponse localVarResp = loginWithHttpInfo(loginInformation); - return localVarResp.getData(); - } - - /** - * perform a login - * - * @param loginInformation (optional) - * @return ApiResponse<AuthenticationToken> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Status Code Description Response Headers
200 successful login * Set-Cookie -
401 Unauthorized -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse loginWithHttpInfo(LoginInformation loginInformation) throws ApiException { - okhttp3.Call localVarCall = loginValidateBeforeCall(loginInformation, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * perform a login (asynchronously) - * - * @param loginInformation (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Status Code Description Response Headers
200 successful login * Set-Cookie -
401 Unauthorized -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call loginAsync(LoginInformation loginInformation, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = loginValidateBeforeCall(loginInformation, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for setGroupACL - * @param groupId (required) - * @param ACL (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
201 ACL successfully changed -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call setGroupACLCall(String groupId, ACL ACL, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = ACL; - - // create path and map variables - String localVarPath = "/auth/groups/{groupId}/acl" - .replaceAll("\\{" + "groupId" + "\\}", localVarApiClient.escapeString(groupId.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call setGroupACLValidateBeforeCall(String groupId, ACL ACL, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'groupId' is set - if (groupId == null) { - throw new ApiException("Missing the required parameter 'groupId' when calling setGroupACL(Async)"); - } - - // verify the required parameter 'ACL' is set - if (ACL == null) { - throw new ApiException("Missing the required parameter 'ACL' when calling setGroupACL(Async)"); - } - - - okhttp3.Call localVarCall = setGroupACLCall(groupId, ACL, _callback); - return localVarCall; - - } - - /** - * set ACL of group - * - * @param groupId (required) - * @param ACL (required) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
201 ACL successfully changed -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public void setGroupACL(String groupId, ACL ACL) throws ApiException { - setGroupACLWithHttpInfo(groupId, ACL); - } - - /** - * set ACL of group - * - * @param groupId (required) - * @param ACL (required) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
201 ACL successfully changed -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse setGroupACLWithHttpInfo(String groupId, ACL ACL) throws ApiException { - okhttp3.Call localVarCall = setGroupACLValidateBeforeCall(groupId, ACL, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * set ACL of group (asynchronously) - * - * @param groupId (required) - * @param ACL (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
201 ACL successfully changed -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call setGroupACLAsync(String groupId, ACL ACL, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = setGroupACLValidateBeforeCall(groupId, ACL, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for updatePolicy - * @param policyId (required) - * @param policy (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
200 policy -
400 Validation Error -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call updatePolicyCall(String policyId, Policy policy, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = policy; - - // create path and map variables - String localVarPath = "/auth/policies/{policyId}" - .replaceAll("\\{" + "policyId" + "\\}", localVarApiClient.escapeString(policyId.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call updatePolicyValidateBeforeCall(String policyId, Policy policy, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'policyId' is set - if (policyId == null) { - throw new ApiException("Missing the required parameter 'policyId' when calling updatePolicy(Async)"); - } - - // verify the required parameter 'policy' is set - if (policy == null) { - throw new ApiException("Missing the required parameter 'policy' when calling updatePolicy(Async)"); - } - - - okhttp3.Call localVarCall = updatePolicyCall(policyId, policy, _callback); - return localVarCall; - - } - - /** - * update policy - * - * @param policyId (required) - * @param policy (required) - * @return Policy - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
200 policy -
400 Validation Error -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public Policy updatePolicy(String policyId, Policy policy) throws ApiException { - ApiResponse localVarResp = updatePolicyWithHttpInfo(policyId, policy); - return localVarResp.getData(); - } - - /** - * update policy - * - * @param policyId (required) - * @param policy (required) - * @return ApiResponse<Policy> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
200 policy -
400 Validation Error -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse updatePolicyWithHttpInfo(String policyId, Policy policy) throws ApiException { - okhttp3.Call localVarCall = updatePolicyValidateBeforeCall(policyId, policy, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * update policy (asynchronously) - * - * @param policyId (required) - * @param policy (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
200 policy -
400 Validation Error -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call updatePolicyAsync(String policyId, Policy policy, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = updatePolicyValidateBeforeCall(policyId, policy, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } -} diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/BranchesApi.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/BranchesApi.java deleted file mode 100644 index a72c0b7cf50..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/BranchesApi.java +++ /dev/null @@ -1,1285 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api; - -import io.lakefs.clients.api.ApiCallback; -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.ApiResponse; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.Pair; -import io.lakefs.clients.api.ProgressRequestBody; -import io.lakefs.clients.api.ProgressResponseBody; - -import com.google.gson.reflect.TypeToken; - -import java.io.IOException; - - -import io.lakefs.clients.api.model.BranchCreation; -import io.lakefs.clients.api.model.CherryPickCreation; -import io.lakefs.clients.api.model.Commit; -import io.lakefs.clients.api.model.DiffList; -import io.lakefs.clients.api.model.Error; -import io.lakefs.clients.api.model.Ref; -import io.lakefs.clients.api.model.RefList; -import io.lakefs.clients.api.model.ResetCreation; -import io.lakefs.clients.api.model.RevertCreation; - -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -public class BranchesApi { - private ApiClient localVarApiClient; - - public BranchesApi() { - this(Configuration.getDefaultApiClient()); - } - - public BranchesApi(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - public ApiClient getApiClient() { - return localVarApiClient; - } - - public void setApiClient(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - /** - * Build call for cherryPick - * @param repository (required) - * @param branch (required) - * @param cherryPickCreation (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - - - - -
Status Code Description Response Headers
201 the cherry-pick commit -
400 Validation Error -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
409 Conflict Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call cherryPickCall(String repository, String branch, CherryPickCreation cherryPickCreation, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = cherryPickCreation; - - // create path and map variables - String localVarPath = "/repositories/{repository}/branches/{branch}/cherry-pick" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())) - .replaceAll("\\{" + "branch" + "\\}", localVarApiClient.escapeString(branch.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call cherryPickValidateBeforeCall(String repository, String branch, CherryPickCreation cherryPickCreation, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling cherryPick(Async)"); - } - - // verify the required parameter 'branch' is set - if (branch == null) { - throw new ApiException("Missing the required parameter 'branch' when calling cherryPick(Async)"); - } - - // verify the required parameter 'cherryPickCreation' is set - if (cherryPickCreation == null) { - throw new ApiException("Missing the required parameter 'cherryPickCreation' when calling cherryPick(Async)"); - } - - - okhttp3.Call localVarCall = cherryPickCall(repository, branch, cherryPickCreation, _callback); - return localVarCall; - - } - - /** - * Replay the changes from the given commit on the branch - * - * @param repository (required) - * @param branch (required) - * @param cherryPickCreation (required) - * @return Commit - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - - - -
Status Code Description Response Headers
201 the cherry-pick commit -
400 Validation Error -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
409 Conflict Found -
420 too many requests -
0 Internal Server Error -
- */ - public Commit cherryPick(String repository, String branch, CherryPickCreation cherryPickCreation) throws ApiException { - ApiResponse localVarResp = cherryPickWithHttpInfo(repository, branch, cherryPickCreation); - return localVarResp.getData(); - } - - /** - * Replay the changes from the given commit on the branch - * - * @param repository (required) - * @param branch (required) - * @param cherryPickCreation (required) - * @return ApiResponse<Commit> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - - - -
Status Code Description Response Headers
201 the cherry-pick commit -
400 Validation Error -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
409 Conflict Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse cherryPickWithHttpInfo(String repository, String branch, CherryPickCreation cherryPickCreation) throws ApiException { - okhttp3.Call localVarCall = cherryPickValidateBeforeCall(repository, branch, cherryPickCreation, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Replay the changes from the given commit on the branch (asynchronously) - * - * @param repository (required) - * @param branch (required) - * @param cherryPickCreation (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - - - - -
Status Code Description Response Headers
201 the cherry-pick commit -
400 Validation Error -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
409 Conflict Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call cherryPickAsync(String repository, String branch, CherryPickCreation cherryPickCreation, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = cherryPickValidateBeforeCall(repository, branch, cherryPickCreation, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for createBranch - * @param repository (required) - * @param branchCreation (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - - - - -
Status Code Description Response Headers
201 reference -
400 Validation Error -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
409 Resource Conflicts With Target -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call createBranchCall(String repository, BranchCreation branchCreation, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = branchCreation; - - // create path and map variables - String localVarPath = "/repositories/{repository}/branches" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "text/html", "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call createBranchValidateBeforeCall(String repository, BranchCreation branchCreation, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling createBranch(Async)"); - } - - // verify the required parameter 'branchCreation' is set - if (branchCreation == null) { - throw new ApiException("Missing the required parameter 'branchCreation' when calling createBranch(Async)"); - } - - - okhttp3.Call localVarCall = createBranchCall(repository, branchCreation, _callback); - return localVarCall; - - } - - /** - * create branch - * - * @param repository (required) - * @param branchCreation (required) - * @return String - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - - - -
Status Code Description Response Headers
201 reference -
400 Validation Error -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
409 Resource Conflicts With Target -
420 too many requests -
0 Internal Server Error -
- */ - public String createBranch(String repository, BranchCreation branchCreation) throws ApiException { - ApiResponse localVarResp = createBranchWithHttpInfo(repository, branchCreation); - return localVarResp.getData(); - } - - /** - * create branch - * - * @param repository (required) - * @param branchCreation (required) - * @return ApiResponse<String> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - - - -
Status Code Description Response Headers
201 reference -
400 Validation Error -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
409 Resource Conflicts With Target -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse createBranchWithHttpInfo(String repository, BranchCreation branchCreation) throws ApiException { - okhttp3.Call localVarCall = createBranchValidateBeforeCall(repository, branchCreation, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * create branch (asynchronously) - * - * @param repository (required) - * @param branchCreation (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - - - - -
Status Code Description Response Headers
201 reference -
400 Validation Error -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
409 Resource Conflicts With Target -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call createBranchAsync(String repository, BranchCreation branchCreation, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = createBranchValidateBeforeCall(repository, branchCreation, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for deleteBranch - * @param repository (required) - * @param branch (required) - * @param force (optional, default to false) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
204 branch deleted successfully -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call deleteBranchCall(String repository, String branch, Boolean force, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/repositories/{repository}/branches/{branch}" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())) - .replaceAll("\\{" + "branch" + "\\}", localVarApiClient.escapeString(branch.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (force != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("force", force)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call deleteBranchValidateBeforeCall(String repository, String branch, Boolean force, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling deleteBranch(Async)"); - } - - // verify the required parameter 'branch' is set - if (branch == null) { - throw new ApiException("Missing the required parameter 'branch' when calling deleteBranch(Async)"); - } - - - okhttp3.Call localVarCall = deleteBranchCall(repository, branch, force, _callback); - return localVarCall; - - } - - /** - * delete branch - * - * @param repository (required) - * @param branch (required) - * @param force (optional, default to false) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
204 branch deleted successfully -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public void deleteBranch(String repository, String branch, Boolean force) throws ApiException { - deleteBranchWithHttpInfo(repository, branch, force); - } - - /** - * delete branch - * - * @param repository (required) - * @param branch (required) - * @param force (optional, default to false) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
204 branch deleted successfully -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse deleteBranchWithHttpInfo(String repository, String branch, Boolean force) throws ApiException { - okhttp3.Call localVarCall = deleteBranchValidateBeforeCall(repository, branch, force, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * delete branch (asynchronously) - * - * @param repository (required) - * @param branch (required) - * @param force (optional, default to false) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
204 branch deleted successfully -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call deleteBranchAsync(String repository, String branch, Boolean force, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = deleteBranchValidateBeforeCall(repository, branch, force, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for diffBranch - * @param repository (required) - * @param branch (required) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @param prefix return items prefixed with this value (optional) - * @param delimiter delimiter used to group common prefixes by (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 diff of branch uncommitted changes -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call diffBranchCall(String repository, String branch, String after, Integer amount, String prefix, String delimiter, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/repositories/{repository}/branches/{branch}/diff" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())) - .replaceAll("\\{" + "branch" + "\\}", localVarApiClient.escapeString(branch.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (after != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("after", after)); - } - - if (amount != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("amount", amount)); - } - - if (prefix != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("prefix", prefix)); - } - - if (delimiter != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("delimiter", delimiter)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call diffBranchValidateBeforeCall(String repository, String branch, String after, Integer amount, String prefix, String delimiter, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling diffBranch(Async)"); - } - - // verify the required parameter 'branch' is set - if (branch == null) { - throw new ApiException("Missing the required parameter 'branch' when calling diffBranch(Async)"); - } - - - okhttp3.Call localVarCall = diffBranchCall(repository, branch, after, amount, prefix, delimiter, _callback); - return localVarCall; - - } - - /** - * diff branch - * - * @param repository (required) - * @param branch (required) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @param prefix return items prefixed with this value (optional) - * @param delimiter delimiter used to group common prefixes by (optional) - * @return DiffList - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 diff of branch uncommitted changes -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public DiffList diffBranch(String repository, String branch, String after, Integer amount, String prefix, String delimiter) throws ApiException { - ApiResponse localVarResp = diffBranchWithHttpInfo(repository, branch, after, amount, prefix, delimiter); - return localVarResp.getData(); - } - - /** - * diff branch - * - * @param repository (required) - * @param branch (required) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @param prefix return items prefixed with this value (optional) - * @param delimiter delimiter used to group common prefixes by (optional) - * @return ApiResponse<DiffList> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 diff of branch uncommitted changes -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse diffBranchWithHttpInfo(String repository, String branch, String after, Integer amount, String prefix, String delimiter) throws ApiException { - okhttp3.Call localVarCall = diffBranchValidateBeforeCall(repository, branch, after, amount, prefix, delimiter, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * diff branch (asynchronously) - * - * @param repository (required) - * @param branch (required) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @param prefix return items prefixed with this value (optional) - * @param delimiter delimiter used to group common prefixes by (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 diff of branch uncommitted changes -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call diffBranchAsync(String repository, String branch, String after, Integer amount, String prefix, String delimiter, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = diffBranchValidateBeforeCall(repository, branch, after, amount, prefix, delimiter, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getBranch - * @param repository (required) - * @param branch (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 branch -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call getBranchCall(String repository, String branch, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/repositories/{repository}/branches/{branch}" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())) - .replaceAll("\\{" + "branch" + "\\}", localVarApiClient.escapeString(branch.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getBranchValidateBeforeCall(String repository, String branch, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling getBranch(Async)"); - } - - // verify the required parameter 'branch' is set - if (branch == null) { - throw new ApiException("Missing the required parameter 'branch' when calling getBranch(Async)"); - } - - - okhttp3.Call localVarCall = getBranchCall(repository, branch, _callback); - return localVarCall; - - } - - /** - * get branch - * - * @param repository (required) - * @param branch (required) - * @return Ref - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 branch -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public Ref getBranch(String repository, String branch) throws ApiException { - ApiResponse localVarResp = getBranchWithHttpInfo(repository, branch); - return localVarResp.getData(); - } - - /** - * get branch - * - * @param repository (required) - * @param branch (required) - * @return ApiResponse<Ref> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 branch -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse getBranchWithHttpInfo(String repository, String branch) throws ApiException { - okhttp3.Call localVarCall = getBranchValidateBeforeCall(repository, branch, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * get branch (asynchronously) - * - * @param repository (required) - * @param branch (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 branch -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call getBranchAsync(String repository, String branch, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getBranchValidateBeforeCall(repository, branch, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for listBranches - * @param repository (required) - * @param prefix return items prefixed with this value (optional) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 branch list -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call listBranchesCall(String repository, String prefix, String after, Integer amount, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/repositories/{repository}/branches" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (prefix != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("prefix", prefix)); - } - - if (after != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("after", after)); - } - - if (amount != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("amount", amount)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call listBranchesValidateBeforeCall(String repository, String prefix, String after, Integer amount, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling listBranches(Async)"); - } - - - okhttp3.Call localVarCall = listBranchesCall(repository, prefix, after, amount, _callback); - return localVarCall; - - } - - /** - * list branches - * - * @param repository (required) - * @param prefix return items prefixed with this value (optional) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @return RefList - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 branch list -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public RefList listBranches(String repository, String prefix, String after, Integer amount) throws ApiException { - ApiResponse localVarResp = listBranchesWithHttpInfo(repository, prefix, after, amount); - return localVarResp.getData(); - } - - /** - * list branches - * - * @param repository (required) - * @param prefix return items prefixed with this value (optional) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @return ApiResponse<RefList> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 branch list -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse listBranchesWithHttpInfo(String repository, String prefix, String after, Integer amount) throws ApiException { - okhttp3.Call localVarCall = listBranchesValidateBeforeCall(repository, prefix, after, amount, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * list branches (asynchronously) - * - * @param repository (required) - * @param prefix return items prefixed with this value (optional) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 branch list -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call listBranchesAsync(String repository, String prefix, String after, Integer amount, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = listBranchesValidateBeforeCall(repository, prefix, after, amount, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for resetBranch - * @param repository (required) - * @param branch (required) - * @param resetCreation (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - - - -
Status Code Description Response Headers
204 reset successful -
400 Bad Request -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call resetBranchCall(String repository, String branch, ResetCreation resetCreation, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = resetCreation; - - // create path and map variables - String localVarPath = "/repositories/{repository}/branches/{branch}" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())) - .replaceAll("\\{" + "branch" + "\\}", localVarApiClient.escapeString(branch.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call resetBranchValidateBeforeCall(String repository, String branch, ResetCreation resetCreation, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling resetBranch(Async)"); - } - - // verify the required parameter 'branch' is set - if (branch == null) { - throw new ApiException("Missing the required parameter 'branch' when calling resetBranch(Async)"); - } - - // verify the required parameter 'resetCreation' is set - if (resetCreation == null) { - throw new ApiException("Missing the required parameter 'resetCreation' when calling resetBranch(Async)"); - } - - - okhttp3.Call localVarCall = resetBranchCall(repository, branch, resetCreation, _callback); - return localVarCall; - - } - - /** - * reset branch - * - * @param repository (required) - * @param branch (required) - * @param resetCreation (required) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - - -
Status Code Description Response Headers
204 reset successful -
400 Bad Request -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public void resetBranch(String repository, String branch, ResetCreation resetCreation) throws ApiException { - resetBranchWithHttpInfo(repository, branch, resetCreation); - } - - /** - * reset branch - * - * @param repository (required) - * @param branch (required) - * @param resetCreation (required) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - - -
Status Code Description Response Headers
204 reset successful -
400 Bad Request -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse resetBranchWithHttpInfo(String repository, String branch, ResetCreation resetCreation) throws ApiException { - okhttp3.Call localVarCall = resetBranchValidateBeforeCall(repository, branch, resetCreation, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * reset branch (asynchronously) - * - * @param repository (required) - * @param branch (required) - * @param resetCreation (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - - - -
Status Code Description Response Headers
204 reset successful -
400 Bad Request -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call resetBranchAsync(String repository, String branch, ResetCreation resetCreation, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = resetBranchValidateBeforeCall(repository, branch, resetCreation, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for revertBranch - * @param repository (required) - * @param branch (required) - * @param revertCreation (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - - - - -
Status Code Description Response Headers
204 revert successful -
400 Validation Error -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
409 Conflict Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call revertBranchCall(String repository, String branch, RevertCreation revertCreation, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = revertCreation; - - // create path and map variables - String localVarPath = "/repositories/{repository}/branches/{branch}/revert" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())) - .replaceAll("\\{" + "branch" + "\\}", localVarApiClient.escapeString(branch.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call revertBranchValidateBeforeCall(String repository, String branch, RevertCreation revertCreation, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling revertBranch(Async)"); - } - - // verify the required parameter 'branch' is set - if (branch == null) { - throw new ApiException("Missing the required parameter 'branch' when calling revertBranch(Async)"); - } - - // verify the required parameter 'revertCreation' is set - if (revertCreation == null) { - throw new ApiException("Missing the required parameter 'revertCreation' when calling revertBranch(Async)"); - } - - - okhttp3.Call localVarCall = revertBranchCall(repository, branch, revertCreation, _callback); - return localVarCall; - - } - - /** - * revert - * - * @param repository (required) - * @param branch (required) - * @param revertCreation (required) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - - - -
Status Code Description Response Headers
204 revert successful -
400 Validation Error -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
409 Conflict Found -
420 too many requests -
0 Internal Server Error -
- */ - public void revertBranch(String repository, String branch, RevertCreation revertCreation) throws ApiException { - revertBranchWithHttpInfo(repository, branch, revertCreation); - } - - /** - * revert - * - * @param repository (required) - * @param branch (required) - * @param revertCreation (required) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - - - -
Status Code Description Response Headers
204 revert successful -
400 Validation Error -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
409 Conflict Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse revertBranchWithHttpInfo(String repository, String branch, RevertCreation revertCreation) throws ApiException { - okhttp3.Call localVarCall = revertBranchValidateBeforeCall(repository, branch, revertCreation, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * revert (asynchronously) - * - * @param repository (required) - * @param branch (required) - * @param revertCreation (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - - - - -
Status Code Description Response Headers
204 revert successful -
400 Validation Error -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
409 Conflict Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call revertBranchAsync(String repository, String branch, RevertCreation revertCreation, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = revertBranchValidateBeforeCall(repository, branch, revertCreation, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } -} diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/CommitsApi.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/CommitsApi.java deleted file mode 100644 index 23f464975fe..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/CommitsApi.java +++ /dev/null @@ -1,368 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api; - -import io.lakefs.clients.api.ApiCallback; -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.ApiResponse; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.Pair; -import io.lakefs.clients.api.ProgressRequestBody; -import io.lakefs.clients.api.ProgressResponseBody; - -import com.google.gson.reflect.TypeToken; - -import java.io.IOException; - - -import io.lakefs.clients.api.model.Commit; -import io.lakefs.clients.api.model.CommitCreation; -import io.lakefs.clients.api.model.Error; - -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -public class CommitsApi { - private ApiClient localVarApiClient; - - public CommitsApi() { - this(Configuration.getDefaultApiClient()); - } - - public CommitsApi(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - public ApiClient getApiClient() { - return localVarApiClient; - } - - public void setApiClient(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - /** - * Build call for commit - * @param repository (required) - * @param branch (required) - * @param commitCreation (required) - * @param sourceMetarange The source metarange to commit. Branch must not have uncommitted changes. (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - - - - - -
Status Code Description Response Headers
201 commit -
400 Validation Error -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
409 Resource Conflicts With Target -
412 Precondition Failed (e.g. a pre-commit hook returned a failure) -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call commitCall(String repository, String branch, CommitCreation commitCreation, String sourceMetarange, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = commitCreation; - - // create path and map variables - String localVarPath = "/repositories/{repository}/branches/{branch}/commits" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())) - .replaceAll("\\{" + "branch" + "\\}", localVarApiClient.escapeString(branch.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (sourceMetarange != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("source_metarange", sourceMetarange)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call commitValidateBeforeCall(String repository, String branch, CommitCreation commitCreation, String sourceMetarange, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling commit(Async)"); - } - - // verify the required parameter 'branch' is set - if (branch == null) { - throw new ApiException("Missing the required parameter 'branch' when calling commit(Async)"); - } - - // verify the required parameter 'commitCreation' is set - if (commitCreation == null) { - throw new ApiException("Missing the required parameter 'commitCreation' when calling commit(Async)"); - } - - - okhttp3.Call localVarCall = commitCall(repository, branch, commitCreation, sourceMetarange, _callback); - return localVarCall; - - } - - /** - * create commit - * - * @param repository (required) - * @param branch (required) - * @param commitCreation (required) - * @param sourceMetarange The source metarange to commit. Branch must not have uncommitted changes. (optional) - * @return Commit - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - - - - -
Status Code Description Response Headers
201 commit -
400 Validation Error -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
409 Resource Conflicts With Target -
412 Precondition Failed (e.g. a pre-commit hook returned a failure) -
420 too many requests -
0 Internal Server Error -
- */ - public Commit commit(String repository, String branch, CommitCreation commitCreation, String sourceMetarange) throws ApiException { - ApiResponse localVarResp = commitWithHttpInfo(repository, branch, commitCreation, sourceMetarange); - return localVarResp.getData(); - } - - /** - * create commit - * - * @param repository (required) - * @param branch (required) - * @param commitCreation (required) - * @param sourceMetarange The source metarange to commit. Branch must not have uncommitted changes. (optional) - * @return ApiResponse<Commit> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - - - - -
Status Code Description Response Headers
201 commit -
400 Validation Error -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
409 Resource Conflicts With Target -
412 Precondition Failed (e.g. a pre-commit hook returned a failure) -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse commitWithHttpInfo(String repository, String branch, CommitCreation commitCreation, String sourceMetarange) throws ApiException { - okhttp3.Call localVarCall = commitValidateBeforeCall(repository, branch, commitCreation, sourceMetarange, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * create commit (asynchronously) - * - * @param repository (required) - * @param branch (required) - * @param commitCreation (required) - * @param sourceMetarange The source metarange to commit. Branch must not have uncommitted changes. (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - - - - - -
Status Code Description Response Headers
201 commit -
400 Validation Error -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
409 Resource Conflicts With Target -
412 Precondition Failed (e.g. a pre-commit hook returned a failure) -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call commitAsync(String repository, String branch, CommitCreation commitCreation, String sourceMetarange, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = commitValidateBeforeCall(repository, branch, commitCreation, sourceMetarange, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getCommit - * @param repository (required) - * @param commitId (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 commit -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call getCommitCall(String repository, String commitId, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/repositories/{repository}/commits/{commitId}" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())) - .replaceAll("\\{" + "commitId" + "\\}", localVarApiClient.escapeString(commitId.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getCommitValidateBeforeCall(String repository, String commitId, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling getCommit(Async)"); - } - - // verify the required parameter 'commitId' is set - if (commitId == null) { - throw new ApiException("Missing the required parameter 'commitId' when calling getCommit(Async)"); - } - - - okhttp3.Call localVarCall = getCommitCall(repository, commitId, _callback); - return localVarCall; - - } - - /** - * get commit - * - * @param repository (required) - * @param commitId (required) - * @return Commit - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 commit -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public Commit getCommit(String repository, String commitId) throws ApiException { - ApiResponse localVarResp = getCommitWithHttpInfo(repository, commitId); - return localVarResp.getData(); - } - - /** - * get commit - * - * @param repository (required) - * @param commitId (required) - * @return ApiResponse<Commit> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 commit -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse getCommitWithHttpInfo(String repository, String commitId) throws ApiException { - okhttp3.Call localVarCall = getCommitValidateBeforeCall(repository, commitId, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * get commit (asynchronously) - * - * @param repository (required) - * @param commitId (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 commit -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call getCommitAsync(String repository, String commitId, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getCommitValidateBeforeCall(repository, commitId, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } -} diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/ConfigApi.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/ConfigApi.java deleted file mode 100644 index db1b298eed7..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/ConfigApi.java +++ /dev/null @@ -1,164 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api; - -import io.lakefs.clients.api.ApiCallback; -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.ApiResponse; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.Pair; -import io.lakefs.clients.api.ProgressRequestBody; -import io.lakefs.clients.api.ProgressResponseBody; - -import com.google.gson.reflect.TypeToken; - -import java.io.IOException; - - -import io.lakefs.clients.api.model.Config; -import io.lakefs.clients.api.model.Error; - -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -public class ConfigApi { - private ApiClient localVarApiClient; - - public ConfigApi() { - this(Configuration.getDefaultApiClient()); - } - - public ConfigApi(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - public ApiClient getApiClient() { - return localVarApiClient; - } - - public void setApiClient(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - /** - * Build call for getConfig - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - -
Status Code Description Response Headers
200 lakeFS configuration -
401 Unauthorized -
- */ - public okhttp3.Call getConfigCall(final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/config"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getConfigValidateBeforeCall(final ApiCallback _callback) throws ApiException { - - - okhttp3.Call localVarCall = getConfigCall(_callback); - return localVarCall; - - } - - /** - * - * retrieve lakeFS configuration - * @return Config - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - -
Status Code Description Response Headers
200 lakeFS configuration -
401 Unauthorized -
- */ - public Config getConfig() throws ApiException { - ApiResponse localVarResp = getConfigWithHttpInfo(); - return localVarResp.getData(); - } - - /** - * - * retrieve lakeFS configuration - * @return ApiResponse<Config> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - -
Status Code Description Response Headers
200 lakeFS configuration -
401 Unauthorized -
- */ - public ApiResponse getConfigWithHttpInfo() throws ApiException { - okhttp3.Call localVarCall = getConfigValidateBeforeCall(null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * retrieve lakeFS configuration - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - -
Status Code Description Response Headers
200 lakeFS configuration -
401 Unauthorized -
- */ - public okhttp3.Call getConfigAsync(final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getConfigValidateBeforeCall(_callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } -} diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/Configuration.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/Configuration.java deleted file mode 100644 index 026d96ab8d0..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/Configuration.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api; - -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class Configuration { - private static ApiClient defaultApiClient = new ApiClient(); - - /** - * Get the default API client, which would be used when creating API - * instances without providing an API client. - * - * @return Default API client - */ - public static ApiClient getDefaultApiClient() { - return defaultApiClient; - } - - /** - * Set the default API client, which would be used when creating API - * instances without providing an API client. - * - * @param apiClient API client - */ - public static void setDefaultApiClient(ApiClient apiClient) { - defaultApiClient = apiClient; - } -} diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/ExperimentalApi.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/ExperimentalApi.java deleted file mode 100644 index face87332b9..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/ExperimentalApi.java +++ /dev/null @@ -1,2473 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api; - -import io.lakefs.clients.api.ApiCallback; -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.ApiResponse; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.Pair; -import io.lakefs.clients.api.ProgressRequestBody; -import io.lakefs.clients.api.ProgressResponseBody; - -import com.google.gson.reflect.TypeToken; - -import java.io.IOException; - - -import io.lakefs.clients.api.model.AbortPresignMultipartUpload; -import io.lakefs.clients.api.model.AuthenticationToken; -import io.lakefs.clients.api.model.CompletePresignMultipartUpload; -import io.lakefs.clients.api.model.Error; -import io.lakefs.clients.api.model.ExternalLoginInformation; -import io.lakefs.clients.api.model.ExternalPrincipal; -import io.lakefs.clients.api.model.ExternalPrincipalCreation; -import io.lakefs.clients.api.model.ExternalPrincipalList; -import io.lakefs.clients.api.model.MergeResult; -import io.lakefs.clients.api.model.ObjectStats; -import io.lakefs.clients.api.model.PresignMultipartUpload; -import io.lakefs.clients.api.model.PullRequest; -import io.lakefs.clients.api.model.PullRequestBasic; -import io.lakefs.clients.api.model.PullRequestCreation; -import io.lakefs.clients.api.model.PullRequestCreationResponse; -import io.lakefs.clients.api.model.PullRequestsList; -import io.lakefs.clients.api.model.StagingLocation; -import io.lakefs.clients.api.model.StsAuthRequest; -import io.lakefs.clients.api.model.UpdateObjectUserMetadata; - -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -public class ExperimentalApi { - private ApiClient localVarApiClient; - - public ExperimentalApi() { - this(Configuration.getDefaultApiClient()); - } - - public ExperimentalApi(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - public ApiClient getApiClient() { - return localVarApiClient; - } - - public void setApiClient(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - /** - * Build call for abortPresignMultipartUpload - * @param repository (required) - * @param branch (required) - * @param uploadId (required) - * @param path relative to the branch (required) - * @param abortPresignMultipartUpload (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
204 Presign multipart upload aborted -
400 Bad Request -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call abortPresignMultipartUploadCall(String repository, String branch, String uploadId, String path, AbortPresignMultipartUpload abortPresignMultipartUpload, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = abortPresignMultipartUpload; - - // create path and map variables - String localVarPath = "/repositories/{repository}/branches/{branch}/staging/pmpu/{uploadId}" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())) - .replaceAll("\\{" + "branch" + "\\}", localVarApiClient.escapeString(branch.toString())) - .replaceAll("\\{" + "uploadId" + "\\}", localVarApiClient.escapeString(uploadId.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (path != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("path", path)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call abortPresignMultipartUploadValidateBeforeCall(String repository, String branch, String uploadId, String path, AbortPresignMultipartUpload abortPresignMultipartUpload, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling abortPresignMultipartUpload(Async)"); - } - - // verify the required parameter 'branch' is set - if (branch == null) { - throw new ApiException("Missing the required parameter 'branch' when calling abortPresignMultipartUpload(Async)"); - } - - // verify the required parameter 'uploadId' is set - if (uploadId == null) { - throw new ApiException("Missing the required parameter 'uploadId' when calling abortPresignMultipartUpload(Async)"); - } - - // verify the required parameter 'path' is set - if (path == null) { - throw new ApiException("Missing the required parameter 'path' when calling abortPresignMultipartUpload(Async)"); - } - - - okhttp3.Call localVarCall = abortPresignMultipartUploadCall(repository, branch, uploadId, path, abortPresignMultipartUpload, _callback); - return localVarCall; - - } - - /** - * Abort a presign multipart upload - * Aborts a presign multipart upload. - * @param repository (required) - * @param branch (required) - * @param uploadId (required) - * @param path relative to the branch (required) - * @param abortPresignMultipartUpload (optional) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
204 Presign multipart upload aborted -
400 Bad Request -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public void abortPresignMultipartUpload(String repository, String branch, String uploadId, String path, AbortPresignMultipartUpload abortPresignMultipartUpload) throws ApiException { - abortPresignMultipartUploadWithHttpInfo(repository, branch, uploadId, path, abortPresignMultipartUpload); - } - - /** - * Abort a presign multipart upload - * Aborts a presign multipart upload. - * @param repository (required) - * @param branch (required) - * @param uploadId (required) - * @param path relative to the branch (required) - * @param abortPresignMultipartUpload (optional) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
204 Presign multipart upload aborted -
400 Bad Request -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse abortPresignMultipartUploadWithHttpInfo(String repository, String branch, String uploadId, String path, AbortPresignMultipartUpload abortPresignMultipartUpload) throws ApiException { - okhttp3.Call localVarCall = abortPresignMultipartUploadValidateBeforeCall(repository, branch, uploadId, path, abortPresignMultipartUpload, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * Abort a presign multipart upload (asynchronously) - * Aborts a presign multipart upload. - * @param repository (required) - * @param branch (required) - * @param uploadId (required) - * @param path relative to the branch (required) - * @param abortPresignMultipartUpload (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
204 Presign multipart upload aborted -
400 Bad Request -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call abortPresignMultipartUploadAsync(String repository, String branch, String uploadId, String path, AbortPresignMultipartUpload abortPresignMultipartUpload, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = abortPresignMultipartUploadValidateBeforeCall(repository, branch, uploadId, path, abortPresignMultipartUpload, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for completePresignMultipartUpload - * @param repository (required) - * @param branch (required) - * @param uploadId (required) - * @param path relative to the branch (required) - * @param completePresignMultipartUpload (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - - - -
Status Code Description Response Headers
200 Presign multipart upload completed -
400 Bad Request -
401 Unauthorized -
404 Resource Not Found -
409 conflict with a commit, try here -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call completePresignMultipartUploadCall(String repository, String branch, String uploadId, String path, CompletePresignMultipartUpload completePresignMultipartUpload, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = completePresignMultipartUpload; - - // create path and map variables - String localVarPath = "/repositories/{repository}/branches/{branch}/staging/pmpu/{uploadId}" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())) - .replaceAll("\\{" + "branch" + "\\}", localVarApiClient.escapeString(branch.toString())) - .replaceAll("\\{" + "uploadId" + "\\}", localVarApiClient.escapeString(uploadId.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (path != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("path", path)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call completePresignMultipartUploadValidateBeforeCall(String repository, String branch, String uploadId, String path, CompletePresignMultipartUpload completePresignMultipartUpload, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling completePresignMultipartUpload(Async)"); - } - - // verify the required parameter 'branch' is set - if (branch == null) { - throw new ApiException("Missing the required parameter 'branch' when calling completePresignMultipartUpload(Async)"); - } - - // verify the required parameter 'uploadId' is set - if (uploadId == null) { - throw new ApiException("Missing the required parameter 'uploadId' when calling completePresignMultipartUpload(Async)"); - } - - // verify the required parameter 'path' is set - if (path == null) { - throw new ApiException("Missing the required parameter 'path' when calling completePresignMultipartUpload(Async)"); - } - - - okhttp3.Call localVarCall = completePresignMultipartUploadCall(repository, branch, uploadId, path, completePresignMultipartUpload, _callback); - return localVarCall; - - } - - /** - * Complete a presign multipart upload request - * Completes a presign multipart upload by assembling the uploaded parts. - * @param repository (required) - * @param branch (required) - * @param uploadId (required) - * @param path relative to the branch (required) - * @param completePresignMultipartUpload (optional) - * @return ObjectStats - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - - -
Status Code Description Response Headers
200 Presign multipart upload completed -
400 Bad Request -
401 Unauthorized -
404 Resource Not Found -
409 conflict with a commit, try here -
420 too many requests -
0 Internal Server Error -
- */ - public ObjectStats completePresignMultipartUpload(String repository, String branch, String uploadId, String path, CompletePresignMultipartUpload completePresignMultipartUpload) throws ApiException { - ApiResponse localVarResp = completePresignMultipartUploadWithHttpInfo(repository, branch, uploadId, path, completePresignMultipartUpload); - return localVarResp.getData(); - } - - /** - * Complete a presign multipart upload request - * Completes a presign multipart upload by assembling the uploaded parts. - * @param repository (required) - * @param branch (required) - * @param uploadId (required) - * @param path relative to the branch (required) - * @param completePresignMultipartUpload (optional) - * @return ApiResponse<ObjectStats> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - - -
Status Code Description Response Headers
200 Presign multipart upload completed -
400 Bad Request -
401 Unauthorized -
404 Resource Not Found -
409 conflict with a commit, try here -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse completePresignMultipartUploadWithHttpInfo(String repository, String branch, String uploadId, String path, CompletePresignMultipartUpload completePresignMultipartUpload) throws ApiException { - okhttp3.Call localVarCall = completePresignMultipartUploadValidateBeforeCall(repository, branch, uploadId, path, completePresignMultipartUpload, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Complete a presign multipart upload request (asynchronously) - * Completes a presign multipart upload by assembling the uploaded parts. - * @param repository (required) - * @param branch (required) - * @param uploadId (required) - * @param path relative to the branch (required) - * @param completePresignMultipartUpload (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - - - -
Status Code Description Response Headers
200 Presign multipart upload completed -
400 Bad Request -
401 Unauthorized -
404 Resource Not Found -
409 conflict with a commit, try here -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call completePresignMultipartUploadAsync(String repository, String branch, String uploadId, String path, CompletePresignMultipartUpload completePresignMultipartUpload, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = completePresignMultipartUploadValidateBeforeCall(repository, branch, uploadId, path, completePresignMultipartUpload, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for createPresignMultipartUpload - * @param repository (required) - * @param branch (required) - * @param path relative to the branch (required) - * @param parts number of presigned URL parts required to upload (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
201 Presign multipart upload initiated -
400 Bad Request -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call createPresignMultipartUploadCall(String repository, String branch, String path, Integer parts, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/repositories/{repository}/branches/{branch}/staging/pmpu" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())) - .replaceAll("\\{" + "branch" + "\\}", localVarApiClient.escapeString(branch.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (path != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("path", path)); - } - - if (parts != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("parts", parts)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call createPresignMultipartUploadValidateBeforeCall(String repository, String branch, String path, Integer parts, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling createPresignMultipartUpload(Async)"); - } - - // verify the required parameter 'branch' is set - if (branch == null) { - throw new ApiException("Missing the required parameter 'branch' when calling createPresignMultipartUpload(Async)"); - } - - // verify the required parameter 'path' is set - if (path == null) { - throw new ApiException("Missing the required parameter 'path' when calling createPresignMultipartUpload(Async)"); - } - - - okhttp3.Call localVarCall = createPresignMultipartUploadCall(repository, branch, path, parts, _callback); - return localVarCall; - - } - - /** - * Initiate a multipart upload - * Initiates a multipart upload and returns an upload ID with presigned URLs for each part (optional). Part numbers starts with 1. Each part except the last one has minimum size depends on the underlying blockstore implementation. For example working with S3 blockstore, minimum size is 5MB (excluding the last part). - * @param repository (required) - * @param branch (required) - * @param path relative to the branch (required) - * @param parts number of presigned URL parts required to upload (optional) - * @return PresignMultipartUpload - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
201 Presign multipart upload initiated -
400 Bad Request -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public PresignMultipartUpload createPresignMultipartUpload(String repository, String branch, String path, Integer parts) throws ApiException { - ApiResponse localVarResp = createPresignMultipartUploadWithHttpInfo(repository, branch, path, parts); - return localVarResp.getData(); - } - - /** - * Initiate a multipart upload - * Initiates a multipart upload and returns an upload ID with presigned URLs for each part (optional). Part numbers starts with 1. Each part except the last one has minimum size depends on the underlying blockstore implementation. For example working with S3 blockstore, minimum size is 5MB (excluding the last part). - * @param repository (required) - * @param branch (required) - * @param path relative to the branch (required) - * @param parts number of presigned URL parts required to upload (optional) - * @return ApiResponse<PresignMultipartUpload> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
201 Presign multipart upload initiated -
400 Bad Request -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse createPresignMultipartUploadWithHttpInfo(String repository, String branch, String path, Integer parts) throws ApiException { - okhttp3.Call localVarCall = createPresignMultipartUploadValidateBeforeCall(repository, branch, path, parts, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Initiate a multipart upload (asynchronously) - * Initiates a multipart upload and returns an upload ID with presigned URLs for each part (optional). Part numbers starts with 1. Each part except the last one has minimum size depends on the underlying blockstore implementation. For example working with S3 blockstore, minimum size is 5MB (excluding the last part). - * @param repository (required) - * @param branch (required) - * @param path relative to the branch (required) - * @param parts number of presigned URL parts required to upload (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
201 Presign multipart upload initiated -
400 Bad Request -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call createPresignMultipartUploadAsync(String repository, String branch, String path, Integer parts, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = createPresignMultipartUploadValidateBeforeCall(repository, branch, path, parts, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for createPullRequest - * @param repository (required) - * @param pullRequestCreation (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - - - - -
Status Code Description Response Headers
201 pull request created -
400 Validation Error -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
409 Resource Conflicts With Target -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call createPullRequestCall(String repository, PullRequestCreation pullRequestCreation, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = pullRequestCreation; - - // create path and map variables - String localVarPath = "/repositories/{repository}/pulls" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call createPullRequestValidateBeforeCall(String repository, PullRequestCreation pullRequestCreation, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling createPullRequest(Async)"); - } - - // verify the required parameter 'pullRequestCreation' is set - if (pullRequestCreation == null) { - throw new ApiException("Missing the required parameter 'pullRequestCreation' when calling createPullRequest(Async)"); - } - - - okhttp3.Call localVarCall = createPullRequestCall(repository, pullRequestCreation, _callback); - return localVarCall; - - } - - /** - * create pull request - * - * @param repository (required) - * @param pullRequestCreation (required) - * @return PullRequestCreationResponse - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - - - -
Status Code Description Response Headers
201 pull request created -
400 Validation Error -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
409 Resource Conflicts With Target -
420 too many requests -
0 Internal Server Error -
- */ - public PullRequestCreationResponse createPullRequest(String repository, PullRequestCreation pullRequestCreation) throws ApiException { - ApiResponse localVarResp = createPullRequestWithHttpInfo(repository, pullRequestCreation); - return localVarResp.getData(); - } - - /** - * create pull request - * - * @param repository (required) - * @param pullRequestCreation (required) - * @return ApiResponse<PullRequestCreationResponse> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - - - -
Status Code Description Response Headers
201 pull request created -
400 Validation Error -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
409 Resource Conflicts With Target -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse createPullRequestWithHttpInfo(String repository, PullRequestCreation pullRequestCreation) throws ApiException { - okhttp3.Call localVarCall = createPullRequestValidateBeforeCall(repository, pullRequestCreation, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * create pull request (asynchronously) - * - * @param repository (required) - * @param pullRequestCreation (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - - - - -
Status Code Description Response Headers
201 pull request created -
400 Validation Error -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
409 Resource Conflicts With Target -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call createPullRequestAsync(String repository, PullRequestCreation pullRequestCreation, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = createPullRequestValidateBeforeCall(repository, pullRequestCreation, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for createUserExternalPrincipal - * @param userId (required) - * @param principalId (required) - * @param externalPrincipalCreation (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
201 external principal attached successfully -
401 Unauthorized -
404 Resource Not Found -
409 Resource Conflicts With Target -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call createUserExternalPrincipalCall(String userId, String principalId, ExternalPrincipalCreation externalPrincipalCreation, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = externalPrincipalCreation; - - // create path and map variables - String localVarPath = "/auth/users/{userId}/external/principals" - .replaceAll("\\{" + "userId" + "\\}", localVarApiClient.escapeString(userId.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (principalId != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("principalId", principalId)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call createUserExternalPrincipalValidateBeforeCall(String userId, String principalId, ExternalPrincipalCreation externalPrincipalCreation, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'userId' is set - if (userId == null) { - throw new ApiException("Missing the required parameter 'userId' when calling createUserExternalPrincipal(Async)"); - } - - // verify the required parameter 'principalId' is set - if (principalId == null) { - throw new ApiException("Missing the required parameter 'principalId' when calling createUserExternalPrincipal(Async)"); - } - - - okhttp3.Call localVarCall = createUserExternalPrincipalCall(userId, principalId, externalPrincipalCreation, _callback); - return localVarCall; - - } - - /** - * attach external principal to user - * - * @param userId (required) - * @param principalId (required) - * @param externalPrincipalCreation (optional) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
201 external principal attached successfully -
401 Unauthorized -
404 Resource Not Found -
409 Resource Conflicts With Target -
420 too many requests -
0 Internal Server Error -
- */ - public void createUserExternalPrincipal(String userId, String principalId, ExternalPrincipalCreation externalPrincipalCreation) throws ApiException { - createUserExternalPrincipalWithHttpInfo(userId, principalId, externalPrincipalCreation); - } - - /** - * attach external principal to user - * - * @param userId (required) - * @param principalId (required) - * @param externalPrincipalCreation (optional) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
201 external principal attached successfully -
401 Unauthorized -
404 Resource Not Found -
409 Resource Conflicts With Target -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse createUserExternalPrincipalWithHttpInfo(String userId, String principalId, ExternalPrincipalCreation externalPrincipalCreation) throws ApiException { - okhttp3.Call localVarCall = createUserExternalPrincipalValidateBeforeCall(userId, principalId, externalPrincipalCreation, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * attach external principal to user (asynchronously) - * - * @param userId (required) - * @param principalId (required) - * @param externalPrincipalCreation (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
201 external principal attached successfully -
401 Unauthorized -
404 Resource Not Found -
409 Resource Conflicts With Target -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call createUserExternalPrincipalAsync(String userId, String principalId, ExternalPrincipalCreation externalPrincipalCreation, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = createUserExternalPrincipalValidateBeforeCall(userId, principalId, externalPrincipalCreation, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for deleteUserExternalPrincipal - * @param userId (required) - * @param principalId (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
204 external principal detached successfully -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call deleteUserExternalPrincipalCall(String userId, String principalId, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/auth/users/{userId}/external/principals" - .replaceAll("\\{" + "userId" + "\\}", localVarApiClient.escapeString(userId.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (principalId != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("principalId", principalId)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call deleteUserExternalPrincipalValidateBeforeCall(String userId, String principalId, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'userId' is set - if (userId == null) { - throw new ApiException("Missing the required parameter 'userId' when calling deleteUserExternalPrincipal(Async)"); - } - - // verify the required parameter 'principalId' is set - if (principalId == null) { - throw new ApiException("Missing the required parameter 'principalId' when calling deleteUserExternalPrincipal(Async)"); - } - - - okhttp3.Call localVarCall = deleteUserExternalPrincipalCall(userId, principalId, _callback); - return localVarCall; - - } - - /** - * delete external principal from user - * - * @param userId (required) - * @param principalId (required) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
204 external principal detached successfully -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public void deleteUserExternalPrincipal(String userId, String principalId) throws ApiException { - deleteUserExternalPrincipalWithHttpInfo(userId, principalId); - } - - /** - * delete external principal from user - * - * @param userId (required) - * @param principalId (required) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
204 external principal detached successfully -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse deleteUserExternalPrincipalWithHttpInfo(String userId, String principalId) throws ApiException { - okhttp3.Call localVarCall = deleteUserExternalPrincipalValidateBeforeCall(userId, principalId, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * delete external principal from user (asynchronously) - * - * @param userId (required) - * @param principalId (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
204 external principal detached successfully -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call deleteUserExternalPrincipalAsync(String userId, String principalId, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = deleteUserExternalPrincipalValidateBeforeCall(userId, principalId, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for externalPrincipalLogin - * @param externalLoginInformation (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - - - -
Status Code Description Response Headers
200 successful external login -
400 Bad Request -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call externalPrincipalLoginCall(ExternalLoginInformation externalLoginInformation, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = externalLoginInformation; - - // create path and map variables - String localVarPath = "/auth/external/principal/login"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { }; - return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call externalPrincipalLoginValidateBeforeCall(ExternalLoginInformation externalLoginInformation, final ApiCallback _callback) throws ApiException { - - - okhttp3.Call localVarCall = externalPrincipalLoginCall(externalLoginInformation, _callback); - return localVarCall; - - } - - /** - * perform a login using an external authenticator - * - * @param externalLoginInformation (optional) - * @return AuthenticationToken - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - - -
Status Code Description Response Headers
200 successful external login -
400 Bad Request -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public AuthenticationToken externalPrincipalLogin(ExternalLoginInformation externalLoginInformation) throws ApiException { - ApiResponse localVarResp = externalPrincipalLoginWithHttpInfo(externalLoginInformation); - return localVarResp.getData(); - } - - /** - * perform a login using an external authenticator - * - * @param externalLoginInformation (optional) - * @return ApiResponse<AuthenticationToken> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - - -
Status Code Description Response Headers
200 successful external login -
400 Bad Request -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse externalPrincipalLoginWithHttpInfo(ExternalLoginInformation externalLoginInformation) throws ApiException { - okhttp3.Call localVarCall = externalPrincipalLoginValidateBeforeCall(externalLoginInformation, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * perform a login using an external authenticator (asynchronously) - * - * @param externalLoginInformation (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - - - -
Status Code Description Response Headers
200 successful external login -
400 Bad Request -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call externalPrincipalLoginAsync(ExternalLoginInformation externalLoginInformation, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = externalPrincipalLoginValidateBeforeCall(externalLoginInformation, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getExternalPrincipal - * @param principalId (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 external principal -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call getExternalPrincipalCall(String principalId, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/auth/external/principals"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (principalId != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("principalId", principalId)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getExternalPrincipalValidateBeforeCall(String principalId, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'principalId' is set - if (principalId == null) { - throw new ApiException("Missing the required parameter 'principalId' when calling getExternalPrincipal(Async)"); - } - - - okhttp3.Call localVarCall = getExternalPrincipalCall(principalId, _callback); - return localVarCall; - - } - - /** - * describe external principal by id - * - * @param principalId (required) - * @return ExternalPrincipal - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 external principal -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ExternalPrincipal getExternalPrincipal(String principalId) throws ApiException { - ApiResponse localVarResp = getExternalPrincipalWithHttpInfo(principalId); - return localVarResp.getData(); - } - - /** - * describe external principal by id - * - * @param principalId (required) - * @return ApiResponse<ExternalPrincipal> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 external principal -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse getExternalPrincipalWithHttpInfo(String principalId) throws ApiException { - okhttp3.Call localVarCall = getExternalPrincipalValidateBeforeCall(principalId, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * describe external principal by id (asynchronously) - * - * @param principalId (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 external principal -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call getExternalPrincipalAsync(String principalId, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getExternalPrincipalValidateBeforeCall(principalId, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getPullRequest - * @param repository (required) - * @param pullRequest pull request id (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
200 pull request -
400 Validation Error -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call getPullRequestCall(String repository, String pullRequest, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/repositories/{repository}/pulls/{pull_request}" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())) - .replaceAll("\\{" + "pull_request" + "\\}", localVarApiClient.escapeString(pullRequest.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getPullRequestValidateBeforeCall(String repository, String pullRequest, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling getPullRequest(Async)"); - } - - // verify the required parameter 'pullRequest' is set - if (pullRequest == null) { - throw new ApiException("Missing the required parameter 'pullRequest' when calling getPullRequest(Async)"); - } - - - okhttp3.Call localVarCall = getPullRequestCall(repository, pullRequest, _callback); - return localVarCall; - - } - - /** - * get pull request - * - * @param repository (required) - * @param pullRequest pull request id (required) - * @return PullRequest - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
200 pull request -
400 Validation Error -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public PullRequest getPullRequest(String repository, String pullRequest) throws ApiException { - ApiResponse localVarResp = getPullRequestWithHttpInfo(repository, pullRequest); - return localVarResp.getData(); - } - - /** - * get pull request - * - * @param repository (required) - * @param pullRequest pull request id (required) - * @return ApiResponse<PullRequest> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
200 pull request -
400 Validation Error -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse getPullRequestWithHttpInfo(String repository, String pullRequest) throws ApiException { - okhttp3.Call localVarCall = getPullRequestValidateBeforeCall(repository, pullRequest, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * get pull request (asynchronously) - * - * @param repository (required) - * @param pullRequest pull request id (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
200 pull request -
400 Validation Error -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call getPullRequestAsync(String repository, String pullRequest, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getPullRequestValidateBeforeCall(repository, pullRequest, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for hardResetBranch - * @param repository (required) - * @param branch (required) - * @param ref After reset, branch will point at this reference. (required) - * @param force (optional, default to false) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - - - -
Status Code Description Response Headers
204 reset successful -
400 Bad Request -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call hardResetBranchCall(String repository, String branch, String ref, Boolean force, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/repositories/{repository}/branches/{branch}/hard_reset" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())) - .replaceAll("\\{" + "branch" + "\\}", localVarApiClient.escapeString(branch.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (ref != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("ref", ref)); - } - - if (force != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("force", force)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call hardResetBranchValidateBeforeCall(String repository, String branch, String ref, Boolean force, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling hardResetBranch(Async)"); - } - - // verify the required parameter 'branch' is set - if (branch == null) { - throw new ApiException("Missing the required parameter 'branch' when calling hardResetBranch(Async)"); - } - - // verify the required parameter 'ref' is set - if (ref == null) { - throw new ApiException("Missing the required parameter 'ref' when calling hardResetBranch(Async)"); - } - - - okhttp3.Call localVarCall = hardResetBranchCall(repository, branch, ref, force, _callback); - return localVarCall; - - } - - /** - * hard reset branch - * Relocate branch to refer to ref. Branch must not contain uncommitted data. - * @param repository (required) - * @param branch (required) - * @param ref After reset, branch will point at this reference. (required) - * @param force (optional, default to false) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - - -
Status Code Description Response Headers
204 reset successful -
400 Bad Request -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public void hardResetBranch(String repository, String branch, String ref, Boolean force) throws ApiException { - hardResetBranchWithHttpInfo(repository, branch, ref, force); - } - - /** - * hard reset branch - * Relocate branch to refer to ref. Branch must not contain uncommitted data. - * @param repository (required) - * @param branch (required) - * @param ref After reset, branch will point at this reference. (required) - * @param force (optional, default to false) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - - -
Status Code Description Response Headers
204 reset successful -
400 Bad Request -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse hardResetBranchWithHttpInfo(String repository, String branch, String ref, Boolean force) throws ApiException { - okhttp3.Call localVarCall = hardResetBranchValidateBeforeCall(repository, branch, ref, force, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * hard reset branch (asynchronously) - * Relocate branch to refer to ref. Branch must not contain uncommitted data. - * @param repository (required) - * @param branch (required) - * @param ref After reset, branch will point at this reference. (required) - * @param force (optional, default to false) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - - - -
Status Code Description Response Headers
204 reset successful -
400 Bad Request -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call hardResetBranchAsync(String repository, String branch, String ref, Boolean force, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = hardResetBranchValidateBeforeCall(repository, branch, ref, force, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for listPullRequests - * @param repository (required) - * @param prefix return items prefixed with this value (optional) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @param status (optional, default to all) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 list of pull requests -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call listPullRequestsCall(String repository, String prefix, String after, Integer amount, String status, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/repositories/{repository}/pulls" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (prefix != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("prefix", prefix)); - } - - if (after != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("after", after)); - } - - if (amount != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("amount", amount)); - } - - if (status != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("status", status)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call listPullRequestsValidateBeforeCall(String repository, String prefix, String after, Integer amount, String status, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling listPullRequests(Async)"); - } - - - okhttp3.Call localVarCall = listPullRequestsCall(repository, prefix, after, amount, status, _callback); - return localVarCall; - - } - - /** - * list pull requests - * - * @param repository (required) - * @param prefix return items prefixed with this value (optional) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @param status (optional, default to all) - * @return PullRequestsList - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 list of pull requests -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public PullRequestsList listPullRequests(String repository, String prefix, String after, Integer amount, String status) throws ApiException { - ApiResponse localVarResp = listPullRequestsWithHttpInfo(repository, prefix, after, amount, status); - return localVarResp.getData(); - } - - /** - * list pull requests - * - * @param repository (required) - * @param prefix return items prefixed with this value (optional) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @param status (optional, default to all) - * @return ApiResponse<PullRequestsList> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 list of pull requests -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse listPullRequestsWithHttpInfo(String repository, String prefix, String after, Integer amount, String status) throws ApiException { - okhttp3.Call localVarCall = listPullRequestsValidateBeforeCall(repository, prefix, after, amount, status, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * list pull requests (asynchronously) - * - * @param repository (required) - * @param prefix return items prefixed with this value (optional) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @param status (optional, default to all) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 list of pull requests -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call listPullRequestsAsync(String repository, String prefix, String after, Integer amount, String status, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = listPullRequestsValidateBeforeCall(repository, prefix, after, amount, status, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for listUserExternalPrincipals - * @param userId (required) - * @param prefix return items prefixed with this value (optional) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 external principals list -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call listUserExternalPrincipalsCall(String userId, String prefix, String after, Integer amount, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/auth/users/{userId}/external/principals/ls" - .replaceAll("\\{" + "userId" + "\\}", localVarApiClient.escapeString(userId.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (prefix != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("prefix", prefix)); - } - - if (after != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("after", after)); - } - - if (amount != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("amount", amount)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call listUserExternalPrincipalsValidateBeforeCall(String userId, String prefix, String after, Integer amount, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'userId' is set - if (userId == null) { - throw new ApiException("Missing the required parameter 'userId' when calling listUserExternalPrincipals(Async)"); - } - - - okhttp3.Call localVarCall = listUserExternalPrincipalsCall(userId, prefix, after, amount, _callback); - return localVarCall; - - } - - /** - * list user external policies attached to a user - * - * @param userId (required) - * @param prefix return items prefixed with this value (optional) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @return ExternalPrincipalList - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 external principals list -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ExternalPrincipalList listUserExternalPrincipals(String userId, String prefix, String after, Integer amount) throws ApiException { - ApiResponse localVarResp = listUserExternalPrincipalsWithHttpInfo(userId, prefix, after, amount); - return localVarResp.getData(); - } - - /** - * list user external policies attached to a user - * - * @param userId (required) - * @param prefix return items prefixed with this value (optional) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @return ApiResponse<ExternalPrincipalList> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 external principals list -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse listUserExternalPrincipalsWithHttpInfo(String userId, String prefix, String after, Integer amount) throws ApiException { - okhttp3.Call localVarCall = listUserExternalPrincipalsValidateBeforeCall(userId, prefix, after, amount, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * list user external policies attached to a user (asynchronously) - * - * @param userId (required) - * @param prefix return items prefixed with this value (optional) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 external principals list -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call listUserExternalPrincipalsAsync(String userId, String prefix, String after, Integer amount, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = listUserExternalPrincipalsValidateBeforeCall(userId, prefix, after, amount, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for mergePullRequest - * @param repository (required) - * @param pullRequest pull request id (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - - - - - -
Status Code Description Response Headers
200 merge completed -
400 Validation Error -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
409 Conflict Deprecated: content schema will return Error format and not an empty MergeResult -
412 precondition failed (e.g. a pre-merge hook returned a failure) -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call mergePullRequestCall(String repository, String pullRequest, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/repositories/{repository}/pulls/{pull_request}/merge" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())) - .replaceAll("\\{" + "pull_request" + "\\}", localVarApiClient.escapeString(pullRequest.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call mergePullRequestValidateBeforeCall(String repository, String pullRequest, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling mergePullRequest(Async)"); - } - - // verify the required parameter 'pullRequest' is set - if (pullRequest == null) { - throw new ApiException("Missing the required parameter 'pullRequest' when calling mergePullRequest(Async)"); - } - - - okhttp3.Call localVarCall = mergePullRequestCall(repository, pullRequest, _callback); - return localVarCall; - - } - - /** - * merge pull request - * - * @param repository (required) - * @param pullRequest pull request id (required) - * @return MergeResult - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - - - - -
Status Code Description Response Headers
200 merge completed -
400 Validation Error -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
409 Conflict Deprecated: content schema will return Error format and not an empty MergeResult -
412 precondition failed (e.g. a pre-merge hook returned a failure) -
420 too many requests -
0 Internal Server Error -
- */ - public MergeResult mergePullRequest(String repository, String pullRequest) throws ApiException { - ApiResponse localVarResp = mergePullRequestWithHttpInfo(repository, pullRequest); - return localVarResp.getData(); - } - - /** - * merge pull request - * - * @param repository (required) - * @param pullRequest pull request id (required) - * @return ApiResponse<MergeResult> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - - - - -
Status Code Description Response Headers
200 merge completed -
400 Validation Error -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
409 Conflict Deprecated: content schema will return Error format and not an empty MergeResult -
412 precondition failed (e.g. a pre-merge hook returned a failure) -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse mergePullRequestWithHttpInfo(String repository, String pullRequest) throws ApiException { - okhttp3.Call localVarCall = mergePullRequestValidateBeforeCall(repository, pullRequest, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * merge pull request (asynchronously) - * - * @param repository (required) - * @param pullRequest pull request id (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - - - - - -
Status Code Description Response Headers
200 merge completed -
400 Validation Error -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
409 Conflict Deprecated: content schema will return Error format and not an empty MergeResult -
412 precondition failed (e.g. a pre-merge hook returned a failure) -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call mergePullRequestAsync(String repository, String pullRequest, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = mergePullRequestValidateBeforeCall(repository, pullRequest, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for stsLogin - * @param stsAuthRequest (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Status Code Description Response Headers
200 successful STS login -
401 Unauthorized -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call stsLoginCall(StsAuthRequest stsAuthRequest, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = stsAuthRequest; - - // create path and map variables - String localVarPath = "/sts/login"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { }; - return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call stsLoginValidateBeforeCall(StsAuthRequest stsAuthRequest, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'stsAuthRequest' is set - if (stsAuthRequest == null) { - throw new ApiException("Missing the required parameter 'stsAuthRequest' when calling stsLogin(Async)"); - } - - - okhttp3.Call localVarCall = stsLoginCall(stsAuthRequest, _callback); - return localVarCall; - - } - - /** - * perform a login with STS - * - * @param stsAuthRequest (required) - * @return AuthenticationToken - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Status Code Description Response Headers
200 successful STS login -
401 Unauthorized -
420 too many requests -
0 Internal Server Error -
- */ - public AuthenticationToken stsLogin(StsAuthRequest stsAuthRequest) throws ApiException { - ApiResponse localVarResp = stsLoginWithHttpInfo(stsAuthRequest); - return localVarResp.getData(); - } - - /** - * perform a login with STS - * - * @param stsAuthRequest (required) - * @return ApiResponse<AuthenticationToken> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Status Code Description Response Headers
200 successful STS login -
401 Unauthorized -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse stsLoginWithHttpInfo(StsAuthRequest stsAuthRequest) throws ApiException { - okhttp3.Call localVarCall = stsLoginValidateBeforeCall(stsAuthRequest, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * perform a login with STS (asynchronously) - * - * @param stsAuthRequest (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Status Code Description Response Headers
200 successful STS login -
401 Unauthorized -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call stsLoginAsync(StsAuthRequest stsAuthRequest, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = stsLoginValidateBeforeCall(stsAuthRequest, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for updateObjectUserMetadata - * @param repository (required) - * @param branch branch to update (required) - * @param path path to object relative to the branch (required) - * @param updateObjectUserMetadata (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
201 User metadata updated -
401 Unauthorized -
404 Resource Not Found -
400 Bad Request -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call updateObjectUserMetadataCall(String repository, String branch, String path, UpdateObjectUserMetadata updateObjectUserMetadata, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = updateObjectUserMetadata; - - // create path and map variables - String localVarPath = "/repositories/{repository}/branches/{branch}/objects/stat/user_metadata" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())) - .replaceAll("\\{" + "branch" + "\\}", localVarApiClient.escapeString(branch.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (path != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("path", path)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call updateObjectUserMetadataValidateBeforeCall(String repository, String branch, String path, UpdateObjectUserMetadata updateObjectUserMetadata, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling updateObjectUserMetadata(Async)"); - } - - // verify the required parameter 'branch' is set - if (branch == null) { - throw new ApiException("Missing the required parameter 'branch' when calling updateObjectUserMetadata(Async)"); - } - - // verify the required parameter 'path' is set - if (path == null) { - throw new ApiException("Missing the required parameter 'path' when calling updateObjectUserMetadata(Async)"); - } - - // verify the required parameter 'updateObjectUserMetadata' is set - if (updateObjectUserMetadata == null) { - throw new ApiException("Missing the required parameter 'updateObjectUserMetadata' when calling updateObjectUserMetadata(Async)"); - } - - - okhttp3.Call localVarCall = updateObjectUserMetadataCall(repository, branch, path, updateObjectUserMetadata, _callback); - return localVarCall; - - } - - /** - * rewrite (all) object metadata - * - * @param repository (required) - * @param branch branch to update (required) - * @param path path to object relative to the branch (required) - * @param updateObjectUserMetadata (required) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
201 User metadata updated -
401 Unauthorized -
404 Resource Not Found -
400 Bad Request -
420 too many requests -
0 Internal Server Error -
- */ - public void updateObjectUserMetadata(String repository, String branch, String path, UpdateObjectUserMetadata updateObjectUserMetadata) throws ApiException { - updateObjectUserMetadataWithHttpInfo(repository, branch, path, updateObjectUserMetadata); - } - - /** - * rewrite (all) object metadata - * - * @param repository (required) - * @param branch branch to update (required) - * @param path path to object relative to the branch (required) - * @param updateObjectUserMetadata (required) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
201 User metadata updated -
401 Unauthorized -
404 Resource Not Found -
400 Bad Request -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse updateObjectUserMetadataWithHttpInfo(String repository, String branch, String path, UpdateObjectUserMetadata updateObjectUserMetadata) throws ApiException { - okhttp3.Call localVarCall = updateObjectUserMetadataValidateBeforeCall(repository, branch, path, updateObjectUserMetadata, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * rewrite (all) object metadata (asynchronously) - * - * @param repository (required) - * @param branch branch to update (required) - * @param path path to object relative to the branch (required) - * @param updateObjectUserMetadata (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
201 User metadata updated -
401 Unauthorized -
404 Resource Not Found -
400 Bad Request -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call updateObjectUserMetadataAsync(String repository, String branch, String path, UpdateObjectUserMetadata updateObjectUserMetadata, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = updateObjectUserMetadataValidateBeforeCall(repository, branch, path, updateObjectUserMetadata, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for updatePullRequest - * @param repository (required) - * @param pullRequest pull request id (required) - * @param pullRequestBasic (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - - - -
Status Code Description Response Headers
200 pull request updated successfully -
400 Validation Error -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call updatePullRequestCall(String repository, String pullRequest, PullRequestBasic pullRequestBasic, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = pullRequestBasic; - - // create path and map variables - String localVarPath = "/repositories/{repository}/pulls/{pull_request}" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())) - .replaceAll("\\{" + "pull_request" + "\\}", localVarApiClient.escapeString(pullRequest.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call updatePullRequestValidateBeforeCall(String repository, String pullRequest, PullRequestBasic pullRequestBasic, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling updatePullRequest(Async)"); - } - - // verify the required parameter 'pullRequest' is set - if (pullRequest == null) { - throw new ApiException("Missing the required parameter 'pullRequest' when calling updatePullRequest(Async)"); - } - - // verify the required parameter 'pullRequestBasic' is set - if (pullRequestBasic == null) { - throw new ApiException("Missing the required parameter 'pullRequestBasic' when calling updatePullRequest(Async)"); - } - - - okhttp3.Call localVarCall = updatePullRequestCall(repository, pullRequest, pullRequestBasic, _callback); - return localVarCall; - - } - - /** - * update pull request - * - * @param repository (required) - * @param pullRequest pull request id (required) - * @param pullRequestBasic (required) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - - -
Status Code Description Response Headers
200 pull request updated successfully -
400 Validation Error -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public void updatePullRequest(String repository, String pullRequest, PullRequestBasic pullRequestBasic) throws ApiException { - updatePullRequestWithHttpInfo(repository, pullRequest, pullRequestBasic); - } - - /** - * update pull request - * - * @param repository (required) - * @param pullRequest pull request id (required) - * @param pullRequestBasic (required) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - - -
Status Code Description Response Headers
200 pull request updated successfully -
400 Validation Error -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse updatePullRequestWithHttpInfo(String repository, String pullRequest, PullRequestBasic pullRequestBasic) throws ApiException { - okhttp3.Call localVarCall = updatePullRequestValidateBeforeCall(repository, pullRequest, pullRequestBasic, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * update pull request (asynchronously) - * - * @param repository (required) - * @param pullRequest pull request id (required) - * @param pullRequestBasic (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - - - -
Status Code Description Response Headers
200 pull request updated successfully -
400 Validation Error -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call updatePullRequestAsync(String repository, String pullRequest, PullRequestBasic pullRequestBasic, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = updatePullRequestValidateBeforeCall(repository, pullRequest, pullRequestBasic, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } -} diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/ExternalApi.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/ExternalApi.java deleted file mode 100644 index 1200d0ca666..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/ExternalApi.java +++ /dev/null @@ -1,757 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api; - -import io.lakefs.clients.api.ApiCallback; -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.ApiResponse; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.Pair; -import io.lakefs.clients.api.ProgressRequestBody; -import io.lakefs.clients.api.ProgressResponseBody; - -import com.google.gson.reflect.TypeToken; - -import java.io.IOException; - - -import io.lakefs.clients.api.model.AuthenticationToken; -import io.lakefs.clients.api.model.Error; -import io.lakefs.clients.api.model.ExternalLoginInformation; -import io.lakefs.clients.api.model.ExternalPrincipal; -import io.lakefs.clients.api.model.ExternalPrincipalCreation; -import io.lakefs.clients.api.model.ExternalPrincipalList; - -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -public class ExternalApi { - private ApiClient localVarApiClient; - - public ExternalApi() { - this(Configuration.getDefaultApiClient()); - } - - public ExternalApi(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - public ApiClient getApiClient() { - return localVarApiClient; - } - - public void setApiClient(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - /** - * Build call for createUserExternalPrincipal - * @param userId (required) - * @param principalId (required) - * @param externalPrincipalCreation (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
201 external principal attached successfully -
401 Unauthorized -
404 Resource Not Found -
409 Resource Conflicts With Target -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call createUserExternalPrincipalCall(String userId, String principalId, ExternalPrincipalCreation externalPrincipalCreation, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = externalPrincipalCreation; - - // create path and map variables - String localVarPath = "/auth/users/{userId}/external/principals" - .replaceAll("\\{" + "userId" + "\\}", localVarApiClient.escapeString(userId.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (principalId != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("principalId", principalId)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call createUserExternalPrincipalValidateBeforeCall(String userId, String principalId, ExternalPrincipalCreation externalPrincipalCreation, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'userId' is set - if (userId == null) { - throw new ApiException("Missing the required parameter 'userId' when calling createUserExternalPrincipal(Async)"); - } - - // verify the required parameter 'principalId' is set - if (principalId == null) { - throw new ApiException("Missing the required parameter 'principalId' when calling createUserExternalPrincipal(Async)"); - } - - - okhttp3.Call localVarCall = createUserExternalPrincipalCall(userId, principalId, externalPrincipalCreation, _callback); - return localVarCall; - - } - - /** - * attach external principal to user - * - * @param userId (required) - * @param principalId (required) - * @param externalPrincipalCreation (optional) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
201 external principal attached successfully -
401 Unauthorized -
404 Resource Not Found -
409 Resource Conflicts With Target -
420 too many requests -
0 Internal Server Error -
- */ - public void createUserExternalPrincipal(String userId, String principalId, ExternalPrincipalCreation externalPrincipalCreation) throws ApiException { - createUserExternalPrincipalWithHttpInfo(userId, principalId, externalPrincipalCreation); - } - - /** - * attach external principal to user - * - * @param userId (required) - * @param principalId (required) - * @param externalPrincipalCreation (optional) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
201 external principal attached successfully -
401 Unauthorized -
404 Resource Not Found -
409 Resource Conflicts With Target -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse createUserExternalPrincipalWithHttpInfo(String userId, String principalId, ExternalPrincipalCreation externalPrincipalCreation) throws ApiException { - okhttp3.Call localVarCall = createUserExternalPrincipalValidateBeforeCall(userId, principalId, externalPrincipalCreation, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * attach external principal to user (asynchronously) - * - * @param userId (required) - * @param principalId (required) - * @param externalPrincipalCreation (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
201 external principal attached successfully -
401 Unauthorized -
404 Resource Not Found -
409 Resource Conflicts With Target -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call createUserExternalPrincipalAsync(String userId, String principalId, ExternalPrincipalCreation externalPrincipalCreation, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = createUserExternalPrincipalValidateBeforeCall(userId, principalId, externalPrincipalCreation, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for deleteUserExternalPrincipal - * @param userId (required) - * @param principalId (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
204 external principal detached successfully -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call deleteUserExternalPrincipalCall(String userId, String principalId, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/auth/users/{userId}/external/principals" - .replaceAll("\\{" + "userId" + "\\}", localVarApiClient.escapeString(userId.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (principalId != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("principalId", principalId)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call deleteUserExternalPrincipalValidateBeforeCall(String userId, String principalId, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'userId' is set - if (userId == null) { - throw new ApiException("Missing the required parameter 'userId' when calling deleteUserExternalPrincipal(Async)"); - } - - // verify the required parameter 'principalId' is set - if (principalId == null) { - throw new ApiException("Missing the required parameter 'principalId' when calling deleteUserExternalPrincipal(Async)"); - } - - - okhttp3.Call localVarCall = deleteUserExternalPrincipalCall(userId, principalId, _callback); - return localVarCall; - - } - - /** - * delete external principal from user - * - * @param userId (required) - * @param principalId (required) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
204 external principal detached successfully -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public void deleteUserExternalPrincipal(String userId, String principalId) throws ApiException { - deleteUserExternalPrincipalWithHttpInfo(userId, principalId); - } - - /** - * delete external principal from user - * - * @param userId (required) - * @param principalId (required) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
204 external principal detached successfully -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse deleteUserExternalPrincipalWithHttpInfo(String userId, String principalId) throws ApiException { - okhttp3.Call localVarCall = deleteUserExternalPrincipalValidateBeforeCall(userId, principalId, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * delete external principal from user (asynchronously) - * - * @param userId (required) - * @param principalId (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
204 external principal detached successfully -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call deleteUserExternalPrincipalAsync(String userId, String principalId, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = deleteUserExternalPrincipalValidateBeforeCall(userId, principalId, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for externalPrincipalLogin - * @param externalLoginInformation (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - - - -
Status Code Description Response Headers
200 successful external login -
400 Bad Request -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call externalPrincipalLoginCall(ExternalLoginInformation externalLoginInformation, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = externalLoginInformation; - - // create path and map variables - String localVarPath = "/auth/external/principal/login"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { }; - return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call externalPrincipalLoginValidateBeforeCall(ExternalLoginInformation externalLoginInformation, final ApiCallback _callback) throws ApiException { - - - okhttp3.Call localVarCall = externalPrincipalLoginCall(externalLoginInformation, _callback); - return localVarCall; - - } - - /** - * perform a login using an external authenticator - * - * @param externalLoginInformation (optional) - * @return AuthenticationToken - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - - -
Status Code Description Response Headers
200 successful external login -
400 Bad Request -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public AuthenticationToken externalPrincipalLogin(ExternalLoginInformation externalLoginInformation) throws ApiException { - ApiResponse localVarResp = externalPrincipalLoginWithHttpInfo(externalLoginInformation); - return localVarResp.getData(); - } - - /** - * perform a login using an external authenticator - * - * @param externalLoginInformation (optional) - * @return ApiResponse<AuthenticationToken> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - - -
Status Code Description Response Headers
200 successful external login -
400 Bad Request -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse externalPrincipalLoginWithHttpInfo(ExternalLoginInformation externalLoginInformation) throws ApiException { - okhttp3.Call localVarCall = externalPrincipalLoginValidateBeforeCall(externalLoginInformation, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * perform a login using an external authenticator (asynchronously) - * - * @param externalLoginInformation (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - - - -
Status Code Description Response Headers
200 successful external login -
400 Bad Request -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call externalPrincipalLoginAsync(ExternalLoginInformation externalLoginInformation, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = externalPrincipalLoginValidateBeforeCall(externalLoginInformation, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getExternalPrincipal - * @param principalId (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 external principal -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call getExternalPrincipalCall(String principalId, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/auth/external/principals"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (principalId != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("principalId", principalId)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getExternalPrincipalValidateBeforeCall(String principalId, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'principalId' is set - if (principalId == null) { - throw new ApiException("Missing the required parameter 'principalId' when calling getExternalPrincipal(Async)"); - } - - - okhttp3.Call localVarCall = getExternalPrincipalCall(principalId, _callback); - return localVarCall; - - } - - /** - * describe external principal by id - * - * @param principalId (required) - * @return ExternalPrincipal - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 external principal -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ExternalPrincipal getExternalPrincipal(String principalId) throws ApiException { - ApiResponse localVarResp = getExternalPrincipalWithHttpInfo(principalId); - return localVarResp.getData(); - } - - /** - * describe external principal by id - * - * @param principalId (required) - * @return ApiResponse<ExternalPrincipal> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 external principal -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse getExternalPrincipalWithHttpInfo(String principalId) throws ApiException { - okhttp3.Call localVarCall = getExternalPrincipalValidateBeforeCall(principalId, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * describe external principal by id (asynchronously) - * - * @param principalId (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 external principal -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call getExternalPrincipalAsync(String principalId, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getExternalPrincipalValidateBeforeCall(principalId, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for listUserExternalPrincipals - * @param userId (required) - * @param prefix return items prefixed with this value (optional) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 external principals list -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call listUserExternalPrincipalsCall(String userId, String prefix, String after, Integer amount, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/auth/users/{userId}/external/principals/ls" - .replaceAll("\\{" + "userId" + "\\}", localVarApiClient.escapeString(userId.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (prefix != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("prefix", prefix)); - } - - if (after != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("after", after)); - } - - if (amount != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("amount", amount)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call listUserExternalPrincipalsValidateBeforeCall(String userId, String prefix, String after, Integer amount, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'userId' is set - if (userId == null) { - throw new ApiException("Missing the required parameter 'userId' when calling listUserExternalPrincipals(Async)"); - } - - - okhttp3.Call localVarCall = listUserExternalPrincipalsCall(userId, prefix, after, amount, _callback); - return localVarCall; - - } - - /** - * list user external policies attached to a user - * - * @param userId (required) - * @param prefix return items prefixed with this value (optional) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @return ExternalPrincipalList - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 external principals list -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ExternalPrincipalList listUserExternalPrincipals(String userId, String prefix, String after, Integer amount) throws ApiException { - ApiResponse localVarResp = listUserExternalPrincipalsWithHttpInfo(userId, prefix, after, amount); - return localVarResp.getData(); - } - - /** - * list user external policies attached to a user - * - * @param userId (required) - * @param prefix return items prefixed with this value (optional) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @return ApiResponse<ExternalPrincipalList> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 external principals list -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse listUserExternalPrincipalsWithHttpInfo(String userId, String prefix, String after, Integer amount) throws ApiException { - okhttp3.Call localVarCall = listUserExternalPrincipalsValidateBeforeCall(userId, prefix, after, amount, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * list user external policies attached to a user (asynchronously) - * - * @param userId (required) - * @param prefix return items prefixed with this value (optional) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 external principals list -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call listUserExternalPrincipalsAsync(String userId, String prefix, String after, Integer amount, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = listUserExternalPrincipalsValidateBeforeCall(userId, prefix, after, amount, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } -} diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/GzipRequestInterceptor.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/GzipRequestInterceptor.java deleted file mode 100644 index 9e54a02a339..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/GzipRequestInterceptor.java +++ /dev/null @@ -1,85 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api; - -import okhttp3.*; -import okio.Buffer; -import okio.BufferedSink; -import okio.GzipSink; -import okio.Okio; - -import java.io.IOException; - -/** - * Encodes request bodies using gzip. - * - * Taken from https://github.com/square/okhttp/issues/350 - */ -class GzipRequestInterceptor implements Interceptor { - @Override - public Response intercept(Chain chain) throws IOException { - Request originalRequest = chain.request(); - if (originalRequest.body() == null || originalRequest.header("Content-Encoding") != null) { - return chain.proceed(originalRequest); - } - - Request compressedRequest = originalRequest.newBuilder() - .header("Content-Encoding", "gzip") - .method(originalRequest.method(), forceContentLength(gzip(originalRequest.body()))) - .build(); - return chain.proceed(compressedRequest); - } - - private RequestBody forceContentLength(final RequestBody requestBody) throws IOException { - final Buffer buffer = new Buffer(); - requestBody.writeTo(buffer); - return new RequestBody() { - @Override - public MediaType contentType() { - return requestBody.contentType(); - } - - @Override - public long contentLength() { - return buffer.size(); - } - - @Override - public void writeTo(BufferedSink sink) throws IOException { - sink.write(buffer.snapshot()); - } - }; - } - - private RequestBody gzip(final RequestBody body) { - return new RequestBody() { - @Override - public MediaType contentType() { - return body.contentType(); - } - - @Override - public long contentLength() { - return -1; // We don't know the compressed length in advance! - } - - @Override - public void writeTo(BufferedSink sink) throws IOException { - BufferedSink gzipSink = Okio.buffer(new GzipSink(sink)); - body.writeTo(gzipSink); - gzipSink.close(); - } - }; - } -} diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/HealthCheckApi.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/HealthCheckApi.java deleted file mode 100644 index ebb9348ce0c..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/HealthCheckApi.java +++ /dev/null @@ -1,154 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api; - -import io.lakefs.clients.api.ApiCallback; -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.ApiResponse; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.Pair; -import io.lakefs.clients.api.ProgressRequestBody; -import io.lakefs.clients.api.ProgressResponseBody; - -import com.google.gson.reflect.TypeToken; - -import java.io.IOException; - - - -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -public class HealthCheckApi { - private ApiClient localVarApiClient; - - public HealthCheckApi() { - this(Configuration.getDefaultApiClient()); - } - - public HealthCheckApi(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - public ApiClient getApiClient() { - return localVarApiClient; - } - - public void setApiClient(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - /** - * Build call for healthCheck - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - -
Status Code Description Response Headers
204 NoContent -
- */ - public okhttp3.Call healthCheckCall(final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/healthcheck"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { }; - return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call healthCheckValidateBeforeCall(final ApiCallback _callback) throws ApiException { - - - okhttp3.Call localVarCall = healthCheckCall(_callback); - return localVarCall; - - } - - /** - * - * check that the API server is up and running - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - -
Status Code Description Response Headers
204 NoContent -
- */ - public void healthCheck() throws ApiException { - healthCheckWithHttpInfo(); - } - - /** - * - * check that the API server is up and running - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - -
Status Code Description Response Headers
204 NoContent -
- */ - public ApiResponse healthCheckWithHttpInfo() throws ApiException { - okhttp3.Call localVarCall = healthCheckValidateBeforeCall(null); - return localVarApiClient.execute(localVarCall); - } - - /** - * (asynchronously) - * check that the API server is up and running - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - -
Status Code Description Response Headers
204 NoContent -
- */ - public okhttp3.Call healthCheckAsync(final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = healthCheckValidateBeforeCall(_callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } -} diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/ImportApi.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/ImportApi.java deleted file mode 100644 index 1116f52effa..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/ImportApi.java +++ /dev/null @@ -1,521 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api; - -import io.lakefs.clients.api.ApiCallback; -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.ApiResponse; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.Pair; -import io.lakefs.clients.api.ProgressRequestBody; -import io.lakefs.clients.api.ProgressResponseBody; - -import com.google.gson.reflect.TypeToken; - -import java.io.IOException; - - -import io.lakefs.clients.api.model.Error; -import io.lakefs.clients.api.model.ImportCreation; -import io.lakefs.clients.api.model.ImportCreationResponse; -import io.lakefs.clients.api.model.ImportStatus; - -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -public class ImportApi { - private ApiClient localVarApiClient; - - public ImportApi() { - this(Configuration.getDefaultApiClient()); - } - - public ImportApi(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - public ApiClient getApiClient() { - return localVarApiClient; - } - - public void setApiClient(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - /** - * Build call for importCancel - * @param repository (required) - * @param branch (required) - * @param id Unique identifier of the import process (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - - - -
Status Code Description Response Headers
204 import canceled successfully -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
409 Resource Conflicts With Target -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call importCancelCall(String repository, String branch, String id, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/repositories/{repository}/branches/{branch}/import" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())) - .replaceAll("\\{" + "branch" + "\\}", localVarApiClient.escapeString(branch.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (id != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("id", id)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call importCancelValidateBeforeCall(String repository, String branch, String id, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling importCancel(Async)"); - } - - // verify the required parameter 'branch' is set - if (branch == null) { - throw new ApiException("Missing the required parameter 'branch' when calling importCancel(Async)"); - } - - // verify the required parameter 'id' is set - if (id == null) { - throw new ApiException("Missing the required parameter 'id' when calling importCancel(Async)"); - } - - - okhttp3.Call localVarCall = importCancelCall(repository, branch, id, _callback); - return localVarCall; - - } - - /** - * cancel ongoing import - * - * @param repository (required) - * @param branch (required) - * @param id Unique identifier of the import process (required) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - - -
Status Code Description Response Headers
204 import canceled successfully -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
409 Resource Conflicts With Target -
420 too many requests -
0 Internal Server Error -
- */ - public void importCancel(String repository, String branch, String id) throws ApiException { - importCancelWithHttpInfo(repository, branch, id); - } - - /** - * cancel ongoing import - * - * @param repository (required) - * @param branch (required) - * @param id Unique identifier of the import process (required) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - - -
Status Code Description Response Headers
204 import canceled successfully -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
409 Resource Conflicts With Target -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse importCancelWithHttpInfo(String repository, String branch, String id) throws ApiException { - okhttp3.Call localVarCall = importCancelValidateBeforeCall(repository, branch, id, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * cancel ongoing import (asynchronously) - * - * @param repository (required) - * @param branch (required) - * @param id Unique identifier of the import process (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - - - -
Status Code Description Response Headers
204 import canceled successfully -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
409 Resource Conflicts With Target -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call importCancelAsync(String repository, String branch, String id, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = importCancelValidateBeforeCall(repository, branch, id, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for importStart - * @param repository (required) - * @param branch (required) - * @param importCreation (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - - - -
Status Code Description Response Headers
202 Import started -
400 Validation Error -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call importStartCall(String repository, String branch, ImportCreation importCreation, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = importCreation; - - // create path and map variables - String localVarPath = "/repositories/{repository}/branches/{branch}/import" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())) - .replaceAll("\\{" + "branch" + "\\}", localVarApiClient.escapeString(branch.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call importStartValidateBeforeCall(String repository, String branch, ImportCreation importCreation, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling importStart(Async)"); - } - - // verify the required parameter 'branch' is set - if (branch == null) { - throw new ApiException("Missing the required parameter 'branch' when calling importStart(Async)"); - } - - // verify the required parameter 'importCreation' is set - if (importCreation == null) { - throw new ApiException("Missing the required parameter 'importCreation' when calling importStart(Async)"); - } - - - okhttp3.Call localVarCall = importStartCall(repository, branch, importCreation, _callback); - return localVarCall; - - } - - /** - * import data from object store - * - * @param repository (required) - * @param branch (required) - * @param importCreation (required) - * @return ImportCreationResponse - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - - -
Status Code Description Response Headers
202 Import started -
400 Validation Error -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ImportCreationResponse importStart(String repository, String branch, ImportCreation importCreation) throws ApiException { - ApiResponse localVarResp = importStartWithHttpInfo(repository, branch, importCreation); - return localVarResp.getData(); - } - - /** - * import data from object store - * - * @param repository (required) - * @param branch (required) - * @param importCreation (required) - * @return ApiResponse<ImportCreationResponse> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - - -
Status Code Description Response Headers
202 Import started -
400 Validation Error -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse importStartWithHttpInfo(String repository, String branch, ImportCreation importCreation) throws ApiException { - okhttp3.Call localVarCall = importStartValidateBeforeCall(repository, branch, importCreation, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * import data from object store (asynchronously) - * - * @param repository (required) - * @param branch (required) - * @param importCreation (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - - - -
Status Code Description Response Headers
202 Import started -
400 Validation Error -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call importStartAsync(String repository, String branch, ImportCreation importCreation, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = importStartValidateBeforeCall(repository, branch, importCreation, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for importStatus - * @param repository (required) - * @param branch (required) - * @param id Unique identifier of the import process (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 import status -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call importStatusCall(String repository, String branch, String id, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/repositories/{repository}/branches/{branch}/import" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())) - .replaceAll("\\{" + "branch" + "\\}", localVarApiClient.escapeString(branch.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (id != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("id", id)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call importStatusValidateBeforeCall(String repository, String branch, String id, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling importStatus(Async)"); - } - - // verify the required parameter 'branch' is set - if (branch == null) { - throw new ApiException("Missing the required parameter 'branch' when calling importStatus(Async)"); - } - - // verify the required parameter 'id' is set - if (id == null) { - throw new ApiException("Missing the required parameter 'id' when calling importStatus(Async)"); - } - - - okhttp3.Call localVarCall = importStatusCall(repository, branch, id, _callback); - return localVarCall; - - } - - /** - * get import status - * - * @param repository (required) - * @param branch (required) - * @param id Unique identifier of the import process (required) - * @return ImportStatus - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 import status -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ImportStatus importStatus(String repository, String branch, String id) throws ApiException { - ApiResponse localVarResp = importStatusWithHttpInfo(repository, branch, id); - return localVarResp.getData(); - } - - /** - * get import status - * - * @param repository (required) - * @param branch (required) - * @param id Unique identifier of the import process (required) - * @return ApiResponse<ImportStatus> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 import status -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse importStatusWithHttpInfo(String repository, String branch, String id) throws ApiException { - okhttp3.Call localVarCall = importStatusValidateBeforeCall(repository, branch, id, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * get import status (asynchronously) - * - * @param repository (required) - * @param branch (required) - * @param id Unique identifier of the import process (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 import status -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call importStatusAsync(String repository, String branch, String id, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = importStatusValidateBeforeCall(repository, branch, id, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } -} diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/InternalApi.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/InternalApi.java deleted file mode 100644 index 60ec635bee3..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/InternalApi.java +++ /dev/null @@ -1,3796 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api; - -import io.lakefs.clients.api.ApiCallback; -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.ApiResponse; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.Pair; -import io.lakefs.clients.api.ProgressRequestBody; -import io.lakefs.clients.api.ProgressResponseBody; - -import com.google.gson.reflect.TypeToken; - -import java.io.IOException; - - -import io.lakefs.clients.api.model.AuthCapabilities; -import io.lakefs.clients.api.model.BranchProtectionRule; -import io.lakefs.clients.api.model.CommPrefsInput; -import io.lakefs.clients.api.model.CommitRecordCreation; -import io.lakefs.clients.api.model.CredentialsWithSecret; -import io.lakefs.clients.api.model.Error; -import java.io.File; -import io.lakefs.clients.api.model.GarbageCollectionConfig; -import io.lakefs.clients.api.model.GarbageCollectionPrepareResponse; -import io.lakefs.clients.api.model.GarbageCollectionRules; -import io.lakefs.clients.api.model.InlineObject1; -import io.lakefs.clients.api.model.InstallationUsageReport; -import io.lakefs.clients.api.model.ObjectStageCreation; -import io.lakefs.clients.api.model.ObjectStats; -import io.lakefs.clients.api.model.PrepareGCUncommittedRequest; -import io.lakefs.clients.api.model.PrepareGCUncommittedResponse; -import io.lakefs.clients.api.model.RefsDump; -import io.lakefs.clients.api.model.RefsRestore; -import io.lakefs.clients.api.model.RepositoryMetadataKeys; -import io.lakefs.clients.api.model.RepositoryMetadataSet; -import io.lakefs.clients.api.model.Setup; -import io.lakefs.clients.api.model.SetupState; -import io.lakefs.clients.api.model.StatsEventsList; -import io.lakefs.clients.api.model.StorageConfig; -import io.lakefs.clients.api.model.StorageURI; -import io.lakefs.clients.api.model.VersionConfig; - -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -public class InternalApi { - private ApiClient localVarApiClient; - - public InternalApi() { - this(Configuration.getDefaultApiClient()); - } - - public InternalApi(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - public ApiClient getApiClient() { - return localVarApiClient; - } - - public void setApiClient(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - /** - * Build call for createBranchProtectionRulePreflight - * @param repository (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
204 User has permissions to create a branch protection rule in this repository -
401 Unauthorized -
404 Resource Not Found -
409 Resource Conflicts With Target -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call createBranchProtectionRulePreflightCall(String repository, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/repositories/{repository}/branch_protection/set_allowed" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call createBranchProtectionRulePreflightValidateBeforeCall(String repository, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling createBranchProtectionRulePreflight(Async)"); - } - - - okhttp3.Call localVarCall = createBranchProtectionRulePreflightCall(repository, _callback); - return localVarCall; - - } - - /** - * - * - * @param repository (required) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
204 User has permissions to create a branch protection rule in this repository -
401 Unauthorized -
404 Resource Not Found -
409 Resource Conflicts With Target -
420 too many requests -
0 Internal Server Error -
- */ - public void createBranchProtectionRulePreflight(String repository) throws ApiException { - createBranchProtectionRulePreflightWithHttpInfo(repository); - } - - /** - * - * - * @param repository (required) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
204 User has permissions to create a branch protection rule in this repository -
401 Unauthorized -
404 Resource Not Found -
409 Resource Conflicts With Target -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse createBranchProtectionRulePreflightWithHttpInfo(String repository) throws ApiException { - okhttp3.Call localVarCall = createBranchProtectionRulePreflightValidateBeforeCall(repository, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * (asynchronously) - * - * @param repository (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
204 User has permissions to create a branch protection rule in this repository -
401 Unauthorized -
404 Resource Not Found -
409 Resource Conflicts With Target -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call createBranchProtectionRulePreflightAsync(String repository, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = createBranchProtectionRulePreflightValidateBeforeCall(repository, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for createCommitRecord - * @param repository (required) - * @param commitRecordCreation (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - - - -
Status Code Description Response Headers
204 commit record created -
400 Validation Error -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call createCommitRecordCall(String repository, CommitRecordCreation commitRecordCreation, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = commitRecordCreation; - - // create path and map variables - String localVarPath = "/repositories/{repository}/commits" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call createCommitRecordValidateBeforeCall(String repository, CommitRecordCreation commitRecordCreation, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling createCommitRecord(Async)"); - } - - // verify the required parameter 'commitRecordCreation' is set - if (commitRecordCreation == null) { - throw new ApiException("Missing the required parameter 'commitRecordCreation' when calling createCommitRecord(Async)"); - } - - - okhttp3.Call localVarCall = createCommitRecordCall(repository, commitRecordCreation, _callback); - return localVarCall; - - } - - /** - * create commit record - * - * @param repository (required) - * @param commitRecordCreation (required) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - - -
Status Code Description Response Headers
204 commit record created -
400 Validation Error -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public void createCommitRecord(String repository, CommitRecordCreation commitRecordCreation) throws ApiException { - createCommitRecordWithHttpInfo(repository, commitRecordCreation); - } - - /** - * create commit record - * - * @param repository (required) - * @param commitRecordCreation (required) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - - -
Status Code Description Response Headers
204 commit record created -
400 Validation Error -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse createCommitRecordWithHttpInfo(String repository, CommitRecordCreation commitRecordCreation) throws ApiException { - okhttp3.Call localVarCall = createCommitRecordValidateBeforeCall(repository, commitRecordCreation, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * create commit record (asynchronously) - * - * @param repository (required) - * @param commitRecordCreation (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - - - -
Status Code Description Response Headers
204 commit record created -
400 Validation Error -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call createCommitRecordAsync(String repository, CommitRecordCreation commitRecordCreation, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = createCommitRecordValidateBeforeCall(repository, commitRecordCreation, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for createSymlinkFile - * @param repository (required) - * @param branch (required) - * @param location path to the table data (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
201 location created -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call createSymlinkFileCall(String repository, String branch, String location, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/repositories/{repository}/refs/{branch}/symlink" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())) - .replaceAll("\\{" + "branch" + "\\}", localVarApiClient.escapeString(branch.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (location != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("location", location)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call createSymlinkFileValidateBeforeCall(String repository, String branch, String location, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling createSymlinkFile(Async)"); - } - - // verify the required parameter 'branch' is set - if (branch == null) { - throw new ApiException("Missing the required parameter 'branch' when calling createSymlinkFile(Async)"); - } - - - okhttp3.Call localVarCall = createSymlinkFileCall(repository, branch, location, _callback); - return localVarCall; - - } - - /** - * creates symlink files corresponding to the given directory - * - * @param repository (required) - * @param branch (required) - * @param location path to the table data (optional) - * @return StorageURI - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
201 location created -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public StorageURI createSymlinkFile(String repository, String branch, String location) throws ApiException { - ApiResponse localVarResp = createSymlinkFileWithHttpInfo(repository, branch, location); - return localVarResp.getData(); - } - - /** - * creates symlink files corresponding to the given directory - * - * @param repository (required) - * @param branch (required) - * @param location path to the table data (optional) - * @return ApiResponse<StorageURI> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
201 location created -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse createSymlinkFileWithHttpInfo(String repository, String branch, String location) throws ApiException { - okhttp3.Call localVarCall = createSymlinkFileValidateBeforeCall(repository, branch, location, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * creates symlink files corresponding to the given directory (asynchronously) - * - * @param repository (required) - * @param branch (required) - * @param location path to the table data (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
201 location created -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call createSymlinkFileAsync(String repository, String branch, String location, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = createSymlinkFileValidateBeforeCall(repository, branch, location, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for deleteRepositoryMetadata - * @param repository (required) - * @param repositoryMetadataKeys (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Status Code Description Response Headers
204 repository metadata keys deleted successfully -
401 Unauthorized -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call deleteRepositoryMetadataCall(String repository, RepositoryMetadataKeys repositoryMetadataKeys, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = repositoryMetadataKeys; - - // create path and map variables - String localVarPath = "/repositories/{repository}/metadata" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call deleteRepositoryMetadataValidateBeforeCall(String repository, RepositoryMetadataKeys repositoryMetadataKeys, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling deleteRepositoryMetadata(Async)"); - } - - // verify the required parameter 'repositoryMetadataKeys' is set - if (repositoryMetadataKeys == null) { - throw new ApiException("Missing the required parameter 'repositoryMetadataKeys' when calling deleteRepositoryMetadata(Async)"); - } - - - okhttp3.Call localVarCall = deleteRepositoryMetadataCall(repository, repositoryMetadataKeys, _callback); - return localVarCall; - - } - - /** - * delete repository metadata - * Delete specified keys from the repository's metadata. - * @param repository (required) - * @param repositoryMetadataKeys (required) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Status Code Description Response Headers
204 repository metadata keys deleted successfully -
401 Unauthorized -
420 too many requests -
0 Internal Server Error -
- */ - public void deleteRepositoryMetadata(String repository, RepositoryMetadataKeys repositoryMetadataKeys) throws ApiException { - deleteRepositoryMetadataWithHttpInfo(repository, repositoryMetadataKeys); - } - - /** - * delete repository metadata - * Delete specified keys from the repository's metadata. - * @param repository (required) - * @param repositoryMetadataKeys (required) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Status Code Description Response Headers
204 repository metadata keys deleted successfully -
401 Unauthorized -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse deleteRepositoryMetadataWithHttpInfo(String repository, RepositoryMetadataKeys repositoryMetadataKeys) throws ApiException { - okhttp3.Call localVarCall = deleteRepositoryMetadataValidateBeforeCall(repository, repositoryMetadataKeys, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * delete repository metadata (asynchronously) - * Delete specified keys from the repository's metadata. - * @param repository (required) - * @param repositoryMetadataKeys (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Status Code Description Response Headers
204 repository metadata keys deleted successfully -
401 Unauthorized -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call deleteRepositoryMetadataAsync(String repository, RepositoryMetadataKeys repositoryMetadataKeys, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = deleteRepositoryMetadataValidateBeforeCall(repository, repositoryMetadataKeys, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for dumpRefs - * @param repository (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
201 refs dump -
400 Validation Error -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call dumpRefsCall(String repository, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/repositories/{repository}/refs/dump" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call dumpRefsValidateBeforeCall(String repository, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling dumpRefs(Async)"); - } - - - okhttp3.Call localVarCall = dumpRefsCall(repository, _callback); - return localVarCall; - - } - - /** - * Dump repository refs (tags, commits, branches) to object store Deprecated: a new API will introduce long running operations - * - * @param repository (required) - * @return RefsDump - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
201 refs dump -
400 Validation Error -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public RefsDump dumpRefs(String repository) throws ApiException { - ApiResponse localVarResp = dumpRefsWithHttpInfo(repository); - return localVarResp.getData(); - } - - /** - * Dump repository refs (tags, commits, branches) to object store Deprecated: a new API will introduce long running operations - * - * @param repository (required) - * @return ApiResponse<RefsDump> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
201 refs dump -
400 Validation Error -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse dumpRefsWithHttpInfo(String repository) throws ApiException { - okhttp3.Call localVarCall = dumpRefsValidateBeforeCall(repository, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Dump repository refs (tags, commits, branches) to object store Deprecated: a new API will introduce long running operations (asynchronously) - * - * @param repository (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
201 refs dump -
400 Validation Error -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call dumpRefsAsync(String repository, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = dumpRefsValidateBeforeCall(repository, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getAuthCapabilities - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - -
Status Code Description Response Headers
200 auth capabilities -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call getAuthCapabilitiesCall(final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/auth/capabilities"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { }; - return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getAuthCapabilitiesValidateBeforeCall(final ApiCallback _callback) throws ApiException { - - - okhttp3.Call localVarCall = getAuthCapabilitiesCall(_callback); - return localVarCall; - - } - - /** - * list authentication capabilities supported - * - * @return AuthCapabilities - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - -
Status Code Description Response Headers
200 auth capabilities -
420 too many requests -
0 Internal Server Error -
- */ - public AuthCapabilities getAuthCapabilities() throws ApiException { - ApiResponse localVarResp = getAuthCapabilitiesWithHttpInfo(); - return localVarResp.getData(); - } - - /** - * list authentication capabilities supported - * - * @return ApiResponse<AuthCapabilities> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - -
Status Code Description Response Headers
200 auth capabilities -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse getAuthCapabilitiesWithHttpInfo() throws ApiException { - okhttp3.Call localVarCall = getAuthCapabilitiesValidateBeforeCall(null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * list authentication capabilities supported (asynchronously) - * - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - -
Status Code Description Response Headers
200 auth capabilities -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call getAuthCapabilitiesAsync(final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getAuthCapabilitiesValidateBeforeCall(_callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getGarbageCollectionConfig - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - -
Status Code Description Response Headers
200 lakeFS garbage collection config -
401 Unauthorized -
- */ - public okhttp3.Call getGarbageCollectionConfigCall(final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/config/garbage-collection"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getGarbageCollectionConfigValidateBeforeCall(final ApiCallback _callback) throws ApiException { - - - okhttp3.Call localVarCall = getGarbageCollectionConfigCall(_callback); - return localVarCall; - - } - - /** - * - * get information of gc settings - * @return GarbageCollectionConfig - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - -
Status Code Description Response Headers
200 lakeFS garbage collection config -
401 Unauthorized -
- */ - public GarbageCollectionConfig getGarbageCollectionConfig() throws ApiException { - ApiResponse localVarResp = getGarbageCollectionConfigWithHttpInfo(); - return localVarResp.getData(); - } - - /** - * - * get information of gc settings - * @return ApiResponse<GarbageCollectionConfig> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - -
Status Code Description Response Headers
200 lakeFS garbage collection config -
401 Unauthorized -
- */ - public ApiResponse getGarbageCollectionConfigWithHttpInfo() throws ApiException { - okhttp3.Call localVarCall = getGarbageCollectionConfigValidateBeforeCall(null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * get information of gc settings - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - -
Status Code Description Response Headers
200 lakeFS garbage collection config -
401 Unauthorized -
- */ - public okhttp3.Call getGarbageCollectionConfigAsync(final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getGarbageCollectionConfigValidateBeforeCall(_callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getLakeFSVersion - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - -
Status Code Description Response Headers
200 lakeFS version -
401 Unauthorized -
- * @deprecated - */ - @Deprecated - public okhttp3.Call getLakeFSVersionCall(final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/config/version"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @Deprecated - @SuppressWarnings("rawtypes") - private okhttp3.Call getLakeFSVersionValidateBeforeCall(final ApiCallback _callback) throws ApiException { - - - okhttp3.Call localVarCall = getLakeFSVersionCall(_callback); - return localVarCall; - - } - - /** - * - * get version of lakeFS server - * @return VersionConfig - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - -
Status Code Description Response Headers
200 lakeFS version -
401 Unauthorized -
- * @deprecated - */ - @Deprecated - public VersionConfig getLakeFSVersion() throws ApiException { - ApiResponse localVarResp = getLakeFSVersionWithHttpInfo(); - return localVarResp.getData(); - } - - /** - * - * get version of lakeFS server - * @return ApiResponse<VersionConfig> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - -
Status Code Description Response Headers
200 lakeFS version -
401 Unauthorized -
- * @deprecated - */ - @Deprecated - public ApiResponse getLakeFSVersionWithHttpInfo() throws ApiException { - okhttp3.Call localVarCall = getLakeFSVersionValidateBeforeCall(null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * get version of lakeFS server - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - -
Status Code Description Response Headers
200 lakeFS version -
401 Unauthorized -
- * @deprecated - */ - @Deprecated - public okhttp3.Call getLakeFSVersionAsync(final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getLakeFSVersionValidateBeforeCall(_callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getMetadataObject - * @param repository (required) - * @param objectId (required) - * @param type (required) - * @param presign (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
200 object content * Content-Length -
302 Redirect to a pre-signed URL for the object * Location - redirect to S3
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call getMetadataObjectCall(String repository, String objectId, String type, Boolean presign, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/repositories/{repository}/metadata/object/{type}/{object_id}" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())) - .replaceAll("\\{" + "object_id" + "\\}", localVarApiClient.escapeString(objectId.toString())) - .replaceAll("\\{" + "type" + "\\}", localVarApiClient.escapeString(type.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (presign != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("presign", presign)); - } - - final String[] localVarAccepts = { - "application/octet-stream", "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getMetadataObjectValidateBeforeCall(String repository, String objectId, String type, Boolean presign, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling getMetadataObject(Async)"); - } - - // verify the required parameter 'objectId' is set - if (objectId == null) { - throw new ApiException("Missing the required parameter 'objectId' when calling getMetadataObject(Async)"); - } - - // verify the required parameter 'type' is set - if (type == null) { - throw new ApiException("Missing the required parameter 'type' when calling getMetadataObject(Async)"); - } - - - okhttp3.Call localVarCall = getMetadataObjectCall(repository, objectId, type, presign, _callback); - return localVarCall; - - } - - /** - * return a lakeFS metadata object by ID - * - * @param repository (required) - * @param objectId (required) - * @param type (required) - * @param presign (optional) - * @return File - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
200 object content * Content-Length -
302 Redirect to a pre-signed URL for the object * Location - redirect to S3
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public File getMetadataObject(String repository, String objectId, String type, Boolean presign) throws ApiException { - ApiResponse localVarResp = getMetadataObjectWithHttpInfo(repository, objectId, type, presign); - return localVarResp.getData(); - } - - /** - * return a lakeFS metadata object by ID - * - * @param repository (required) - * @param objectId (required) - * @param type (required) - * @param presign (optional) - * @return ApiResponse<File> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
200 object content * Content-Length -
302 Redirect to a pre-signed URL for the object * Location - redirect to S3
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse getMetadataObjectWithHttpInfo(String repository, String objectId, String type, Boolean presign) throws ApiException { - okhttp3.Call localVarCall = getMetadataObjectValidateBeforeCall(repository, objectId, type, presign, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * return a lakeFS metadata object by ID (asynchronously) - * - * @param repository (required) - * @param objectId (required) - * @param type (required) - * @param presign (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
200 object content * Content-Length -
302 Redirect to a pre-signed URL for the object * Location - redirect to S3
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call getMetadataObjectAsync(String repository, String objectId, String type, Boolean presign, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getMetadataObjectValidateBeforeCall(repository, objectId, type, presign, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getSetupState - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - -
Status Code Description Response Headers
200 lakeFS setup state -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call getSetupStateCall(final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/setup_lakefs"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { }; - return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getSetupStateValidateBeforeCall(final ApiCallback _callback) throws ApiException { - - - okhttp3.Call localVarCall = getSetupStateCall(_callback); - return localVarCall; - - } - - /** - * check if the lakeFS installation is already set up - * - * @return SetupState - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - -
Status Code Description Response Headers
200 lakeFS setup state -
420 too many requests -
0 Internal Server Error -
- */ - public SetupState getSetupState() throws ApiException { - ApiResponse localVarResp = getSetupStateWithHttpInfo(); - return localVarResp.getData(); - } - - /** - * check if the lakeFS installation is already set up - * - * @return ApiResponse<SetupState> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - -
Status Code Description Response Headers
200 lakeFS setup state -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse getSetupStateWithHttpInfo() throws ApiException { - okhttp3.Call localVarCall = getSetupStateValidateBeforeCall(null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * check if the lakeFS installation is already set up (asynchronously) - * - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - -
Status Code Description Response Headers
200 lakeFS setup state -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call getSetupStateAsync(final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getSetupStateValidateBeforeCall(_callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getStorageConfig - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - -
Status Code Description Response Headers
200 lakeFS storage configuration -
401 Unauthorized -
- * @deprecated - */ - @Deprecated - public okhttp3.Call getStorageConfigCall(final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/config/storage"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @Deprecated - @SuppressWarnings("rawtypes") - private okhttp3.Call getStorageConfigValidateBeforeCall(final ApiCallback _callback) throws ApiException { - - - okhttp3.Call localVarCall = getStorageConfigCall(_callback); - return localVarCall; - - } - - /** - * - * retrieve lakeFS storage configuration - * @return StorageConfig - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - -
Status Code Description Response Headers
200 lakeFS storage configuration -
401 Unauthorized -
- * @deprecated - */ - @Deprecated - public StorageConfig getStorageConfig() throws ApiException { - ApiResponse localVarResp = getStorageConfigWithHttpInfo(); - return localVarResp.getData(); - } - - /** - * - * retrieve lakeFS storage configuration - * @return ApiResponse<StorageConfig> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - -
Status Code Description Response Headers
200 lakeFS storage configuration -
401 Unauthorized -
- * @deprecated - */ - @Deprecated - public ApiResponse getStorageConfigWithHttpInfo() throws ApiException { - okhttp3.Call localVarCall = getStorageConfigValidateBeforeCall(null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * retrieve lakeFS storage configuration - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - -
Status Code Description Response Headers
200 lakeFS storage configuration -
401 Unauthorized -
- * @deprecated - */ - @Deprecated - public okhttp3.Call getStorageConfigAsync(final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getStorageConfigValidateBeforeCall(_callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getUsageReportSummary - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
200 Usage report -
400 Bad Request -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call getUsageReportSummaryCall(final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/usage-report/summary"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json", "application/text" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getUsageReportSummaryValidateBeforeCall(final ApiCallback _callback) throws ApiException { - - - okhttp3.Call localVarCall = getUsageReportSummaryCall(_callback); - return localVarCall; - - } - - /** - * get usage report summary - * - * @return InstallationUsageReport - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
200 Usage report -
400 Bad Request -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public InstallationUsageReport getUsageReportSummary() throws ApiException { - ApiResponse localVarResp = getUsageReportSummaryWithHttpInfo(); - return localVarResp.getData(); - } - - /** - * get usage report summary - * - * @return ApiResponse<InstallationUsageReport> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
200 Usage report -
400 Bad Request -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse getUsageReportSummaryWithHttpInfo() throws ApiException { - okhttp3.Call localVarCall = getUsageReportSummaryValidateBeforeCall(null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * get usage report summary (asynchronously) - * - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
200 Usage report -
400 Bad Request -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call getUsageReportSummaryAsync(final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getUsageReportSummaryValidateBeforeCall(_callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for internalCreateBranchProtectionRule - * @param repository (required) - * @param branchProtectionRule (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
204 branch protection rule created successfully -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- * @deprecated - */ - @Deprecated - public okhttp3.Call internalCreateBranchProtectionRuleCall(String repository, BranchProtectionRule branchProtectionRule, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = branchProtectionRule; - - // create path and map variables - String localVarPath = "/repositories/{repository}/branch_protection" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @Deprecated - @SuppressWarnings("rawtypes") - private okhttp3.Call internalCreateBranchProtectionRuleValidateBeforeCall(String repository, BranchProtectionRule branchProtectionRule, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling internalCreateBranchProtectionRule(Async)"); - } - - // verify the required parameter 'branchProtectionRule' is set - if (branchProtectionRule == null) { - throw new ApiException("Missing the required parameter 'branchProtectionRule' when calling internalCreateBranchProtectionRule(Async)"); - } - - - okhttp3.Call localVarCall = internalCreateBranchProtectionRuleCall(repository, branchProtectionRule, _callback); - return localVarCall; - - } - - /** - * - * - * @param repository (required) - * @param branchProtectionRule (required) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
204 branch protection rule created successfully -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- * @deprecated - */ - @Deprecated - public void internalCreateBranchProtectionRule(String repository, BranchProtectionRule branchProtectionRule) throws ApiException { - internalCreateBranchProtectionRuleWithHttpInfo(repository, branchProtectionRule); - } - - /** - * - * - * @param repository (required) - * @param branchProtectionRule (required) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
204 branch protection rule created successfully -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- * @deprecated - */ - @Deprecated - public ApiResponse internalCreateBranchProtectionRuleWithHttpInfo(String repository, BranchProtectionRule branchProtectionRule) throws ApiException { - okhttp3.Call localVarCall = internalCreateBranchProtectionRuleValidateBeforeCall(repository, branchProtectionRule, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * (asynchronously) - * - * @param repository (required) - * @param branchProtectionRule (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
204 branch protection rule created successfully -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- * @deprecated - */ - @Deprecated - public okhttp3.Call internalCreateBranchProtectionRuleAsync(String repository, BranchProtectionRule branchProtectionRule, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = internalCreateBranchProtectionRuleValidateBeforeCall(repository, branchProtectionRule, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for internalDeleteBranchProtectionRule - * @param repository (required) - * @param inlineObject1 (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
204 branch protection rule deleted successfully -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- * @deprecated - */ - @Deprecated - public okhttp3.Call internalDeleteBranchProtectionRuleCall(String repository, InlineObject1 inlineObject1, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = inlineObject1; - - // create path and map variables - String localVarPath = "/repositories/{repository}/branch_protection" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @Deprecated - @SuppressWarnings("rawtypes") - private okhttp3.Call internalDeleteBranchProtectionRuleValidateBeforeCall(String repository, InlineObject1 inlineObject1, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling internalDeleteBranchProtectionRule(Async)"); - } - - // verify the required parameter 'inlineObject1' is set - if (inlineObject1 == null) { - throw new ApiException("Missing the required parameter 'inlineObject1' when calling internalDeleteBranchProtectionRule(Async)"); - } - - - okhttp3.Call localVarCall = internalDeleteBranchProtectionRuleCall(repository, inlineObject1, _callback); - return localVarCall; - - } - - /** - * - * - * @param repository (required) - * @param inlineObject1 (required) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
204 branch protection rule deleted successfully -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- * @deprecated - */ - @Deprecated - public void internalDeleteBranchProtectionRule(String repository, InlineObject1 inlineObject1) throws ApiException { - internalDeleteBranchProtectionRuleWithHttpInfo(repository, inlineObject1); - } - - /** - * - * - * @param repository (required) - * @param inlineObject1 (required) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
204 branch protection rule deleted successfully -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- * @deprecated - */ - @Deprecated - public ApiResponse internalDeleteBranchProtectionRuleWithHttpInfo(String repository, InlineObject1 inlineObject1) throws ApiException { - okhttp3.Call localVarCall = internalDeleteBranchProtectionRuleValidateBeforeCall(repository, inlineObject1, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * (asynchronously) - * - * @param repository (required) - * @param inlineObject1 (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
204 branch protection rule deleted successfully -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- * @deprecated - */ - @Deprecated - public okhttp3.Call internalDeleteBranchProtectionRuleAsync(String repository, InlineObject1 inlineObject1, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = internalDeleteBranchProtectionRuleValidateBeforeCall(repository, inlineObject1, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for internalDeleteGarbageCollectionRules - * @param repository (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
204 deleted garbage collection rules successfully -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- * @deprecated - */ - @Deprecated - public okhttp3.Call internalDeleteGarbageCollectionRulesCall(String repository, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/repositories/{repository}/gc/rules" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @Deprecated - @SuppressWarnings("rawtypes") - private okhttp3.Call internalDeleteGarbageCollectionRulesValidateBeforeCall(String repository, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling internalDeleteGarbageCollectionRules(Async)"); - } - - - okhttp3.Call localVarCall = internalDeleteGarbageCollectionRulesCall(repository, _callback); - return localVarCall; - - } - - /** - * - * - * @param repository (required) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
204 deleted garbage collection rules successfully -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- * @deprecated - */ - @Deprecated - public void internalDeleteGarbageCollectionRules(String repository) throws ApiException { - internalDeleteGarbageCollectionRulesWithHttpInfo(repository); - } - - /** - * - * - * @param repository (required) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
204 deleted garbage collection rules successfully -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- * @deprecated - */ - @Deprecated - public ApiResponse internalDeleteGarbageCollectionRulesWithHttpInfo(String repository) throws ApiException { - okhttp3.Call localVarCall = internalDeleteGarbageCollectionRulesValidateBeforeCall(repository, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * (asynchronously) - * - * @param repository (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
204 deleted garbage collection rules successfully -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- * @deprecated - */ - @Deprecated - public okhttp3.Call internalDeleteGarbageCollectionRulesAsync(String repository, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = internalDeleteGarbageCollectionRulesValidateBeforeCall(repository, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for internalGetBranchProtectionRules - * @param repository (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 branch protection rules -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- * @deprecated - */ - @Deprecated - public okhttp3.Call internalGetBranchProtectionRulesCall(String repository, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/repositories/{repository}/branch_protection" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @Deprecated - @SuppressWarnings("rawtypes") - private okhttp3.Call internalGetBranchProtectionRulesValidateBeforeCall(String repository, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling internalGetBranchProtectionRules(Async)"); - } - - - okhttp3.Call localVarCall = internalGetBranchProtectionRulesCall(repository, _callback); - return localVarCall; - - } - - /** - * get branch protection rules - * - * @param repository (required) - * @return List<BranchProtectionRule> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 branch protection rules -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- * @deprecated - */ - @Deprecated - public List internalGetBranchProtectionRules(String repository) throws ApiException { - ApiResponse> localVarResp = internalGetBranchProtectionRulesWithHttpInfo(repository); - return localVarResp.getData(); - } - - /** - * get branch protection rules - * - * @param repository (required) - * @return ApiResponse<List<BranchProtectionRule>> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 branch protection rules -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- * @deprecated - */ - @Deprecated - public ApiResponse> internalGetBranchProtectionRulesWithHttpInfo(String repository) throws ApiException { - okhttp3.Call localVarCall = internalGetBranchProtectionRulesValidateBeforeCall(repository, null); - Type localVarReturnType = new TypeToken>(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * get branch protection rules (asynchronously) - * - * @param repository (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 branch protection rules -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- * @deprecated - */ - @Deprecated - public okhttp3.Call internalGetBranchProtectionRulesAsync(String repository, final ApiCallback> _callback) throws ApiException { - - okhttp3.Call localVarCall = internalGetBranchProtectionRulesValidateBeforeCall(repository, _callback); - Type localVarReturnType = new TypeToken>(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for internalGetGarbageCollectionRules - * @param repository (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 gc rule list -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- * @deprecated - */ - @Deprecated - public okhttp3.Call internalGetGarbageCollectionRulesCall(String repository, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/repositories/{repository}/gc/rules" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @Deprecated - @SuppressWarnings("rawtypes") - private okhttp3.Call internalGetGarbageCollectionRulesValidateBeforeCall(String repository, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling internalGetGarbageCollectionRules(Async)"); - } - - - okhttp3.Call localVarCall = internalGetGarbageCollectionRulesCall(repository, _callback); - return localVarCall; - - } - - /** - * - * - * @param repository (required) - * @return GarbageCollectionRules - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 gc rule list -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- * @deprecated - */ - @Deprecated - public GarbageCollectionRules internalGetGarbageCollectionRules(String repository) throws ApiException { - ApiResponse localVarResp = internalGetGarbageCollectionRulesWithHttpInfo(repository); - return localVarResp.getData(); - } - - /** - * - * - * @param repository (required) - * @return ApiResponse<GarbageCollectionRules> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 gc rule list -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- * @deprecated - */ - @Deprecated - public ApiResponse internalGetGarbageCollectionRulesWithHttpInfo(String repository) throws ApiException { - okhttp3.Call localVarCall = internalGetGarbageCollectionRulesValidateBeforeCall(repository, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * - * @param repository (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 gc rule list -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- * @deprecated - */ - @Deprecated - public okhttp3.Call internalGetGarbageCollectionRulesAsync(String repository, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = internalGetGarbageCollectionRulesValidateBeforeCall(repository, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for internalSetGarbageCollectionRules - * @param repository (required) - * @param garbageCollectionRules (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
204 set garbage collection rules successfully -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- * @deprecated - */ - @Deprecated - public okhttp3.Call internalSetGarbageCollectionRulesCall(String repository, GarbageCollectionRules garbageCollectionRules, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = garbageCollectionRules; - - // create path and map variables - String localVarPath = "/repositories/{repository}/gc/rules" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @Deprecated - @SuppressWarnings("rawtypes") - private okhttp3.Call internalSetGarbageCollectionRulesValidateBeforeCall(String repository, GarbageCollectionRules garbageCollectionRules, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling internalSetGarbageCollectionRules(Async)"); - } - - // verify the required parameter 'garbageCollectionRules' is set - if (garbageCollectionRules == null) { - throw new ApiException("Missing the required parameter 'garbageCollectionRules' when calling internalSetGarbageCollectionRules(Async)"); - } - - - okhttp3.Call localVarCall = internalSetGarbageCollectionRulesCall(repository, garbageCollectionRules, _callback); - return localVarCall; - - } - - /** - * - * - * @param repository (required) - * @param garbageCollectionRules (required) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
204 set garbage collection rules successfully -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- * @deprecated - */ - @Deprecated - public void internalSetGarbageCollectionRules(String repository, GarbageCollectionRules garbageCollectionRules) throws ApiException { - internalSetGarbageCollectionRulesWithHttpInfo(repository, garbageCollectionRules); - } - - /** - * - * - * @param repository (required) - * @param garbageCollectionRules (required) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
204 set garbage collection rules successfully -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- * @deprecated - */ - @Deprecated - public ApiResponse internalSetGarbageCollectionRulesWithHttpInfo(String repository, GarbageCollectionRules garbageCollectionRules) throws ApiException { - okhttp3.Call localVarCall = internalSetGarbageCollectionRulesValidateBeforeCall(repository, garbageCollectionRules, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * (asynchronously) - * - * @param repository (required) - * @param garbageCollectionRules (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
204 set garbage collection rules successfully -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- * @deprecated - */ - @Deprecated - public okhttp3.Call internalSetGarbageCollectionRulesAsync(String repository, GarbageCollectionRules garbageCollectionRules, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = internalSetGarbageCollectionRulesValidateBeforeCall(repository, garbageCollectionRules, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for postStatsEvents - * @param statsEventsList (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
204 reported successfully -
400 Bad Request -
401 Unauthorized -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call postStatsEventsCall(StatsEventsList statsEventsList, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = statsEventsList; - - // create path and map variables - String localVarPath = "/statistics"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call postStatsEventsValidateBeforeCall(StatsEventsList statsEventsList, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'statsEventsList' is set - if (statsEventsList == null) { - throw new ApiException("Missing the required parameter 'statsEventsList' when calling postStatsEvents(Async)"); - } - - - okhttp3.Call localVarCall = postStatsEventsCall(statsEventsList, _callback); - return localVarCall; - - } - - /** - * post stats events, this endpoint is meant for internal use only - * - * @param statsEventsList (required) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
204 reported successfully -
400 Bad Request -
401 Unauthorized -
420 too many requests -
0 Internal Server Error -
- */ - public void postStatsEvents(StatsEventsList statsEventsList) throws ApiException { - postStatsEventsWithHttpInfo(statsEventsList); - } - - /** - * post stats events, this endpoint is meant for internal use only - * - * @param statsEventsList (required) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
204 reported successfully -
400 Bad Request -
401 Unauthorized -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse postStatsEventsWithHttpInfo(StatsEventsList statsEventsList) throws ApiException { - okhttp3.Call localVarCall = postStatsEventsValidateBeforeCall(statsEventsList, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * post stats events, this endpoint is meant for internal use only (asynchronously) - * - * @param statsEventsList (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
204 reported successfully -
400 Bad Request -
401 Unauthorized -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call postStatsEventsAsync(StatsEventsList statsEventsList, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = postStatsEventsValidateBeforeCall(statsEventsList, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for prepareGarbageCollectionCommits - * @param repository (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
201 paths to commit dataset -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call prepareGarbageCollectionCommitsCall(String repository, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/repositories/{repository}/gc/prepare_commits" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call prepareGarbageCollectionCommitsValidateBeforeCall(String repository, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling prepareGarbageCollectionCommits(Async)"); - } - - - okhttp3.Call localVarCall = prepareGarbageCollectionCommitsCall(repository, _callback); - return localVarCall; - - } - - /** - * save lists of active commits for garbage collection - * - * @param repository (required) - * @return GarbageCollectionPrepareResponse - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
201 paths to commit dataset -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public GarbageCollectionPrepareResponse prepareGarbageCollectionCommits(String repository) throws ApiException { - ApiResponse localVarResp = prepareGarbageCollectionCommitsWithHttpInfo(repository); - return localVarResp.getData(); - } - - /** - * save lists of active commits for garbage collection - * - * @param repository (required) - * @return ApiResponse<GarbageCollectionPrepareResponse> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
201 paths to commit dataset -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse prepareGarbageCollectionCommitsWithHttpInfo(String repository) throws ApiException { - okhttp3.Call localVarCall = prepareGarbageCollectionCommitsValidateBeforeCall(repository, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * save lists of active commits for garbage collection (asynchronously) - * - * @param repository (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
201 paths to commit dataset -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call prepareGarbageCollectionCommitsAsync(String repository, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = prepareGarbageCollectionCommitsValidateBeforeCall(repository, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for prepareGarbageCollectionUncommitted - * @param repository (required) - * @param prepareGCUncommittedRequest (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - - - -
Status Code Description Response Headers
201 paths to commit dataset -
400 Validation Error -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call prepareGarbageCollectionUncommittedCall(String repository, PrepareGCUncommittedRequest prepareGCUncommittedRequest, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = prepareGCUncommittedRequest; - - // create path and map variables - String localVarPath = "/repositories/{repository}/gc/prepare_uncommited" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call prepareGarbageCollectionUncommittedValidateBeforeCall(String repository, PrepareGCUncommittedRequest prepareGCUncommittedRequest, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling prepareGarbageCollectionUncommitted(Async)"); - } - - - okhttp3.Call localVarCall = prepareGarbageCollectionUncommittedCall(repository, prepareGCUncommittedRequest, _callback); - return localVarCall; - - } - - /** - * save repository uncommitted metadata for garbage collection - * - * @param repository (required) - * @param prepareGCUncommittedRequest (optional) - * @return PrepareGCUncommittedResponse - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - - -
Status Code Description Response Headers
201 paths to commit dataset -
400 Validation Error -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public PrepareGCUncommittedResponse prepareGarbageCollectionUncommitted(String repository, PrepareGCUncommittedRequest prepareGCUncommittedRequest) throws ApiException { - ApiResponse localVarResp = prepareGarbageCollectionUncommittedWithHttpInfo(repository, prepareGCUncommittedRequest); - return localVarResp.getData(); - } - - /** - * save repository uncommitted metadata for garbage collection - * - * @param repository (required) - * @param prepareGCUncommittedRequest (optional) - * @return ApiResponse<PrepareGCUncommittedResponse> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - - -
Status Code Description Response Headers
201 paths to commit dataset -
400 Validation Error -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse prepareGarbageCollectionUncommittedWithHttpInfo(String repository, PrepareGCUncommittedRequest prepareGCUncommittedRequest) throws ApiException { - okhttp3.Call localVarCall = prepareGarbageCollectionUncommittedValidateBeforeCall(repository, prepareGCUncommittedRequest, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * save repository uncommitted metadata for garbage collection (asynchronously) - * - * @param repository (required) - * @param prepareGCUncommittedRequest (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - - - -
Status Code Description Response Headers
201 paths to commit dataset -
400 Validation Error -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call prepareGarbageCollectionUncommittedAsync(String repository, PrepareGCUncommittedRequest prepareGCUncommittedRequest, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = prepareGarbageCollectionUncommittedValidateBeforeCall(repository, prepareGCUncommittedRequest, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for restoreRefs - * @param repository (required) - * @param refsRestore (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
200 refs successfully loaded -
400 Validation Error -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call restoreRefsCall(String repository, RefsRestore refsRestore, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = refsRestore; - - // create path and map variables - String localVarPath = "/repositories/{repository}/refs/restore" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call restoreRefsValidateBeforeCall(String repository, RefsRestore refsRestore, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling restoreRefs(Async)"); - } - - // verify the required parameter 'refsRestore' is set - if (refsRestore == null) { - throw new ApiException("Missing the required parameter 'refsRestore' when calling restoreRefs(Async)"); - } - - - okhttp3.Call localVarCall = restoreRefsCall(repository, refsRestore, _callback); - return localVarCall; - - } - - /** - * Restore repository refs (tags, commits, branches) from object store. Deprecated: a new API will introduce long running operations - * - * @param repository (required) - * @param refsRestore (required) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
200 refs successfully loaded -
400 Validation Error -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public void restoreRefs(String repository, RefsRestore refsRestore) throws ApiException { - restoreRefsWithHttpInfo(repository, refsRestore); - } - - /** - * Restore repository refs (tags, commits, branches) from object store. Deprecated: a new API will introduce long running operations - * - * @param repository (required) - * @param refsRestore (required) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
200 refs successfully loaded -
400 Validation Error -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse restoreRefsWithHttpInfo(String repository, RefsRestore refsRestore) throws ApiException { - okhttp3.Call localVarCall = restoreRefsValidateBeforeCall(repository, refsRestore, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * Restore repository refs (tags, commits, branches) from object store. Deprecated: a new API will introduce long running operations (asynchronously) - * - * @param repository (required) - * @param refsRestore (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
200 refs successfully loaded -
400 Validation Error -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call restoreRefsAsync(String repository, RefsRestore refsRestore, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = restoreRefsValidateBeforeCall(repository, refsRestore, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for setGarbageCollectionRulesPreflight - * @param repository (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
204 User has permissions to set garbage collection rules on this repository -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call setGarbageCollectionRulesPreflightCall(String repository, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/repositories/{repository}/gc/rules/set_allowed" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call setGarbageCollectionRulesPreflightValidateBeforeCall(String repository, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling setGarbageCollectionRulesPreflight(Async)"); - } - - - okhttp3.Call localVarCall = setGarbageCollectionRulesPreflightCall(repository, _callback); - return localVarCall; - - } - - /** - * - * - * @param repository (required) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
204 User has permissions to set garbage collection rules on this repository -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public void setGarbageCollectionRulesPreflight(String repository) throws ApiException { - setGarbageCollectionRulesPreflightWithHttpInfo(repository); - } - - /** - * - * - * @param repository (required) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
204 User has permissions to set garbage collection rules on this repository -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse setGarbageCollectionRulesPreflightWithHttpInfo(String repository) throws ApiException { - okhttp3.Call localVarCall = setGarbageCollectionRulesPreflightValidateBeforeCall(repository, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * (asynchronously) - * - * @param repository (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
204 User has permissions to set garbage collection rules on this repository -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call setGarbageCollectionRulesPreflightAsync(String repository, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = setGarbageCollectionRulesPreflightValidateBeforeCall(repository, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for setRepositoryMetadata - * @param repository (required) - * @param repositoryMetadataSet (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
204 repository metadata set successfully -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call setRepositoryMetadataCall(String repository, RepositoryMetadataSet repositoryMetadataSet, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = repositoryMetadataSet; - - // create path and map variables - String localVarPath = "/repositories/{repository}/metadata" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call setRepositoryMetadataValidateBeforeCall(String repository, RepositoryMetadataSet repositoryMetadataSet, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling setRepositoryMetadata(Async)"); - } - - // verify the required parameter 'repositoryMetadataSet' is set - if (repositoryMetadataSet == null) { - throw new ApiException("Missing the required parameter 'repositoryMetadataSet' when calling setRepositoryMetadata(Async)"); - } - - - okhttp3.Call localVarCall = setRepositoryMetadataCall(repository, repositoryMetadataSet, _callback); - return localVarCall; - - } - - /** - * set repository metadata - * Set repository metadata. This will only add or update the provided keys, and will not remove any existing keys. - * @param repository (required) - * @param repositoryMetadataSet (required) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
204 repository metadata set successfully -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public void setRepositoryMetadata(String repository, RepositoryMetadataSet repositoryMetadataSet) throws ApiException { - setRepositoryMetadataWithHttpInfo(repository, repositoryMetadataSet); - } - - /** - * set repository metadata - * Set repository metadata. This will only add or update the provided keys, and will not remove any existing keys. - * @param repository (required) - * @param repositoryMetadataSet (required) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
204 repository metadata set successfully -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse setRepositoryMetadataWithHttpInfo(String repository, RepositoryMetadataSet repositoryMetadataSet) throws ApiException { - okhttp3.Call localVarCall = setRepositoryMetadataValidateBeforeCall(repository, repositoryMetadataSet, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * set repository metadata (asynchronously) - * Set repository metadata. This will only add or update the provided keys, and will not remove any existing keys. - * @param repository (required) - * @param repositoryMetadataSet (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
204 repository metadata set successfully -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call setRepositoryMetadataAsync(String repository, RepositoryMetadataSet repositoryMetadataSet, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = setRepositoryMetadataValidateBeforeCall(repository, repositoryMetadataSet, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for setup - * @param setup (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 user created successfully -
400 Bad Request -
409 setup was already called -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call setupCall(Setup setup, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = setup; - - // create path and map variables - String localVarPath = "/setup_lakefs"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { }; - return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call setupValidateBeforeCall(Setup setup, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'setup' is set - if (setup == null) { - throw new ApiException("Missing the required parameter 'setup' when calling setup(Async)"); - } - - - okhttp3.Call localVarCall = setupCall(setup, _callback); - return localVarCall; - - } - - /** - * setup lakeFS and create a first user - * - * @param setup (required) - * @return CredentialsWithSecret - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 user created successfully -
400 Bad Request -
409 setup was already called -
420 too many requests -
0 Internal Server Error -
- */ - public CredentialsWithSecret setup(Setup setup) throws ApiException { - ApiResponse localVarResp = setupWithHttpInfo(setup); - return localVarResp.getData(); - } - - /** - * setup lakeFS and create a first user - * - * @param setup (required) - * @return ApiResponse<CredentialsWithSecret> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 user created successfully -
400 Bad Request -
409 setup was already called -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse setupWithHttpInfo(Setup setup) throws ApiException { - okhttp3.Call localVarCall = setupValidateBeforeCall(setup, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * setup lakeFS and create a first user (asynchronously) - * - * @param setup (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 user created successfully -
400 Bad Request -
409 setup was already called -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call setupAsync(Setup setup, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = setupValidateBeforeCall(setup, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for setupCommPrefs - * @param commPrefsInput (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 communication preferences saved successfully -
409 setup was already completed -
412 wrong setup state for this operation -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call setupCommPrefsCall(CommPrefsInput commPrefsInput, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = commPrefsInput; - - // create path and map variables - String localVarPath = "/setup_comm_prefs"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { }; - return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call setupCommPrefsValidateBeforeCall(CommPrefsInput commPrefsInput, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'commPrefsInput' is set - if (commPrefsInput == null) { - throw new ApiException("Missing the required parameter 'commPrefsInput' when calling setupCommPrefs(Async)"); - } - - - okhttp3.Call localVarCall = setupCommPrefsCall(commPrefsInput, _callback); - return localVarCall; - - } - - /** - * setup communications preferences - * - * @param commPrefsInput (required) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 communication preferences saved successfully -
409 setup was already completed -
412 wrong setup state for this operation -
420 too many requests -
0 Internal Server Error -
- */ - public void setupCommPrefs(CommPrefsInput commPrefsInput) throws ApiException { - setupCommPrefsWithHttpInfo(commPrefsInput); - } - - /** - * setup communications preferences - * - * @param commPrefsInput (required) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 communication preferences saved successfully -
409 setup was already completed -
412 wrong setup state for this operation -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse setupCommPrefsWithHttpInfo(CommPrefsInput commPrefsInput) throws ApiException { - okhttp3.Call localVarCall = setupCommPrefsValidateBeforeCall(commPrefsInput, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * setup communications preferences (asynchronously) - * - * @param commPrefsInput (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 communication preferences saved successfully -
409 setup was already completed -
412 wrong setup state for this operation -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call setupCommPrefsAsync(CommPrefsInput commPrefsInput, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = setupCommPrefsValidateBeforeCall(commPrefsInput, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for stageObject - * @param repository (required) - * @param branch (required) - * @param path relative to the branch (required) - * @param objectStageCreation (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - - - -
Status Code Description Response Headers
201 object metadata -
400 Validation Error -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- * @deprecated - */ - @Deprecated - public okhttp3.Call stageObjectCall(String repository, String branch, String path, ObjectStageCreation objectStageCreation, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = objectStageCreation; - - // create path and map variables - String localVarPath = "/repositories/{repository}/branches/{branch}/objects" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())) - .replaceAll("\\{" + "branch" + "\\}", localVarApiClient.escapeString(branch.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (path != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("path", path)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @Deprecated - @SuppressWarnings("rawtypes") - private okhttp3.Call stageObjectValidateBeforeCall(String repository, String branch, String path, ObjectStageCreation objectStageCreation, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling stageObject(Async)"); - } - - // verify the required parameter 'branch' is set - if (branch == null) { - throw new ApiException("Missing the required parameter 'branch' when calling stageObject(Async)"); - } - - // verify the required parameter 'path' is set - if (path == null) { - throw new ApiException("Missing the required parameter 'path' when calling stageObject(Async)"); - } - - // verify the required parameter 'objectStageCreation' is set - if (objectStageCreation == null) { - throw new ApiException("Missing the required parameter 'objectStageCreation' when calling stageObject(Async)"); - } - - - okhttp3.Call localVarCall = stageObjectCall(repository, branch, path, objectStageCreation, _callback); - return localVarCall; - - } - - /** - * stage an object's metadata for the given branch - * - * @param repository (required) - * @param branch (required) - * @param path relative to the branch (required) - * @param objectStageCreation (required) - * @return ObjectStats - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - - -
Status Code Description Response Headers
201 object metadata -
400 Validation Error -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- * @deprecated - */ - @Deprecated - public ObjectStats stageObject(String repository, String branch, String path, ObjectStageCreation objectStageCreation) throws ApiException { - ApiResponse localVarResp = stageObjectWithHttpInfo(repository, branch, path, objectStageCreation); - return localVarResp.getData(); - } - - /** - * stage an object's metadata for the given branch - * - * @param repository (required) - * @param branch (required) - * @param path relative to the branch (required) - * @param objectStageCreation (required) - * @return ApiResponse<ObjectStats> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - - -
Status Code Description Response Headers
201 object metadata -
400 Validation Error -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- * @deprecated - */ - @Deprecated - public ApiResponse stageObjectWithHttpInfo(String repository, String branch, String path, ObjectStageCreation objectStageCreation) throws ApiException { - okhttp3.Call localVarCall = stageObjectValidateBeforeCall(repository, branch, path, objectStageCreation, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * stage an object's metadata for the given branch (asynchronously) - * - * @param repository (required) - * @param branch (required) - * @param path relative to the branch (required) - * @param objectStageCreation (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - - - -
Status Code Description Response Headers
201 object metadata -
400 Validation Error -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- * @deprecated - */ - @Deprecated - public okhttp3.Call stageObjectAsync(String repository, String branch, String path, ObjectStageCreation objectStageCreation, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = stageObjectValidateBeforeCall(repository, branch, path, objectStageCreation, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for uploadObjectPreflight - * @param repository (required) - * @param branch (required) - * @param path relative to the branch (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
204 User has permissions to upload this object. This does not guarantee that the upload will be successful or even possible. It indicates only the permission at the time of calling this endpoint -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call uploadObjectPreflightCall(String repository, String branch, String path, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/repositories/{repository}/branches/{branch}/objects/stage_allowed" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())) - .replaceAll("\\{" + "branch" + "\\}", localVarApiClient.escapeString(branch.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (path != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("path", path)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call uploadObjectPreflightValidateBeforeCall(String repository, String branch, String path, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling uploadObjectPreflight(Async)"); - } - - // verify the required parameter 'branch' is set - if (branch == null) { - throw new ApiException("Missing the required parameter 'branch' when calling uploadObjectPreflight(Async)"); - } - - // verify the required parameter 'path' is set - if (path == null) { - throw new ApiException("Missing the required parameter 'path' when calling uploadObjectPreflight(Async)"); - } - - - okhttp3.Call localVarCall = uploadObjectPreflightCall(repository, branch, path, _callback); - return localVarCall; - - } - - /** - * - * - * @param repository (required) - * @param branch (required) - * @param path relative to the branch (required) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
204 User has permissions to upload this object. This does not guarantee that the upload will be successful or even possible. It indicates only the permission at the time of calling this endpoint -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public void uploadObjectPreflight(String repository, String branch, String path) throws ApiException { - uploadObjectPreflightWithHttpInfo(repository, branch, path); - } - - /** - * - * - * @param repository (required) - * @param branch (required) - * @param path relative to the branch (required) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
204 User has permissions to upload this object. This does not guarantee that the upload will be successful or even possible. It indicates only the permission at the time of calling this endpoint -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse uploadObjectPreflightWithHttpInfo(String repository, String branch, String path) throws ApiException { - okhttp3.Call localVarCall = uploadObjectPreflightValidateBeforeCall(repository, branch, path, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * (asynchronously) - * - * @param repository (required) - * @param branch (required) - * @param path relative to the branch (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
204 User has permissions to upload this object. This does not guarantee that the upload will be successful or even possible. It indicates only the permission at the time of calling this endpoint -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call uploadObjectPreflightAsync(String repository, String branch, String path, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = uploadObjectPreflightValidateBeforeCall(repository, branch, path, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } -} diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/JSON.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/JSON.java deleted file mode 100644 index 18def5dfbc6..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/JSON.java +++ /dev/null @@ -1,403 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api; - -import com.google.gson.Gson; -import com.google.gson.GsonBuilder; -import com.google.gson.JsonParseException; -import com.google.gson.TypeAdapter; -import com.google.gson.internal.bind.util.ISO8601Utils; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import com.google.gson.JsonElement; -import io.gsonfire.GsonFireBuilder; -import io.gsonfire.TypeSelector; -import org.threeten.bp.LocalDate; -import org.threeten.bp.OffsetDateTime; -import org.threeten.bp.format.DateTimeFormatter; - -import io.lakefs.clients.api.model.*; -import okio.ByteString; - -import java.io.IOException; -import java.io.StringReader; -import java.lang.reflect.Type; -import java.text.DateFormat; -import java.text.ParseException; -import java.text.ParsePosition; -import java.util.Date; -import java.util.Locale; -import java.util.Map; -import java.util.HashMap; - -public class JSON { - private Gson gson; - private boolean isLenientOnJson = false; - private DateTypeAdapter dateTypeAdapter = new DateTypeAdapter(); - private SqlDateTypeAdapter sqlDateTypeAdapter = new SqlDateTypeAdapter(); - private OffsetDateTimeTypeAdapter offsetDateTimeTypeAdapter = new OffsetDateTimeTypeAdapter(); - private LocalDateTypeAdapter localDateTypeAdapter = new LocalDateTypeAdapter(); - private ByteArrayAdapter byteArrayAdapter = new ByteArrayAdapter(); - - @SuppressWarnings("unchecked") - public static GsonBuilder createGson() { - GsonFireBuilder fireBuilder = new GsonFireBuilder() - ; - GsonBuilder builder = fireBuilder.createGsonBuilder(); - return builder; - } - - private static String getDiscriminatorValue(JsonElement readElement, String discriminatorField) { - JsonElement element = readElement.getAsJsonObject().get(discriminatorField); - if (null == element) { - throw new IllegalArgumentException("missing discriminator field: <" + discriminatorField + ">"); - } - return element.getAsString(); - } - - /** - * Returns the Java class that implements the OpenAPI schema for the specified discriminator value. - * - * @param classByDiscriminatorValue The map of discriminator values to Java classes. - * @param discriminatorValue The value of the OpenAPI discriminator in the input data. - * @return The Java class that implements the OpenAPI schema - */ - private static Class getClassByDiscriminator(Map classByDiscriminatorValue, String discriminatorValue) { - Class clazz = (Class) classByDiscriminatorValue.get(discriminatorValue); - if (null == clazz) { - throw new IllegalArgumentException("cannot determine model class of name: <" + discriminatorValue + ">"); - } - return clazz; - } - - public JSON() { - gson = createGson() - .registerTypeAdapter(Date.class, dateTypeAdapter) - .registerTypeAdapter(java.sql.Date.class, sqlDateTypeAdapter) - .registerTypeAdapter(OffsetDateTime.class, offsetDateTimeTypeAdapter) - .registerTypeAdapter(LocalDate.class, localDateTypeAdapter) - .registerTypeAdapter(byte[].class, byteArrayAdapter) - .create(); - } - - /** - * Get Gson. - * - * @return Gson - */ - public Gson getGson() { - return gson; - } - - /** - * Set Gson. - * - * @param gson Gson - * @return JSON - */ - public JSON setGson(Gson gson) { - this.gson = gson; - return this; - } - - public JSON setLenientOnJson(boolean lenientOnJson) { - isLenientOnJson = lenientOnJson; - return this; - } - - /** - * Serialize the given Java object into JSON string. - * - * @param obj Object - * @return String representation of the JSON - */ - public String serialize(Object obj) { - return gson.toJson(obj); - } - - /** - * Deserialize the given JSON string to Java object. - * - * @param Type - * @param body The JSON string - * @param returnType The type to deserialize into - * @return The deserialized Java object - */ - @SuppressWarnings("unchecked") - public T deserialize(String body, Type returnType) { - try { - if (isLenientOnJson) { - JsonReader jsonReader = new JsonReader(new StringReader(body)); - // see https://google-gson.googlecode.com/svn/trunk/gson/docs/javadocs/com/google/gson/stream/JsonReader.html#setLenient(boolean) - jsonReader.setLenient(true); - return gson.fromJson(jsonReader, returnType); - } else { - return gson.fromJson(body, returnType); - } - } catch (JsonParseException e) { - // Fallback processing when failed to parse JSON form response body: - // return the response body string directly for the String return type; - if (returnType.equals(String.class)) { - return (T) body; - } else { - throw (e); - } - } - } - - /** - * Gson TypeAdapter for Byte Array type - */ - public class ByteArrayAdapter extends TypeAdapter { - - @Override - public void write(JsonWriter out, byte[] value) throws IOException { - if (value == null) { - out.nullValue(); - } else { - out.value(ByteString.of(value).base64()); - } - } - - @Override - public byte[] read(JsonReader in) throws IOException { - switch (in.peek()) { - case NULL: - in.nextNull(); - return null; - default: - String bytesAsBase64 = in.nextString(); - ByteString byteString = ByteString.decodeBase64(bytesAsBase64); - return byteString.toByteArray(); - } - } - } - - /** - * Gson TypeAdapter for JSR310 OffsetDateTime type - */ - public static class OffsetDateTimeTypeAdapter extends TypeAdapter { - - private DateTimeFormatter formatter; - - public OffsetDateTimeTypeAdapter() { - this(DateTimeFormatter.ISO_OFFSET_DATE_TIME); - } - - public OffsetDateTimeTypeAdapter(DateTimeFormatter formatter) { - this.formatter = formatter; - } - - public void setFormat(DateTimeFormatter dateFormat) { - this.formatter = dateFormat; - } - - @Override - public void write(JsonWriter out, OffsetDateTime date) throws IOException { - if (date == null) { - out.nullValue(); - } else { - out.value(formatter.format(date)); - } - } - - @Override - public OffsetDateTime read(JsonReader in) throws IOException { - switch (in.peek()) { - case NULL: - in.nextNull(); - return null; - default: - String date = in.nextString(); - if (date.endsWith("+0000")) { - date = date.substring(0, date.length()-5) + "Z"; - } - return OffsetDateTime.parse(date, formatter); - } - } - } - - /** - * Gson TypeAdapter for JSR310 LocalDate type - */ - public class LocalDateTypeAdapter extends TypeAdapter { - - private DateTimeFormatter formatter; - - public LocalDateTypeAdapter() { - this(DateTimeFormatter.ISO_LOCAL_DATE); - } - - public LocalDateTypeAdapter(DateTimeFormatter formatter) { - this.formatter = formatter; - } - - public void setFormat(DateTimeFormatter dateFormat) { - this.formatter = dateFormat; - } - - @Override - public void write(JsonWriter out, LocalDate date) throws IOException { - if (date == null) { - out.nullValue(); - } else { - out.value(formatter.format(date)); - } - } - - @Override - public LocalDate read(JsonReader in) throws IOException { - switch (in.peek()) { - case NULL: - in.nextNull(); - return null; - default: - String date = in.nextString(); - return LocalDate.parse(date, formatter); - } - } - } - - public JSON setOffsetDateTimeFormat(DateTimeFormatter dateFormat) { - offsetDateTimeTypeAdapter.setFormat(dateFormat); - return this; - } - - public JSON setLocalDateFormat(DateTimeFormatter dateFormat) { - localDateTypeAdapter.setFormat(dateFormat); - return this; - } - - /** - * Gson TypeAdapter for java.sql.Date type - * If the dateFormat is null, a simple "yyyy-MM-dd" format will be used - * (more efficient than SimpleDateFormat). - */ - public static class SqlDateTypeAdapter extends TypeAdapter { - - private DateFormat dateFormat; - - public SqlDateTypeAdapter() {} - - public SqlDateTypeAdapter(DateFormat dateFormat) { - this.dateFormat = dateFormat; - } - - public void setFormat(DateFormat dateFormat) { - this.dateFormat = dateFormat; - } - - @Override - public void write(JsonWriter out, java.sql.Date date) throws IOException { - if (date == null) { - out.nullValue(); - } else { - String value; - if (dateFormat != null) { - value = dateFormat.format(date); - } else { - value = date.toString(); - } - out.value(value); - } - } - - @Override - public java.sql.Date read(JsonReader in) throws IOException { - switch (in.peek()) { - case NULL: - in.nextNull(); - return null; - default: - String date = in.nextString(); - try { - if (dateFormat != null) { - return new java.sql.Date(dateFormat.parse(date).getTime()); - } - return new java.sql.Date(ISO8601Utils.parse(date, new ParsePosition(0)).getTime()); - } catch (ParseException e) { - throw new JsonParseException(e); - } - } - } - } - - /** - * Gson TypeAdapter for java.util.Date type - * If the dateFormat is null, ISO8601Utils will be used. - */ - public static class DateTypeAdapter extends TypeAdapter { - - private DateFormat dateFormat; - - public DateTypeAdapter() {} - - public DateTypeAdapter(DateFormat dateFormat) { - this.dateFormat = dateFormat; - } - - public void setFormat(DateFormat dateFormat) { - this.dateFormat = dateFormat; - } - - @Override - public void write(JsonWriter out, Date date) throws IOException { - if (date == null) { - out.nullValue(); - } else { - String value; - if (dateFormat != null) { - value = dateFormat.format(date); - } else { - value = ISO8601Utils.format(date, true); - } - out.value(value); - } - } - - @Override - public Date read(JsonReader in) throws IOException { - try { - switch (in.peek()) { - case NULL: - in.nextNull(); - return null; - default: - String date = in.nextString(); - try { - if (dateFormat != null) { - return dateFormat.parse(date); - } - return ISO8601Utils.parse(date, new ParsePosition(0)); - } catch (ParseException e) { - throw new JsonParseException(e); - } - } - } catch (IllegalArgumentException e) { - throw new JsonParseException(e); - } - } - } - - public JSON setDateFormat(DateFormat dateFormat) { - dateTypeAdapter.setFormat(dateFormat); - return this; - } - - public JSON setSqlDateFormat(DateFormat dateFormat) { - sqlDateTypeAdapter.setFormat(dateFormat); - return this; - } - -} diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/MetadataApi.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/MetadataApi.java deleted file mode 100644 index 86315a5d54f..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/MetadataApi.java +++ /dev/null @@ -1,334 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api; - -import io.lakefs.clients.api.ApiCallback; -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.ApiResponse; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.Pair; -import io.lakefs.clients.api.ProgressRequestBody; -import io.lakefs.clients.api.ProgressResponseBody; - -import com.google.gson.reflect.TypeToken; - -import java.io.IOException; - - -import io.lakefs.clients.api.model.Error; -import io.lakefs.clients.api.model.StorageURI; - -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -public class MetadataApi { - private ApiClient localVarApiClient; - - public MetadataApi() { - this(Configuration.getDefaultApiClient()); - } - - public MetadataApi(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - public ApiClient getApiClient() { - return localVarApiClient; - } - - public void setApiClient(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - /** - * Build call for getMetaRange - * @param repository (required) - * @param metaRange (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 meta-range URI * Location - redirect to S3
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call getMetaRangeCall(String repository, String metaRange, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/repositories/{repository}/metadata/meta_range/{meta_range}" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())) - .replaceAll("\\{" + "meta_range" + "\\}", localVarApiClient.escapeString(metaRange.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getMetaRangeValidateBeforeCall(String repository, String metaRange, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling getMetaRange(Async)"); - } - - // verify the required parameter 'metaRange' is set - if (metaRange == null) { - throw new ApiException("Missing the required parameter 'metaRange' when calling getMetaRange(Async)"); - } - - - okhttp3.Call localVarCall = getMetaRangeCall(repository, metaRange, _callback); - return localVarCall; - - } - - /** - * return URI to a meta-range file - * - * @param repository (required) - * @param metaRange (required) - * @return StorageURI - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 meta-range URI * Location - redirect to S3
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public StorageURI getMetaRange(String repository, String metaRange) throws ApiException { - ApiResponse localVarResp = getMetaRangeWithHttpInfo(repository, metaRange); - return localVarResp.getData(); - } - - /** - * return URI to a meta-range file - * - * @param repository (required) - * @param metaRange (required) - * @return ApiResponse<StorageURI> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 meta-range URI * Location - redirect to S3
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse getMetaRangeWithHttpInfo(String repository, String metaRange) throws ApiException { - okhttp3.Call localVarCall = getMetaRangeValidateBeforeCall(repository, metaRange, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * return URI to a meta-range file (asynchronously) - * - * @param repository (required) - * @param metaRange (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 meta-range URI * Location - redirect to S3
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call getMetaRangeAsync(String repository, String metaRange, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getMetaRangeValidateBeforeCall(repository, metaRange, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getRange - * @param repository (required) - * @param range (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 range URI * Location - redirect to S3
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call getRangeCall(String repository, String range, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/repositories/{repository}/metadata/range/{range}" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())) - .replaceAll("\\{" + "range" + "\\}", localVarApiClient.escapeString(range.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getRangeValidateBeforeCall(String repository, String range, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling getRange(Async)"); - } - - // verify the required parameter 'range' is set - if (range == null) { - throw new ApiException("Missing the required parameter 'range' when calling getRange(Async)"); - } - - - okhttp3.Call localVarCall = getRangeCall(repository, range, _callback); - return localVarCall; - - } - - /** - * return URI to a range file - * - * @param repository (required) - * @param range (required) - * @return StorageURI - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 range URI * Location - redirect to S3
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public StorageURI getRange(String repository, String range) throws ApiException { - ApiResponse localVarResp = getRangeWithHttpInfo(repository, range); - return localVarResp.getData(); - } - - /** - * return URI to a range file - * - * @param repository (required) - * @param range (required) - * @return ApiResponse<StorageURI> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 range URI * Location - redirect to S3
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse getRangeWithHttpInfo(String repository, String range) throws ApiException { - okhttp3.Call localVarCall = getRangeValidateBeforeCall(repository, range, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * return URI to a range file (asynchronously) - * - * @param repository (required) - * @param range (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 range URI * Location - redirect to S3
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call getRangeAsync(String repository, String range, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getRangeValidateBeforeCall(repository, range, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } -} diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/ObjectsApi.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/ObjectsApi.java deleted file mode 100644 index c16b19878cc..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/ObjectsApi.java +++ /dev/null @@ -1,1780 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api; - -import io.lakefs.clients.api.ApiCallback; -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.ApiResponse; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.Pair; -import io.lakefs.clients.api.ProgressRequestBody; -import io.lakefs.clients.api.ProgressResponseBody; - -import com.google.gson.reflect.TypeToken; - -import java.io.IOException; - - -import io.lakefs.clients.api.model.Error; -import java.io.File; -import io.lakefs.clients.api.model.ObjectCopyCreation; -import io.lakefs.clients.api.model.ObjectErrorList; -import io.lakefs.clients.api.model.ObjectStats; -import io.lakefs.clients.api.model.ObjectStatsList; -import io.lakefs.clients.api.model.PathList; -import io.lakefs.clients.api.model.UnderlyingObjectProperties; -import io.lakefs.clients.api.model.UpdateObjectUserMetadata; - -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -public class ObjectsApi { - private ApiClient localVarApiClient; - - public ObjectsApi() { - this(Configuration.getDefaultApiClient()); - } - - public ObjectsApi(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - public ApiClient getApiClient() { - return localVarApiClient; - } - - public void setApiClient(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - /** - * Build call for copyObject - * @param repository (required) - * @param branch destination branch for the copy (required) - * @param destPath destination path relative to the branch (required) - * @param objectCopyCreation (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - - - -
Status Code Description Response Headers
201 Copy object response -
400 Validation Error -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call copyObjectCall(String repository, String branch, String destPath, ObjectCopyCreation objectCopyCreation, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = objectCopyCreation; - - // create path and map variables - String localVarPath = "/repositories/{repository}/branches/{branch}/objects/copy" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())) - .replaceAll("\\{" + "branch" + "\\}", localVarApiClient.escapeString(branch.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (destPath != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("dest_path", destPath)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call copyObjectValidateBeforeCall(String repository, String branch, String destPath, ObjectCopyCreation objectCopyCreation, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling copyObject(Async)"); - } - - // verify the required parameter 'branch' is set - if (branch == null) { - throw new ApiException("Missing the required parameter 'branch' when calling copyObject(Async)"); - } - - // verify the required parameter 'destPath' is set - if (destPath == null) { - throw new ApiException("Missing the required parameter 'destPath' when calling copyObject(Async)"); - } - - // verify the required parameter 'objectCopyCreation' is set - if (objectCopyCreation == null) { - throw new ApiException("Missing the required parameter 'objectCopyCreation' when calling copyObject(Async)"); - } - - - okhttp3.Call localVarCall = copyObjectCall(repository, branch, destPath, objectCopyCreation, _callback); - return localVarCall; - - } - - /** - * create a copy of an object - * - * @param repository (required) - * @param branch destination branch for the copy (required) - * @param destPath destination path relative to the branch (required) - * @param objectCopyCreation (required) - * @return ObjectStats - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - - -
Status Code Description Response Headers
201 Copy object response -
400 Validation Error -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ObjectStats copyObject(String repository, String branch, String destPath, ObjectCopyCreation objectCopyCreation) throws ApiException { - ApiResponse localVarResp = copyObjectWithHttpInfo(repository, branch, destPath, objectCopyCreation); - return localVarResp.getData(); - } - - /** - * create a copy of an object - * - * @param repository (required) - * @param branch destination branch for the copy (required) - * @param destPath destination path relative to the branch (required) - * @param objectCopyCreation (required) - * @return ApiResponse<ObjectStats> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - - -
Status Code Description Response Headers
201 Copy object response -
400 Validation Error -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse copyObjectWithHttpInfo(String repository, String branch, String destPath, ObjectCopyCreation objectCopyCreation) throws ApiException { - okhttp3.Call localVarCall = copyObjectValidateBeforeCall(repository, branch, destPath, objectCopyCreation, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * create a copy of an object (asynchronously) - * - * @param repository (required) - * @param branch destination branch for the copy (required) - * @param destPath destination path relative to the branch (required) - * @param objectCopyCreation (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - - - -
Status Code Description Response Headers
201 Copy object response -
400 Validation Error -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call copyObjectAsync(String repository, String branch, String destPath, ObjectCopyCreation objectCopyCreation, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = copyObjectValidateBeforeCall(repository, branch, destPath, objectCopyCreation, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for deleteObject - * @param repository (required) - * @param branch (required) - * @param path relative to the branch (required) - * @param force (optional, default to false) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
204 object deleted successfully -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call deleteObjectCall(String repository, String branch, String path, Boolean force, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/repositories/{repository}/branches/{branch}/objects" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())) - .replaceAll("\\{" + "branch" + "\\}", localVarApiClient.escapeString(branch.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (path != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("path", path)); - } - - if (force != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("force", force)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call deleteObjectValidateBeforeCall(String repository, String branch, String path, Boolean force, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling deleteObject(Async)"); - } - - // verify the required parameter 'branch' is set - if (branch == null) { - throw new ApiException("Missing the required parameter 'branch' when calling deleteObject(Async)"); - } - - // verify the required parameter 'path' is set - if (path == null) { - throw new ApiException("Missing the required parameter 'path' when calling deleteObject(Async)"); - } - - - okhttp3.Call localVarCall = deleteObjectCall(repository, branch, path, force, _callback); - return localVarCall; - - } - - /** - * delete object. Missing objects will not return a NotFound error. - * - * @param repository (required) - * @param branch (required) - * @param path relative to the branch (required) - * @param force (optional, default to false) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
204 object deleted successfully -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public void deleteObject(String repository, String branch, String path, Boolean force) throws ApiException { - deleteObjectWithHttpInfo(repository, branch, path, force); - } - - /** - * delete object. Missing objects will not return a NotFound error. - * - * @param repository (required) - * @param branch (required) - * @param path relative to the branch (required) - * @param force (optional, default to false) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
204 object deleted successfully -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse deleteObjectWithHttpInfo(String repository, String branch, String path, Boolean force) throws ApiException { - okhttp3.Call localVarCall = deleteObjectValidateBeforeCall(repository, branch, path, force, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * delete object. Missing objects will not return a NotFound error. (asynchronously) - * - * @param repository (required) - * @param branch (required) - * @param path relative to the branch (required) - * @param force (optional, default to false) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
204 object deleted successfully -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call deleteObjectAsync(String repository, String branch, String path, Boolean force, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = deleteObjectValidateBeforeCall(repository, branch, path, force, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for deleteObjects - * @param repository (required) - * @param branch (required) - * @param pathList (required) - * @param force (optional, default to false) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
200 Delete objects response -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call deleteObjectsCall(String repository, String branch, PathList pathList, Boolean force, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = pathList; - - // create path and map variables - String localVarPath = "/repositories/{repository}/branches/{branch}/objects/delete" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())) - .replaceAll("\\{" + "branch" + "\\}", localVarApiClient.escapeString(branch.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (force != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("force", force)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call deleteObjectsValidateBeforeCall(String repository, String branch, PathList pathList, Boolean force, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling deleteObjects(Async)"); - } - - // verify the required parameter 'branch' is set - if (branch == null) { - throw new ApiException("Missing the required parameter 'branch' when calling deleteObjects(Async)"); - } - - // verify the required parameter 'pathList' is set - if (pathList == null) { - throw new ApiException("Missing the required parameter 'pathList' when calling deleteObjects(Async)"); - } - - - okhttp3.Call localVarCall = deleteObjectsCall(repository, branch, pathList, force, _callback); - return localVarCall; - - } - - /** - * delete objects. Missing objects will not return a NotFound error. - * - * @param repository (required) - * @param branch (required) - * @param pathList (required) - * @param force (optional, default to false) - * @return ObjectErrorList - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
200 Delete objects response -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ObjectErrorList deleteObjects(String repository, String branch, PathList pathList, Boolean force) throws ApiException { - ApiResponse localVarResp = deleteObjectsWithHttpInfo(repository, branch, pathList, force); - return localVarResp.getData(); - } - - /** - * delete objects. Missing objects will not return a NotFound error. - * - * @param repository (required) - * @param branch (required) - * @param pathList (required) - * @param force (optional, default to false) - * @return ApiResponse<ObjectErrorList> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
200 Delete objects response -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse deleteObjectsWithHttpInfo(String repository, String branch, PathList pathList, Boolean force) throws ApiException { - okhttp3.Call localVarCall = deleteObjectsValidateBeforeCall(repository, branch, pathList, force, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * delete objects. Missing objects will not return a NotFound error. (asynchronously) - * - * @param repository (required) - * @param branch (required) - * @param pathList (required) - * @param force (optional, default to false) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
200 Delete objects response -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call deleteObjectsAsync(String repository, String branch, PathList pathList, Boolean force, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = deleteObjectsValidateBeforeCall(repository, branch, pathList, force, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getObject - * @param repository (required) - * @param ref a reference (could be either a branch or a commit ID) (required) - * @param path relative to the ref (required) - * @param range Byte range to retrieve (optional) - * @param ifNoneMatch Returns response only if the object does not have a matching ETag (optional) - * @param presign (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - - - - - - -
Status Code Description Response Headers
200 object content * Content-Length -
* Last-Modified -
* ETag -
206 partial object content * Content-Length -
* Content-Range -
* Last-Modified -
* ETag -
302 Redirect to a pre-signed URL for the object * Location - redirect to S3
304 Content not modified -
401 Unauthorized -
404 Resource Not Found -
410 object expired -
416 Requested Range Not Satisfiable -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call getObjectCall(String repository, String ref, String path, String range, String ifNoneMatch, Boolean presign, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/repositories/{repository}/refs/{ref}/objects" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())) - .replaceAll("\\{" + "ref" + "\\}", localVarApiClient.escapeString(ref.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (path != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("path", path)); - } - - if (presign != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("presign", presign)); - } - - if (range != null) { - localVarHeaderParams.put("Range", localVarApiClient.parameterToString(range)); - } - - if (ifNoneMatch != null) { - localVarHeaderParams.put("If-None-Match", localVarApiClient.parameterToString(ifNoneMatch)); - } - - final String[] localVarAccepts = { - "application/octet-stream", "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getObjectValidateBeforeCall(String repository, String ref, String path, String range, String ifNoneMatch, Boolean presign, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling getObject(Async)"); - } - - // verify the required parameter 'ref' is set - if (ref == null) { - throw new ApiException("Missing the required parameter 'ref' when calling getObject(Async)"); - } - - // verify the required parameter 'path' is set - if (path == null) { - throw new ApiException("Missing the required parameter 'path' when calling getObject(Async)"); - } - - - okhttp3.Call localVarCall = getObjectCall(repository, ref, path, range, ifNoneMatch, presign, _callback); - return localVarCall; - - } - - /** - * get object content - * - * @param repository (required) - * @param ref a reference (could be either a branch or a commit ID) (required) - * @param path relative to the ref (required) - * @param range Byte range to retrieve (optional) - * @param ifNoneMatch Returns response only if the object does not have a matching ETag (optional) - * @param presign (optional) - * @return File - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - - - - - -
Status Code Description Response Headers
200 object content * Content-Length -
* Last-Modified -
* ETag -
206 partial object content * Content-Length -
* Content-Range -
* Last-Modified -
* ETag -
302 Redirect to a pre-signed URL for the object * Location - redirect to S3
304 Content not modified -
401 Unauthorized -
404 Resource Not Found -
410 object expired -
416 Requested Range Not Satisfiable -
420 too many requests -
0 Internal Server Error -
- */ - public File getObject(String repository, String ref, String path, String range, String ifNoneMatch, Boolean presign) throws ApiException { - ApiResponse localVarResp = getObjectWithHttpInfo(repository, ref, path, range, ifNoneMatch, presign); - return localVarResp.getData(); - } - - /** - * get object content - * - * @param repository (required) - * @param ref a reference (could be either a branch or a commit ID) (required) - * @param path relative to the ref (required) - * @param range Byte range to retrieve (optional) - * @param ifNoneMatch Returns response only if the object does not have a matching ETag (optional) - * @param presign (optional) - * @return ApiResponse<File> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - - - - - -
Status Code Description Response Headers
200 object content * Content-Length -
* Last-Modified -
* ETag -
206 partial object content * Content-Length -
* Content-Range -
* Last-Modified -
* ETag -
302 Redirect to a pre-signed URL for the object * Location - redirect to S3
304 Content not modified -
401 Unauthorized -
404 Resource Not Found -
410 object expired -
416 Requested Range Not Satisfiable -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse getObjectWithHttpInfo(String repository, String ref, String path, String range, String ifNoneMatch, Boolean presign) throws ApiException { - okhttp3.Call localVarCall = getObjectValidateBeforeCall(repository, ref, path, range, ifNoneMatch, presign, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * get object content (asynchronously) - * - * @param repository (required) - * @param ref a reference (could be either a branch or a commit ID) (required) - * @param path relative to the ref (required) - * @param range Byte range to retrieve (optional) - * @param ifNoneMatch Returns response only if the object does not have a matching ETag (optional) - * @param presign (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - - - - - - -
Status Code Description Response Headers
200 object content * Content-Length -
* Last-Modified -
* ETag -
206 partial object content * Content-Length -
* Content-Range -
* Last-Modified -
* ETag -
302 Redirect to a pre-signed URL for the object * Location - redirect to S3
304 Content not modified -
401 Unauthorized -
404 Resource Not Found -
410 object expired -
416 Requested Range Not Satisfiable -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call getObjectAsync(String repository, String ref, String path, String range, String ifNoneMatch, Boolean presign, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getObjectValidateBeforeCall(repository, ref, path, range, ifNoneMatch, presign, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getUnderlyingProperties - * @param repository (required) - * @param ref a reference (could be either a branch or a commit ID) (required) - * @param path relative to the branch (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 object metadata on underlying storage -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call getUnderlyingPropertiesCall(String repository, String ref, String path, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/repositories/{repository}/refs/{ref}/objects/underlyingProperties" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())) - .replaceAll("\\{" + "ref" + "\\}", localVarApiClient.escapeString(ref.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (path != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("path", path)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getUnderlyingPropertiesValidateBeforeCall(String repository, String ref, String path, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling getUnderlyingProperties(Async)"); - } - - // verify the required parameter 'ref' is set - if (ref == null) { - throw new ApiException("Missing the required parameter 'ref' when calling getUnderlyingProperties(Async)"); - } - - // verify the required parameter 'path' is set - if (path == null) { - throw new ApiException("Missing the required parameter 'path' when calling getUnderlyingProperties(Async)"); - } - - - okhttp3.Call localVarCall = getUnderlyingPropertiesCall(repository, ref, path, _callback); - return localVarCall; - - } - - /** - * get object properties on underlying storage - * - * @param repository (required) - * @param ref a reference (could be either a branch or a commit ID) (required) - * @param path relative to the branch (required) - * @return UnderlyingObjectProperties - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 object metadata on underlying storage -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public UnderlyingObjectProperties getUnderlyingProperties(String repository, String ref, String path) throws ApiException { - ApiResponse localVarResp = getUnderlyingPropertiesWithHttpInfo(repository, ref, path); - return localVarResp.getData(); - } - - /** - * get object properties on underlying storage - * - * @param repository (required) - * @param ref a reference (could be either a branch or a commit ID) (required) - * @param path relative to the branch (required) - * @return ApiResponse<UnderlyingObjectProperties> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 object metadata on underlying storage -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse getUnderlyingPropertiesWithHttpInfo(String repository, String ref, String path) throws ApiException { - okhttp3.Call localVarCall = getUnderlyingPropertiesValidateBeforeCall(repository, ref, path, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * get object properties on underlying storage (asynchronously) - * - * @param repository (required) - * @param ref a reference (could be either a branch or a commit ID) (required) - * @param path relative to the branch (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 object metadata on underlying storage -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call getUnderlyingPropertiesAsync(String repository, String ref, String path, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getUnderlyingPropertiesValidateBeforeCall(repository, ref, path, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for headObject - * @param repository (required) - * @param ref a reference (could be either a branch or a commit ID) (required) - * @param path relative to the ref (required) - * @param range Byte range to retrieve (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - - - - -
Status Code Description Response Headers
200 object exists * Content-Length -
* Last-Modified -
* ETag -
206 partial object content info * Content-Length -
* Content-Range -
* Last-Modified -
* ETag -
401 Unauthorized -
404 object not found -
410 object expired -
416 Requested Range Not Satisfiable -
420 too many requests -
0 internal server error -
- */ - public okhttp3.Call headObjectCall(String repository, String ref, String path, String range, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/repositories/{repository}/refs/{ref}/objects" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())) - .replaceAll("\\{" + "ref" + "\\}", localVarApiClient.escapeString(ref.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (path != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("path", path)); - } - - if (range != null) { - localVarHeaderParams.put("Range", localVarApiClient.parameterToString(range)); - } - - final String[] localVarAccepts = { - - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "HEAD", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call headObjectValidateBeforeCall(String repository, String ref, String path, String range, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling headObject(Async)"); - } - - // verify the required parameter 'ref' is set - if (ref == null) { - throw new ApiException("Missing the required parameter 'ref' when calling headObject(Async)"); - } - - // verify the required parameter 'path' is set - if (path == null) { - throw new ApiException("Missing the required parameter 'path' when calling headObject(Async)"); - } - - - okhttp3.Call localVarCall = headObjectCall(repository, ref, path, range, _callback); - return localVarCall; - - } - - /** - * check if object exists - * - * @param repository (required) - * @param ref a reference (could be either a branch or a commit ID) (required) - * @param path relative to the ref (required) - * @param range Byte range to retrieve (optional) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - - - -
Status Code Description Response Headers
200 object exists * Content-Length -
* Last-Modified -
* ETag -
206 partial object content info * Content-Length -
* Content-Range -
* Last-Modified -
* ETag -
401 Unauthorized -
404 object not found -
410 object expired -
416 Requested Range Not Satisfiable -
420 too many requests -
0 internal server error -
- */ - public void headObject(String repository, String ref, String path, String range) throws ApiException { - headObjectWithHttpInfo(repository, ref, path, range); - } - - /** - * check if object exists - * - * @param repository (required) - * @param ref a reference (could be either a branch or a commit ID) (required) - * @param path relative to the ref (required) - * @param range Byte range to retrieve (optional) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - - - -
Status Code Description Response Headers
200 object exists * Content-Length -
* Last-Modified -
* ETag -
206 partial object content info * Content-Length -
* Content-Range -
* Last-Modified -
* ETag -
401 Unauthorized -
404 object not found -
410 object expired -
416 Requested Range Not Satisfiable -
420 too many requests -
0 internal server error -
- */ - public ApiResponse headObjectWithHttpInfo(String repository, String ref, String path, String range) throws ApiException { - okhttp3.Call localVarCall = headObjectValidateBeforeCall(repository, ref, path, range, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * check if object exists (asynchronously) - * - * @param repository (required) - * @param ref a reference (could be either a branch or a commit ID) (required) - * @param path relative to the ref (required) - * @param range Byte range to retrieve (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - - - - -
Status Code Description Response Headers
200 object exists * Content-Length -
* Last-Modified -
* ETag -
206 partial object content info * Content-Length -
* Content-Range -
* Last-Modified -
* ETag -
401 Unauthorized -
404 object not found -
410 object expired -
416 Requested Range Not Satisfiable -
420 too many requests -
0 internal server error -
- */ - public okhttp3.Call headObjectAsync(String repository, String ref, String path, String range, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = headObjectValidateBeforeCall(repository, ref, path, range, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for listObjects - * @param repository (required) - * @param ref a reference (could be either a branch or a commit ID) (required) - * @param userMetadata (optional, default to true) - * @param presign (optional) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @param delimiter delimiter used to group common prefixes by (optional) - * @param prefix return items prefixed with this value (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 object listing -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call listObjectsCall(String repository, String ref, Boolean userMetadata, Boolean presign, String after, Integer amount, String delimiter, String prefix, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/repositories/{repository}/refs/{ref}/objects/ls" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())) - .replaceAll("\\{" + "ref" + "\\}", localVarApiClient.escapeString(ref.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (userMetadata != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("user_metadata", userMetadata)); - } - - if (presign != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("presign", presign)); - } - - if (after != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("after", after)); - } - - if (amount != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("amount", amount)); - } - - if (delimiter != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("delimiter", delimiter)); - } - - if (prefix != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("prefix", prefix)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call listObjectsValidateBeforeCall(String repository, String ref, Boolean userMetadata, Boolean presign, String after, Integer amount, String delimiter, String prefix, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling listObjects(Async)"); - } - - // verify the required parameter 'ref' is set - if (ref == null) { - throw new ApiException("Missing the required parameter 'ref' when calling listObjects(Async)"); - } - - - okhttp3.Call localVarCall = listObjectsCall(repository, ref, userMetadata, presign, after, amount, delimiter, prefix, _callback); - return localVarCall; - - } - - /** - * list objects under a given prefix - * - * @param repository (required) - * @param ref a reference (could be either a branch or a commit ID) (required) - * @param userMetadata (optional, default to true) - * @param presign (optional) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @param delimiter delimiter used to group common prefixes by (optional) - * @param prefix return items prefixed with this value (optional) - * @return ObjectStatsList - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 object listing -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ObjectStatsList listObjects(String repository, String ref, Boolean userMetadata, Boolean presign, String after, Integer amount, String delimiter, String prefix) throws ApiException { - ApiResponse localVarResp = listObjectsWithHttpInfo(repository, ref, userMetadata, presign, after, amount, delimiter, prefix); - return localVarResp.getData(); - } - - /** - * list objects under a given prefix - * - * @param repository (required) - * @param ref a reference (could be either a branch or a commit ID) (required) - * @param userMetadata (optional, default to true) - * @param presign (optional) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @param delimiter delimiter used to group common prefixes by (optional) - * @param prefix return items prefixed with this value (optional) - * @return ApiResponse<ObjectStatsList> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 object listing -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse listObjectsWithHttpInfo(String repository, String ref, Boolean userMetadata, Boolean presign, String after, Integer amount, String delimiter, String prefix) throws ApiException { - okhttp3.Call localVarCall = listObjectsValidateBeforeCall(repository, ref, userMetadata, presign, after, amount, delimiter, prefix, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * list objects under a given prefix (asynchronously) - * - * @param repository (required) - * @param ref a reference (could be either a branch or a commit ID) (required) - * @param userMetadata (optional, default to true) - * @param presign (optional) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @param delimiter delimiter used to group common prefixes by (optional) - * @param prefix return items prefixed with this value (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 object listing -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call listObjectsAsync(String repository, String ref, Boolean userMetadata, Boolean presign, String after, Integer amount, String delimiter, String prefix, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = listObjectsValidateBeforeCall(repository, ref, userMetadata, presign, after, amount, delimiter, prefix, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for statObject - * @param repository (required) - * @param ref a reference (could be either a branch or a commit ID) (required) - * @param path relative to the branch (required) - * @param userMetadata (optional, default to true) - * @param presign (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - - - -
Status Code Description Response Headers
200 object metadata -
401 Unauthorized -
404 Resource Not Found -
400 Bad Request -
410 object gone (but partial metadata may be available) -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call statObjectCall(String repository, String ref, String path, Boolean userMetadata, Boolean presign, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/repositories/{repository}/refs/{ref}/objects/stat" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())) - .replaceAll("\\{" + "ref" + "\\}", localVarApiClient.escapeString(ref.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (path != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("path", path)); - } - - if (userMetadata != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("user_metadata", userMetadata)); - } - - if (presign != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("presign", presign)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call statObjectValidateBeforeCall(String repository, String ref, String path, Boolean userMetadata, Boolean presign, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling statObject(Async)"); - } - - // verify the required parameter 'ref' is set - if (ref == null) { - throw new ApiException("Missing the required parameter 'ref' when calling statObject(Async)"); - } - - // verify the required parameter 'path' is set - if (path == null) { - throw new ApiException("Missing the required parameter 'path' when calling statObject(Async)"); - } - - - okhttp3.Call localVarCall = statObjectCall(repository, ref, path, userMetadata, presign, _callback); - return localVarCall; - - } - - /** - * get object metadata - * - * @param repository (required) - * @param ref a reference (could be either a branch or a commit ID) (required) - * @param path relative to the branch (required) - * @param userMetadata (optional, default to true) - * @param presign (optional) - * @return ObjectStats - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - - -
Status Code Description Response Headers
200 object metadata -
401 Unauthorized -
404 Resource Not Found -
400 Bad Request -
410 object gone (but partial metadata may be available) -
420 too many requests -
0 Internal Server Error -
- */ - public ObjectStats statObject(String repository, String ref, String path, Boolean userMetadata, Boolean presign) throws ApiException { - ApiResponse localVarResp = statObjectWithHttpInfo(repository, ref, path, userMetadata, presign); - return localVarResp.getData(); - } - - /** - * get object metadata - * - * @param repository (required) - * @param ref a reference (could be either a branch or a commit ID) (required) - * @param path relative to the branch (required) - * @param userMetadata (optional, default to true) - * @param presign (optional) - * @return ApiResponse<ObjectStats> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - - -
Status Code Description Response Headers
200 object metadata -
401 Unauthorized -
404 Resource Not Found -
400 Bad Request -
410 object gone (but partial metadata may be available) -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse statObjectWithHttpInfo(String repository, String ref, String path, Boolean userMetadata, Boolean presign) throws ApiException { - okhttp3.Call localVarCall = statObjectValidateBeforeCall(repository, ref, path, userMetadata, presign, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * get object metadata (asynchronously) - * - * @param repository (required) - * @param ref a reference (could be either a branch or a commit ID) (required) - * @param path relative to the branch (required) - * @param userMetadata (optional, default to true) - * @param presign (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - - - -
Status Code Description Response Headers
200 object metadata -
401 Unauthorized -
404 Resource Not Found -
400 Bad Request -
410 object gone (but partial metadata may be available) -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call statObjectAsync(String repository, String ref, String path, Boolean userMetadata, Boolean presign, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = statObjectValidateBeforeCall(repository, ref, path, userMetadata, presign, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for updateObjectUserMetadata - * @param repository (required) - * @param branch branch to update (required) - * @param path path to object relative to the branch (required) - * @param updateObjectUserMetadata (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
201 User metadata updated -
401 Unauthorized -
404 Resource Not Found -
400 Bad Request -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call updateObjectUserMetadataCall(String repository, String branch, String path, UpdateObjectUserMetadata updateObjectUserMetadata, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = updateObjectUserMetadata; - - // create path and map variables - String localVarPath = "/repositories/{repository}/branches/{branch}/objects/stat/user_metadata" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())) - .replaceAll("\\{" + "branch" + "\\}", localVarApiClient.escapeString(branch.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (path != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("path", path)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call updateObjectUserMetadataValidateBeforeCall(String repository, String branch, String path, UpdateObjectUserMetadata updateObjectUserMetadata, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling updateObjectUserMetadata(Async)"); - } - - // verify the required parameter 'branch' is set - if (branch == null) { - throw new ApiException("Missing the required parameter 'branch' when calling updateObjectUserMetadata(Async)"); - } - - // verify the required parameter 'path' is set - if (path == null) { - throw new ApiException("Missing the required parameter 'path' when calling updateObjectUserMetadata(Async)"); - } - - // verify the required parameter 'updateObjectUserMetadata' is set - if (updateObjectUserMetadata == null) { - throw new ApiException("Missing the required parameter 'updateObjectUserMetadata' when calling updateObjectUserMetadata(Async)"); - } - - - okhttp3.Call localVarCall = updateObjectUserMetadataCall(repository, branch, path, updateObjectUserMetadata, _callback); - return localVarCall; - - } - - /** - * rewrite (all) object metadata - * - * @param repository (required) - * @param branch branch to update (required) - * @param path path to object relative to the branch (required) - * @param updateObjectUserMetadata (required) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
201 User metadata updated -
401 Unauthorized -
404 Resource Not Found -
400 Bad Request -
420 too many requests -
0 Internal Server Error -
- */ - public void updateObjectUserMetadata(String repository, String branch, String path, UpdateObjectUserMetadata updateObjectUserMetadata) throws ApiException { - updateObjectUserMetadataWithHttpInfo(repository, branch, path, updateObjectUserMetadata); - } - - /** - * rewrite (all) object metadata - * - * @param repository (required) - * @param branch branch to update (required) - * @param path path to object relative to the branch (required) - * @param updateObjectUserMetadata (required) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
201 User metadata updated -
401 Unauthorized -
404 Resource Not Found -
400 Bad Request -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse updateObjectUserMetadataWithHttpInfo(String repository, String branch, String path, UpdateObjectUserMetadata updateObjectUserMetadata) throws ApiException { - okhttp3.Call localVarCall = updateObjectUserMetadataValidateBeforeCall(repository, branch, path, updateObjectUserMetadata, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * rewrite (all) object metadata (asynchronously) - * - * @param repository (required) - * @param branch branch to update (required) - * @param path path to object relative to the branch (required) - * @param updateObjectUserMetadata (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
201 User metadata updated -
401 Unauthorized -
404 Resource Not Found -
400 Bad Request -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call updateObjectUserMetadataAsync(String repository, String branch, String path, UpdateObjectUserMetadata updateObjectUserMetadata, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = updateObjectUserMetadataValidateBeforeCall(repository, branch, path, updateObjectUserMetadata, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for uploadObject - * @param repository (required) - * @param branch (required) - * @param path relative to the branch (required) - * @param ifNoneMatch Set to \"*\" to atomically allow the upload only if the key has no object yet. Other values are not supported. (optional) - * @param storageClass Deprecated, this capability will not be supported in future releases. (optional) - * @param force (optional, default to false) - * @param content Only a single file per upload which must be named \\\"content\\\". (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - - - - -
Status Code Description Response Headers
201 object metadata -
400 Validation Error -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
412 Precondition Failed -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call uploadObjectCall(String repository, String branch, String path, String ifNoneMatch, String storageClass, Boolean force, File content, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/repositories/{repository}/branches/{branch}/objects" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())) - .replaceAll("\\{" + "branch" + "\\}", localVarApiClient.escapeString(branch.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (content != null) { - localVarFormParams.put("content", content); - } - - if (path != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("path", path)); - } - - if (storageClass != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("storageClass", storageClass)); - } - - if (force != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("force", force)); - } - - if (ifNoneMatch != null) { - localVarHeaderParams.put("If-None-Match", localVarApiClient.parameterToString(ifNoneMatch)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "multipart/form-data", "application/octet-stream" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call uploadObjectValidateBeforeCall(String repository, String branch, String path, String ifNoneMatch, String storageClass, Boolean force, File content, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling uploadObject(Async)"); - } - - // verify the required parameter 'branch' is set - if (branch == null) { - throw new ApiException("Missing the required parameter 'branch' when calling uploadObject(Async)"); - } - - // verify the required parameter 'path' is set - if (path == null) { - throw new ApiException("Missing the required parameter 'path' when calling uploadObject(Async)"); - } - - - okhttp3.Call localVarCall = uploadObjectCall(repository, branch, path, ifNoneMatch, storageClass, force, content, _callback); - return localVarCall; - - } - - /** - * - * - * @param repository (required) - * @param branch (required) - * @param path relative to the branch (required) - * @param ifNoneMatch Set to \"*\" to atomically allow the upload only if the key has no object yet. Other values are not supported. (optional) - * @param storageClass Deprecated, this capability will not be supported in future releases. (optional) - * @param force (optional, default to false) - * @param content Only a single file per upload which must be named \\\"content\\\". (optional) - * @return ObjectStats - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - - - -
Status Code Description Response Headers
201 object metadata -
400 Validation Error -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
412 Precondition Failed -
420 too many requests -
0 Internal Server Error -
- */ - public ObjectStats uploadObject(String repository, String branch, String path, String ifNoneMatch, String storageClass, Boolean force, File content) throws ApiException { - ApiResponse localVarResp = uploadObjectWithHttpInfo(repository, branch, path, ifNoneMatch, storageClass, force, content); - return localVarResp.getData(); - } - - /** - * - * - * @param repository (required) - * @param branch (required) - * @param path relative to the branch (required) - * @param ifNoneMatch Set to \"*\" to atomically allow the upload only if the key has no object yet. Other values are not supported. (optional) - * @param storageClass Deprecated, this capability will not be supported in future releases. (optional) - * @param force (optional, default to false) - * @param content Only a single file per upload which must be named \\\"content\\\". (optional) - * @return ApiResponse<ObjectStats> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - - - -
Status Code Description Response Headers
201 object metadata -
400 Validation Error -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
412 Precondition Failed -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse uploadObjectWithHttpInfo(String repository, String branch, String path, String ifNoneMatch, String storageClass, Boolean force, File content) throws ApiException { - okhttp3.Call localVarCall = uploadObjectValidateBeforeCall(repository, branch, path, ifNoneMatch, storageClass, force, content, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * (asynchronously) - * - * @param repository (required) - * @param branch (required) - * @param path relative to the branch (required) - * @param ifNoneMatch Set to \"*\" to atomically allow the upload only if the key has no object yet. Other values are not supported. (optional) - * @param storageClass Deprecated, this capability will not be supported in future releases. (optional) - * @param force (optional, default to false) - * @param content Only a single file per upload which must be named \\\"content\\\". (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - - - - -
Status Code Description Response Headers
201 object metadata -
400 Validation Error -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
412 Precondition Failed -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call uploadObjectAsync(String repository, String branch, String path, String ifNoneMatch, String storageClass, Boolean force, File content, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = uploadObjectValidateBeforeCall(repository, branch, path, ifNoneMatch, storageClass, force, content, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } -} diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/Pair.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/Pair.java deleted file mode 100644 index 2f3b47d02c8..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/Pair.java +++ /dev/null @@ -1,61 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api; - -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class Pair { - private String name = ""; - private String value = ""; - - public Pair (String name, String value) { - setName(name); - setValue(value); - } - - private void setName(String name) { - if (!isValidString(name)) { - return; - } - - this.name = name; - } - - private void setValue(String value) { - if (!isValidString(value)) { - return; - } - - this.value = value; - } - - public String getName() { - return this.name; - } - - public String getValue() { - return this.value; - } - - private boolean isValidString(String arg) { - if (arg == null) { - return false; - } - - if (arg.trim().isEmpty()) { - return false; - } - - return true; - } -} diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/ProgressRequestBody.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/ProgressRequestBody.java deleted file mode 100644 index 44b716efd0e..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/ProgressRequestBody.java +++ /dev/null @@ -1,73 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api; - -import okhttp3.MediaType; -import okhttp3.RequestBody; - -import java.io.IOException; - -import okio.Buffer; -import okio.BufferedSink; -import okio.ForwardingSink; -import okio.Okio; -import okio.Sink; - -public class ProgressRequestBody extends RequestBody { - - private final RequestBody requestBody; - - private final ApiCallback callback; - - public ProgressRequestBody(RequestBody requestBody, ApiCallback callback) { - this.requestBody = requestBody; - this.callback = callback; - } - - @Override - public MediaType contentType() { - return requestBody.contentType(); - } - - @Override - public long contentLength() throws IOException { - return requestBody.contentLength(); - } - - @Override - public void writeTo(BufferedSink sink) throws IOException { - BufferedSink bufferedSink = Okio.buffer(sink(sink)); - requestBody.writeTo(bufferedSink); - bufferedSink.flush(); - } - - private Sink sink(Sink sink) { - return new ForwardingSink(sink) { - - long bytesWritten = 0L; - long contentLength = 0L; - - @Override - public void write(Buffer source, long byteCount) throws IOException { - super.write(source, byteCount); - if (contentLength == 0) { - contentLength = contentLength(); - } - - bytesWritten += byteCount; - callback.onUploadProgress(bytesWritten, contentLength, bytesWritten == contentLength); - } - }; - } -} diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/ProgressResponseBody.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/ProgressResponseBody.java deleted file mode 100644 index a04c26dd3b8..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/ProgressResponseBody.java +++ /dev/null @@ -1,70 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api; - -import okhttp3.MediaType; -import okhttp3.ResponseBody; - -import java.io.IOException; - -import okio.Buffer; -import okio.BufferedSource; -import okio.ForwardingSource; -import okio.Okio; -import okio.Source; - -public class ProgressResponseBody extends ResponseBody { - - private final ResponseBody responseBody; - private final ApiCallback callback; - private BufferedSource bufferedSource; - - public ProgressResponseBody(ResponseBody responseBody, ApiCallback callback) { - this.responseBody = responseBody; - this.callback = callback; - } - - @Override - public MediaType contentType() { - return responseBody.contentType(); - } - - @Override - public long contentLength() { - return responseBody.contentLength(); - } - - @Override - public BufferedSource source() { - if (bufferedSource == null) { - bufferedSource = Okio.buffer(source(responseBody.source())); - } - return bufferedSource; - } - - private Source source(Source source) { - return new ForwardingSource(source) { - long totalBytesRead = 0L; - - @Override - public long read(Buffer sink, long byteCount) throws IOException { - long bytesRead = super.read(sink, byteCount); - // read() returns the number of bytes read, or -1 if this source is exhausted. - totalBytesRead += bytesRead != -1 ? bytesRead : 0; - callback.onDownloadProgress(totalBytesRead, responseBody.contentLength(), bytesRead == -1); - return bytesRead; - } - }; - } -} diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/PullsApi.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/PullsApi.java deleted file mode 100644 index 65abe3b3e27..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/PullsApi.java +++ /dev/null @@ -1,819 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api; - -import io.lakefs.clients.api.ApiCallback; -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.ApiResponse; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.Pair; -import io.lakefs.clients.api.ProgressRequestBody; -import io.lakefs.clients.api.ProgressResponseBody; - -import com.google.gson.reflect.TypeToken; - -import java.io.IOException; - - -import io.lakefs.clients.api.model.Error; -import io.lakefs.clients.api.model.MergeResult; -import io.lakefs.clients.api.model.PullRequest; -import io.lakefs.clients.api.model.PullRequestBasic; -import io.lakefs.clients.api.model.PullRequestCreation; -import io.lakefs.clients.api.model.PullRequestCreationResponse; -import io.lakefs.clients.api.model.PullRequestsList; - -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -public class PullsApi { - private ApiClient localVarApiClient; - - public PullsApi() { - this(Configuration.getDefaultApiClient()); - } - - public PullsApi(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - public ApiClient getApiClient() { - return localVarApiClient; - } - - public void setApiClient(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - /** - * Build call for createPullRequest - * @param repository (required) - * @param pullRequestCreation (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - - - - -
Status Code Description Response Headers
201 pull request created -
400 Validation Error -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
409 Resource Conflicts With Target -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call createPullRequestCall(String repository, PullRequestCreation pullRequestCreation, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = pullRequestCreation; - - // create path and map variables - String localVarPath = "/repositories/{repository}/pulls" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call createPullRequestValidateBeforeCall(String repository, PullRequestCreation pullRequestCreation, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling createPullRequest(Async)"); - } - - // verify the required parameter 'pullRequestCreation' is set - if (pullRequestCreation == null) { - throw new ApiException("Missing the required parameter 'pullRequestCreation' when calling createPullRequest(Async)"); - } - - - okhttp3.Call localVarCall = createPullRequestCall(repository, pullRequestCreation, _callback); - return localVarCall; - - } - - /** - * create pull request - * - * @param repository (required) - * @param pullRequestCreation (required) - * @return PullRequestCreationResponse - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - - - -
Status Code Description Response Headers
201 pull request created -
400 Validation Error -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
409 Resource Conflicts With Target -
420 too many requests -
0 Internal Server Error -
- */ - public PullRequestCreationResponse createPullRequest(String repository, PullRequestCreation pullRequestCreation) throws ApiException { - ApiResponse localVarResp = createPullRequestWithHttpInfo(repository, pullRequestCreation); - return localVarResp.getData(); - } - - /** - * create pull request - * - * @param repository (required) - * @param pullRequestCreation (required) - * @return ApiResponse<PullRequestCreationResponse> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - - - -
Status Code Description Response Headers
201 pull request created -
400 Validation Error -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
409 Resource Conflicts With Target -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse createPullRequestWithHttpInfo(String repository, PullRequestCreation pullRequestCreation) throws ApiException { - okhttp3.Call localVarCall = createPullRequestValidateBeforeCall(repository, pullRequestCreation, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * create pull request (asynchronously) - * - * @param repository (required) - * @param pullRequestCreation (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - - - - -
Status Code Description Response Headers
201 pull request created -
400 Validation Error -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
409 Resource Conflicts With Target -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call createPullRequestAsync(String repository, PullRequestCreation pullRequestCreation, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = createPullRequestValidateBeforeCall(repository, pullRequestCreation, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getPullRequest - * @param repository (required) - * @param pullRequest pull request id (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
200 pull request -
400 Validation Error -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call getPullRequestCall(String repository, String pullRequest, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/repositories/{repository}/pulls/{pull_request}" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())) - .replaceAll("\\{" + "pull_request" + "\\}", localVarApiClient.escapeString(pullRequest.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getPullRequestValidateBeforeCall(String repository, String pullRequest, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling getPullRequest(Async)"); - } - - // verify the required parameter 'pullRequest' is set - if (pullRequest == null) { - throw new ApiException("Missing the required parameter 'pullRequest' when calling getPullRequest(Async)"); - } - - - okhttp3.Call localVarCall = getPullRequestCall(repository, pullRequest, _callback); - return localVarCall; - - } - - /** - * get pull request - * - * @param repository (required) - * @param pullRequest pull request id (required) - * @return PullRequest - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
200 pull request -
400 Validation Error -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public PullRequest getPullRequest(String repository, String pullRequest) throws ApiException { - ApiResponse localVarResp = getPullRequestWithHttpInfo(repository, pullRequest); - return localVarResp.getData(); - } - - /** - * get pull request - * - * @param repository (required) - * @param pullRequest pull request id (required) - * @return ApiResponse<PullRequest> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
200 pull request -
400 Validation Error -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse getPullRequestWithHttpInfo(String repository, String pullRequest) throws ApiException { - okhttp3.Call localVarCall = getPullRequestValidateBeforeCall(repository, pullRequest, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * get pull request (asynchronously) - * - * @param repository (required) - * @param pullRequest pull request id (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
200 pull request -
400 Validation Error -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call getPullRequestAsync(String repository, String pullRequest, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getPullRequestValidateBeforeCall(repository, pullRequest, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for listPullRequests - * @param repository (required) - * @param prefix return items prefixed with this value (optional) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @param status (optional, default to all) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 list of pull requests -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call listPullRequestsCall(String repository, String prefix, String after, Integer amount, String status, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/repositories/{repository}/pulls" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (prefix != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("prefix", prefix)); - } - - if (after != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("after", after)); - } - - if (amount != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("amount", amount)); - } - - if (status != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("status", status)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call listPullRequestsValidateBeforeCall(String repository, String prefix, String after, Integer amount, String status, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling listPullRequests(Async)"); - } - - - okhttp3.Call localVarCall = listPullRequestsCall(repository, prefix, after, amount, status, _callback); - return localVarCall; - - } - - /** - * list pull requests - * - * @param repository (required) - * @param prefix return items prefixed with this value (optional) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @param status (optional, default to all) - * @return PullRequestsList - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 list of pull requests -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public PullRequestsList listPullRequests(String repository, String prefix, String after, Integer amount, String status) throws ApiException { - ApiResponse localVarResp = listPullRequestsWithHttpInfo(repository, prefix, after, amount, status); - return localVarResp.getData(); - } - - /** - * list pull requests - * - * @param repository (required) - * @param prefix return items prefixed with this value (optional) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @param status (optional, default to all) - * @return ApiResponse<PullRequestsList> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 list of pull requests -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse listPullRequestsWithHttpInfo(String repository, String prefix, String after, Integer amount, String status) throws ApiException { - okhttp3.Call localVarCall = listPullRequestsValidateBeforeCall(repository, prefix, after, amount, status, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * list pull requests (asynchronously) - * - * @param repository (required) - * @param prefix return items prefixed with this value (optional) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @param status (optional, default to all) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 list of pull requests -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call listPullRequestsAsync(String repository, String prefix, String after, Integer amount, String status, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = listPullRequestsValidateBeforeCall(repository, prefix, after, amount, status, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for mergePullRequest - * @param repository (required) - * @param pullRequest pull request id (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - - - - - -
Status Code Description Response Headers
200 merge completed -
400 Validation Error -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
409 Conflict Deprecated: content schema will return Error format and not an empty MergeResult -
412 precondition failed (e.g. a pre-merge hook returned a failure) -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call mergePullRequestCall(String repository, String pullRequest, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/repositories/{repository}/pulls/{pull_request}/merge" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())) - .replaceAll("\\{" + "pull_request" + "\\}", localVarApiClient.escapeString(pullRequest.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call mergePullRequestValidateBeforeCall(String repository, String pullRequest, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling mergePullRequest(Async)"); - } - - // verify the required parameter 'pullRequest' is set - if (pullRequest == null) { - throw new ApiException("Missing the required parameter 'pullRequest' when calling mergePullRequest(Async)"); - } - - - okhttp3.Call localVarCall = mergePullRequestCall(repository, pullRequest, _callback); - return localVarCall; - - } - - /** - * merge pull request - * - * @param repository (required) - * @param pullRequest pull request id (required) - * @return MergeResult - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - - - - -
Status Code Description Response Headers
200 merge completed -
400 Validation Error -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
409 Conflict Deprecated: content schema will return Error format and not an empty MergeResult -
412 precondition failed (e.g. a pre-merge hook returned a failure) -
420 too many requests -
0 Internal Server Error -
- */ - public MergeResult mergePullRequest(String repository, String pullRequest) throws ApiException { - ApiResponse localVarResp = mergePullRequestWithHttpInfo(repository, pullRequest); - return localVarResp.getData(); - } - - /** - * merge pull request - * - * @param repository (required) - * @param pullRequest pull request id (required) - * @return ApiResponse<MergeResult> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - - - - -
Status Code Description Response Headers
200 merge completed -
400 Validation Error -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
409 Conflict Deprecated: content schema will return Error format and not an empty MergeResult -
412 precondition failed (e.g. a pre-merge hook returned a failure) -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse mergePullRequestWithHttpInfo(String repository, String pullRequest) throws ApiException { - okhttp3.Call localVarCall = mergePullRequestValidateBeforeCall(repository, pullRequest, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * merge pull request (asynchronously) - * - * @param repository (required) - * @param pullRequest pull request id (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - - - - - -
Status Code Description Response Headers
200 merge completed -
400 Validation Error -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
409 Conflict Deprecated: content schema will return Error format and not an empty MergeResult -
412 precondition failed (e.g. a pre-merge hook returned a failure) -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call mergePullRequestAsync(String repository, String pullRequest, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = mergePullRequestValidateBeforeCall(repository, pullRequest, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for updatePullRequest - * @param repository (required) - * @param pullRequest pull request id (required) - * @param pullRequestBasic (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - - - -
Status Code Description Response Headers
200 pull request updated successfully -
400 Validation Error -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call updatePullRequestCall(String repository, String pullRequest, PullRequestBasic pullRequestBasic, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = pullRequestBasic; - - // create path and map variables - String localVarPath = "/repositories/{repository}/pulls/{pull_request}" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())) - .replaceAll("\\{" + "pull_request" + "\\}", localVarApiClient.escapeString(pullRequest.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call updatePullRequestValidateBeforeCall(String repository, String pullRequest, PullRequestBasic pullRequestBasic, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling updatePullRequest(Async)"); - } - - // verify the required parameter 'pullRequest' is set - if (pullRequest == null) { - throw new ApiException("Missing the required parameter 'pullRequest' when calling updatePullRequest(Async)"); - } - - // verify the required parameter 'pullRequestBasic' is set - if (pullRequestBasic == null) { - throw new ApiException("Missing the required parameter 'pullRequestBasic' when calling updatePullRequest(Async)"); - } - - - okhttp3.Call localVarCall = updatePullRequestCall(repository, pullRequest, pullRequestBasic, _callback); - return localVarCall; - - } - - /** - * update pull request - * - * @param repository (required) - * @param pullRequest pull request id (required) - * @param pullRequestBasic (required) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - - -
Status Code Description Response Headers
200 pull request updated successfully -
400 Validation Error -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public void updatePullRequest(String repository, String pullRequest, PullRequestBasic pullRequestBasic) throws ApiException { - updatePullRequestWithHttpInfo(repository, pullRequest, pullRequestBasic); - } - - /** - * update pull request - * - * @param repository (required) - * @param pullRequest pull request id (required) - * @param pullRequestBasic (required) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - - -
Status Code Description Response Headers
200 pull request updated successfully -
400 Validation Error -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse updatePullRequestWithHttpInfo(String repository, String pullRequest, PullRequestBasic pullRequestBasic) throws ApiException { - okhttp3.Call localVarCall = updatePullRequestValidateBeforeCall(repository, pullRequest, pullRequestBasic, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * update pull request (asynchronously) - * - * @param repository (required) - * @param pullRequest pull request id (required) - * @param pullRequestBasic (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - - - -
Status Code Description Response Headers
200 pull request updated successfully -
400 Validation Error -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call updatePullRequestAsync(String repository, String pullRequest, PullRequestBasic pullRequestBasic, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = updatePullRequestValidateBeforeCall(repository, pullRequest, pullRequestBasic, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } -} diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/RefsApi.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/RefsApi.java deleted file mode 100644 index 026a3bb1b74..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/RefsApi.java +++ /dev/null @@ -1,773 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api; - -import io.lakefs.clients.api.ApiCallback; -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.ApiResponse; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.Pair; -import io.lakefs.clients.api.ProgressRequestBody; -import io.lakefs.clients.api.ProgressResponseBody; - -import com.google.gson.reflect.TypeToken; - -import java.io.IOException; - - -import io.lakefs.clients.api.model.CommitList; -import io.lakefs.clients.api.model.DiffList; -import io.lakefs.clients.api.model.Error; -import io.lakefs.clients.api.model.FindMergeBaseResult; -import io.lakefs.clients.api.model.Merge; -import io.lakefs.clients.api.model.MergeResult; -import org.threeten.bp.OffsetDateTime; - -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -public class RefsApi { - private ApiClient localVarApiClient; - - public RefsApi() { - this(Configuration.getDefaultApiClient()); - } - - public RefsApi(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - public ApiClient getApiClient() { - return localVarApiClient; - } - - public void setApiClient(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - /** - * Build call for diffRefs - * @param repository (required) - * @param leftRef a reference (could be either a branch or a commit ID) (required) - * @param rightRef a reference (could be either a branch or a commit ID) to compare against (required) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @param prefix return items prefixed with this value (optional) - * @param delimiter delimiter used to group common prefixes by (optional) - * @param type (optional, default to three_dot) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 diff between refs -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call diffRefsCall(String repository, String leftRef, String rightRef, String after, Integer amount, String prefix, String delimiter, String type, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/repositories/{repository}/refs/{leftRef}/diff/{rightRef}" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())) - .replaceAll("\\{" + "leftRef" + "\\}", localVarApiClient.escapeString(leftRef.toString())) - .replaceAll("\\{" + "rightRef" + "\\}", localVarApiClient.escapeString(rightRef.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (after != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("after", after)); - } - - if (amount != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("amount", amount)); - } - - if (prefix != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("prefix", prefix)); - } - - if (delimiter != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("delimiter", delimiter)); - } - - if (type != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("type", type)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call diffRefsValidateBeforeCall(String repository, String leftRef, String rightRef, String after, Integer amount, String prefix, String delimiter, String type, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling diffRefs(Async)"); - } - - // verify the required parameter 'leftRef' is set - if (leftRef == null) { - throw new ApiException("Missing the required parameter 'leftRef' when calling diffRefs(Async)"); - } - - // verify the required parameter 'rightRef' is set - if (rightRef == null) { - throw new ApiException("Missing the required parameter 'rightRef' when calling diffRefs(Async)"); - } - - - okhttp3.Call localVarCall = diffRefsCall(repository, leftRef, rightRef, after, amount, prefix, delimiter, type, _callback); - return localVarCall; - - } - - /** - * diff references - * - * @param repository (required) - * @param leftRef a reference (could be either a branch or a commit ID) (required) - * @param rightRef a reference (could be either a branch or a commit ID) to compare against (required) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @param prefix return items prefixed with this value (optional) - * @param delimiter delimiter used to group common prefixes by (optional) - * @param type (optional, default to three_dot) - * @return DiffList - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 diff between refs -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public DiffList diffRefs(String repository, String leftRef, String rightRef, String after, Integer amount, String prefix, String delimiter, String type) throws ApiException { - ApiResponse localVarResp = diffRefsWithHttpInfo(repository, leftRef, rightRef, after, amount, prefix, delimiter, type); - return localVarResp.getData(); - } - - /** - * diff references - * - * @param repository (required) - * @param leftRef a reference (could be either a branch or a commit ID) (required) - * @param rightRef a reference (could be either a branch or a commit ID) to compare against (required) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @param prefix return items prefixed with this value (optional) - * @param delimiter delimiter used to group common prefixes by (optional) - * @param type (optional, default to three_dot) - * @return ApiResponse<DiffList> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 diff between refs -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse diffRefsWithHttpInfo(String repository, String leftRef, String rightRef, String after, Integer amount, String prefix, String delimiter, String type) throws ApiException { - okhttp3.Call localVarCall = diffRefsValidateBeforeCall(repository, leftRef, rightRef, after, amount, prefix, delimiter, type, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * diff references (asynchronously) - * - * @param repository (required) - * @param leftRef a reference (could be either a branch or a commit ID) (required) - * @param rightRef a reference (could be either a branch or a commit ID) to compare against (required) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @param prefix return items prefixed with this value (optional) - * @param delimiter delimiter used to group common prefixes by (optional) - * @param type (optional, default to three_dot) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 diff between refs -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call diffRefsAsync(String repository, String leftRef, String rightRef, String after, Integer amount, String prefix, String delimiter, String type, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = diffRefsValidateBeforeCall(repository, leftRef, rightRef, after, amount, prefix, delimiter, type, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for findMergeBase - * @param repository (required) - * @param sourceRef source ref (required) - * @param destinationBranch destination branch name (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
200 Found the merge base -
400 Validation Error -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call findMergeBaseCall(String repository, String sourceRef, String destinationBranch, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/repositories/{repository}/refs/{sourceRef}/merge/{destinationBranch}" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())) - .replaceAll("\\{" + "sourceRef" + "\\}", localVarApiClient.escapeString(sourceRef.toString())) - .replaceAll("\\{" + "destinationBranch" + "\\}", localVarApiClient.escapeString(destinationBranch.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call findMergeBaseValidateBeforeCall(String repository, String sourceRef, String destinationBranch, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling findMergeBase(Async)"); - } - - // verify the required parameter 'sourceRef' is set - if (sourceRef == null) { - throw new ApiException("Missing the required parameter 'sourceRef' when calling findMergeBase(Async)"); - } - - // verify the required parameter 'destinationBranch' is set - if (destinationBranch == null) { - throw new ApiException("Missing the required parameter 'destinationBranch' when calling findMergeBase(Async)"); - } - - - okhttp3.Call localVarCall = findMergeBaseCall(repository, sourceRef, destinationBranch, _callback); - return localVarCall; - - } - - /** - * find the merge base for 2 references - * - * @param repository (required) - * @param sourceRef source ref (required) - * @param destinationBranch destination branch name (required) - * @return FindMergeBaseResult - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
200 Found the merge base -
400 Validation Error -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public FindMergeBaseResult findMergeBase(String repository, String sourceRef, String destinationBranch) throws ApiException { - ApiResponse localVarResp = findMergeBaseWithHttpInfo(repository, sourceRef, destinationBranch); - return localVarResp.getData(); - } - - /** - * find the merge base for 2 references - * - * @param repository (required) - * @param sourceRef source ref (required) - * @param destinationBranch destination branch name (required) - * @return ApiResponse<FindMergeBaseResult> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
200 Found the merge base -
400 Validation Error -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse findMergeBaseWithHttpInfo(String repository, String sourceRef, String destinationBranch) throws ApiException { - okhttp3.Call localVarCall = findMergeBaseValidateBeforeCall(repository, sourceRef, destinationBranch, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * find the merge base for 2 references (asynchronously) - * - * @param repository (required) - * @param sourceRef source ref (required) - * @param destinationBranch destination branch name (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
200 Found the merge base -
400 Validation Error -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call findMergeBaseAsync(String repository, String sourceRef, String destinationBranch, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = findMergeBaseValidateBeforeCall(repository, sourceRef, destinationBranch, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for logCommits - * @param repository (required) - * @param ref (required) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @param objects list of paths, each element is a path of a specific object (optional) - * @param prefixes list of paths, each element is a path of a prefix (optional) - * @param limit limit the number of items in return to 'amount'. Without further indication on actual number of items. (optional) - * @param firstParent if set to true, follow only the first parent upon reaching a merge commit (optional) - * @param since Show commits more recent than a specific date-time. In case used with stop_at parameter, will stop at the first commit that meets any of the conditions. (optional) - * @param stopAt A reference to stop at. In case used with since parameter, will stop at the first commit that meets any of the conditions. (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 commit log -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call logCommitsCall(String repository, String ref, String after, Integer amount, List objects, List prefixes, Boolean limit, Boolean firstParent, OffsetDateTime since, String stopAt, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/repositories/{repository}/refs/{ref}/commits" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())) - .replaceAll("\\{" + "ref" + "\\}", localVarApiClient.escapeString(ref.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (after != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("after", after)); - } - - if (amount != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("amount", amount)); - } - - if (objects != null) { - localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "objects", objects)); - } - - if (prefixes != null) { - localVarCollectionQueryParams.addAll(localVarApiClient.parameterToPairs("multi", "prefixes", prefixes)); - } - - if (limit != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("limit", limit)); - } - - if (firstParent != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("first_parent", firstParent)); - } - - if (since != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("since", since)); - } - - if (stopAt != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("stop_at", stopAt)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call logCommitsValidateBeforeCall(String repository, String ref, String after, Integer amount, List objects, List prefixes, Boolean limit, Boolean firstParent, OffsetDateTime since, String stopAt, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling logCommits(Async)"); - } - - // verify the required parameter 'ref' is set - if (ref == null) { - throw new ApiException("Missing the required parameter 'ref' when calling logCommits(Async)"); - } - - - okhttp3.Call localVarCall = logCommitsCall(repository, ref, after, amount, objects, prefixes, limit, firstParent, since, stopAt, _callback); - return localVarCall; - - } - - /** - * get commit log from ref. If both objects and prefixes are empty, return all commits. - * - * @param repository (required) - * @param ref (required) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @param objects list of paths, each element is a path of a specific object (optional) - * @param prefixes list of paths, each element is a path of a prefix (optional) - * @param limit limit the number of items in return to 'amount'. Without further indication on actual number of items. (optional) - * @param firstParent if set to true, follow only the first parent upon reaching a merge commit (optional) - * @param since Show commits more recent than a specific date-time. In case used with stop_at parameter, will stop at the first commit that meets any of the conditions. (optional) - * @param stopAt A reference to stop at. In case used with since parameter, will stop at the first commit that meets any of the conditions. (optional) - * @return CommitList - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 commit log -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public CommitList logCommits(String repository, String ref, String after, Integer amount, List objects, List prefixes, Boolean limit, Boolean firstParent, OffsetDateTime since, String stopAt) throws ApiException { - ApiResponse localVarResp = logCommitsWithHttpInfo(repository, ref, after, amount, objects, prefixes, limit, firstParent, since, stopAt); - return localVarResp.getData(); - } - - /** - * get commit log from ref. If both objects and prefixes are empty, return all commits. - * - * @param repository (required) - * @param ref (required) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @param objects list of paths, each element is a path of a specific object (optional) - * @param prefixes list of paths, each element is a path of a prefix (optional) - * @param limit limit the number of items in return to 'amount'. Without further indication on actual number of items. (optional) - * @param firstParent if set to true, follow only the first parent upon reaching a merge commit (optional) - * @param since Show commits more recent than a specific date-time. In case used with stop_at parameter, will stop at the first commit that meets any of the conditions. (optional) - * @param stopAt A reference to stop at. In case used with since parameter, will stop at the first commit that meets any of the conditions. (optional) - * @return ApiResponse<CommitList> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 commit log -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse logCommitsWithHttpInfo(String repository, String ref, String after, Integer amount, List objects, List prefixes, Boolean limit, Boolean firstParent, OffsetDateTime since, String stopAt) throws ApiException { - okhttp3.Call localVarCall = logCommitsValidateBeforeCall(repository, ref, after, amount, objects, prefixes, limit, firstParent, since, stopAt, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * get commit log from ref. If both objects and prefixes are empty, return all commits. (asynchronously) - * - * @param repository (required) - * @param ref (required) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @param objects list of paths, each element is a path of a specific object (optional) - * @param prefixes list of paths, each element is a path of a prefix (optional) - * @param limit limit the number of items in return to 'amount'. Without further indication on actual number of items. (optional) - * @param firstParent if set to true, follow only the first parent upon reaching a merge commit (optional) - * @param since Show commits more recent than a specific date-time. In case used with stop_at parameter, will stop at the first commit that meets any of the conditions. (optional) - * @param stopAt A reference to stop at. In case used with since parameter, will stop at the first commit that meets any of the conditions. (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 commit log -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call logCommitsAsync(String repository, String ref, String after, Integer amount, List objects, List prefixes, Boolean limit, Boolean firstParent, OffsetDateTime since, String stopAt, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = logCommitsValidateBeforeCall(repository, ref, after, amount, objects, prefixes, limit, firstParent, since, stopAt, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for mergeIntoBranch - * @param repository (required) - * @param sourceRef source ref (required) - * @param destinationBranch destination branch name (required) - * @param merge (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - - - - - -
Status Code Description Response Headers
200 merge completed -
400 Validation Error -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
409 Conflict Deprecated: content schema will return Error format and not an empty MergeResult -
412 precondition failed (e.g. a pre-merge hook returned a failure) -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call mergeIntoBranchCall(String repository, String sourceRef, String destinationBranch, Merge merge, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = merge; - - // create path and map variables - String localVarPath = "/repositories/{repository}/refs/{sourceRef}/merge/{destinationBranch}" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())) - .replaceAll("\\{" + "sourceRef" + "\\}", localVarApiClient.escapeString(sourceRef.toString())) - .replaceAll("\\{" + "destinationBranch" + "\\}", localVarApiClient.escapeString(destinationBranch.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call mergeIntoBranchValidateBeforeCall(String repository, String sourceRef, String destinationBranch, Merge merge, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling mergeIntoBranch(Async)"); - } - - // verify the required parameter 'sourceRef' is set - if (sourceRef == null) { - throw new ApiException("Missing the required parameter 'sourceRef' when calling mergeIntoBranch(Async)"); - } - - // verify the required parameter 'destinationBranch' is set - if (destinationBranch == null) { - throw new ApiException("Missing the required parameter 'destinationBranch' when calling mergeIntoBranch(Async)"); - } - - - okhttp3.Call localVarCall = mergeIntoBranchCall(repository, sourceRef, destinationBranch, merge, _callback); - return localVarCall; - - } - - /** - * merge references - * - * @param repository (required) - * @param sourceRef source ref (required) - * @param destinationBranch destination branch name (required) - * @param merge (optional) - * @return MergeResult - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - - - - -
Status Code Description Response Headers
200 merge completed -
400 Validation Error -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
409 Conflict Deprecated: content schema will return Error format and not an empty MergeResult -
412 precondition failed (e.g. a pre-merge hook returned a failure) -
420 too many requests -
0 Internal Server Error -
- */ - public MergeResult mergeIntoBranch(String repository, String sourceRef, String destinationBranch, Merge merge) throws ApiException { - ApiResponse localVarResp = mergeIntoBranchWithHttpInfo(repository, sourceRef, destinationBranch, merge); - return localVarResp.getData(); - } - - /** - * merge references - * - * @param repository (required) - * @param sourceRef source ref (required) - * @param destinationBranch destination branch name (required) - * @param merge (optional) - * @return ApiResponse<MergeResult> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - - - - -
Status Code Description Response Headers
200 merge completed -
400 Validation Error -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
409 Conflict Deprecated: content schema will return Error format and not an empty MergeResult -
412 precondition failed (e.g. a pre-merge hook returned a failure) -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse mergeIntoBranchWithHttpInfo(String repository, String sourceRef, String destinationBranch, Merge merge) throws ApiException { - okhttp3.Call localVarCall = mergeIntoBranchValidateBeforeCall(repository, sourceRef, destinationBranch, merge, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * merge references (asynchronously) - * - * @param repository (required) - * @param sourceRef source ref (required) - * @param destinationBranch destination branch name (required) - * @param merge (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - - - - - -
Status Code Description Response Headers
200 merge completed -
400 Validation Error -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
409 Conflict Deprecated: content schema will return Error format and not an empty MergeResult -
412 precondition failed (e.g. a pre-merge hook returned a failure) -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call mergeIntoBranchAsync(String repository, String sourceRef, String destinationBranch, Merge merge, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = mergeIntoBranchValidateBeforeCall(repository, sourceRef, destinationBranch, merge, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } -} diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/RepositoriesApi.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/RepositoriesApi.java deleted file mode 100644 index a2c19552453..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/RepositoriesApi.java +++ /dev/null @@ -1,1964 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api; - -import io.lakefs.clients.api.ApiCallback; -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.ApiResponse; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.Pair; -import io.lakefs.clients.api.ProgressRequestBody; -import io.lakefs.clients.api.ProgressResponseBody; - -import com.google.gson.reflect.TypeToken; - -import java.io.IOException; - - -import io.lakefs.clients.api.model.BranchProtectionRule; -import io.lakefs.clients.api.model.Error; -import io.lakefs.clients.api.model.GarbageCollectionRules; -import io.lakefs.clients.api.model.RefsRestore; -import io.lakefs.clients.api.model.Repository; -import io.lakefs.clients.api.model.RepositoryCreation; -import io.lakefs.clients.api.model.RepositoryDumpStatus; -import io.lakefs.clients.api.model.RepositoryList; -import io.lakefs.clients.api.model.RepositoryRestoreStatus; -import io.lakefs.clients.api.model.TaskInfo; - -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -public class RepositoriesApi { - private ApiClient localVarApiClient; - - public RepositoriesApi() { - this(Configuration.getDefaultApiClient()); - } - - public RepositoriesApi(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - public ApiClient getApiClient() { - return localVarApiClient; - } - - public void setApiClient(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - /** - * Build call for createRepository - * @param repositoryCreation (required) - * @param bare If true, create a bare repository with no initial commit and branch (optional, default to false) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
201 repository -
400 Validation Error -
401 Unauthorized -
409 Resource Conflicts With Target -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call createRepositoryCall(RepositoryCreation repositoryCreation, Boolean bare, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = repositoryCreation; - - // create path and map variables - String localVarPath = "/repositories"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (bare != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("bare", bare)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call createRepositoryValidateBeforeCall(RepositoryCreation repositoryCreation, Boolean bare, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repositoryCreation' is set - if (repositoryCreation == null) { - throw new ApiException("Missing the required parameter 'repositoryCreation' when calling createRepository(Async)"); - } - - - okhttp3.Call localVarCall = createRepositoryCall(repositoryCreation, bare, _callback); - return localVarCall; - - } - - /** - * create repository - * - * @param repositoryCreation (required) - * @param bare If true, create a bare repository with no initial commit and branch (optional, default to false) - * @return Repository - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
201 repository -
400 Validation Error -
401 Unauthorized -
409 Resource Conflicts With Target -
420 too many requests -
0 Internal Server Error -
- */ - public Repository createRepository(RepositoryCreation repositoryCreation, Boolean bare) throws ApiException { - ApiResponse localVarResp = createRepositoryWithHttpInfo(repositoryCreation, bare); - return localVarResp.getData(); - } - - /** - * create repository - * - * @param repositoryCreation (required) - * @param bare If true, create a bare repository with no initial commit and branch (optional, default to false) - * @return ApiResponse<Repository> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
201 repository -
400 Validation Error -
401 Unauthorized -
409 Resource Conflicts With Target -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse createRepositoryWithHttpInfo(RepositoryCreation repositoryCreation, Boolean bare) throws ApiException { - okhttp3.Call localVarCall = createRepositoryValidateBeforeCall(repositoryCreation, bare, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * create repository (asynchronously) - * - * @param repositoryCreation (required) - * @param bare If true, create a bare repository with no initial commit and branch (optional, default to false) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
201 repository -
400 Validation Error -
401 Unauthorized -
409 Resource Conflicts With Target -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call createRepositoryAsync(RepositoryCreation repositoryCreation, Boolean bare, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = createRepositoryValidateBeforeCall(repositoryCreation, bare, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for deleteGCRules - * @param repository (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
204 deleted garbage collection rules successfully -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call deleteGCRulesCall(String repository, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/repositories/{repository}/settings/gc_rules" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call deleteGCRulesValidateBeforeCall(String repository, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling deleteGCRules(Async)"); - } - - - okhttp3.Call localVarCall = deleteGCRulesCall(repository, _callback); - return localVarCall; - - } - - /** - * - * - * @param repository (required) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
204 deleted garbage collection rules successfully -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public void deleteGCRules(String repository) throws ApiException { - deleteGCRulesWithHttpInfo(repository); - } - - /** - * - * - * @param repository (required) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
204 deleted garbage collection rules successfully -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse deleteGCRulesWithHttpInfo(String repository) throws ApiException { - okhttp3.Call localVarCall = deleteGCRulesValidateBeforeCall(repository, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * (asynchronously) - * - * @param repository (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
204 deleted garbage collection rules successfully -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call deleteGCRulesAsync(String repository, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = deleteGCRulesValidateBeforeCall(repository, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for deleteRepository - * @param repository (required) - * @param force Bypass read-only protection and delete the repository (optional, default to false) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
204 repository deleted successfully -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call deleteRepositoryCall(String repository, Boolean force, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/repositories/{repository}" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (force != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("force", force)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call deleteRepositoryValidateBeforeCall(String repository, Boolean force, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling deleteRepository(Async)"); - } - - - okhttp3.Call localVarCall = deleteRepositoryCall(repository, force, _callback); - return localVarCall; - - } - - /** - * delete repository - * - * @param repository (required) - * @param force Bypass read-only protection and delete the repository (optional, default to false) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
204 repository deleted successfully -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public void deleteRepository(String repository, Boolean force) throws ApiException { - deleteRepositoryWithHttpInfo(repository, force); - } - - /** - * delete repository - * - * @param repository (required) - * @param force Bypass read-only protection and delete the repository (optional, default to false) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
204 repository deleted successfully -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse deleteRepositoryWithHttpInfo(String repository, Boolean force) throws ApiException { - okhttp3.Call localVarCall = deleteRepositoryValidateBeforeCall(repository, force, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * delete repository (asynchronously) - * - * @param repository (required) - * @param force Bypass read-only protection and delete the repository (optional, default to false) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
204 repository deleted successfully -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call deleteRepositoryAsync(String repository, Boolean force, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = deleteRepositoryValidateBeforeCall(repository, force, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for dumpStatus - * @param repository (required) - * @param taskId (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
200 dump task status -
400 Validation Error -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call dumpStatusCall(String repository, String taskId, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/repositories/{repository}/dump" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (taskId != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("task_id", taskId)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call dumpStatusValidateBeforeCall(String repository, String taskId, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling dumpStatus(Async)"); - } - - // verify the required parameter 'taskId' is set - if (taskId == null) { - throw new ApiException("Missing the required parameter 'taskId' when calling dumpStatus(Async)"); - } - - - okhttp3.Call localVarCall = dumpStatusCall(repository, taskId, _callback); - return localVarCall; - - } - - /** - * Status of a repository dump task - * - * @param repository (required) - * @param taskId (required) - * @return RepositoryDumpStatus - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
200 dump task status -
400 Validation Error -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public RepositoryDumpStatus dumpStatus(String repository, String taskId) throws ApiException { - ApiResponse localVarResp = dumpStatusWithHttpInfo(repository, taskId); - return localVarResp.getData(); - } - - /** - * Status of a repository dump task - * - * @param repository (required) - * @param taskId (required) - * @return ApiResponse<RepositoryDumpStatus> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
200 dump task status -
400 Validation Error -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse dumpStatusWithHttpInfo(String repository, String taskId) throws ApiException { - okhttp3.Call localVarCall = dumpStatusValidateBeforeCall(repository, taskId, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Status of a repository dump task (asynchronously) - * - * @param repository (required) - * @param taskId (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
200 dump task status -
400 Validation Error -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call dumpStatusAsync(String repository, String taskId, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = dumpStatusValidateBeforeCall(repository, taskId, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for dumpSubmit - * @param repository (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
202 dump task information -
400 Validation Error -
401 Unauthorized -
404 Resource Not Found -
0 Internal Server Error -
- */ - public okhttp3.Call dumpSubmitCall(String repository, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/repositories/{repository}/dump" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call dumpSubmitValidateBeforeCall(String repository, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling dumpSubmit(Async)"); - } - - - okhttp3.Call localVarCall = dumpSubmitCall(repository, _callback); - return localVarCall; - - } - - /** - * Backup the repository metadata (tags, commits, branches) and save the backup to the object store. - * - * @param repository (required) - * @return TaskInfo - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
202 dump task information -
400 Validation Error -
401 Unauthorized -
404 Resource Not Found -
0 Internal Server Error -
- */ - public TaskInfo dumpSubmit(String repository) throws ApiException { - ApiResponse localVarResp = dumpSubmitWithHttpInfo(repository); - return localVarResp.getData(); - } - - /** - * Backup the repository metadata (tags, commits, branches) and save the backup to the object store. - * - * @param repository (required) - * @return ApiResponse<TaskInfo> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
202 dump task information -
400 Validation Error -
401 Unauthorized -
404 Resource Not Found -
0 Internal Server Error -
- */ - public ApiResponse dumpSubmitWithHttpInfo(String repository) throws ApiException { - okhttp3.Call localVarCall = dumpSubmitValidateBeforeCall(repository, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Backup the repository metadata (tags, commits, branches) and save the backup to the object store. (asynchronously) - * - * @param repository (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
202 dump task information -
400 Validation Error -
401 Unauthorized -
404 Resource Not Found -
0 Internal Server Error -
- */ - public okhttp3.Call dumpSubmitAsync(String repository, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = dumpSubmitValidateBeforeCall(repository, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getBranchProtectionRules - * @param repository (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 branch protection rules * ETag -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call getBranchProtectionRulesCall(String repository, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/repositories/{repository}/settings/branch_protection" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getBranchProtectionRulesValidateBeforeCall(String repository, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling getBranchProtectionRules(Async)"); - } - - - okhttp3.Call localVarCall = getBranchProtectionRulesCall(repository, _callback); - return localVarCall; - - } - - /** - * get branch protection rules - * - * @param repository (required) - * @return List<BranchProtectionRule> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 branch protection rules * ETag -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public List getBranchProtectionRules(String repository) throws ApiException { - ApiResponse> localVarResp = getBranchProtectionRulesWithHttpInfo(repository); - return localVarResp.getData(); - } - - /** - * get branch protection rules - * - * @param repository (required) - * @return ApiResponse<List<BranchProtectionRule>> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 branch protection rules * ETag -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse> getBranchProtectionRulesWithHttpInfo(String repository) throws ApiException { - okhttp3.Call localVarCall = getBranchProtectionRulesValidateBeforeCall(repository, null); - Type localVarReturnType = new TypeToken>(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * get branch protection rules (asynchronously) - * - * @param repository (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 branch protection rules * ETag -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call getBranchProtectionRulesAsync(String repository, final ApiCallback> _callback) throws ApiException { - - okhttp3.Call localVarCall = getBranchProtectionRulesValidateBeforeCall(repository, _callback); - Type localVarReturnType = new TypeToken>(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getGCRules - * @param repository (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 repository GC rules -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call getGCRulesCall(String repository, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/repositories/{repository}/settings/gc_rules" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getGCRulesValidateBeforeCall(String repository, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling getGCRules(Async)"); - } - - - okhttp3.Call localVarCall = getGCRulesCall(repository, _callback); - return localVarCall; - - } - - /** - * get repository GC rules - * - * @param repository (required) - * @return GarbageCollectionRules - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 repository GC rules -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public GarbageCollectionRules getGCRules(String repository) throws ApiException { - ApiResponse localVarResp = getGCRulesWithHttpInfo(repository); - return localVarResp.getData(); - } - - /** - * get repository GC rules - * - * @param repository (required) - * @return ApiResponse<GarbageCollectionRules> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 repository GC rules -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse getGCRulesWithHttpInfo(String repository) throws ApiException { - okhttp3.Call localVarCall = getGCRulesValidateBeforeCall(repository, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * get repository GC rules (asynchronously) - * - * @param repository (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 repository GC rules -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call getGCRulesAsync(String repository, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getGCRulesValidateBeforeCall(repository, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getRepository - * @param repository (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 repository -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call getRepositoryCall(String repository, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/repositories/{repository}" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getRepositoryValidateBeforeCall(String repository, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling getRepository(Async)"); - } - - - okhttp3.Call localVarCall = getRepositoryCall(repository, _callback); - return localVarCall; - - } - - /** - * get repository - * - * @param repository (required) - * @return Repository - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 repository -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public Repository getRepository(String repository) throws ApiException { - ApiResponse localVarResp = getRepositoryWithHttpInfo(repository); - return localVarResp.getData(); - } - - /** - * get repository - * - * @param repository (required) - * @return ApiResponse<Repository> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 repository -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse getRepositoryWithHttpInfo(String repository) throws ApiException { - okhttp3.Call localVarCall = getRepositoryValidateBeforeCall(repository, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * get repository (asynchronously) - * - * @param repository (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 repository -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call getRepositoryAsync(String repository, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getRepositoryValidateBeforeCall(repository, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for getRepositoryMetadata - * @param repository (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 repository metadata -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call getRepositoryMetadataCall(String repository, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/repositories/{repository}/metadata" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getRepositoryMetadataValidateBeforeCall(String repository, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling getRepositoryMetadata(Async)"); - } - - - okhttp3.Call localVarCall = getRepositoryMetadataCall(repository, _callback); - return localVarCall; - - } - - /** - * get repository metadata - * - * @param repository (required) - * @return Map<String, String> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 repository metadata -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public Map getRepositoryMetadata(String repository) throws ApiException { - ApiResponse> localVarResp = getRepositoryMetadataWithHttpInfo(repository); - return localVarResp.getData(); - } - - /** - * get repository metadata - * - * @param repository (required) - * @return ApiResponse<Map<String, String>> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 repository metadata -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse> getRepositoryMetadataWithHttpInfo(String repository) throws ApiException { - okhttp3.Call localVarCall = getRepositoryMetadataValidateBeforeCall(repository, null); - Type localVarReturnType = new TypeToken>(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * get repository metadata (asynchronously) - * - * @param repository (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 repository metadata -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call getRepositoryMetadataAsync(String repository, final ApiCallback> _callback) throws ApiException { - - okhttp3.Call localVarCall = getRepositoryMetadataValidateBeforeCall(repository, _callback); - Type localVarReturnType = new TypeToken>(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for listRepositories - * @param prefix return items prefixed with this value (optional) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Status Code Description Response Headers
200 repository list -
401 Unauthorized -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call listRepositoriesCall(String prefix, String after, Integer amount, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/repositories"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (prefix != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("prefix", prefix)); - } - - if (after != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("after", after)); - } - - if (amount != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("amount", amount)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call listRepositoriesValidateBeforeCall(String prefix, String after, Integer amount, final ApiCallback _callback) throws ApiException { - - - okhttp3.Call localVarCall = listRepositoriesCall(prefix, after, amount, _callback); - return localVarCall; - - } - - /** - * list repositories - * - * @param prefix return items prefixed with this value (optional) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @return RepositoryList - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Status Code Description Response Headers
200 repository list -
401 Unauthorized -
420 too many requests -
0 Internal Server Error -
- */ - public RepositoryList listRepositories(String prefix, String after, Integer amount) throws ApiException { - ApiResponse localVarResp = listRepositoriesWithHttpInfo(prefix, after, amount); - return localVarResp.getData(); - } - - /** - * list repositories - * - * @param prefix return items prefixed with this value (optional) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @return ApiResponse<RepositoryList> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Status Code Description Response Headers
200 repository list -
401 Unauthorized -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse listRepositoriesWithHttpInfo(String prefix, String after, Integer amount) throws ApiException { - okhttp3.Call localVarCall = listRepositoriesValidateBeforeCall(prefix, after, amount, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * list repositories (asynchronously) - * - * @param prefix return items prefixed with this value (optional) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Status Code Description Response Headers
200 repository list -
401 Unauthorized -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call listRepositoriesAsync(String prefix, String after, Integer amount, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = listRepositoriesValidateBeforeCall(prefix, after, amount, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for restoreStatus - * @param repository (required) - * @param taskId (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
200 restore task status -
400 Validation Error -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call restoreStatusCall(String repository, String taskId, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/repositories/{repository}/restore" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (taskId != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("task_id", taskId)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call restoreStatusValidateBeforeCall(String repository, String taskId, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling restoreStatus(Async)"); - } - - // verify the required parameter 'taskId' is set - if (taskId == null) { - throw new ApiException("Missing the required parameter 'taskId' when calling restoreStatus(Async)"); - } - - - okhttp3.Call localVarCall = restoreStatusCall(repository, taskId, _callback); - return localVarCall; - - } - - /** - * Status of a restore request - * - * @param repository (required) - * @param taskId (required) - * @return RepositoryRestoreStatus - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
200 restore task status -
400 Validation Error -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public RepositoryRestoreStatus restoreStatus(String repository, String taskId) throws ApiException { - ApiResponse localVarResp = restoreStatusWithHttpInfo(repository, taskId); - return localVarResp.getData(); - } - - /** - * Status of a restore request - * - * @param repository (required) - * @param taskId (required) - * @return ApiResponse<RepositoryRestoreStatus> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
200 restore task status -
400 Validation Error -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse restoreStatusWithHttpInfo(String repository, String taskId) throws ApiException { - okhttp3.Call localVarCall = restoreStatusValidateBeforeCall(repository, taskId, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Status of a restore request (asynchronously) - * - * @param repository (required) - * @param taskId (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
200 restore task status -
400 Validation Error -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call restoreStatusAsync(String repository, String taskId, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = restoreStatusValidateBeforeCall(repository, taskId, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for restoreSubmit - * @param repository (required) - * @param refsRestore (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
202 restore task created -
400 Validation Error -
403 Forbidden -
401 Unauthorized -
404 Resource Not Found -
0 Internal Server Error -
- */ - public okhttp3.Call restoreSubmitCall(String repository, RefsRestore refsRestore, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = refsRestore; - - // create path and map variables - String localVarPath = "/repositories/{repository}/restore" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call restoreSubmitValidateBeforeCall(String repository, RefsRestore refsRestore, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling restoreSubmit(Async)"); - } - - // verify the required parameter 'refsRestore' is set - if (refsRestore == null) { - throw new ApiException("Missing the required parameter 'refsRestore' when calling restoreSubmit(Async)"); - } - - - okhttp3.Call localVarCall = restoreSubmitCall(repository, refsRestore, _callback); - return localVarCall; - - } - - /** - * Restore repository from a dump in the object store - * - * @param repository (required) - * @param refsRestore (required) - * @return TaskInfo - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
202 restore task created -
400 Validation Error -
403 Forbidden -
401 Unauthorized -
404 Resource Not Found -
0 Internal Server Error -
- */ - public TaskInfo restoreSubmit(String repository, RefsRestore refsRestore) throws ApiException { - ApiResponse localVarResp = restoreSubmitWithHttpInfo(repository, refsRestore); - return localVarResp.getData(); - } - - /** - * Restore repository from a dump in the object store - * - * @param repository (required) - * @param refsRestore (required) - * @return ApiResponse<TaskInfo> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
202 restore task created -
400 Validation Error -
403 Forbidden -
401 Unauthorized -
404 Resource Not Found -
0 Internal Server Error -
- */ - public ApiResponse restoreSubmitWithHttpInfo(String repository, RefsRestore refsRestore) throws ApiException { - okhttp3.Call localVarCall = restoreSubmitValidateBeforeCall(repository, refsRestore, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Restore repository from a dump in the object store (asynchronously) - * - * @param repository (required) - * @param refsRestore (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
202 restore task created -
400 Validation Error -
403 Forbidden -
401 Unauthorized -
404 Resource Not Found -
0 Internal Server Error -
- */ - public okhttp3.Call restoreSubmitAsync(String repository, RefsRestore refsRestore, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = restoreSubmitValidateBeforeCall(repository, refsRestore, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for setBranchProtectionRules - * @param repository (required) - * @param branchProtectionRule (required) - * @param ifMatch if provided, the branch protection rules will be updated only if the current ETag match the provided value (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - - - - -
Status Code Description Response Headers
204 branch protection rule created successfully -
400 Bad Request -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
412 Precondition Failed -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call setBranchProtectionRulesCall(String repository, List branchProtectionRule, String ifMatch, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = branchProtectionRule; - - // create path and map variables - String localVarPath = "/repositories/{repository}/settings/branch_protection" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (ifMatch != null) { - localVarHeaderParams.put("If-Match", localVarApiClient.parameterToString(ifMatch)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call setBranchProtectionRulesValidateBeforeCall(String repository, List branchProtectionRule, String ifMatch, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling setBranchProtectionRules(Async)"); - } - - // verify the required parameter 'branchProtectionRule' is set - if (branchProtectionRule == null) { - throw new ApiException("Missing the required parameter 'branchProtectionRule' when calling setBranchProtectionRules(Async)"); - } - - - okhttp3.Call localVarCall = setBranchProtectionRulesCall(repository, branchProtectionRule, ifMatch, _callback); - return localVarCall; - - } - - /** - * - * - * @param repository (required) - * @param branchProtectionRule (required) - * @param ifMatch if provided, the branch protection rules will be updated only if the current ETag match the provided value (optional) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - - - -
Status Code Description Response Headers
204 branch protection rule created successfully -
400 Bad Request -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
412 Precondition Failed -
420 too many requests -
0 Internal Server Error -
- */ - public void setBranchProtectionRules(String repository, List branchProtectionRule, String ifMatch) throws ApiException { - setBranchProtectionRulesWithHttpInfo(repository, branchProtectionRule, ifMatch); - } - - /** - * - * - * @param repository (required) - * @param branchProtectionRule (required) - * @param ifMatch if provided, the branch protection rules will be updated only if the current ETag match the provided value (optional) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - - - -
Status Code Description Response Headers
204 branch protection rule created successfully -
400 Bad Request -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
412 Precondition Failed -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse setBranchProtectionRulesWithHttpInfo(String repository, List branchProtectionRule, String ifMatch) throws ApiException { - okhttp3.Call localVarCall = setBranchProtectionRulesValidateBeforeCall(repository, branchProtectionRule, ifMatch, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * (asynchronously) - * - * @param repository (required) - * @param branchProtectionRule (required) - * @param ifMatch if provided, the branch protection rules will be updated only if the current ETag match the provided value (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - - - - -
Status Code Description Response Headers
204 branch protection rule created successfully -
400 Bad Request -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
412 Precondition Failed -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call setBranchProtectionRulesAsync(String repository, List branchProtectionRule, String ifMatch, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = setBranchProtectionRulesValidateBeforeCall(repository, branchProtectionRule, ifMatch, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for setGCRules - * @param repository (required) - * @param garbageCollectionRules (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
204 set garbage collection rules successfully -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call setGCRulesCall(String repository, GarbageCollectionRules garbageCollectionRules, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = garbageCollectionRules; - - // create path and map variables - String localVarPath = "/repositories/{repository}/settings/gc_rules" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call setGCRulesValidateBeforeCall(String repository, GarbageCollectionRules garbageCollectionRules, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling setGCRules(Async)"); - } - - // verify the required parameter 'garbageCollectionRules' is set - if (garbageCollectionRules == null) { - throw new ApiException("Missing the required parameter 'garbageCollectionRules' when calling setGCRules(Async)"); - } - - - okhttp3.Call localVarCall = setGCRulesCall(repository, garbageCollectionRules, _callback); - return localVarCall; - - } - - /** - * - * - * @param repository (required) - * @param garbageCollectionRules (required) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
204 set garbage collection rules successfully -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public void setGCRules(String repository, GarbageCollectionRules garbageCollectionRules) throws ApiException { - setGCRulesWithHttpInfo(repository, garbageCollectionRules); - } - - /** - * - * - * @param repository (required) - * @param garbageCollectionRules (required) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
204 set garbage collection rules successfully -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse setGCRulesWithHttpInfo(String repository, GarbageCollectionRules garbageCollectionRules) throws ApiException { - okhttp3.Call localVarCall = setGCRulesValidateBeforeCall(repository, garbageCollectionRules, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * (asynchronously) - * - * @param repository (required) - * @param garbageCollectionRules (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
204 set garbage collection rules successfully -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call setGCRulesAsync(String repository, GarbageCollectionRules garbageCollectionRules, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = setGCRulesValidateBeforeCall(repository, garbageCollectionRules, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } -} diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/ServerConfiguration.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/ServerConfiguration.java deleted file mode 100644 index 8853049edd4..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/ServerConfiguration.java +++ /dev/null @@ -1,58 +0,0 @@ -package io.lakefs.clients.api; - -import java.util.Map; - -/** - * Representing a Server configuration. - */ -public class ServerConfiguration { - public String URL; - public String description; - public Map variables; - - /** - * @param URL A URL to the target host. - * @param description A description of the host designated by the URL. - * @param variables A map between a variable name and its value. The value is used for substitution in the server's URL template. - */ - public ServerConfiguration(String URL, String description, Map variables) { - this.URL = URL; - this.description = description; - this.variables = variables; - } - - /** - * Format URL template using given variables. - * - * @param variables A map between a variable name and its value. - * @return Formatted URL. - */ - public String URL(Map variables) { - String url = this.URL; - - // go through variables and replace placeholders - for (Map.Entry variable: this.variables.entrySet()) { - String name = variable.getKey(); - ServerVariable serverVariable = variable.getValue(); - String value = serverVariable.defaultValue; - - if (variables != null && variables.containsKey(name)) { - value = variables.get(name); - if (serverVariable.enumValues.size() > 0 && !serverVariable.enumValues.contains(value)) { - throw new RuntimeException("The variable " + name + " in the server URL has invalid value " + value + "."); - } - } - url = url.replaceAll("\\{" + name + "\\}", value); - } - return url; - } - - /** - * Format URL template using default server variables. - * - * @return Formatted URL. - */ - public String URL() { - return URL(null); - } -} diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/ServerVariable.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/ServerVariable.java deleted file mode 100644 index c46a0b6482a..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/ServerVariable.java +++ /dev/null @@ -1,23 +0,0 @@ -package io.lakefs.clients.api; - -import java.util.HashSet; - -/** - * Representing a Server Variable for server URL template substitution. - */ -public class ServerVariable { - public String description; - public String defaultValue; - public HashSet enumValues = null; - - /** - * @param description A description for the server variable. - * @param defaultValue The default value to use for substitution. - * @param enumValues An enumeration of string values to be used if the substitution options are from a limited set. - */ - public ServerVariable(String description, String defaultValue, HashSet enumValues) { - this.description = description; - this.defaultValue = defaultValue; - this.enumValues = enumValues; - } -} diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/StagingApi.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/StagingApi.java deleted file mode 100644 index ba1c3fb1a40..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/StagingApi.java +++ /dev/null @@ -1,403 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api; - -import io.lakefs.clients.api.ApiCallback; -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.ApiResponse; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.Pair; -import io.lakefs.clients.api.ProgressRequestBody; -import io.lakefs.clients.api.ProgressResponseBody; - -import com.google.gson.reflect.TypeToken; - -import java.io.IOException; - - -import io.lakefs.clients.api.model.Error; -import io.lakefs.clients.api.model.ObjectStats; -import io.lakefs.clients.api.model.StagingLocation; -import io.lakefs.clients.api.model.StagingMetadata; - -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -public class StagingApi { - private ApiClient localVarApiClient; - - public StagingApi() { - this(Configuration.getDefaultApiClient()); - } - - public StagingApi(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - public ApiClient getApiClient() { - return localVarApiClient; - } - - public void setApiClient(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - /** - * Build call for getPhysicalAddress - * @param repository (required) - * @param branch (required) - * @param path relative to the branch (required) - * @param presign (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 physical address for staging area -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call getPhysicalAddressCall(String repository, String branch, String path, Boolean presign, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/repositories/{repository}/branches/{branch}/staging/backing" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())) - .replaceAll("\\{" + "branch" + "\\}", localVarApiClient.escapeString(branch.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (path != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("path", path)); - } - - if (presign != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("presign", presign)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getPhysicalAddressValidateBeforeCall(String repository, String branch, String path, Boolean presign, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling getPhysicalAddress(Async)"); - } - - // verify the required parameter 'branch' is set - if (branch == null) { - throw new ApiException("Missing the required parameter 'branch' when calling getPhysicalAddress(Async)"); - } - - // verify the required parameter 'path' is set - if (path == null) { - throw new ApiException("Missing the required parameter 'path' when calling getPhysicalAddress(Async)"); - } - - - okhttp3.Call localVarCall = getPhysicalAddressCall(repository, branch, path, presign, _callback); - return localVarCall; - - } - - /** - * generate an address to which the client can upload an object - * - * @param repository (required) - * @param branch (required) - * @param path relative to the branch (required) - * @param presign (optional) - * @return StagingLocation - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 physical address for staging area -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public StagingLocation getPhysicalAddress(String repository, String branch, String path, Boolean presign) throws ApiException { - ApiResponse localVarResp = getPhysicalAddressWithHttpInfo(repository, branch, path, presign); - return localVarResp.getData(); - } - - /** - * generate an address to which the client can upload an object - * - * @param repository (required) - * @param branch (required) - * @param path relative to the branch (required) - * @param presign (optional) - * @return ApiResponse<StagingLocation> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 physical address for staging area -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse getPhysicalAddressWithHttpInfo(String repository, String branch, String path, Boolean presign) throws ApiException { - okhttp3.Call localVarCall = getPhysicalAddressValidateBeforeCall(repository, branch, path, presign, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * generate an address to which the client can upload an object (asynchronously) - * - * @param repository (required) - * @param branch (required) - * @param path relative to the branch (required) - * @param presign (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 physical address for staging area -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call getPhysicalAddressAsync(String repository, String branch, String path, Boolean presign, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getPhysicalAddressValidateBeforeCall(repository, branch, path, presign, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for linkPhysicalAddress - * @param repository (required) - * @param branch (required) - * @param path relative to the branch (required) - * @param stagingMetadata (required) - * @param ifNoneMatch Set to \"*\" to atomically allow the upload only if the key has no object yet. Other values are not supported. (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - - - - - -
Status Code Description Response Headers
200 object metadata -
400 Validation Error -
401 Unauthorized -
403 Forbidden -
404 Internal Server Error -
409 conflict with a commit, try here -
412 Precondition Failed -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call linkPhysicalAddressCall(String repository, String branch, String path, StagingMetadata stagingMetadata, String ifNoneMatch, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = stagingMetadata; - - // create path and map variables - String localVarPath = "/repositories/{repository}/branches/{branch}/staging/backing" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())) - .replaceAll("\\{" + "branch" + "\\}", localVarApiClient.escapeString(branch.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (path != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("path", path)); - } - - if (ifNoneMatch != null) { - localVarHeaderParams.put("If-None-Match", localVarApiClient.parameterToString(ifNoneMatch)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call linkPhysicalAddressValidateBeforeCall(String repository, String branch, String path, StagingMetadata stagingMetadata, String ifNoneMatch, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling linkPhysicalAddress(Async)"); - } - - // verify the required parameter 'branch' is set - if (branch == null) { - throw new ApiException("Missing the required parameter 'branch' when calling linkPhysicalAddress(Async)"); - } - - // verify the required parameter 'path' is set - if (path == null) { - throw new ApiException("Missing the required parameter 'path' when calling linkPhysicalAddress(Async)"); - } - - // verify the required parameter 'stagingMetadata' is set - if (stagingMetadata == null) { - throw new ApiException("Missing the required parameter 'stagingMetadata' when calling linkPhysicalAddress(Async)"); - } - - - okhttp3.Call localVarCall = linkPhysicalAddressCall(repository, branch, path, stagingMetadata, ifNoneMatch, _callback); - return localVarCall; - - } - - /** - * associate staging on this physical address with a path - * Link the physical address with the path in lakeFS, creating an uncommitted change. The given address can be one generated by getPhysicalAddress, or an address outside the repository's storage namespace. - * @param repository (required) - * @param branch (required) - * @param path relative to the branch (required) - * @param stagingMetadata (required) - * @param ifNoneMatch Set to \"*\" to atomically allow the upload only if the key has no object yet. Other values are not supported. (optional) - * @return ObjectStats - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - - - - -
Status Code Description Response Headers
200 object metadata -
400 Validation Error -
401 Unauthorized -
403 Forbidden -
404 Internal Server Error -
409 conflict with a commit, try here -
412 Precondition Failed -
420 too many requests -
0 Internal Server Error -
- */ - public ObjectStats linkPhysicalAddress(String repository, String branch, String path, StagingMetadata stagingMetadata, String ifNoneMatch) throws ApiException { - ApiResponse localVarResp = linkPhysicalAddressWithHttpInfo(repository, branch, path, stagingMetadata, ifNoneMatch); - return localVarResp.getData(); - } - - /** - * associate staging on this physical address with a path - * Link the physical address with the path in lakeFS, creating an uncommitted change. The given address can be one generated by getPhysicalAddress, or an address outside the repository's storage namespace. - * @param repository (required) - * @param branch (required) - * @param path relative to the branch (required) - * @param stagingMetadata (required) - * @param ifNoneMatch Set to \"*\" to atomically allow the upload only if the key has no object yet. Other values are not supported. (optional) - * @return ApiResponse<ObjectStats> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - - - - -
Status Code Description Response Headers
200 object metadata -
400 Validation Error -
401 Unauthorized -
403 Forbidden -
404 Internal Server Error -
409 conflict with a commit, try here -
412 Precondition Failed -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse linkPhysicalAddressWithHttpInfo(String repository, String branch, String path, StagingMetadata stagingMetadata, String ifNoneMatch) throws ApiException { - okhttp3.Call localVarCall = linkPhysicalAddressValidateBeforeCall(repository, branch, path, stagingMetadata, ifNoneMatch, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * associate staging on this physical address with a path (asynchronously) - * Link the physical address with the path in lakeFS, creating an uncommitted change. The given address can be one generated by getPhysicalAddress, or an address outside the repository's storage namespace. - * @param repository (required) - * @param branch (required) - * @param path relative to the branch (required) - * @param stagingMetadata (required) - * @param ifNoneMatch Set to \"*\" to atomically allow the upload only if the key has no object yet. Other values are not supported. (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - - - - - -
Status Code Description Response Headers
200 object metadata -
400 Validation Error -
401 Unauthorized -
403 Forbidden -
404 Internal Server Error -
409 conflict with a commit, try here -
412 Precondition Failed -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call linkPhysicalAddressAsync(String repository, String branch, String path, StagingMetadata stagingMetadata, String ifNoneMatch, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = linkPhysicalAddressValidateBeforeCall(repository, branch, path, stagingMetadata, ifNoneMatch, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } -} diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/StringUtil.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/StringUtil.java deleted file mode 100644 index a1cdf821e14..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/StringUtil.java +++ /dev/null @@ -1,83 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api; - -import java.util.Collection; -import java.util.Iterator; - -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class StringUtil { - /** - * Check if the given array contains the given value (with case-insensitive comparison). - * - * @param array The array - * @param value The value to search - * @return true if the array contains the value - */ - public static boolean containsIgnoreCase(String[] array, String value) { - for (String str : array) { - if (value == null && str == null) { - return true; - } - if (value != null && value.equalsIgnoreCase(str)) { - return true; - } - } - return false; - } - - /** - * Join an array of strings with the given separator. - *

- * Note: This might be replaced by utility method from commons-lang or guava someday - * if one of those libraries is added as dependency. - *

- * - * @param array The array of strings - * @param separator The separator - * @return the resulting string - */ - public static String join(String[] array, String separator) { - int len = array.length; - if (len == 0) { - return ""; - } - - StringBuilder out = new StringBuilder(); - out.append(array[0]); - for (int i = 1; i < len; i++) { - out.append(separator).append(array[i]); - } - return out.toString(); - } - - /** - * Join a list of strings with the given separator. - * - * @param list The list of strings - * @param separator The separator - * @return the resulting string - */ - public static String join(Collection list, String separator) { - Iterator iterator = list.iterator(); - StringBuilder out = new StringBuilder(); - if (iterator.hasNext()) { - out.append(iterator.next()); - } - while (iterator.hasNext()) { - out.append(separator).append(iterator.next()); - } - return out.toString(); - } -} diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/TagsApi.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/TagsApi.java deleted file mode 100644 index 99f9b0301c6..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/TagsApi.java +++ /dev/null @@ -1,645 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api; - -import io.lakefs.clients.api.ApiCallback; -import io.lakefs.clients.api.ApiClient; -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.ApiResponse; -import io.lakefs.clients.api.Configuration; -import io.lakefs.clients.api.Pair; -import io.lakefs.clients.api.ProgressRequestBody; -import io.lakefs.clients.api.ProgressResponseBody; - -import com.google.gson.reflect.TypeToken; - -import java.io.IOException; - - -import io.lakefs.clients.api.model.Error; -import io.lakefs.clients.api.model.Ref; -import io.lakefs.clients.api.model.RefList; -import io.lakefs.clients.api.model.TagCreation; - -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -public class TagsApi { - private ApiClient localVarApiClient; - - public TagsApi() { - this(Configuration.getDefaultApiClient()); - } - - public TagsApi(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - public ApiClient getApiClient() { - return localVarApiClient; - } - - public void setApiClient(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - /** - * Build call for createTag - * @param repository (required) - * @param tagCreation (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - - - - -
Status Code Description Response Headers
201 tag -
400 Validation Error -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
409 Resource Conflicts With Target -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call createTagCall(String repository, TagCreation tagCreation, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = tagCreation; - - // create path and map variables - String localVarPath = "/repositories/{repository}/tags" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call createTagValidateBeforeCall(String repository, TagCreation tagCreation, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling createTag(Async)"); - } - - // verify the required parameter 'tagCreation' is set - if (tagCreation == null) { - throw new ApiException("Missing the required parameter 'tagCreation' when calling createTag(Async)"); - } - - - okhttp3.Call localVarCall = createTagCall(repository, tagCreation, _callback); - return localVarCall; - - } - - /** - * create tag - * - * @param repository (required) - * @param tagCreation (required) - * @return Ref - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - - - -
Status Code Description Response Headers
201 tag -
400 Validation Error -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
409 Resource Conflicts With Target -
420 too many requests -
0 Internal Server Error -
- */ - public Ref createTag(String repository, TagCreation tagCreation) throws ApiException { - ApiResponse localVarResp = createTagWithHttpInfo(repository, tagCreation); - return localVarResp.getData(); - } - - /** - * create tag - * - * @param repository (required) - * @param tagCreation (required) - * @return ApiResponse<Ref> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - - - -
Status Code Description Response Headers
201 tag -
400 Validation Error -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
409 Resource Conflicts With Target -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse createTagWithHttpInfo(String repository, TagCreation tagCreation) throws ApiException { - okhttp3.Call localVarCall = createTagValidateBeforeCall(repository, tagCreation, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * create tag (asynchronously) - * - * @param repository (required) - * @param tagCreation (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - - - - -
Status Code Description Response Headers
201 tag -
400 Validation Error -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
409 Resource Conflicts With Target -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call createTagAsync(String repository, TagCreation tagCreation, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = createTagValidateBeforeCall(repository, tagCreation, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for deleteTag - * @param repository (required) - * @param tag (required) - * @param force (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
204 tag deleted successfully -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call deleteTagCall(String repository, String tag, Boolean force, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/repositories/{repository}/tags/{tag}" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())) - .replaceAll("\\{" + "tag" + "\\}", localVarApiClient.escapeString(tag.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (force != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("force", force)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call deleteTagValidateBeforeCall(String repository, String tag, Boolean force, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling deleteTag(Async)"); - } - - // verify the required parameter 'tag' is set - if (tag == null) { - throw new ApiException("Missing the required parameter 'tag' when calling deleteTag(Async)"); - } - - - okhttp3.Call localVarCall = deleteTagCall(repository, tag, force, _callback); - return localVarCall; - - } - - /** - * delete tag - * - * @param repository (required) - * @param tag (required) - * @param force (optional) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
204 tag deleted successfully -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public void deleteTag(String repository, String tag, Boolean force) throws ApiException { - deleteTagWithHttpInfo(repository, tag, force); - } - - /** - * delete tag - * - * @param repository (required) - * @param tag (required) - * @param force (optional) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
204 tag deleted successfully -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse deleteTagWithHttpInfo(String repository, String tag, Boolean force) throws ApiException { - okhttp3.Call localVarCall = deleteTagValidateBeforeCall(repository, tag, force, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * delete tag (asynchronously) - * - * @param repository (required) - * @param tag (required) - * @param force (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - - -
Status Code Description Response Headers
204 tag deleted successfully -
401 Unauthorized -
403 Forbidden -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call deleteTagAsync(String repository, String tag, Boolean force, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = deleteTagValidateBeforeCall(repository, tag, force, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for getTag - * @param repository (required) - * @param tag (required) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 tag -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call getTagCall(String repository, String tag, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/repositories/{repository}/tags/{tag}" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())) - .replaceAll("\\{" + "tag" + "\\}", localVarApiClient.escapeString(tag.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getTagValidateBeforeCall(String repository, String tag, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling getTag(Async)"); - } - - // verify the required parameter 'tag' is set - if (tag == null) { - throw new ApiException("Missing the required parameter 'tag' when calling getTag(Async)"); - } - - - okhttp3.Call localVarCall = getTagCall(repository, tag, _callback); - return localVarCall; - - } - - /** - * get tag - * - * @param repository (required) - * @param tag (required) - * @return Ref - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 tag -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public Ref getTag(String repository, String tag) throws ApiException { - ApiResponse localVarResp = getTagWithHttpInfo(repository, tag); - return localVarResp.getData(); - } - - /** - * get tag - * - * @param repository (required) - * @param tag (required) - * @return ApiResponse<Ref> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 tag -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse getTagWithHttpInfo(String repository, String tag) throws ApiException { - okhttp3.Call localVarCall = getTagValidateBeforeCall(repository, tag, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * get tag (asynchronously) - * - * @param repository (required) - * @param tag (required) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 tag -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call getTagAsync(String repository, String tag, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getTagValidateBeforeCall(repository, tag, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for listTags - * @param repository (required) - * @param prefix return items prefixed with this value (optional) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 tag list -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call listTagsCall(String repository, String prefix, String after, Integer amount, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/repositories/{repository}/tags" - .replaceAll("\\{" + "repository" + "\\}", localVarApiClient.escapeString(repository.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (prefix != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("prefix", prefix)); - } - - if (after != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("after", after)); - } - - if (amount != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("amount", amount)); - } - - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "basic_auth", "cookie_auth", "jwt_token", "oidc_auth", "saml_auth" }; - return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call listTagsValidateBeforeCall(String repository, String prefix, String after, Integer amount, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'repository' is set - if (repository == null) { - throw new ApiException("Missing the required parameter 'repository' when calling listTags(Async)"); - } - - - okhttp3.Call localVarCall = listTagsCall(repository, prefix, after, amount, _callback); - return localVarCall; - - } - - /** - * list tags - * - * @param repository (required) - * @param prefix return items prefixed with this value (optional) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @return RefList - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 tag list -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public RefList listTags(String repository, String prefix, String after, Integer amount) throws ApiException { - ApiResponse localVarResp = listTagsWithHttpInfo(repository, prefix, after, amount); - return localVarResp.getData(); - } - - /** - * list tags - * - * @param repository (required) - * @param prefix return items prefixed with this value (optional) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @return ApiResponse<RefList> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 tag list -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public ApiResponse listTagsWithHttpInfo(String repository, String prefix, String after, Integer amount) throws ApiException { - okhttp3.Call localVarCall = listTagsValidateBeforeCall(repository, prefix, after, amount, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * list tags (asynchronously) - * - * @param repository (required) - * @param prefix return items prefixed with this value (optional) - * @param after return items after this value (optional) - * @param amount how many items to return (optional, default to 100) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 tag list -
401 Unauthorized -
404 Resource Not Found -
420 too many requests -
0 Internal Server Error -
- */ - public okhttp3.Call listTagsAsync(String repository, String prefix, String after, Integer amount, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = listTagsValidateBeforeCall(repository, prefix, after, amount, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } -} diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/auth/ApiKeyAuth.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/auth/ApiKeyAuth.java deleted file mode 100644 index 4c4d66e93cd..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/auth/ApiKeyAuth.java +++ /dev/null @@ -1,77 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.auth; - -import io.lakefs.clients.api.Pair; - -import java.util.Map; -import java.util.List; - -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class ApiKeyAuth implements Authentication { - private final String location; - private final String paramName; - - private String apiKey; - private String apiKeyPrefix; - - public ApiKeyAuth(String location, String paramName) { - this.location = location; - this.paramName = paramName; - } - - public String getLocation() { - return location; - } - - public String getParamName() { - return paramName; - } - - public String getApiKey() { - return apiKey; - } - - public void setApiKey(String apiKey) { - this.apiKey = apiKey; - } - - public String getApiKeyPrefix() { - return apiKeyPrefix; - } - - public void setApiKeyPrefix(String apiKeyPrefix) { - this.apiKeyPrefix = apiKeyPrefix; - } - - @Override - public void applyToParams(List queryParams, Map headerParams, Map cookieParams) { - if (apiKey == null) { - return; - } - String value; - if (apiKeyPrefix != null) { - value = apiKeyPrefix + " " + apiKey; - } else { - value = apiKey; - } - if ("query".equals(location)) { - queryParams.add(new Pair(paramName, value)); - } else if ("header".equals(location)) { - headerParams.put(paramName, value); - } else if ("cookie".equals(location)) { - cookieParams.put(paramName, value); - } - } -} diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/auth/Authentication.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/auth/Authentication.java deleted file mode 100644 index 0a70cb7ebfc..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/auth/Authentication.java +++ /dev/null @@ -1,30 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.auth; - -import io.lakefs.clients.api.Pair; - -import java.util.Map; -import java.util.List; - -public interface Authentication { - /** - * Apply authentication settings to header and query params. - * - * @param queryParams List of query parameters - * @param headerParams Map of header parameters - * @param cookieParams Map of cookie parameters - */ - void applyToParams(List queryParams, Map headerParams, Map cookieParams); -} diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/auth/HttpBasicAuth.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/auth/HttpBasicAuth.java deleted file mode 100644 index b8e67b3d88a..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/auth/HttpBasicAuth.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.auth; - -import io.lakefs.clients.api.Pair; - -import okhttp3.Credentials; - -import java.util.Map; -import java.util.List; - -import java.io.UnsupportedEncodingException; - -public class HttpBasicAuth implements Authentication { - private String username; - private String password; - - public String getUsername() { - return username; - } - - public void setUsername(String username) { - this.username = username; - } - - public String getPassword() { - return password; - } - - public void setPassword(String password) { - this.password = password; - } - - @Override - public void applyToParams(List queryParams, Map headerParams, Map cookieParams) { - if (username == null && password == null) { - return; - } - headerParams.put("Authorization", Credentials.basic( - username == null ? "" : username, - password == null ? "" : password)); - } -} diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/auth/HttpBearerAuth.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/auth/HttpBearerAuth.java deleted file mode 100644 index 9432e910492..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/auth/HttpBearerAuth.java +++ /dev/null @@ -1,60 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.auth; - -import io.lakefs.clients.api.Pair; - -import java.util.Map; -import java.util.List; - -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class HttpBearerAuth implements Authentication { - private final String scheme; - private String bearerToken; - - public HttpBearerAuth(String scheme) { - this.scheme = scheme; - } - - /** - * Gets the token, which together with the scheme, will be sent as the value of the Authorization header. - * - * @return The bearer token - */ - public String getBearerToken() { - return bearerToken; - } - - /** - * Sets the token, which together with the scheme, will be sent as the value of the Authorization header. - * - * @param bearerToken The bearer token to send in the Authorization header - */ - public void setBearerToken(String bearerToken) { - this.bearerToken = bearerToken; - } - - @Override - public void applyToParams(List queryParams, Map headerParams, Map cookieParams) { - if(bearerToken == null) { - return; - } - - headerParams.put("Authorization", (scheme != null ? upperCaseBearer(scheme) + " " : "") + bearerToken); - } - - private static String upperCaseBearer(String scheme) { - return ("bearer".equalsIgnoreCase(scheme)) ? "Bearer" : scheme; - } -} diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/ACL.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/ACL.java deleted file mode 100644 index 2ad830271d4..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/ACL.java +++ /dev/null @@ -1,98 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * ACL - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class ACL { - public static final String SERIALIZED_NAME_PERMISSION = "permission"; - @SerializedName(SERIALIZED_NAME_PERMISSION) - private String permission; - - - public ACL permission(String permission) { - - this.permission = permission; - return this; - } - - /** - * Permission level to give this ACL. \"Read\", \"Write\", \"Super\" and \"Admin\" are all supported. - * @return permission - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "Permission level to give this ACL. \"Read\", \"Write\", \"Super\" and \"Admin\" are all supported. ") - - public String getPermission() { - return permission; - } - - - public void setPermission(String permission) { - this.permission = permission; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ACL ACL = (ACL) o; - return Objects.equals(this.permission, ACL.permission); - } - - @Override - public int hashCode() { - return Objects.hash(permission); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ACL {\n"); - sb.append(" permission: ").append(toIndentedString(permission)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/AbortPresignMultipartUpload.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/AbortPresignMultipartUpload.java deleted file mode 100644 index b636c263122..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/AbortPresignMultipartUpload.java +++ /dev/null @@ -1,98 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * AbortPresignMultipartUpload - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class AbortPresignMultipartUpload { - public static final String SERIALIZED_NAME_PHYSICAL_ADDRESS = "physical_address"; - @SerializedName(SERIALIZED_NAME_PHYSICAL_ADDRESS) - private String physicalAddress; - - - public AbortPresignMultipartUpload physicalAddress(String physicalAddress) { - - this.physicalAddress = physicalAddress; - return this; - } - - /** - * Get physicalAddress - * @return physicalAddress - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public String getPhysicalAddress() { - return physicalAddress; - } - - - public void setPhysicalAddress(String physicalAddress) { - this.physicalAddress = physicalAddress; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - AbortPresignMultipartUpload abortPresignMultipartUpload = (AbortPresignMultipartUpload) o; - return Objects.equals(this.physicalAddress, abortPresignMultipartUpload.physicalAddress); - } - - @Override - public int hashCode() { - return Objects.hash(physicalAddress); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class AbortPresignMultipartUpload {\n"); - sb.append(" physicalAddress: ").append(toIndentedString(physicalAddress)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/AccessKeyCredentials.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/AccessKeyCredentials.java deleted file mode 100644 index 9228816a1d9..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/AccessKeyCredentials.java +++ /dev/null @@ -1,127 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * AccessKeyCredentials - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class AccessKeyCredentials { - public static final String SERIALIZED_NAME_ACCESS_KEY_ID = "access_key_id"; - @SerializedName(SERIALIZED_NAME_ACCESS_KEY_ID) - private String accessKeyId; - - public static final String SERIALIZED_NAME_SECRET_ACCESS_KEY = "secret_access_key"; - @SerializedName(SERIALIZED_NAME_SECRET_ACCESS_KEY) - private String secretAccessKey; - - - public AccessKeyCredentials accessKeyId(String accessKeyId) { - - this.accessKeyId = accessKeyId; - return this; - } - - /** - * access key ID to set for user for use in integration testing. - * @return accessKeyId - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "AKIAIOSFODNN7EXAMPLE", required = true, value = "access key ID to set for user for use in integration testing.") - - public String getAccessKeyId() { - return accessKeyId; - } - - - public void setAccessKeyId(String accessKeyId) { - this.accessKeyId = accessKeyId; - } - - - public AccessKeyCredentials secretAccessKey(String secretAccessKey) { - - this.secretAccessKey = secretAccessKey; - return this; - } - - /** - * secret access key to set for user for use in integration testing. - * @return secretAccessKey - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY", required = true, value = "secret access key to set for user for use in integration testing.") - - public String getSecretAccessKey() { - return secretAccessKey; - } - - - public void setSecretAccessKey(String secretAccessKey) { - this.secretAccessKey = secretAccessKey; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - AccessKeyCredentials accessKeyCredentials = (AccessKeyCredentials) o; - return Objects.equals(this.accessKeyId, accessKeyCredentials.accessKeyId) && - Objects.equals(this.secretAccessKey, accessKeyCredentials.secretAccessKey); - } - - @Override - public int hashCode() { - return Objects.hash(accessKeyId, secretAccessKey); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class AccessKeyCredentials {\n"); - sb.append(" accessKeyId: ").append(toIndentedString(accessKeyId)).append("\n"); - sb.append(" secretAccessKey: ").append(toIndentedString(secretAccessKey)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/ActionRun.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/ActionRun.java deleted file mode 100644 index 45b21e44a1a..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/ActionRun.java +++ /dev/null @@ -1,320 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.threeten.bp.OffsetDateTime; - -/** - * ActionRun - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class ActionRun { - public static final String SERIALIZED_NAME_RUN_ID = "run_id"; - @SerializedName(SERIALIZED_NAME_RUN_ID) - private String runId; - - public static final String SERIALIZED_NAME_BRANCH = "branch"; - @SerializedName(SERIALIZED_NAME_BRANCH) - private String branch; - - public static final String SERIALIZED_NAME_START_TIME = "start_time"; - @SerializedName(SERIALIZED_NAME_START_TIME) - private OffsetDateTime startTime; - - public static final String SERIALIZED_NAME_END_TIME = "end_time"; - @SerializedName(SERIALIZED_NAME_END_TIME) - private OffsetDateTime endTime; - - public static final String SERIALIZED_NAME_EVENT_TYPE = "event_type"; - @SerializedName(SERIALIZED_NAME_EVENT_TYPE) - private String eventType; - - /** - * Gets or Sets status - */ - @JsonAdapter(StatusEnum.Adapter.class) - public enum StatusEnum { - FAILED("failed"), - - COMPLETED("completed"); - - private String value; - - StatusEnum(String value) { - this.value = value; - } - - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - public static StatusEnum fromValue(String value) { - for (StatusEnum b : StatusEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - - public static class Adapter extends TypeAdapter { - @Override - public void write(final JsonWriter jsonWriter, final StatusEnum enumeration) throws IOException { - jsonWriter.value(enumeration.getValue()); - } - - @Override - public StatusEnum read(final JsonReader jsonReader) throws IOException { - String value = jsonReader.nextString(); - return StatusEnum.fromValue(value); - } - } - } - - public static final String SERIALIZED_NAME_STATUS = "status"; - @SerializedName(SERIALIZED_NAME_STATUS) - private StatusEnum status; - - public static final String SERIALIZED_NAME_COMMIT_ID = "commit_id"; - @SerializedName(SERIALIZED_NAME_COMMIT_ID) - private String commitId; - - - public ActionRun runId(String runId) { - - this.runId = runId; - return this; - } - - /** - * Get runId - * @return runId - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public String getRunId() { - return runId; - } - - - public void setRunId(String runId) { - this.runId = runId; - } - - - public ActionRun branch(String branch) { - - this.branch = branch; - return this; - } - - /** - * Get branch - * @return branch - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public String getBranch() { - return branch; - } - - - public void setBranch(String branch) { - this.branch = branch; - } - - - public ActionRun startTime(OffsetDateTime startTime) { - - this.startTime = startTime; - return this; - } - - /** - * Get startTime - * @return startTime - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public OffsetDateTime getStartTime() { - return startTime; - } - - - public void setStartTime(OffsetDateTime startTime) { - this.startTime = startTime; - } - - - public ActionRun endTime(OffsetDateTime endTime) { - - this.endTime = endTime; - return this; - } - - /** - * Get endTime - * @return endTime - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public OffsetDateTime getEndTime() { - return endTime; - } - - - public void setEndTime(OffsetDateTime endTime) { - this.endTime = endTime; - } - - - public ActionRun eventType(String eventType) { - - this.eventType = eventType; - return this; - } - - /** - * Get eventType - * @return eventType - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public String getEventType() { - return eventType; - } - - - public void setEventType(String eventType) { - this.eventType = eventType; - } - - - public ActionRun status(StatusEnum status) { - - this.status = status; - return this; - } - - /** - * Get status - * @return status - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public StatusEnum getStatus() { - return status; - } - - - public void setStatus(StatusEnum status) { - this.status = status; - } - - - public ActionRun commitId(String commitId) { - - this.commitId = commitId; - return this; - } - - /** - * Get commitId - * @return commitId - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public String getCommitId() { - return commitId; - } - - - public void setCommitId(String commitId) { - this.commitId = commitId; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ActionRun actionRun = (ActionRun) o; - return Objects.equals(this.runId, actionRun.runId) && - Objects.equals(this.branch, actionRun.branch) && - Objects.equals(this.startTime, actionRun.startTime) && - Objects.equals(this.endTime, actionRun.endTime) && - Objects.equals(this.eventType, actionRun.eventType) && - Objects.equals(this.status, actionRun.status) && - Objects.equals(this.commitId, actionRun.commitId); - } - - @Override - public int hashCode() { - return Objects.hash(runId, branch, startTime, endTime, eventType, status, commitId); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ActionRun {\n"); - sb.append(" runId: ").append(toIndentedString(runId)).append("\n"); - sb.append(" branch: ").append(toIndentedString(branch)).append("\n"); - sb.append(" startTime: ").append(toIndentedString(startTime)).append("\n"); - sb.append(" endTime: ").append(toIndentedString(endTime)).append("\n"); - sb.append(" eventType: ").append(toIndentedString(eventType)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" commitId: ").append(toIndentedString(commitId)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/ActionRunList.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/ActionRunList.java deleted file mode 100644 index acb1f186066..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/ActionRunList.java +++ /dev/null @@ -1,136 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.lakefs.clients.api.model.ActionRun; -import io.lakefs.clients.api.model.Pagination; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; - -/** - * ActionRunList - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class ActionRunList { - public static final String SERIALIZED_NAME_PAGINATION = "pagination"; - @SerializedName(SERIALIZED_NAME_PAGINATION) - private Pagination pagination; - - public static final String SERIALIZED_NAME_RESULTS = "results"; - @SerializedName(SERIALIZED_NAME_RESULTS) - private List results = new ArrayList(); - - - public ActionRunList pagination(Pagination pagination) { - - this.pagination = pagination; - return this; - } - - /** - * Get pagination - * @return pagination - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public Pagination getPagination() { - return pagination; - } - - - public void setPagination(Pagination pagination) { - this.pagination = pagination; - } - - - public ActionRunList results(List results) { - - this.results = results; - return this; - } - - public ActionRunList addResultsItem(ActionRun resultsItem) { - this.results.add(resultsItem); - return this; - } - - /** - * Get results - * @return results - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public List getResults() { - return results; - } - - - public void setResults(List results) { - this.results = results; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ActionRunList actionRunList = (ActionRunList) o; - return Objects.equals(this.pagination, actionRunList.pagination) && - Objects.equals(this.results, actionRunList.results); - } - - @Override - public int hashCode() { - return Objects.hash(pagination, results); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ActionRunList {\n"); - sb.append(" pagination: ").append(toIndentedString(pagination)).append("\n"); - sb.append(" results: ").append(toIndentedString(results)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/AuthCapabilities.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/AuthCapabilities.java deleted file mode 100644 index 0bb37dec1ce..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/AuthCapabilities.java +++ /dev/null @@ -1,127 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * AuthCapabilities - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class AuthCapabilities { - public static final String SERIALIZED_NAME_INVITE_USER = "invite_user"; - @SerializedName(SERIALIZED_NAME_INVITE_USER) - private Boolean inviteUser; - - public static final String SERIALIZED_NAME_FORGOT_PASSWORD = "forgot_password"; - @SerializedName(SERIALIZED_NAME_FORGOT_PASSWORD) - private Boolean forgotPassword; - - - public AuthCapabilities inviteUser(Boolean inviteUser) { - - this.inviteUser = inviteUser; - return this; - } - - /** - * Get inviteUser - * @return inviteUser - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Boolean getInviteUser() { - return inviteUser; - } - - - public void setInviteUser(Boolean inviteUser) { - this.inviteUser = inviteUser; - } - - - public AuthCapabilities forgotPassword(Boolean forgotPassword) { - - this.forgotPassword = forgotPassword; - return this; - } - - /** - * Get forgotPassword - * @return forgotPassword - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Boolean getForgotPassword() { - return forgotPassword; - } - - - public void setForgotPassword(Boolean forgotPassword) { - this.forgotPassword = forgotPassword; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - AuthCapabilities authCapabilities = (AuthCapabilities) o; - return Objects.equals(this.inviteUser, authCapabilities.inviteUser) && - Objects.equals(this.forgotPassword, authCapabilities.forgotPassword); - } - - @Override - public int hashCode() { - return Objects.hash(inviteUser, forgotPassword); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class AuthCapabilities {\n"); - sb.append(" inviteUser: ").append(toIndentedString(inviteUser)).append("\n"); - sb.append(" forgotPassword: ").append(toIndentedString(forgotPassword)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/AuthenticationToken.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/AuthenticationToken.java deleted file mode 100644 index 4e863a08d18..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/AuthenticationToken.java +++ /dev/null @@ -1,127 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * AuthenticationToken - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class AuthenticationToken { - public static final String SERIALIZED_NAME_TOKEN = "token"; - @SerializedName(SERIALIZED_NAME_TOKEN) - private String token; - - public static final String SERIALIZED_NAME_TOKEN_EXPIRATION = "token_expiration"; - @SerializedName(SERIALIZED_NAME_TOKEN_EXPIRATION) - private Long tokenExpiration; - - - public AuthenticationToken token(String token) { - - this.token = token; - return this; - } - - /** - * a JWT token that could be used to authenticate requests - * @return token - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "a JWT token that could be used to authenticate requests") - - public String getToken() { - return token; - } - - - public void setToken(String token) { - this.token = token; - } - - - public AuthenticationToken tokenExpiration(Long tokenExpiration) { - - this.tokenExpiration = tokenExpiration; - return this; - } - - /** - * Unix Epoch in seconds - * @return tokenExpiration - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "Unix Epoch in seconds") - - public Long getTokenExpiration() { - return tokenExpiration; - } - - - public void setTokenExpiration(Long tokenExpiration) { - this.tokenExpiration = tokenExpiration; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - AuthenticationToken authenticationToken = (AuthenticationToken) o; - return Objects.equals(this.token, authenticationToken.token) && - Objects.equals(this.tokenExpiration, authenticationToken.tokenExpiration); - } - - @Override - public int hashCode() { - return Objects.hash(token, tokenExpiration); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class AuthenticationToken {\n"); - sb.append(" token: ").append(toIndentedString(token)).append("\n"); - sb.append(" tokenExpiration: ").append(toIndentedString(tokenExpiration)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/BranchCreation.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/BranchCreation.java deleted file mode 100644 index 3257bad1fcc..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/BranchCreation.java +++ /dev/null @@ -1,156 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * BranchCreation - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class BranchCreation { - public static final String SERIALIZED_NAME_NAME = "name"; - @SerializedName(SERIALIZED_NAME_NAME) - private String name; - - public static final String SERIALIZED_NAME_SOURCE = "source"; - @SerializedName(SERIALIZED_NAME_SOURCE) - private String source; - - public static final String SERIALIZED_NAME_FORCE = "force"; - @SerializedName(SERIALIZED_NAME_FORCE) - private Boolean force = false; - - - public BranchCreation name(String name) { - - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public String getName() { - return name; - } - - - public void setName(String name) { - this.name = name; - } - - - public BranchCreation source(String source) { - - this.source = source; - return this; - } - - /** - * Get source - * @return source - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public String getSource() { - return source; - } - - - public void setSource(String source) { - this.source = source; - } - - - public BranchCreation force(Boolean force) { - - this.force = force; - return this; - } - - /** - * Get force - * @return force - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Boolean getForce() { - return force; - } - - - public void setForce(Boolean force) { - this.force = force; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - BranchCreation branchCreation = (BranchCreation) o; - return Objects.equals(this.name, branchCreation.name) && - Objects.equals(this.source, branchCreation.source) && - Objects.equals(this.force, branchCreation.force); - } - - @Override - public int hashCode() { - return Objects.hash(name, source, force); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class BranchCreation {\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" source: ").append(toIndentedString(source)).append("\n"); - sb.append(" force: ").append(toIndentedString(force)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/BranchProtectionRule.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/BranchProtectionRule.java deleted file mode 100644 index 2219d017c96..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/BranchProtectionRule.java +++ /dev/null @@ -1,98 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * BranchProtectionRule - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class BranchProtectionRule { - public static final String SERIALIZED_NAME_PATTERN = "pattern"; - @SerializedName(SERIALIZED_NAME_PATTERN) - private String pattern; - - - public BranchProtectionRule pattern(String pattern) { - - this.pattern = pattern; - return this; - } - - /** - * fnmatch pattern for the branch name, supporting * and ? wildcards - * @return pattern - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "stable_*", required = true, value = "fnmatch pattern for the branch name, supporting * and ? wildcards") - - public String getPattern() { - return pattern; - } - - - public void setPattern(String pattern) { - this.pattern = pattern; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - BranchProtectionRule branchProtectionRule = (BranchProtectionRule) o; - return Objects.equals(this.pattern, branchProtectionRule.pattern); - } - - @Override - public int hashCode() { - return Objects.hash(pattern); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class BranchProtectionRule {\n"); - sb.append(" pattern: ").append(toIndentedString(pattern)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/CherryPickCreation.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/CherryPickCreation.java deleted file mode 100644 index 063d8fde330..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/CherryPickCreation.java +++ /dev/null @@ -1,186 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.lakefs.clients.api.model.CommitOverrides; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * CherryPickCreation - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CherryPickCreation { - public static final String SERIALIZED_NAME_REF = "ref"; - @SerializedName(SERIALIZED_NAME_REF) - private String ref; - - public static final String SERIALIZED_NAME_PARENT_NUMBER = "parent_number"; - @SerializedName(SERIALIZED_NAME_PARENT_NUMBER) - private Integer parentNumber; - - public static final String SERIALIZED_NAME_COMMIT_OVERRIDES = "commit_overrides"; - @SerializedName(SERIALIZED_NAME_COMMIT_OVERRIDES) - private CommitOverrides commitOverrides; - - public static final String SERIALIZED_NAME_FORCE = "force"; - @SerializedName(SERIALIZED_NAME_FORCE) - private Boolean force = false; - - - public CherryPickCreation ref(String ref) { - - this.ref = ref; - return this; - } - - /** - * the commit to cherry-pick, given by a ref - * @return ref - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "the commit to cherry-pick, given by a ref") - - public String getRef() { - return ref; - } - - - public void setRef(String ref) { - this.ref = ref; - } - - - public CherryPickCreation parentNumber(Integer parentNumber) { - - this.parentNumber = parentNumber; - return this; - } - - /** - * When cherry-picking a merge commit, the parent number (starting from 1) with which to perform the diff. The default branch is parent 1. - * @return parentNumber - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "When cherry-picking a merge commit, the parent number (starting from 1) with which to perform the diff. The default branch is parent 1. ") - - public Integer getParentNumber() { - return parentNumber; - } - - - public void setParentNumber(Integer parentNumber) { - this.parentNumber = parentNumber; - } - - - public CherryPickCreation commitOverrides(CommitOverrides commitOverrides) { - - this.commitOverrides = commitOverrides; - return this; - } - - /** - * Get commitOverrides - * @return commitOverrides - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public CommitOverrides getCommitOverrides() { - return commitOverrides; - } - - - public void setCommitOverrides(CommitOverrides commitOverrides) { - this.commitOverrides = commitOverrides; - } - - - public CherryPickCreation force(Boolean force) { - - this.force = force; - return this; - } - - /** - * Get force - * @return force - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Boolean getForce() { - return force; - } - - - public void setForce(Boolean force) { - this.force = force; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CherryPickCreation cherryPickCreation = (CherryPickCreation) o; - return Objects.equals(this.ref, cherryPickCreation.ref) && - Objects.equals(this.parentNumber, cherryPickCreation.parentNumber) && - Objects.equals(this.commitOverrides, cherryPickCreation.commitOverrides) && - Objects.equals(this.force, cherryPickCreation.force); - } - - @Override - public int hashCode() { - return Objects.hash(ref, parentNumber, commitOverrides, force); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CherryPickCreation {\n"); - sb.append(" ref: ").append(toIndentedString(ref)).append("\n"); - sb.append(" parentNumber: ").append(toIndentedString(parentNumber)).append("\n"); - sb.append(" commitOverrides: ").append(toIndentedString(commitOverrides)).append("\n"); - sb.append(" force: ").append(toIndentedString(force)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/CommPrefsInput.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/CommPrefsInput.java deleted file mode 100644 index 20500d3121b..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/CommPrefsInput.java +++ /dev/null @@ -1,156 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * CommPrefsInput - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CommPrefsInput { - public static final String SERIALIZED_NAME_EMAIL = "email"; - @SerializedName(SERIALIZED_NAME_EMAIL) - private String email; - - public static final String SERIALIZED_NAME_FEATURE_UPDATES = "featureUpdates"; - @SerializedName(SERIALIZED_NAME_FEATURE_UPDATES) - private Boolean featureUpdates; - - public static final String SERIALIZED_NAME_SECURITY_UPDATES = "securityUpdates"; - @SerializedName(SERIALIZED_NAME_SECURITY_UPDATES) - private Boolean securityUpdates; - - - public CommPrefsInput email(String email) { - - this.email = email; - return this; - } - - /** - * the provided email - * @return email - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "the provided email") - - public String getEmail() { - return email; - } - - - public void setEmail(String email) { - this.email = email; - } - - - public CommPrefsInput featureUpdates(Boolean featureUpdates) { - - this.featureUpdates = featureUpdates; - return this; - } - - /** - * user preference to receive feature updates - * @return featureUpdates - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "user preference to receive feature updates") - - public Boolean getFeatureUpdates() { - return featureUpdates; - } - - - public void setFeatureUpdates(Boolean featureUpdates) { - this.featureUpdates = featureUpdates; - } - - - public CommPrefsInput securityUpdates(Boolean securityUpdates) { - - this.securityUpdates = securityUpdates; - return this; - } - - /** - * user preference to receive security updates - * @return securityUpdates - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "user preference to receive security updates") - - public Boolean getSecurityUpdates() { - return securityUpdates; - } - - - public void setSecurityUpdates(Boolean securityUpdates) { - this.securityUpdates = securityUpdates; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CommPrefsInput commPrefsInput = (CommPrefsInput) o; - return Objects.equals(this.email, commPrefsInput.email) && - Objects.equals(this.featureUpdates, commPrefsInput.featureUpdates) && - Objects.equals(this.securityUpdates, commPrefsInput.securityUpdates); - } - - @Override - public int hashCode() { - return Objects.hash(email, featureUpdates, securityUpdates); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CommPrefsInput {\n"); - sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append(" featureUpdates: ").append(toIndentedString(featureUpdates)).append("\n"); - sb.append(" securityUpdates: ").append(toIndentedString(securityUpdates)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/Commit.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/Commit.java deleted file mode 100644 index da74d0af0a1..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/Commit.java +++ /dev/null @@ -1,349 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -/** - * Commit - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class Commit { - public static final String SERIALIZED_NAME_ID = "id"; - @SerializedName(SERIALIZED_NAME_ID) - private String id; - - public static final String SERIALIZED_NAME_PARENTS = "parents"; - @SerializedName(SERIALIZED_NAME_PARENTS) - private List parents = new ArrayList(); - - public static final String SERIALIZED_NAME_COMMITTER = "committer"; - @SerializedName(SERIALIZED_NAME_COMMITTER) - private String committer; - - public static final String SERIALIZED_NAME_MESSAGE = "message"; - @SerializedName(SERIALIZED_NAME_MESSAGE) - private String message; - - public static final String SERIALIZED_NAME_CREATION_DATE = "creation_date"; - @SerializedName(SERIALIZED_NAME_CREATION_DATE) - private Long creationDate; - - public static final String SERIALIZED_NAME_META_RANGE_ID = "meta_range_id"; - @SerializedName(SERIALIZED_NAME_META_RANGE_ID) - private String metaRangeId; - - public static final String SERIALIZED_NAME_METADATA = "metadata"; - @SerializedName(SERIALIZED_NAME_METADATA) - private Map metadata = null; - - public static final String SERIALIZED_NAME_GENERATION = "generation"; - @SerializedName(SERIALIZED_NAME_GENERATION) - private Long generation; - - public static final String SERIALIZED_NAME_VERSION = "version"; - @SerializedName(SERIALIZED_NAME_VERSION) - private Integer version; - - - public Commit id(String id) { - - this.id = id; - return this; - } - - /** - * Get id - * @return id - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public String getId() { - return id; - } - - - public void setId(String id) { - this.id = id; - } - - - public Commit parents(List parents) { - - this.parents = parents; - return this; - } - - public Commit addParentsItem(String parentsItem) { - this.parents.add(parentsItem); - return this; - } - - /** - * Get parents - * @return parents - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public List getParents() { - return parents; - } - - - public void setParents(List parents) { - this.parents = parents; - } - - - public Commit committer(String committer) { - - this.committer = committer; - return this; - } - - /** - * Get committer - * @return committer - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public String getCommitter() { - return committer; - } - - - public void setCommitter(String committer) { - this.committer = committer; - } - - - public Commit message(String message) { - - this.message = message; - return this; - } - - /** - * Get message - * @return message - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public String getMessage() { - return message; - } - - - public void setMessage(String message) { - this.message = message; - } - - - public Commit creationDate(Long creationDate) { - - this.creationDate = creationDate; - return this; - } - - /** - * Unix Epoch in seconds - * @return creationDate - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "Unix Epoch in seconds") - - public Long getCreationDate() { - return creationDate; - } - - - public void setCreationDate(Long creationDate) { - this.creationDate = creationDate; - } - - - public Commit metaRangeId(String metaRangeId) { - - this.metaRangeId = metaRangeId; - return this; - } - - /** - * Get metaRangeId - * @return metaRangeId - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public String getMetaRangeId() { - return metaRangeId; - } - - - public void setMetaRangeId(String metaRangeId) { - this.metaRangeId = metaRangeId; - } - - - public Commit metadata(Map metadata) { - - this.metadata = metadata; - return this; - } - - public Commit putMetadataItem(String key, String metadataItem) { - if (this.metadata == null) { - this.metadata = new HashMap(); - } - this.metadata.put(key, metadataItem); - return this; - } - - /** - * Get metadata - * @return metadata - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Map getMetadata() { - return metadata; - } - - - public void setMetadata(Map metadata) { - this.metadata = metadata; - } - - - public Commit generation(Long generation) { - - this.generation = generation; - return this; - } - - /** - * Get generation - * @return generation - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Long getGeneration() { - return generation; - } - - - public void setGeneration(Long generation) { - this.generation = generation; - } - - - public Commit version(Integer version) { - - this.version = version; - return this; - } - - /** - * Get version - * minimum: 0 - * maximum: 1 - * @return version - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Integer getVersion() { - return version; - } - - - public void setVersion(Integer version) { - this.version = version; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - Commit commit = (Commit) o; - return Objects.equals(this.id, commit.id) && - Objects.equals(this.parents, commit.parents) && - Objects.equals(this.committer, commit.committer) && - Objects.equals(this.message, commit.message) && - Objects.equals(this.creationDate, commit.creationDate) && - Objects.equals(this.metaRangeId, commit.metaRangeId) && - Objects.equals(this.metadata, commit.metadata) && - Objects.equals(this.generation, commit.generation) && - Objects.equals(this.version, commit.version); - } - - @Override - public int hashCode() { - return Objects.hash(id, parents, committer, message, creationDate, metaRangeId, metadata, generation, version); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class Commit {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" parents: ").append(toIndentedString(parents)).append("\n"); - sb.append(" committer: ").append(toIndentedString(committer)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" creationDate: ").append(toIndentedString(creationDate)).append("\n"); - sb.append(" metaRangeId: ").append(toIndentedString(metaRangeId)).append("\n"); - sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); - sb.append(" generation: ").append(toIndentedString(generation)).append("\n"); - sb.append(" version: ").append(toIndentedString(version)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/CommitCreation.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/CommitCreation.java deleted file mode 100644 index dae22cf58f1..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/CommitCreation.java +++ /dev/null @@ -1,225 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -/** - * CommitCreation - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CommitCreation { - public static final String SERIALIZED_NAME_MESSAGE = "message"; - @SerializedName(SERIALIZED_NAME_MESSAGE) - private String message; - - public static final String SERIALIZED_NAME_METADATA = "metadata"; - @SerializedName(SERIALIZED_NAME_METADATA) - private Map metadata = null; - - public static final String SERIALIZED_NAME_DATE = "date"; - @SerializedName(SERIALIZED_NAME_DATE) - private Long date; - - public static final String SERIALIZED_NAME_ALLOW_EMPTY = "allow_empty"; - @SerializedName(SERIALIZED_NAME_ALLOW_EMPTY) - private Boolean allowEmpty = false; - - public static final String SERIALIZED_NAME_FORCE = "force"; - @SerializedName(SERIALIZED_NAME_FORCE) - private Boolean force = false; - - - public CommitCreation message(String message) { - - this.message = message; - return this; - } - - /** - * Get message - * @return message - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public String getMessage() { - return message; - } - - - public void setMessage(String message) { - this.message = message; - } - - - public CommitCreation metadata(Map metadata) { - - this.metadata = metadata; - return this; - } - - public CommitCreation putMetadataItem(String key, String metadataItem) { - if (this.metadata == null) { - this.metadata = new HashMap(); - } - this.metadata.put(key, metadataItem); - return this; - } - - /** - * Get metadata - * @return metadata - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Map getMetadata() { - return metadata; - } - - - public void setMetadata(Map metadata) { - this.metadata = metadata; - } - - - public CommitCreation date(Long date) { - - this.date = date; - return this; - } - - /** - * set date to override creation date in the commit (Unix Epoch in seconds) - * @return date - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "set date to override creation date in the commit (Unix Epoch in seconds)") - - public Long getDate() { - return date; - } - - - public void setDate(Long date) { - this.date = date; - } - - - public CommitCreation allowEmpty(Boolean allowEmpty) { - - this.allowEmpty = allowEmpty; - return this; - } - - /** - * sets whether a commit can contain no changes - * @return allowEmpty - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "sets whether a commit can contain no changes") - - public Boolean getAllowEmpty() { - return allowEmpty; - } - - - public void setAllowEmpty(Boolean allowEmpty) { - this.allowEmpty = allowEmpty; - } - - - public CommitCreation force(Boolean force) { - - this.force = force; - return this; - } - - /** - * Get force - * @return force - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Boolean getForce() { - return force; - } - - - public void setForce(Boolean force) { - this.force = force; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CommitCreation commitCreation = (CommitCreation) o; - return Objects.equals(this.message, commitCreation.message) && - Objects.equals(this.metadata, commitCreation.metadata) && - Objects.equals(this.date, commitCreation.date) && - Objects.equals(this.allowEmpty, commitCreation.allowEmpty) && - Objects.equals(this.force, commitCreation.force); - } - - @Override - public int hashCode() { - return Objects.hash(message, metadata, date, allowEmpty, force); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CommitCreation {\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); - sb.append(" date: ").append(toIndentedString(date)).append("\n"); - sb.append(" allowEmpty: ").append(toIndentedString(allowEmpty)).append("\n"); - sb.append(" force: ").append(toIndentedString(force)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/CommitList.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/CommitList.java deleted file mode 100644 index 4a085599c39..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/CommitList.java +++ /dev/null @@ -1,136 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.lakefs.clients.api.model.Commit; -import io.lakefs.clients.api.model.Pagination; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; - -/** - * CommitList - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CommitList { - public static final String SERIALIZED_NAME_PAGINATION = "pagination"; - @SerializedName(SERIALIZED_NAME_PAGINATION) - private Pagination pagination; - - public static final String SERIALIZED_NAME_RESULTS = "results"; - @SerializedName(SERIALIZED_NAME_RESULTS) - private List results = new ArrayList(); - - - public CommitList pagination(Pagination pagination) { - - this.pagination = pagination; - return this; - } - - /** - * Get pagination - * @return pagination - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public Pagination getPagination() { - return pagination; - } - - - public void setPagination(Pagination pagination) { - this.pagination = pagination; - } - - - public CommitList results(List results) { - - this.results = results; - return this; - } - - public CommitList addResultsItem(Commit resultsItem) { - this.results.add(resultsItem); - return this; - } - - /** - * Get results - * @return results - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public List getResults() { - return results; - } - - - public void setResults(List results) { - this.results = results; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CommitList commitList = (CommitList) o; - return Objects.equals(this.pagination, commitList.pagination) && - Objects.equals(this.results, commitList.results); - } - - @Override - public int hashCode() { - return Objects.hash(pagination, results); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CommitList {\n"); - sb.append(" pagination: ").append(toIndentedString(pagination)).append("\n"); - sb.append(" results: ").append(toIndentedString(results)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/CommitOverrides.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/CommitOverrides.java deleted file mode 100644 index cd595f7b81e..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/CommitOverrides.java +++ /dev/null @@ -1,138 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -/** - * CommitOverrides - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CommitOverrides { - public static final String SERIALIZED_NAME_MESSAGE = "message"; - @SerializedName(SERIALIZED_NAME_MESSAGE) - private String message; - - public static final String SERIALIZED_NAME_METADATA = "metadata"; - @SerializedName(SERIALIZED_NAME_METADATA) - private Map metadata = null; - - - public CommitOverrides message(String message) { - - this.message = message; - return this; - } - - /** - * replace the commit message - * @return message - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "replace the commit message") - - public String getMessage() { - return message; - } - - - public void setMessage(String message) { - this.message = message; - } - - - public CommitOverrides metadata(Map metadata) { - - this.metadata = metadata; - return this; - } - - public CommitOverrides putMetadataItem(String key, String metadataItem) { - if (this.metadata == null) { - this.metadata = new HashMap(); - } - this.metadata.put(key, metadataItem); - return this; - } - - /** - * replace the metadata of the commit - * @return metadata - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "replace the metadata of the commit") - - public Map getMetadata() { - return metadata; - } - - - public void setMetadata(Map metadata) { - this.metadata = metadata; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CommitOverrides commitOverrides = (CommitOverrides) o; - return Objects.equals(this.message, commitOverrides.message) && - Objects.equals(this.metadata, commitOverrides.metadata); - } - - @Override - public int hashCode() { - return Objects.hash(message, metadata); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CommitOverrides {\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/CommitRecordCreation.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/CommitRecordCreation.java deleted file mode 100644 index d4ed8d8c0db..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/CommitRecordCreation.java +++ /dev/null @@ -1,378 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -/** - * CommitRecordCreation - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CommitRecordCreation { - public static final String SERIALIZED_NAME_COMMIT_ID = "commit_id"; - @SerializedName(SERIALIZED_NAME_COMMIT_ID) - private String commitId; - - public static final String SERIALIZED_NAME_VERSION = "version"; - @SerializedName(SERIALIZED_NAME_VERSION) - private Integer version; - - public static final String SERIALIZED_NAME_COMMITTER = "committer"; - @SerializedName(SERIALIZED_NAME_COMMITTER) - private String committer; - - public static final String SERIALIZED_NAME_MESSAGE = "message"; - @SerializedName(SERIALIZED_NAME_MESSAGE) - private String message; - - public static final String SERIALIZED_NAME_METARANGE_ID = "metarange_id"; - @SerializedName(SERIALIZED_NAME_METARANGE_ID) - private String metarangeId; - - public static final String SERIALIZED_NAME_CREATION_DATE = "creation_date"; - @SerializedName(SERIALIZED_NAME_CREATION_DATE) - private Long creationDate; - - public static final String SERIALIZED_NAME_PARENTS = "parents"; - @SerializedName(SERIALIZED_NAME_PARENTS) - private List parents = new ArrayList(); - - public static final String SERIALIZED_NAME_METADATA = "metadata"; - @SerializedName(SERIALIZED_NAME_METADATA) - private Map metadata = null; - - public static final String SERIALIZED_NAME_GENERATION = "generation"; - @SerializedName(SERIALIZED_NAME_GENERATION) - private Long generation; - - public static final String SERIALIZED_NAME_FORCE = "force"; - @SerializedName(SERIALIZED_NAME_FORCE) - private Boolean force = false; - - - public CommitRecordCreation commitId(String commitId) { - - this.commitId = commitId; - return this; - } - - /** - * id of the commit record - * @return commitId - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "id of the commit record") - - public String getCommitId() { - return commitId; - } - - - public void setCommitId(String commitId) { - this.commitId = commitId; - } - - - public CommitRecordCreation version(Integer version) { - - this.version = version; - return this; - } - - /** - * version of the commit record - * minimum: 0 - * maximum: 1 - * @return version - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "version of the commit record") - - public Integer getVersion() { - return version; - } - - - public void setVersion(Integer version) { - this.version = version; - } - - - public CommitRecordCreation committer(String committer) { - - this.committer = committer; - return this; - } - - /** - * committer of the commit record - * @return committer - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "committer of the commit record") - - public String getCommitter() { - return committer; - } - - - public void setCommitter(String committer) { - this.committer = committer; - } - - - public CommitRecordCreation message(String message) { - - this.message = message; - return this; - } - - /** - * message of the commit record - * @return message - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "message of the commit record") - - public String getMessage() { - return message; - } - - - public void setMessage(String message) { - this.message = message; - } - - - public CommitRecordCreation metarangeId(String metarangeId) { - - this.metarangeId = metarangeId; - return this; - } - - /** - * metarange_id of the commit record - * @return metarangeId - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "metarange_id of the commit record") - - public String getMetarangeId() { - return metarangeId; - } - - - public void setMetarangeId(String metarangeId) { - this.metarangeId = metarangeId; - } - - - public CommitRecordCreation creationDate(Long creationDate) { - - this.creationDate = creationDate; - return this; - } - - /** - * Unix Epoch in seconds - * @return creationDate - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "Unix Epoch in seconds") - - public Long getCreationDate() { - return creationDate; - } - - - public void setCreationDate(Long creationDate) { - this.creationDate = creationDate; - } - - - public CommitRecordCreation parents(List parents) { - - this.parents = parents; - return this; - } - - public CommitRecordCreation addParentsItem(String parentsItem) { - this.parents.add(parentsItem); - return this; - } - - /** - * parents of the commit record - * @return parents - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "parents of the commit record") - - public List getParents() { - return parents; - } - - - public void setParents(List parents) { - this.parents = parents; - } - - - public CommitRecordCreation metadata(Map metadata) { - - this.metadata = metadata; - return this; - } - - public CommitRecordCreation putMetadataItem(String key, String metadataItem) { - if (this.metadata == null) { - this.metadata = new HashMap(); - } - this.metadata.put(key, metadataItem); - return this; - } - - /** - * metadata of the commit record - * @return metadata - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "metadata of the commit record") - - public Map getMetadata() { - return metadata; - } - - - public void setMetadata(Map metadata) { - this.metadata = metadata; - } - - - public CommitRecordCreation generation(Long generation) { - - this.generation = generation; - return this; - } - - /** - * generation of the commit record - * @return generation - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "generation of the commit record") - - public Long getGeneration() { - return generation; - } - - - public void setGeneration(Long generation) { - this.generation = generation; - } - - - public CommitRecordCreation force(Boolean force) { - - this.force = force; - return this; - } - - /** - * Get force - * @return force - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Boolean getForce() { - return force; - } - - - public void setForce(Boolean force) { - this.force = force; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CommitRecordCreation commitRecordCreation = (CommitRecordCreation) o; - return Objects.equals(this.commitId, commitRecordCreation.commitId) && - Objects.equals(this.version, commitRecordCreation.version) && - Objects.equals(this.committer, commitRecordCreation.committer) && - Objects.equals(this.message, commitRecordCreation.message) && - Objects.equals(this.metarangeId, commitRecordCreation.metarangeId) && - Objects.equals(this.creationDate, commitRecordCreation.creationDate) && - Objects.equals(this.parents, commitRecordCreation.parents) && - Objects.equals(this.metadata, commitRecordCreation.metadata) && - Objects.equals(this.generation, commitRecordCreation.generation) && - Objects.equals(this.force, commitRecordCreation.force); - } - - @Override - public int hashCode() { - return Objects.hash(commitId, version, committer, message, metarangeId, creationDate, parents, metadata, generation, force); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CommitRecordCreation {\n"); - sb.append(" commitId: ").append(toIndentedString(commitId)).append("\n"); - sb.append(" version: ").append(toIndentedString(version)).append("\n"); - sb.append(" committer: ").append(toIndentedString(committer)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" metarangeId: ").append(toIndentedString(metarangeId)).append("\n"); - sb.append(" creationDate: ").append(toIndentedString(creationDate)).append("\n"); - sb.append(" parents: ").append(toIndentedString(parents)).append("\n"); - sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); - sb.append(" generation: ").append(toIndentedString(generation)).append("\n"); - sb.append(" force: ").append(toIndentedString(force)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/CompletePresignMultipartUpload.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/CompletePresignMultipartUpload.java deleted file mode 100644 index fd1a7bb18c6..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/CompletePresignMultipartUpload.java +++ /dev/null @@ -1,203 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.lakefs.clients.api.model.UploadPart; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -/** - * CompletePresignMultipartUpload - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CompletePresignMultipartUpload { - public static final String SERIALIZED_NAME_PHYSICAL_ADDRESS = "physical_address"; - @SerializedName(SERIALIZED_NAME_PHYSICAL_ADDRESS) - private String physicalAddress; - - public static final String SERIALIZED_NAME_PARTS = "parts"; - @SerializedName(SERIALIZED_NAME_PARTS) - private List parts = new ArrayList(); - - public static final String SERIALIZED_NAME_USER_METADATA = "user_metadata"; - @SerializedName(SERIALIZED_NAME_USER_METADATA) - private Map userMetadata = null; - - public static final String SERIALIZED_NAME_CONTENT_TYPE = "content_type"; - @SerializedName(SERIALIZED_NAME_CONTENT_TYPE) - private String contentType; - - - public CompletePresignMultipartUpload physicalAddress(String physicalAddress) { - - this.physicalAddress = physicalAddress; - return this; - } - - /** - * Get physicalAddress - * @return physicalAddress - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public String getPhysicalAddress() { - return physicalAddress; - } - - - public void setPhysicalAddress(String physicalAddress) { - this.physicalAddress = physicalAddress; - } - - - public CompletePresignMultipartUpload parts(List parts) { - - this.parts = parts; - return this; - } - - public CompletePresignMultipartUpload addPartsItem(UploadPart partsItem) { - this.parts.add(partsItem); - return this; - } - - /** - * List of uploaded parts, should be ordered by ascending part number - * @return parts - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "List of uploaded parts, should be ordered by ascending part number") - - public List getParts() { - return parts; - } - - - public void setParts(List parts) { - this.parts = parts; - } - - - public CompletePresignMultipartUpload userMetadata(Map userMetadata) { - - this.userMetadata = userMetadata; - return this; - } - - public CompletePresignMultipartUpload putUserMetadataItem(String key, String userMetadataItem) { - if (this.userMetadata == null) { - this.userMetadata = new HashMap(); - } - this.userMetadata.put(key, userMetadataItem); - return this; - } - - /** - * Get userMetadata - * @return userMetadata - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Map getUserMetadata() { - return userMetadata; - } - - - public void setUserMetadata(Map userMetadata) { - this.userMetadata = userMetadata; - } - - - public CompletePresignMultipartUpload contentType(String contentType) { - - this.contentType = contentType; - return this; - } - - /** - * Object media type - * @return contentType - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "Object media type") - - public String getContentType() { - return contentType; - } - - - public void setContentType(String contentType) { - this.contentType = contentType; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CompletePresignMultipartUpload completePresignMultipartUpload = (CompletePresignMultipartUpload) o; - return Objects.equals(this.physicalAddress, completePresignMultipartUpload.physicalAddress) && - Objects.equals(this.parts, completePresignMultipartUpload.parts) && - Objects.equals(this.userMetadata, completePresignMultipartUpload.userMetadata) && - Objects.equals(this.contentType, completePresignMultipartUpload.contentType); - } - - @Override - public int hashCode() { - return Objects.hash(physicalAddress, parts, userMetadata, contentType); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CompletePresignMultipartUpload {\n"); - sb.append(" physicalAddress: ").append(toIndentedString(physicalAddress)).append("\n"); - sb.append(" parts: ").append(toIndentedString(parts)).append("\n"); - sb.append(" userMetadata: ").append(toIndentedString(userMetadata)).append("\n"); - sb.append(" contentType: ").append(toIndentedString(contentType)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/Config.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/Config.java deleted file mode 100644 index efd39169db1..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/Config.java +++ /dev/null @@ -1,129 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.lakefs.clients.api.model.StorageConfig; -import io.lakefs.clients.api.model.VersionConfig; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * Config - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class Config { - public static final String SERIALIZED_NAME_VERSION_CONFIG = "version_config"; - @SerializedName(SERIALIZED_NAME_VERSION_CONFIG) - private VersionConfig versionConfig; - - public static final String SERIALIZED_NAME_STORAGE_CONFIG = "storage_config"; - @SerializedName(SERIALIZED_NAME_STORAGE_CONFIG) - private StorageConfig storageConfig; - - - public Config versionConfig(VersionConfig versionConfig) { - - this.versionConfig = versionConfig; - return this; - } - - /** - * Get versionConfig - * @return versionConfig - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public VersionConfig getVersionConfig() { - return versionConfig; - } - - - public void setVersionConfig(VersionConfig versionConfig) { - this.versionConfig = versionConfig; - } - - - public Config storageConfig(StorageConfig storageConfig) { - - this.storageConfig = storageConfig; - return this; - } - - /** - * Get storageConfig - * @return storageConfig - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public StorageConfig getStorageConfig() { - return storageConfig; - } - - - public void setStorageConfig(StorageConfig storageConfig) { - this.storageConfig = storageConfig; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - Config config = (Config) o; - return Objects.equals(this.versionConfig, config.versionConfig) && - Objects.equals(this.storageConfig, config.storageConfig); - } - - @Override - public int hashCode() { - return Objects.hash(versionConfig, storageConfig); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class Config {\n"); - sb.append(" versionConfig: ").append(toIndentedString(versionConfig)).append("\n"); - sb.append(" storageConfig: ").append(toIndentedString(storageConfig)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/Credentials.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/Credentials.java deleted file mode 100644 index 87c4bac112d..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/Credentials.java +++ /dev/null @@ -1,127 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * Credentials - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class Credentials { - public static final String SERIALIZED_NAME_ACCESS_KEY_ID = "access_key_id"; - @SerializedName(SERIALIZED_NAME_ACCESS_KEY_ID) - private String accessKeyId; - - public static final String SERIALIZED_NAME_CREATION_DATE = "creation_date"; - @SerializedName(SERIALIZED_NAME_CREATION_DATE) - private Long creationDate; - - - public Credentials accessKeyId(String accessKeyId) { - - this.accessKeyId = accessKeyId; - return this; - } - - /** - * Get accessKeyId - * @return accessKeyId - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public String getAccessKeyId() { - return accessKeyId; - } - - - public void setAccessKeyId(String accessKeyId) { - this.accessKeyId = accessKeyId; - } - - - public Credentials creationDate(Long creationDate) { - - this.creationDate = creationDate; - return this; - } - - /** - * Unix Epoch in seconds - * @return creationDate - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "Unix Epoch in seconds") - - public Long getCreationDate() { - return creationDate; - } - - - public void setCreationDate(Long creationDate) { - this.creationDate = creationDate; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - Credentials credentials = (Credentials) o; - return Objects.equals(this.accessKeyId, credentials.accessKeyId) && - Objects.equals(this.creationDate, credentials.creationDate); - } - - @Override - public int hashCode() { - return Objects.hash(accessKeyId, creationDate); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class Credentials {\n"); - sb.append(" accessKeyId: ").append(toIndentedString(accessKeyId)).append("\n"); - sb.append(" creationDate: ").append(toIndentedString(creationDate)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/CredentialsList.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/CredentialsList.java deleted file mode 100644 index 3b393453eeb..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/CredentialsList.java +++ /dev/null @@ -1,136 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.lakefs.clients.api.model.Credentials; -import io.lakefs.clients.api.model.Pagination; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; - -/** - * CredentialsList - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CredentialsList { - public static final String SERIALIZED_NAME_PAGINATION = "pagination"; - @SerializedName(SERIALIZED_NAME_PAGINATION) - private Pagination pagination; - - public static final String SERIALIZED_NAME_RESULTS = "results"; - @SerializedName(SERIALIZED_NAME_RESULTS) - private List results = new ArrayList(); - - - public CredentialsList pagination(Pagination pagination) { - - this.pagination = pagination; - return this; - } - - /** - * Get pagination - * @return pagination - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public Pagination getPagination() { - return pagination; - } - - - public void setPagination(Pagination pagination) { - this.pagination = pagination; - } - - - public CredentialsList results(List results) { - - this.results = results; - return this; - } - - public CredentialsList addResultsItem(Credentials resultsItem) { - this.results.add(resultsItem); - return this; - } - - /** - * Get results - * @return results - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public List getResults() { - return results; - } - - - public void setResults(List results) { - this.results = results; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CredentialsList credentialsList = (CredentialsList) o; - return Objects.equals(this.pagination, credentialsList.pagination) && - Objects.equals(this.results, credentialsList.results); - } - - @Override - public int hashCode() { - return Objects.hash(pagination, results); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CredentialsList {\n"); - sb.append(" pagination: ").append(toIndentedString(pagination)).append("\n"); - sb.append(" results: ").append(toIndentedString(results)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/CredentialsWithSecret.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/CredentialsWithSecret.java deleted file mode 100644 index 6ac5460a6bd..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/CredentialsWithSecret.java +++ /dev/null @@ -1,156 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * CredentialsWithSecret - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CredentialsWithSecret { - public static final String SERIALIZED_NAME_ACCESS_KEY_ID = "access_key_id"; - @SerializedName(SERIALIZED_NAME_ACCESS_KEY_ID) - private String accessKeyId; - - public static final String SERIALIZED_NAME_SECRET_ACCESS_KEY = "secret_access_key"; - @SerializedName(SERIALIZED_NAME_SECRET_ACCESS_KEY) - private String secretAccessKey; - - public static final String SERIALIZED_NAME_CREATION_DATE = "creation_date"; - @SerializedName(SERIALIZED_NAME_CREATION_DATE) - private Long creationDate; - - - public CredentialsWithSecret accessKeyId(String accessKeyId) { - - this.accessKeyId = accessKeyId; - return this; - } - - /** - * Get accessKeyId - * @return accessKeyId - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public String getAccessKeyId() { - return accessKeyId; - } - - - public void setAccessKeyId(String accessKeyId) { - this.accessKeyId = accessKeyId; - } - - - public CredentialsWithSecret secretAccessKey(String secretAccessKey) { - - this.secretAccessKey = secretAccessKey; - return this; - } - - /** - * Get secretAccessKey - * @return secretAccessKey - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public String getSecretAccessKey() { - return secretAccessKey; - } - - - public void setSecretAccessKey(String secretAccessKey) { - this.secretAccessKey = secretAccessKey; - } - - - public CredentialsWithSecret creationDate(Long creationDate) { - - this.creationDate = creationDate; - return this; - } - - /** - * Unix Epoch in seconds - * @return creationDate - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "Unix Epoch in seconds") - - public Long getCreationDate() { - return creationDate; - } - - - public void setCreationDate(Long creationDate) { - this.creationDate = creationDate; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CredentialsWithSecret credentialsWithSecret = (CredentialsWithSecret) o; - return Objects.equals(this.accessKeyId, credentialsWithSecret.accessKeyId) && - Objects.equals(this.secretAccessKey, credentialsWithSecret.secretAccessKey) && - Objects.equals(this.creationDate, credentialsWithSecret.creationDate); - } - - @Override - public int hashCode() { - return Objects.hash(accessKeyId, secretAccessKey, creationDate); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CredentialsWithSecret {\n"); - sb.append(" accessKeyId: ").append(toIndentedString(accessKeyId)).append("\n"); - sb.append(" secretAccessKey: ").append(toIndentedString(secretAccessKey)).append("\n"); - sb.append(" creationDate: ").append(toIndentedString(creationDate)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/CurrentUser.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/CurrentUser.java deleted file mode 100644 index fffbf375f14..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/CurrentUser.java +++ /dev/null @@ -1,99 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.lakefs.clients.api.model.User; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * CurrentUser - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class CurrentUser { - public static final String SERIALIZED_NAME_USER = "user"; - @SerializedName(SERIALIZED_NAME_USER) - private User user; - - - public CurrentUser user(User user) { - - this.user = user; - return this; - } - - /** - * Get user - * @return user - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public User getUser() { - return user; - } - - - public void setUser(User user) { - this.user = user; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - CurrentUser currentUser = (CurrentUser) o; - return Objects.equals(this.user, currentUser.user); - } - - @Override - public int hashCode() { - return Objects.hash(user); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class CurrentUser {\n"); - sb.append(" user: ").append(toIndentedString(user)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/Diff.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/Diff.java deleted file mode 100644 index 583b94e0cd4..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/Diff.java +++ /dev/null @@ -1,285 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * Diff - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class Diff { - /** - * Gets or Sets type - */ - @JsonAdapter(TypeEnum.Adapter.class) - public enum TypeEnum { - ADDED("added"), - - REMOVED("removed"), - - CHANGED("changed"), - - CONFLICT("conflict"), - - PREFIX_CHANGED("prefix_changed"); - - private String value; - - TypeEnum(String value) { - this.value = value; - } - - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - public static TypeEnum fromValue(String value) { - for (TypeEnum b : TypeEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - - public static class Adapter extends TypeAdapter { - @Override - public void write(final JsonWriter jsonWriter, final TypeEnum enumeration) throws IOException { - jsonWriter.value(enumeration.getValue()); - } - - @Override - public TypeEnum read(final JsonReader jsonReader) throws IOException { - String value = jsonReader.nextString(); - return TypeEnum.fromValue(value); - } - } - } - - public static final String SERIALIZED_NAME_TYPE = "type"; - @SerializedName(SERIALIZED_NAME_TYPE) - private TypeEnum type; - - public static final String SERIALIZED_NAME_PATH = "path"; - @SerializedName(SERIALIZED_NAME_PATH) - private String path; - - /** - * Gets or Sets pathType - */ - @JsonAdapter(PathTypeEnum.Adapter.class) - public enum PathTypeEnum { - COMMON_PREFIX("common_prefix"), - - OBJECT("object"); - - private String value; - - PathTypeEnum(String value) { - this.value = value; - } - - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - public static PathTypeEnum fromValue(String value) { - for (PathTypeEnum b : PathTypeEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - - public static class Adapter extends TypeAdapter { - @Override - public void write(final JsonWriter jsonWriter, final PathTypeEnum enumeration) throws IOException { - jsonWriter.value(enumeration.getValue()); - } - - @Override - public PathTypeEnum read(final JsonReader jsonReader) throws IOException { - String value = jsonReader.nextString(); - return PathTypeEnum.fromValue(value); - } - } - } - - public static final String SERIALIZED_NAME_PATH_TYPE = "path_type"; - @SerializedName(SERIALIZED_NAME_PATH_TYPE) - private PathTypeEnum pathType; - - public static final String SERIALIZED_NAME_SIZE_BYTES = "size_bytes"; - @SerializedName(SERIALIZED_NAME_SIZE_BYTES) - private Long sizeBytes; - - - public Diff type(TypeEnum type) { - - this.type = type; - return this; - } - - /** - * Get type - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public TypeEnum getType() { - return type; - } - - - public void setType(TypeEnum type) { - this.type = type; - } - - - public Diff path(String path) { - - this.path = path; - return this; - } - - /** - * Get path - * @return path - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public String getPath() { - return path; - } - - - public void setPath(String path) { - this.path = path; - } - - - public Diff pathType(PathTypeEnum pathType) { - - this.pathType = pathType; - return this; - } - - /** - * Get pathType - * @return pathType - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public PathTypeEnum getPathType() { - return pathType; - } - - - public void setPathType(PathTypeEnum pathType) { - this.pathType = pathType; - } - - - public Diff sizeBytes(Long sizeBytes) { - - this.sizeBytes = sizeBytes; - return this; - } - - /** - * represents the size of the added/changed/deleted entry - * @return sizeBytes - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "represents the size of the added/changed/deleted entry") - - public Long getSizeBytes() { - return sizeBytes; - } - - - public void setSizeBytes(Long sizeBytes) { - this.sizeBytes = sizeBytes; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - Diff diff = (Diff) o; - return Objects.equals(this.type, diff.type) && - Objects.equals(this.path, diff.path) && - Objects.equals(this.pathType, diff.pathType) && - Objects.equals(this.sizeBytes, diff.sizeBytes); - } - - @Override - public int hashCode() { - return Objects.hash(type, path, pathType, sizeBytes); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class Diff {\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" path: ").append(toIndentedString(path)).append("\n"); - sb.append(" pathType: ").append(toIndentedString(pathType)).append("\n"); - sb.append(" sizeBytes: ").append(toIndentedString(sizeBytes)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/DiffList.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/DiffList.java deleted file mode 100644 index 0e5a5c8c2c6..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/DiffList.java +++ /dev/null @@ -1,136 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.lakefs.clients.api.model.Diff; -import io.lakefs.clients.api.model.Pagination; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; - -/** - * DiffList - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class DiffList { - public static final String SERIALIZED_NAME_PAGINATION = "pagination"; - @SerializedName(SERIALIZED_NAME_PAGINATION) - private Pagination pagination; - - public static final String SERIALIZED_NAME_RESULTS = "results"; - @SerializedName(SERIALIZED_NAME_RESULTS) - private List results = new ArrayList(); - - - public DiffList pagination(Pagination pagination) { - - this.pagination = pagination; - return this; - } - - /** - * Get pagination - * @return pagination - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public Pagination getPagination() { - return pagination; - } - - - public void setPagination(Pagination pagination) { - this.pagination = pagination; - } - - - public DiffList results(List results) { - - this.results = results; - return this; - } - - public DiffList addResultsItem(Diff resultsItem) { - this.results.add(resultsItem); - return this; - } - - /** - * Get results - * @return results - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public List getResults() { - return results; - } - - - public void setResults(List results) { - this.results = results; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - DiffList diffList = (DiffList) o; - return Objects.equals(this.pagination, diffList.pagination) && - Objects.equals(this.results, diffList.results); - } - - @Override - public int hashCode() { - return Objects.hash(pagination, results); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class DiffList {\n"); - sb.append(" pagination: ").append(toIndentedString(pagination)).append("\n"); - sb.append(" results: ").append(toIndentedString(results)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/Error.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/Error.java deleted file mode 100644 index f680a537c78..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/Error.java +++ /dev/null @@ -1,98 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * Error - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class Error { - public static final String SERIALIZED_NAME_MESSAGE = "message"; - @SerializedName(SERIALIZED_NAME_MESSAGE) - private String message; - - - public Error message(String message) { - - this.message = message; - return this; - } - - /** - * short message explaining the error - * @return message - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "short message explaining the error") - - public String getMessage() { - return message; - } - - - public void setMessage(String message) { - this.message = message; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - Error error = (Error) o; - return Objects.equals(this.message, error.message); - } - - @Override - public int hashCode() { - return Objects.hash(message); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class Error {\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/ErrorNoACL.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/ErrorNoACL.java deleted file mode 100644 index 4e1e11a165e..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/ErrorNoACL.java +++ /dev/null @@ -1,127 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * ErrorNoACL - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class ErrorNoACL { - public static final String SERIALIZED_NAME_MESSAGE = "message"; - @SerializedName(SERIALIZED_NAME_MESSAGE) - private String message; - - public static final String SERIALIZED_NAME_NO_ACL = "no_acl"; - @SerializedName(SERIALIZED_NAME_NO_ACL) - private Boolean noAcl; - - - public ErrorNoACL message(String message) { - - this.message = message; - return this; - } - - /** - * short message explaining the error - * @return message - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "short message explaining the error") - - public String getMessage() { - return message; - } - - - public void setMessage(String message) { - this.message = message; - } - - - public ErrorNoACL noAcl(Boolean noAcl) { - - this.noAcl = noAcl; - return this; - } - - /** - * true if the group exists but has no ACL - * @return noAcl - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "true if the group exists but has no ACL") - - public Boolean getNoAcl() { - return noAcl; - } - - - public void setNoAcl(Boolean noAcl) { - this.noAcl = noAcl; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ErrorNoACL errorNoACL = (ErrorNoACL) o; - return Objects.equals(this.message, errorNoACL.message) && - Objects.equals(this.noAcl, errorNoACL.noAcl); - } - - @Override - public int hashCode() { - return Objects.hash(message, noAcl); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ErrorNoACL {\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" noAcl: ").append(toIndentedString(noAcl)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/ExternalLoginInformation.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/ExternalLoginInformation.java deleted file mode 100644 index cf7d223137c..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/ExternalLoginInformation.java +++ /dev/null @@ -1,127 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * ExternalLoginInformation - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class ExternalLoginInformation { - public static final String SERIALIZED_NAME_TOKEN_EXPIRATION_DURATION = "token_expiration_duration"; - @SerializedName(SERIALIZED_NAME_TOKEN_EXPIRATION_DURATION) - private Integer tokenExpirationDuration; - - public static final String SERIALIZED_NAME_IDENTITY_REQUEST = "identityRequest"; - @SerializedName(SERIALIZED_NAME_IDENTITY_REQUEST) - private Object identityRequest; - - - public ExternalLoginInformation tokenExpirationDuration(Integer tokenExpirationDuration) { - - this.tokenExpirationDuration = tokenExpirationDuration; - return this; - } - - /** - * Get tokenExpirationDuration - * @return tokenExpirationDuration - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Integer getTokenExpirationDuration() { - return tokenExpirationDuration; - } - - - public void setTokenExpirationDuration(Integer tokenExpirationDuration) { - this.tokenExpirationDuration = tokenExpirationDuration; - } - - - public ExternalLoginInformation identityRequest(Object identityRequest) { - - this.identityRequest = identityRequest; - return this; - } - - /** - * Get identityRequest - * @return identityRequest - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public Object getIdentityRequest() { - return identityRequest; - } - - - public void setIdentityRequest(Object identityRequest) { - this.identityRequest = identityRequest; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ExternalLoginInformation externalLoginInformation = (ExternalLoginInformation) o; - return Objects.equals(this.tokenExpirationDuration, externalLoginInformation.tokenExpirationDuration) && - Objects.equals(this.identityRequest, externalLoginInformation.identityRequest); - } - - @Override - public int hashCode() { - return Objects.hash(tokenExpirationDuration, identityRequest); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ExternalLoginInformation {\n"); - sb.append(" tokenExpirationDuration: ").append(toIndentedString(tokenExpirationDuration)).append("\n"); - sb.append(" identityRequest: ").append(toIndentedString(identityRequest)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/ExternalPrincipal.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/ExternalPrincipal.java deleted file mode 100644 index d44e2c24f4e..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/ExternalPrincipal.java +++ /dev/null @@ -1,167 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; -import java.util.Map; - -/** - * ExternalPrincipal - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class ExternalPrincipal { - public static final String SERIALIZED_NAME_ID = "id"; - @SerializedName(SERIALIZED_NAME_ID) - private String id; - - public static final String SERIALIZED_NAME_USER_ID = "user_id"; - @SerializedName(SERIALIZED_NAME_USER_ID) - private String userId; - - public static final String SERIALIZED_NAME_SETTINGS = "settings"; - @SerializedName(SERIALIZED_NAME_SETTINGS) - private List> settings = null; - - - public ExternalPrincipal id(String id) { - - this.id = id; - return this; - } - - /** - * A unique identifier for the external principal i.e aws:sts::123:assumed-role/role-name - * @return id - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "A unique identifier for the external principal i.e aws:sts::123:assumed-role/role-name") - - public String getId() { - return id; - } - - - public void setId(String id) { - this.id = id; - } - - - public ExternalPrincipal userId(String userId) { - - this.userId = userId; - return this; - } - - /** - * lakeFS user ID to associate with an external principal. - * @return userId - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "lakeFS user ID to associate with an external principal. ") - - public String getUserId() { - return userId; - } - - - public void setUserId(String userId) { - this.userId = userId; - } - - - public ExternalPrincipal settings(List> settings) { - - this.settings = settings; - return this; - } - - public ExternalPrincipal addSettingsItem(Map settingsItem) { - if (this.settings == null) { - this.settings = new ArrayList>(); - } - this.settings.add(settingsItem); - return this; - } - - /** - * Get settings - * @return settings - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List> getSettings() { - return settings; - } - - - public void setSettings(List> settings) { - this.settings = settings; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ExternalPrincipal externalPrincipal = (ExternalPrincipal) o; - return Objects.equals(this.id, externalPrincipal.id) && - Objects.equals(this.userId, externalPrincipal.userId) && - Objects.equals(this.settings, externalPrincipal.settings); - } - - @Override - public int hashCode() { - return Objects.hash(id, userId, settings); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ExternalPrincipal {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); - sb.append(" settings: ").append(toIndentedString(settings)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/ExternalPrincipalCreation.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/ExternalPrincipalCreation.java deleted file mode 100644 index d1348ce3ecb..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/ExternalPrincipalCreation.java +++ /dev/null @@ -1,109 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; -import java.util.Map; - -/** - * ExternalPrincipalCreation - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class ExternalPrincipalCreation { - public static final String SERIALIZED_NAME_SETTINGS = "settings"; - @SerializedName(SERIALIZED_NAME_SETTINGS) - private List> settings = null; - - - public ExternalPrincipalCreation settings(List> settings) { - - this.settings = settings; - return this; - } - - public ExternalPrincipalCreation addSettingsItem(Map settingsItem) { - if (this.settings == null) { - this.settings = new ArrayList>(); - } - this.settings.add(settingsItem); - return this; - } - - /** - * Get settings - * @return settings - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List> getSettings() { - return settings; - } - - - public void setSettings(List> settings) { - this.settings = settings; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ExternalPrincipalCreation externalPrincipalCreation = (ExternalPrincipalCreation) o; - return Objects.equals(this.settings, externalPrincipalCreation.settings); - } - - @Override - public int hashCode() { - return Objects.hash(settings); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ExternalPrincipalCreation {\n"); - sb.append(" settings: ").append(toIndentedString(settings)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/ExternalPrincipalList.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/ExternalPrincipalList.java deleted file mode 100644 index c3b5f8de005..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/ExternalPrincipalList.java +++ /dev/null @@ -1,136 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.lakefs.clients.api.model.ExternalPrincipal; -import io.lakefs.clients.api.model.Pagination; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; - -/** - * ExternalPrincipalList - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class ExternalPrincipalList { - public static final String SERIALIZED_NAME_PAGINATION = "pagination"; - @SerializedName(SERIALIZED_NAME_PAGINATION) - private Pagination pagination; - - public static final String SERIALIZED_NAME_RESULTS = "results"; - @SerializedName(SERIALIZED_NAME_RESULTS) - private List results = new ArrayList(); - - - public ExternalPrincipalList pagination(Pagination pagination) { - - this.pagination = pagination; - return this; - } - - /** - * Get pagination - * @return pagination - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public Pagination getPagination() { - return pagination; - } - - - public void setPagination(Pagination pagination) { - this.pagination = pagination; - } - - - public ExternalPrincipalList results(List results) { - - this.results = results; - return this; - } - - public ExternalPrincipalList addResultsItem(ExternalPrincipal resultsItem) { - this.results.add(resultsItem); - return this; - } - - /** - * Get results - * @return results - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public List getResults() { - return results; - } - - - public void setResults(List results) { - this.results = results; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ExternalPrincipalList externalPrincipalList = (ExternalPrincipalList) o; - return Objects.equals(this.pagination, externalPrincipalList.pagination) && - Objects.equals(this.results, externalPrincipalList.results); - } - - @Override - public int hashCode() { - return Objects.hash(pagination, results); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ExternalPrincipalList {\n"); - sb.append(" pagination: ").append(toIndentedString(pagination)).append("\n"); - sb.append(" results: ").append(toIndentedString(results)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/FindMergeBaseResult.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/FindMergeBaseResult.java deleted file mode 100644 index 71c7a49fb19..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/FindMergeBaseResult.java +++ /dev/null @@ -1,156 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * FindMergeBaseResult - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class FindMergeBaseResult { - public static final String SERIALIZED_NAME_SOURCE_COMMIT_ID = "source_commit_id"; - @SerializedName(SERIALIZED_NAME_SOURCE_COMMIT_ID) - private String sourceCommitId; - - public static final String SERIALIZED_NAME_DESTINATION_COMMIT_ID = "destination_commit_id"; - @SerializedName(SERIALIZED_NAME_DESTINATION_COMMIT_ID) - private String destinationCommitId; - - public static final String SERIALIZED_NAME_BASE_COMMIT_ID = "base_commit_id"; - @SerializedName(SERIALIZED_NAME_BASE_COMMIT_ID) - private String baseCommitId; - - - public FindMergeBaseResult sourceCommitId(String sourceCommitId) { - - this.sourceCommitId = sourceCommitId; - return this; - } - - /** - * The commit ID of the merge source - * @return sourceCommitId - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "The commit ID of the merge source") - - public String getSourceCommitId() { - return sourceCommitId; - } - - - public void setSourceCommitId(String sourceCommitId) { - this.sourceCommitId = sourceCommitId; - } - - - public FindMergeBaseResult destinationCommitId(String destinationCommitId) { - - this.destinationCommitId = destinationCommitId; - return this; - } - - /** - * The commit ID of the merge destination - * @return destinationCommitId - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "The commit ID of the merge destination") - - public String getDestinationCommitId() { - return destinationCommitId; - } - - - public void setDestinationCommitId(String destinationCommitId) { - this.destinationCommitId = destinationCommitId; - } - - - public FindMergeBaseResult baseCommitId(String baseCommitId) { - - this.baseCommitId = baseCommitId; - return this; - } - - /** - * The commit ID of the merge base - * @return baseCommitId - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "The commit ID of the merge base") - - public String getBaseCommitId() { - return baseCommitId; - } - - - public void setBaseCommitId(String baseCommitId) { - this.baseCommitId = baseCommitId; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - FindMergeBaseResult findMergeBaseResult = (FindMergeBaseResult) o; - return Objects.equals(this.sourceCommitId, findMergeBaseResult.sourceCommitId) && - Objects.equals(this.destinationCommitId, findMergeBaseResult.destinationCommitId) && - Objects.equals(this.baseCommitId, findMergeBaseResult.baseCommitId); - } - - @Override - public int hashCode() { - return Objects.hash(sourceCommitId, destinationCommitId, baseCommitId); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class FindMergeBaseResult {\n"); - sb.append(" sourceCommitId: ").append(toIndentedString(sourceCommitId)).append("\n"); - sb.append(" destinationCommitId: ").append(toIndentedString(destinationCommitId)).append("\n"); - sb.append(" baseCommitId: ").append(toIndentedString(baseCommitId)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/GarbageCollectionConfig.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/GarbageCollectionConfig.java deleted file mode 100644 index 0b58ec9c301..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/GarbageCollectionConfig.java +++ /dev/null @@ -1,98 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * GarbageCollectionConfig - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class GarbageCollectionConfig { - public static final String SERIALIZED_NAME_GRACE_PERIOD = "grace_period"; - @SerializedName(SERIALIZED_NAME_GRACE_PERIOD) - private Integer gracePeriod; - - - public GarbageCollectionConfig gracePeriod(Integer gracePeriod) { - - this.gracePeriod = gracePeriod; - return this; - } - - /** - * Duration in seconds. Objects created in the recent grace_period will not be collected. - * @return gracePeriod - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "Duration in seconds. Objects created in the recent grace_period will not be collected.") - - public Integer getGracePeriod() { - return gracePeriod; - } - - - public void setGracePeriod(Integer gracePeriod) { - this.gracePeriod = gracePeriod; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - GarbageCollectionConfig garbageCollectionConfig = (GarbageCollectionConfig) o; - return Objects.equals(this.gracePeriod, garbageCollectionConfig.gracePeriod); - } - - @Override - public int hashCode() { - return Objects.hash(gracePeriod); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class GarbageCollectionConfig {\n"); - sb.append(" gracePeriod: ").append(toIndentedString(gracePeriod)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/GarbageCollectionPrepareResponse.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/GarbageCollectionPrepareResponse.java deleted file mode 100644 index 5026c8122ab..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/GarbageCollectionPrepareResponse.java +++ /dev/null @@ -1,185 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * GarbageCollectionPrepareResponse - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class GarbageCollectionPrepareResponse { - public static final String SERIALIZED_NAME_RUN_ID = "run_id"; - @SerializedName(SERIALIZED_NAME_RUN_ID) - private String runId; - - public static final String SERIALIZED_NAME_GC_COMMITS_LOCATION = "gc_commits_location"; - @SerializedName(SERIALIZED_NAME_GC_COMMITS_LOCATION) - private String gcCommitsLocation; - - public static final String SERIALIZED_NAME_GC_ADDRESSES_LOCATION = "gc_addresses_location"; - @SerializedName(SERIALIZED_NAME_GC_ADDRESSES_LOCATION) - private String gcAddressesLocation; - - public static final String SERIALIZED_NAME_GC_COMMITS_PRESIGNED_URL = "gc_commits_presigned_url"; - @SerializedName(SERIALIZED_NAME_GC_COMMITS_PRESIGNED_URL) - private String gcCommitsPresignedUrl; - - - public GarbageCollectionPrepareResponse runId(String runId) { - - this.runId = runId; - return this; - } - - /** - * a unique identifier generated for this GC job - * @return runId - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "64eaa103-d726-4a33-bcb8-7c0b4abfe09e", required = true, value = "a unique identifier generated for this GC job") - - public String getRunId() { - return runId; - } - - - public void setRunId(String runId) { - this.runId = runId; - } - - - public GarbageCollectionPrepareResponse gcCommitsLocation(String gcCommitsLocation) { - - this.gcCommitsLocation = gcCommitsLocation; - return this; - } - - /** - * location of the resulting commits csv table (partitioned by run_id) - * @return gcCommitsLocation - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "s3://my-storage-namespace/_lakefs/retention/commits", required = true, value = "location of the resulting commits csv table (partitioned by run_id)") - - public String getGcCommitsLocation() { - return gcCommitsLocation; - } - - - public void setGcCommitsLocation(String gcCommitsLocation) { - this.gcCommitsLocation = gcCommitsLocation; - } - - - public GarbageCollectionPrepareResponse gcAddressesLocation(String gcAddressesLocation) { - - this.gcAddressesLocation = gcAddressesLocation; - return this; - } - - /** - * location to use for expired addresses parquet table (partitioned by run_id) - * @return gcAddressesLocation - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "s3://my-storage-namespace/_lakefs/retention/addresses", required = true, value = "location to use for expired addresses parquet table (partitioned by run_id)") - - public String getGcAddressesLocation() { - return gcAddressesLocation; - } - - - public void setGcAddressesLocation(String gcAddressesLocation) { - this.gcAddressesLocation = gcAddressesLocation; - } - - - public GarbageCollectionPrepareResponse gcCommitsPresignedUrl(String gcCommitsPresignedUrl) { - - this.gcCommitsPresignedUrl = gcCommitsPresignedUrl; - return this; - } - - /** - * a presigned url to download the commits csv - * @return gcCommitsPresignedUrl - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "a presigned url to download the commits csv") - - public String getGcCommitsPresignedUrl() { - return gcCommitsPresignedUrl; - } - - - public void setGcCommitsPresignedUrl(String gcCommitsPresignedUrl) { - this.gcCommitsPresignedUrl = gcCommitsPresignedUrl; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - GarbageCollectionPrepareResponse garbageCollectionPrepareResponse = (GarbageCollectionPrepareResponse) o; - return Objects.equals(this.runId, garbageCollectionPrepareResponse.runId) && - Objects.equals(this.gcCommitsLocation, garbageCollectionPrepareResponse.gcCommitsLocation) && - Objects.equals(this.gcAddressesLocation, garbageCollectionPrepareResponse.gcAddressesLocation) && - Objects.equals(this.gcCommitsPresignedUrl, garbageCollectionPrepareResponse.gcCommitsPresignedUrl); - } - - @Override - public int hashCode() { - return Objects.hash(runId, gcCommitsLocation, gcAddressesLocation, gcCommitsPresignedUrl); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class GarbageCollectionPrepareResponse {\n"); - sb.append(" runId: ").append(toIndentedString(runId)).append("\n"); - sb.append(" gcCommitsLocation: ").append(toIndentedString(gcCommitsLocation)).append("\n"); - sb.append(" gcAddressesLocation: ").append(toIndentedString(gcAddressesLocation)).append("\n"); - sb.append(" gcCommitsPresignedUrl: ").append(toIndentedString(gcCommitsPresignedUrl)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/GarbageCollectionRule.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/GarbageCollectionRule.java deleted file mode 100644 index 162212c8bc6..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/GarbageCollectionRule.java +++ /dev/null @@ -1,127 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * GarbageCollectionRule - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class GarbageCollectionRule { - public static final String SERIALIZED_NAME_BRANCH_ID = "branch_id"; - @SerializedName(SERIALIZED_NAME_BRANCH_ID) - private String branchId; - - public static final String SERIALIZED_NAME_RETENTION_DAYS = "retention_days"; - @SerializedName(SERIALIZED_NAME_RETENTION_DAYS) - private Integer retentionDays; - - - public GarbageCollectionRule branchId(String branchId) { - - this.branchId = branchId; - return this; - } - - /** - * Get branchId - * @return branchId - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public String getBranchId() { - return branchId; - } - - - public void setBranchId(String branchId) { - this.branchId = branchId; - } - - - public GarbageCollectionRule retentionDays(Integer retentionDays) { - - this.retentionDays = retentionDays; - return this; - } - - /** - * Get retentionDays - * @return retentionDays - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public Integer getRetentionDays() { - return retentionDays; - } - - - public void setRetentionDays(Integer retentionDays) { - this.retentionDays = retentionDays; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - GarbageCollectionRule garbageCollectionRule = (GarbageCollectionRule) o; - return Objects.equals(this.branchId, garbageCollectionRule.branchId) && - Objects.equals(this.retentionDays, garbageCollectionRule.retentionDays); - } - - @Override - public int hashCode() { - return Objects.hash(branchId, retentionDays); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class GarbageCollectionRule {\n"); - sb.append(" branchId: ").append(toIndentedString(branchId)).append("\n"); - sb.append(" retentionDays: ").append(toIndentedString(retentionDays)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/GarbageCollectionRules.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/GarbageCollectionRules.java deleted file mode 100644 index 2057ebf24b7..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/GarbageCollectionRules.java +++ /dev/null @@ -1,135 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.lakefs.clients.api.model.GarbageCollectionRule; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; - -/** - * GarbageCollectionRules - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class GarbageCollectionRules { - public static final String SERIALIZED_NAME_DEFAULT_RETENTION_DAYS = "default_retention_days"; - @SerializedName(SERIALIZED_NAME_DEFAULT_RETENTION_DAYS) - private Integer defaultRetentionDays; - - public static final String SERIALIZED_NAME_BRANCHES = "branches"; - @SerializedName(SERIALIZED_NAME_BRANCHES) - private List branches = new ArrayList(); - - - public GarbageCollectionRules defaultRetentionDays(Integer defaultRetentionDays) { - - this.defaultRetentionDays = defaultRetentionDays; - return this; - } - - /** - * Get defaultRetentionDays - * @return defaultRetentionDays - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public Integer getDefaultRetentionDays() { - return defaultRetentionDays; - } - - - public void setDefaultRetentionDays(Integer defaultRetentionDays) { - this.defaultRetentionDays = defaultRetentionDays; - } - - - public GarbageCollectionRules branches(List branches) { - - this.branches = branches; - return this; - } - - public GarbageCollectionRules addBranchesItem(GarbageCollectionRule branchesItem) { - this.branches.add(branchesItem); - return this; - } - - /** - * Get branches - * @return branches - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public List getBranches() { - return branches; - } - - - public void setBranches(List branches) { - this.branches = branches; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - GarbageCollectionRules garbageCollectionRules = (GarbageCollectionRules) o; - return Objects.equals(this.defaultRetentionDays, garbageCollectionRules.defaultRetentionDays) && - Objects.equals(this.branches, garbageCollectionRules.branches); - } - - @Override - public int hashCode() { - return Objects.hash(defaultRetentionDays, branches); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class GarbageCollectionRules {\n"); - sb.append(" defaultRetentionDays: ").append(toIndentedString(defaultRetentionDays)).append("\n"); - sb.append(" branches: ").append(toIndentedString(branches)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/Group.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/Group.java deleted file mode 100644 index 05fc09e6c80..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/Group.java +++ /dev/null @@ -1,156 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * Group - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class Group { - public static final String SERIALIZED_NAME_ID = "id"; - @SerializedName(SERIALIZED_NAME_ID) - private String id; - - public static final String SERIALIZED_NAME_NAME = "name"; - @SerializedName(SERIALIZED_NAME_NAME) - private String name; - - public static final String SERIALIZED_NAME_CREATION_DATE = "creation_date"; - @SerializedName(SERIALIZED_NAME_CREATION_DATE) - private Long creationDate; - - - public Group id(String id) { - - this.id = id; - return this; - } - - /** - * Get id - * @return id - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public String getId() { - return id; - } - - - public void setId(String id) { - this.id = id; - } - - - public Group name(String name) { - - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public String getName() { - return name; - } - - - public void setName(String name) { - this.name = name; - } - - - public Group creationDate(Long creationDate) { - - this.creationDate = creationDate; - return this; - } - - /** - * Unix Epoch in seconds - * @return creationDate - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "Unix Epoch in seconds") - - public Long getCreationDate() { - return creationDate; - } - - - public void setCreationDate(Long creationDate) { - this.creationDate = creationDate; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - Group group = (Group) o; - return Objects.equals(this.id, group.id) && - Objects.equals(this.name, group.name) && - Objects.equals(this.creationDate, group.creationDate); - } - - @Override - public int hashCode() { - return Objects.hash(id, name, creationDate); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class Group {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" creationDate: ").append(toIndentedString(creationDate)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/GroupCreation.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/GroupCreation.java deleted file mode 100644 index 0f8b27b7326..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/GroupCreation.java +++ /dev/null @@ -1,98 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * GroupCreation - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class GroupCreation { - public static final String SERIALIZED_NAME_ID = "id"; - @SerializedName(SERIALIZED_NAME_ID) - private String id; - - - public GroupCreation id(String id) { - - this.id = id; - return this; - } - - /** - * Get id - * @return id - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public String getId() { - return id; - } - - - public void setId(String id) { - this.id = id; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - GroupCreation groupCreation = (GroupCreation) o; - return Objects.equals(this.id, groupCreation.id); - } - - @Override - public int hashCode() { - return Objects.hash(id); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class GroupCreation {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/GroupList.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/GroupList.java deleted file mode 100644 index 876038f54d4..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/GroupList.java +++ /dev/null @@ -1,136 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.lakefs.clients.api.model.Group; -import io.lakefs.clients.api.model.Pagination; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; - -/** - * GroupList - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class GroupList { - public static final String SERIALIZED_NAME_PAGINATION = "pagination"; - @SerializedName(SERIALIZED_NAME_PAGINATION) - private Pagination pagination; - - public static final String SERIALIZED_NAME_RESULTS = "results"; - @SerializedName(SERIALIZED_NAME_RESULTS) - private List results = new ArrayList(); - - - public GroupList pagination(Pagination pagination) { - - this.pagination = pagination; - return this; - } - - /** - * Get pagination - * @return pagination - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public Pagination getPagination() { - return pagination; - } - - - public void setPagination(Pagination pagination) { - this.pagination = pagination; - } - - - public GroupList results(List results) { - - this.results = results; - return this; - } - - public GroupList addResultsItem(Group resultsItem) { - this.results.add(resultsItem); - return this; - } - - /** - * Get results - * @return results - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public List getResults() { - return results; - } - - - public void setResults(List results) { - this.results = results; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - GroupList groupList = (GroupList) o; - return Objects.equals(this.pagination, groupList.pagination) && - Objects.equals(this.results, groupList.results); - } - - @Override - public int hashCode() { - return Objects.hash(pagination, results); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class GroupList {\n"); - sb.append(" pagination: ").append(toIndentedString(pagination)).append("\n"); - sb.append(" results: ").append(toIndentedString(results)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/HookRun.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/HookRun.java deleted file mode 100644 index 9fe174ef7fc..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/HookRun.java +++ /dev/null @@ -1,291 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.threeten.bp.OffsetDateTime; - -/** - * HookRun - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class HookRun { - public static final String SERIALIZED_NAME_HOOK_RUN_ID = "hook_run_id"; - @SerializedName(SERIALIZED_NAME_HOOK_RUN_ID) - private String hookRunId; - - public static final String SERIALIZED_NAME_ACTION = "action"; - @SerializedName(SERIALIZED_NAME_ACTION) - private String action; - - public static final String SERIALIZED_NAME_HOOK_ID = "hook_id"; - @SerializedName(SERIALIZED_NAME_HOOK_ID) - private String hookId; - - public static final String SERIALIZED_NAME_START_TIME = "start_time"; - @SerializedName(SERIALIZED_NAME_START_TIME) - private OffsetDateTime startTime; - - public static final String SERIALIZED_NAME_END_TIME = "end_time"; - @SerializedName(SERIALIZED_NAME_END_TIME) - private OffsetDateTime endTime; - - /** - * Gets or Sets status - */ - @JsonAdapter(StatusEnum.Adapter.class) - public enum StatusEnum { - FAILED("failed"), - - COMPLETED("completed"); - - private String value; - - StatusEnum(String value) { - this.value = value; - } - - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - public static StatusEnum fromValue(String value) { - for (StatusEnum b : StatusEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - - public static class Adapter extends TypeAdapter { - @Override - public void write(final JsonWriter jsonWriter, final StatusEnum enumeration) throws IOException { - jsonWriter.value(enumeration.getValue()); - } - - @Override - public StatusEnum read(final JsonReader jsonReader) throws IOException { - String value = jsonReader.nextString(); - return StatusEnum.fromValue(value); - } - } - } - - public static final String SERIALIZED_NAME_STATUS = "status"; - @SerializedName(SERIALIZED_NAME_STATUS) - private StatusEnum status; - - - public HookRun hookRunId(String hookRunId) { - - this.hookRunId = hookRunId; - return this; - } - - /** - * Get hookRunId - * @return hookRunId - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public String getHookRunId() { - return hookRunId; - } - - - public void setHookRunId(String hookRunId) { - this.hookRunId = hookRunId; - } - - - public HookRun action(String action) { - - this.action = action; - return this; - } - - /** - * Get action - * @return action - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public String getAction() { - return action; - } - - - public void setAction(String action) { - this.action = action; - } - - - public HookRun hookId(String hookId) { - - this.hookId = hookId; - return this; - } - - /** - * Get hookId - * @return hookId - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public String getHookId() { - return hookId; - } - - - public void setHookId(String hookId) { - this.hookId = hookId; - } - - - public HookRun startTime(OffsetDateTime startTime) { - - this.startTime = startTime; - return this; - } - - /** - * Get startTime - * @return startTime - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public OffsetDateTime getStartTime() { - return startTime; - } - - - public void setStartTime(OffsetDateTime startTime) { - this.startTime = startTime; - } - - - public HookRun endTime(OffsetDateTime endTime) { - - this.endTime = endTime; - return this; - } - - /** - * Get endTime - * @return endTime - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public OffsetDateTime getEndTime() { - return endTime; - } - - - public void setEndTime(OffsetDateTime endTime) { - this.endTime = endTime; - } - - - public HookRun status(StatusEnum status) { - - this.status = status; - return this; - } - - /** - * Get status - * @return status - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public StatusEnum getStatus() { - return status; - } - - - public void setStatus(StatusEnum status) { - this.status = status; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - HookRun hookRun = (HookRun) o; - return Objects.equals(this.hookRunId, hookRun.hookRunId) && - Objects.equals(this.action, hookRun.action) && - Objects.equals(this.hookId, hookRun.hookId) && - Objects.equals(this.startTime, hookRun.startTime) && - Objects.equals(this.endTime, hookRun.endTime) && - Objects.equals(this.status, hookRun.status); - } - - @Override - public int hashCode() { - return Objects.hash(hookRunId, action, hookId, startTime, endTime, status); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class HookRun {\n"); - sb.append(" hookRunId: ").append(toIndentedString(hookRunId)).append("\n"); - sb.append(" action: ").append(toIndentedString(action)).append("\n"); - sb.append(" hookId: ").append(toIndentedString(hookId)).append("\n"); - sb.append(" startTime: ").append(toIndentedString(startTime)).append("\n"); - sb.append(" endTime: ").append(toIndentedString(endTime)).append("\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/HookRunList.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/HookRunList.java deleted file mode 100644 index 0160a54c2a7..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/HookRunList.java +++ /dev/null @@ -1,136 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.lakefs.clients.api.model.HookRun; -import io.lakefs.clients.api.model.Pagination; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; - -/** - * HookRunList - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class HookRunList { - public static final String SERIALIZED_NAME_PAGINATION = "pagination"; - @SerializedName(SERIALIZED_NAME_PAGINATION) - private Pagination pagination; - - public static final String SERIALIZED_NAME_RESULTS = "results"; - @SerializedName(SERIALIZED_NAME_RESULTS) - private List results = new ArrayList(); - - - public HookRunList pagination(Pagination pagination) { - - this.pagination = pagination; - return this; - } - - /** - * Get pagination - * @return pagination - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public Pagination getPagination() { - return pagination; - } - - - public void setPagination(Pagination pagination) { - this.pagination = pagination; - } - - - public HookRunList results(List results) { - - this.results = results; - return this; - } - - public HookRunList addResultsItem(HookRun resultsItem) { - this.results.add(resultsItem); - return this; - } - - /** - * Get results - * @return results - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public List getResults() { - return results; - } - - - public void setResults(List results) { - this.results = results; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - HookRunList hookRunList = (HookRunList) o; - return Objects.equals(this.pagination, hookRunList.pagination) && - Objects.equals(this.results, hookRunList.results); - } - - @Override - public int hashCode() { - return Objects.hash(pagination, results); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class HookRunList {\n"); - sb.append(" pagination: ").append(toIndentedString(pagination)).append("\n"); - sb.append(" results: ").append(toIndentedString(results)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/ImportCreation.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/ImportCreation.java deleted file mode 100644 index 1c64fa8cad5..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/ImportCreation.java +++ /dev/null @@ -1,165 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.lakefs.clients.api.model.CommitCreation; -import io.lakefs.clients.api.model.ImportLocation; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; - -/** - * ImportCreation - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class ImportCreation { - public static final String SERIALIZED_NAME_PATHS = "paths"; - @SerializedName(SERIALIZED_NAME_PATHS) - private List paths = new ArrayList(); - - public static final String SERIALIZED_NAME_COMMIT = "commit"; - @SerializedName(SERIALIZED_NAME_COMMIT) - private CommitCreation commit; - - public static final String SERIALIZED_NAME_FORCE = "force"; - @SerializedName(SERIALIZED_NAME_FORCE) - private Boolean force = false; - - - public ImportCreation paths(List paths) { - - this.paths = paths; - return this; - } - - public ImportCreation addPathsItem(ImportLocation pathsItem) { - this.paths.add(pathsItem); - return this; - } - - /** - * Get paths - * @return paths - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public List getPaths() { - return paths; - } - - - public void setPaths(List paths) { - this.paths = paths; - } - - - public ImportCreation commit(CommitCreation commit) { - - this.commit = commit; - return this; - } - - /** - * Get commit - * @return commit - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public CommitCreation getCommit() { - return commit; - } - - - public void setCommit(CommitCreation commit) { - this.commit = commit; - } - - - public ImportCreation force(Boolean force) { - - this.force = force; - return this; - } - - /** - * Get force - * @return force - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Boolean getForce() { - return force; - } - - - public void setForce(Boolean force) { - this.force = force; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ImportCreation importCreation = (ImportCreation) o; - return Objects.equals(this.paths, importCreation.paths) && - Objects.equals(this.commit, importCreation.commit) && - Objects.equals(this.force, importCreation.force); - } - - @Override - public int hashCode() { - return Objects.hash(paths, commit, force); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ImportCreation {\n"); - sb.append(" paths: ").append(toIndentedString(paths)).append("\n"); - sb.append(" commit: ").append(toIndentedString(commit)).append("\n"); - sb.append(" force: ").append(toIndentedString(force)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/ImportCreationResponse.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/ImportCreationResponse.java deleted file mode 100644 index 8d4ef5d320d..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/ImportCreationResponse.java +++ /dev/null @@ -1,98 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * ImportCreationResponse - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class ImportCreationResponse { - public static final String SERIALIZED_NAME_ID = "id"; - @SerializedName(SERIALIZED_NAME_ID) - private String id; - - - public ImportCreationResponse id(String id) { - - this.id = id; - return this; - } - - /** - * The id of the import process - * @return id - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "The id of the import process") - - public String getId() { - return id; - } - - - public void setId(String id) { - this.id = id; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ImportCreationResponse importCreationResponse = (ImportCreationResponse) o; - return Objects.equals(this.id, importCreationResponse.id); - } - - @Override - public int hashCode() { - return Objects.hash(id); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ImportCreationResponse {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/ImportLocation.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/ImportLocation.java deleted file mode 100644 index 29974fb76be..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/ImportLocation.java +++ /dev/null @@ -1,203 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * ImportLocation - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class ImportLocation { - /** - * Path type, can either be 'common_prefix' or 'object' - */ - @JsonAdapter(TypeEnum.Adapter.class) - public enum TypeEnum { - COMMON_PREFIX("common_prefix"), - - OBJECT("object"); - - private String value; - - TypeEnum(String value) { - this.value = value; - } - - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - public static TypeEnum fromValue(String value) { - for (TypeEnum b : TypeEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - - public static class Adapter extends TypeAdapter { - @Override - public void write(final JsonWriter jsonWriter, final TypeEnum enumeration) throws IOException { - jsonWriter.value(enumeration.getValue()); - } - - @Override - public TypeEnum read(final JsonReader jsonReader) throws IOException { - String value = jsonReader.nextString(); - return TypeEnum.fromValue(value); - } - } - } - - public static final String SERIALIZED_NAME_TYPE = "type"; - @SerializedName(SERIALIZED_NAME_TYPE) - private TypeEnum type; - - public static final String SERIALIZED_NAME_PATH = "path"; - @SerializedName(SERIALIZED_NAME_PATH) - private String path; - - public static final String SERIALIZED_NAME_DESTINATION = "destination"; - @SerializedName(SERIALIZED_NAME_DESTINATION) - private String destination; - - - public ImportLocation type(TypeEnum type) { - - this.type = type; - return this; - } - - /** - * Path type, can either be 'common_prefix' or 'object' - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "Path type, can either be 'common_prefix' or 'object'") - - public TypeEnum getType() { - return type; - } - - - public void setType(TypeEnum type) { - this.type = type; - } - - - public ImportLocation path(String path) { - - this.path = path; - return this; - } - - /** - * A source location to a 'common_prefix' or to a single object. Must match the lakeFS installation blockstore type. - * @return path - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "s3://my-bucket/production/collections/", required = true, value = "A source location to a 'common_prefix' or to a single object. Must match the lakeFS installation blockstore type.") - - public String getPath() { - return path; - } - - - public void setPath(String path) { - this.path = path; - } - - - public ImportLocation destination(String destination) { - - this.destination = destination; - return this; - } - - /** - * Destination for the imported objects on the branch. Must be a relative path to the branch. If the type is an 'object', the destination is the exact object name under the branch. If the type is a 'common_prefix', the destination is the prefix under the branch. - * @return destination - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "collections/", required = true, value = "Destination for the imported objects on the branch. Must be a relative path to the branch. If the type is an 'object', the destination is the exact object name under the branch. If the type is a 'common_prefix', the destination is the prefix under the branch. ") - - public String getDestination() { - return destination; - } - - - public void setDestination(String destination) { - this.destination = destination; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ImportLocation importLocation = (ImportLocation) o; - return Objects.equals(this.type, importLocation.type) && - Objects.equals(this.path, importLocation.path) && - Objects.equals(this.destination, importLocation.destination); - } - - @Override - public int hashCode() { - return Objects.hash(type, path, destination); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ImportLocation {\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" path: ").append(toIndentedString(path)).append("\n"); - sb.append(" destination: ").append(toIndentedString(destination)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/ImportStatus.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/ImportStatus.java deleted file mode 100644 index dba3141b6f7..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/ImportStatus.java +++ /dev/null @@ -1,246 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.lakefs.clients.api.model.Commit; -import io.lakefs.clients.api.model.Error; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.threeten.bp.OffsetDateTime; - -/** - * ImportStatus - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class ImportStatus { - public static final String SERIALIZED_NAME_COMPLETED = "completed"; - @SerializedName(SERIALIZED_NAME_COMPLETED) - private Boolean completed; - - public static final String SERIALIZED_NAME_UPDATE_TIME = "update_time"; - @SerializedName(SERIALIZED_NAME_UPDATE_TIME) - private OffsetDateTime updateTime; - - public static final String SERIALIZED_NAME_INGESTED_OBJECTS = "ingested_objects"; - @SerializedName(SERIALIZED_NAME_INGESTED_OBJECTS) - private Long ingestedObjects; - - public static final String SERIALIZED_NAME_METARANGE_ID = "metarange_id"; - @SerializedName(SERIALIZED_NAME_METARANGE_ID) - private String metarangeId; - - public static final String SERIALIZED_NAME_COMMIT = "commit"; - @SerializedName(SERIALIZED_NAME_COMMIT) - private Commit commit; - - public static final String SERIALIZED_NAME_ERROR = "error"; - @SerializedName(SERIALIZED_NAME_ERROR) - private Error error; - - - public ImportStatus completed(Boolean completed) { - - this.completed = completed; - return this; - } - - /** - * Get completed - * @return completed - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public Boolean getCompleted() { - return completed; - } - - - public void setCompleted(Boolean completed) { - this.completed = completed; - } - - - public ImportStatus updateTime(OffsetDateTime updateTime) { - - this.updateTime = updateTime; - return this; - } - - /** - * Get updateTime - * @return updateTime - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public OffsetDateTime getUpdateTime() { - return updateTime; - } - - - public void setUpdateTime(OffsetDateTime updateTime) { - this.updateTime = updateTime; - } - - - public ImportStatus ingestedObjects(Long ingestedObjects) { - - this.ingestedObjects = ingestedObjects; - return this; - } - - /** - * Number of objects processed so far - * @return ingestedObjects - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "Number of objects processed so far") - - public Long getIngestedObjects() { - return ingestedObjects; - } - - - public void setIngestedObjects(Long ingestedObjects) { - this.ingestedObjects = ingestedObjects; - } - - - public ImportStatus metarangeId(String metarangeId) { - - this.metarangeId = metarangeId; - return this; - } - - /** - * Get metarangeId - * @return metarangeId - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public String getMetarangeId() { - return metarangeId; - } - - - public void setMetarangeId(String metarangeId) { - this.metarangeId = metarangeId; - } - - - public ImportStatus commit(Commit commit) { - - this.commit = commit; - return this; - } - - /** - * Get commit - * @return commit - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Commit getCommit() { - return commit; - } - - - public void setCommit(Commit commit) { - this.commit = commit; - } - - - public ImportStatus error(Error error) { - - this.error = error; - return this; - } - - /** - * Get error - * @return error - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Error getError() { - return error; - } - - - public void setError(Error error) { - this.error = error; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ImportStatus importStatus = (ImportStatus) o; - return Objects.equals(this.completed, importStatus.completed) && - Objects.equals(this.updateTime, importStatus.updateTime) && - Objects.equals(this.ingestedObjects, importStatus.ingestedObjects) && - Objects.equals(this.metarangeId, importStatus.metarangeId) && - Objects.equals(this.commit, importStatus.commit) && - Objects.equals(this.error, importStatus.error); - } - - @Override - public int hashCode() { - return Objects.hash(completed, updateTime, ingestedObjects, metarangeId, commit, error); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ImportStatus {\n"); - sb.append(" completed: ").append(toIndentedString(completed)).append("\n"); - sb.append(" updateTime: ").append(toIndentedString(updateTime)).append("\n"); - sb.append(" ingestedObjects: ").append(toIndentedString(ingestedObjects)).append("\n"); - sb.append(" metarangeId: ").append(toIndentedString(metarangeId)).append("\n"); - sb.append(" commit: ").append(toIndentedString(commit)).append("\n"); - sb.append(" error: ").append(toIndentedString(error)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/InlineObject.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/InlineObject.java deleted file mode 100644 index c7fda1240dc..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/InlineObject.java +++ /dev/null @@ -1,99 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.File; -import java.io.IOException; - -/** - * InlineObject - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class InlineObject { - public static final String SERIALIZED_NAME_CONTENT = "content"; - @SerializedName(SERIALIZED_NAME_CONTENT) - private File content; - - - public InlineObject content(File content) { - - this.content = content; - return this; - } - - /** - * Only a single file per upload which must be named \"content\". - * @return content - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "Only a single file per upload which must be named \"content\".") - - public File getContent() { - return content; - } - - - public void setContent(File content) { - this.content = content; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - InlineObject inlineObject = (InlineObject) o; - return Objects.equals(this.content, inlineObject.content); - } - - @Override - public int hashCode() { - return Objects.hash(content); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class InlineObject {\n"); - sb.append(" content: ").append(toIndentedString(content)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/InlineObject1.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/InlineObject1.java deleted file mode 100644 index 5f98026a75b..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/InlineObject1.java +++ /dev/null @@ -1,98 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * InlineObject1 - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class InlineObject1 { - public static final String SERIALIZED_NAME_PATTERN = "pattern"; - @SerializedName(SERIALIZED_NAME_PATTERN) - private String pattern; - - - public InlineObject1 pattern(String pattern) { - - this.pattern = pattern; - return this; - } - - /** - * Get pattern - * @return pattern - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public String getPattern() { - return pattern; - } - - - public void setPattern(String pattern) { - this.pattern = pattern; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - InlineObject1 inlineObject1 = (InlineObject1) o; - return Objects.equals(this.pattern, inlineObject1.pattern); - } - - @Override - public int hashCode() { - return Objects.hash(pattern); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class InlineObject1 {\n"); - sb.append(" pattern: ").append(toIndentedString(pattern)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/InstallationUsageReport.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/InstallationUsageReport.java deleted file mode 100644 index 6c89910fb51..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/InstallationUsageReport.java +++ /dev/null @@ -1,135 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.lakefs.clients.api.model.UsageReport; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; - -/** - * InstallationUsageReport - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class InstallationUsageReport { - public static final String SERIALIZED_NAME_INSTALLATION_ID = "installation_id"; - @SerializedName(SERIALIZED_NAME_INSTALLATION_ID) - private String installationId; - - public static final String SERIALIZED_NAME_REPORTS = "reports"; - @SerializedName(SERIALIZED_NAME_REPORTS) - private List reports = new ArrayList(); - - - public InstallationUsageReport installationId(String installationId) { - - this.installationId = installationId; - return this; - } - - /** - * Get installationId - * @return installationId - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public String getInstallationId() { - return installationId; - } - - - public void setInstallationId(String installationId) { - this.installationId = installationId; - } - - - public InstallationUsageReport reports(List reports) { - - this.reports = reports; - return this; - } - - public InstallationUsageReport addReportsItem(UsageReport reportsItem) { - this.reports.add(reportsItem); - return this; - } - - /** - * Get reports - * @return reports - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public List getReports() { - return reports; - } - - - public void setReports(List reports) { - this.reports = reports; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - InstallationUsageReport installationUsageReport = (InstallationUsageReport) o; - return Objects.equals(this.installationId, installationUsageReport.installationId) && - Objects.equals(this.reports, installationUsageReport.reports); - } - - @Override - public int hashCode() { - return Objects.hash(installationId, reports); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class InstallationUsageReport {\n"); - sb.append(" installationId: ").append(toIndentedString(installationId)).append("\n"); - sb.append(" reports: ").append(toIndentedString(reports)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/LoginConfig.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/LoginConfig.java deleted file mode 100644 index eeb53768063..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/LoginConfig.java +++ /dev/null @@ -1,328 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; - -/** - * LoginConfig - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class LoginConfig { - /** - * RBAC will remain enabled on GUI if \"external\". That only works with an external auth service. - */ - @JsonAdapter(RBACEnum.Adapter.class) - public enum RBACEnum { - NONE("none"), - - SIMPLIFIED("simplified"), - - EXTERNAL("external"); - - private String value; - - RBACEnum(String value) { - this.value = value; - } - - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - public static RBACEnum fromValue(String value) { - for (RBACEnum b : RBACEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - - public static class Adapter extends TypeAdapter { - @Override - public void write(final JsonWriter jsonWriter, final RBACEnum enumeration) throws IOException { - jsonWriter.value(enumeration.getValue()); - } - - @Override - public RBACEnum read(final JsonReader jsonReader) throws IOException { - String value = jsonReader.nextString(); - return RBACEnum.fromValue(value); - } - } - } - - public static final String SERIALIZED_NAME_R_B_A_C = "RBAC"; - @SerializedName(SERIALIZED_NAME_R_B_A_C) - private RBACEnum RBAC; - - public static final String SERIALIZED_NAME_LOGIN_URL = "login_url"; - @SerializedName(SERIALIZED_NAME_LOGIN_URL) - private String loginUrl; - - public static final String SERIALIZED_NAME_LOGIN_FAILED_MESSAGE = "login_failed_message"; - @SerializedName(SERIALIZED_NAME_LOGIN_FAILED_MESSAGE) - private String loginFailedMessage; - - public static final String SERIALIZED_NAME_FALLBACK_LOGIN_URL = "fallback_login_url"; - @SerializedName(SERIALIZED_NAME_FALLBACK_LOGIN_URL) - private String fallbackLoginUrl; - - public static final String SERIALIZED_NAME_FALLBACK_LOGIN_LABEL = "fallback_login_label"; - @SerializedName(SERIALIZED_NAME_FALLBACK_LOGIN_LABEL) - private String fallbackLoginLabel; - - public static final String SERIALIZED_NAME_LOGIN_COOKIE_NAMES = "login_cookie_names"; - @SerializedName(SERIALIZED_NAME_LOGIN_COOKIE_NAMES) - private List loginCookieNames = new ArrayList(); - - public static final String SERIALIZED_NAME_LOGOUT_URL = "logout_url"; - @SerializedName(SERIALIZED_NAME_LOGOUT_URL) - private String logoutUrl; - - - public LoginConfig RBAC(RBACEnum RBAC) { - - this.RBAC = RBAC; - return this; - } - - /** - * RBAC will remain enabled on GUI if \"external\". That only works with an external auth service. - * @return RBAC - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "RBAC will remain enabled on GUI if \"external\". That only works with an external auth service. ") - - public RBACEnum getRBAC() { - return RBAC; - } - - - public void setRBAC(RBACEnum RBAC) { - this.RBAC = RBAC; - } - - - public LoginConfig loginUrl(String loginUrl) { - - this.loginUrl = loginUrl; - return this; - } - - /** - * primary URL to use for login. - * @return loginUrl - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "primary URL to use for login.") - - public String getLoginUrl() { - return loginUrl; - } - - - public void setLoginUrl(String loginUrl) { - this.loginUrl = loginUrl; - } - - - public LoginConfig loginFailedMessage(String loginFailedMessage) { - - this.loginFailedMessage = loginFailedMessage; - return this; - } - - /** - * message to display to users who fail to login; a full sentence that is rendered in HTML and may contain a link to a secondary login method - * @return loginFailedMessage - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "message to display to users who fail to login; a full sentence that is rendered in HTML and may contain a link to a secondary login method ") - - public String getLoginFailedMessage() { - return loginFailedMessage; - } - - - public void setLoginFailedMessage(String loginFailedMessage) { - this.loginFailedMessage = loginFailedMessage; - } - - - public LoginConfig fallbackLoginUrl(String fallbackLoginUrl) { - - this.fallbackLoginUrl = fallbackLoginUrl; - return this; - } - - /** - * secondary URL to offer users to use for login. - * @return fallbackLoginUrl - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "secondary URL to offer users to use for login.") - - public String getFallbackLoginUrl() { - return fallbackLoginUrl; - } - - - public void setFallbackLoginUrl(String fallbackLoginUrl) { - this.fallbackLoginUrl = fallbackLoginUrl; - } - - - public LoginConfig fallbackLoginLabel(String fallbackLoginLabel) { - - this.fallbackLoginLabel = fallbackLoginLabel; - return this; - } - - /** - * label to place on fallback_login_url. - * @return fallbackLoginLabel - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "label to place on fallback_login_url.") - - public String getFallbackLoginLabel() { - return fallbackLoginLabel; - } - - - public void setFallbackLoginLabel(String fallbackLoginLabel) { - this.fallbackLoginLabel = fallbackLoginLabel; - } - - - public LoginConfig loginCookieNames(List loginCookieNames) { - - this.loginCookieNames = loginCookieNames; - return this; - } - - public LoginConfig addLoginCookieNamesItem(String loginCookieNamesItem) { - this.loginCookieNames.add(loginCookieNamesItem); - return this; - } - - /** - * cookie names used to store JWT - * @return loginCookieNames - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "cookie names used to store JWT") - - public List getLoginCookieNames() { - return loginCookieNames; - } - - - public void setLoginCookieNames(List loginCookieNames) { - this.loginCookieNames = loginCookieNames; - } - - - public LoginConfig logoutUrl(String logoutUrl) { - - this.logoutUrl = logoutUrl; - return this; - } - - /** - * URL to use for logging out. - * @return logoutUrl - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "URL to use for logging out.") - - public String getLogoutUrl() { - return logoutUrl; - } - - - public void setLogoutUrl(String logoutUrl) { - this.logoutUrl = logoutUrl; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - LoginConfig loginConfig = (LoginConfig) o; - return Objects.equals(this.RBAC, loginConfig.RBAC) && - Objects.equals(this.loginUrl, loginConfig.loginUrl) && - Objects.equals(this.loginFailedMessage, loginConfig.loginFailedMessage) && - Objects.equals(this.fallbackLoginUrl, loginConfig.fallbackLoginUrl) && - Objects.equals(this.fallbackLoginLabel, loginConfig.fallbackLoginLabel) && - Objects.equals(this.loginCookieNames, loginConfig.loginCookieNames) && - Objects.equals(this.logoutUrl, loginConfig.logoutUrl); - } - - @Override - public int hashCode() { - return Objects.hash(RBAC, loginUrl, loginFailedMessage, fallbackLoginUrl, fallbackLoginLabel, loginCookieNames, logoutUrl); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class LoginConfig {\n"); - sb.append(" RBAC: ").append(toIndentedString(RBAC)).append("\n"); - sb.append(" loginUrl: ").append(toIndentedString(loginUrl)).append("\n"); - sb.append(" loginFailedMessage: ").append(toIndentedString(loginFailedMessage)).append("\n"); - sb.append(" fallbackLoginUrl: ").append(toIndentedString(fallbackLoginUrl)).append("\n"); - sb.append(" fallbackLoginLabel: ").append(toIndentedString(fallbackLoginLabel)).append("\n"); - sb.append(" loginCookieNames: ").append(toIndentedString(loginCookieNames)).append("\n"); - sb.append(" logoutUrl: ").append(toIndentedString(logoutUrl)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/LoginInformation.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/LoginInformation.java deleted file mode 100644 index 1a7ce0de803..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/LoginInformation.java +++ /dev/null @@ -1,127 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * LoginInformation - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class LoginInformation { - public static final String SERIALIZED_NAME_ACCESS_KEY_ID = "access_key_id"; - @SerializedName(SERIALIZED_NAME_ACCESS_KEY_ID) - private String accessKeyId; - - public static final String SERIALIZED_NAME_SECRET_ACCESS_KEY = "secret_access_key"; - @SerializedName(SERIALIZED_NAME_SECRET_ACCESS_KEY) - private String secretAccessKey; - - - public LoginInformation accessKeyId(String accessKeyId) { - - this.accessKeyId = accessKeyId; - return this; - } - - /** - * Get accessKeyId - * @return accessKeyId - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public String getAccessKeyId() { - return accessKeyId; - } - - - public void setAccessKeyId(String accessKeyId) { - this.accessKeyId = accessKeyId; - } - - - public LoginInformation secretAccessKey(String secretAccessKey) { - - this.secretAccessKey = secretAccessKey; - return this; - } - - /** - * Get secretAccessKey - * @return secretAccessKey - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public String getSecretAccessKey() { - return secretAccessKey; - } - - - public void setSecretAccessKey(String secretAccessKey) { - this.secretAccessKey = secretAccessKey; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - LoginInformation loginInformation = (LoginInformation) o; - return Objects.equals(this.accessKeyId, loginInformation.accessKeyId) && - Objects.equals(this.secretAccessKey, loginInformation.secretAccessKey); - } - - @Override - public int hashCode() { - return Objects.hash(accessKeyId, secretAccessKey); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class LoginInformation {\n"); - sb.append(" accessKeyId: ").append(toIndentedString(accessKeyId)).append("\n"); - sb.append(" secretAccessKey: ").append(toIndentedString(secretAccessKey)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/Merge.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/Merge.java deleted file mode 100644 index 2509d15ddd6..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/Merge.java +++ /dev/null @@ -1,225 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -/** - * Merge - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class Merge { - public static final String SERIALIZED_NAME_MESSAGE = "message"; - @SerializedName(SERIALIZED_NAME_MESSAGE) - private String message; - - public static final String SERIALIZED_NAME_METADATA = "metadata"; - @SerializedName(SERIALIZED_NAME_METADATA) - private Map metadata = null; - - public static final String SERIALIZED_NAME_STRATEGY = "strategy"; - @SerializedName(SERIALIZED_NAME_STRATEGY) - private String strategy; - - public static final String SERIALIZED_NAME_FORCE = "force"; - @SerializedName(SERIALIZED_NAME_FORCE) - private Boolean force = false; - - public static final String SERIALIZED_NAME_ALLOW_EMPTY = "allow_empty"; - @SerializedName(SERIALIZED_NAME_ALLOW_EMPTY) - private Boolean allowEmpty = false; - - - public Merge message(String message) { - - this.message = message; - return this; - } - - /** - * Get message - * @return message - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public String getMessage() { - return message; - } - - - public void setMessage(String message) { - this.message = message; - } - - - public Merge metadata(Map metadata) { - - this.metadata = metadata; - return this; - } - - public Merge putMetadataItem(String key, String metadataItem) { - if (this.metadata == null) { - this.metadata = new HashMap(); - } - this.metadata.put(key, metadataItem); - return this; - } - - /** - * Get metadata - * @return metadata - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Map getMetadata() { - return metadata; - } - - - public void setMetadata(Map metadata) { - this.metadata = metadata; - } - - - public Merge strategy(String strategy) { - - this.strategy = strategy; - return this; - } - - /** - * In case of a merge conflict, this option will force the merge process to automatically favor changes from the dest branch ('dest-wins') or from the source branch('source-wins'). In case no selection is made, the merge process will fail in case of a conflict - * @return strategy - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "In case of a merge conflict, this option will force the merge process to automatically favor changes from the dest branch ('dest-wins') or from the source branch('source-wins'). In case no selection is made, the merge process will fail in case of a conflict") - - public String getStrategy() { - return strategy; - } - - - public void setStrategy(String strategy) { - this.strategy = strategy; - } - - - public Merge force(Boolean force) { - - this.force = force; - return this; - } - - /** - * Allow merge into a read-only branch or into a branch with the same content - * @return force - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "Allow merge into a read-only branch or into a branch with the same content") - - public Boolean getForce() { - return force; - } - - - public void setForce(Boolean force) { - this.force = force; - } - - - public Merge allowEmpty(Boolean allowEmpty) { - - this.allowEmpty = allowEmpty; - return this; - } - - /** - * Allow merge when the branches have the same content - * @return allowEmpty - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "Allow merge when the branches have the same content") - - public Boolean getAllowEmpty() { - return allowEmpty; - } - - - public void setAllowEmpty(Boolean allowEmpty) { - this.allowEmpty = allowEmpty; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - Merge merge = (Merge) o; - return Objects.equals(this.message, merge.message) && - Objects.equals(this.metadata, merge.metadata) && - Objects.equals(this.strategy, merge.strategy) && - Objects.equals(this.force, merge.force) && - Objects.equals(this.allowEmpty, merge.allowEmpty); - } - - @Override - public int hashCode() { - return Objects.hash(message, metadata, strategy, force, allowEmpty); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class Merge {\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); - sb.append(" strategy: ").append(toIndentedString(strategy)).append("\n"); - sb.append(" force: ").append(toIndentedString(force)).append("\n"); - sb.append(" allowEmpty: ").append(toIndentedString(allowEmpty)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/MergeResult.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/MergeResult.java deleted file mode 100644 index 3627de0f4d7..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/MergeResult.java +++ /dev/null @@ -1,98 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * MergeResult - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class MergeResult { - public static final String SERIALIZED_NAME_REFERENCE = "reference"; - @SerializedName(SERIALIZED_NAME_REFERENCE) - private String reference; - - - public MergeResult reference(String reference) { - - this.reference = reference; - return this; - } - - /** - * Get reference - * @return reference - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public String getReference() { - return reference; - } - - - public void setReference(String reference) { - this.reference = reference; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - MergeResult mergeResult = (MergeResult) o; - return Objects.equals(this.reference, mergeResult.reference); - } - - @Override - public int hashCode() { - return Objects.hash(reference); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class MergeResult {\n"); - sb.append(" reference: ").append(toIndentedString(reference)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/MetaRangeCreation.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/MetaRangeCreation.java deleted file mode 100644 index a349da8db4f..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/MetaRangeCreation.java +++ /dev/null @@ -1,106 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.lakefs.clients.api.model.RangeMetadata; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; - -/** - * MetaRangeCreation - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class MetaRangeCreation { - public static final String SERIALIZED_NAME_RANGES = "ranges"; - @SerializedName(SERIALIZED_NAME_RANGES) - private List ranges = new ArrayList(); - - - public MetaRangeCreation ranges(List ranges) { - - this.ranges = ranges; - return this; - } - - public MetaRangeCreation addRangesItem(RangeMetadata rangesItem) { - this.ranges.add(rangesItem); - return this; - } - - /** - * Get ranges - * @return ranges - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public List getRanges() { - return ranges; - } - - - public void setRanges(List ranges) { - this.ranges = ranges; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - MetaRangeCreation metaRangeCreation = (MetaRangeCreation) o; - return Objects.equals(this.ranges, metaRangeCreation.ranges); - } - - @Override - public int hashCode() { - return Objects.hash(ranges); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class MetaRangeCreation {\n"); - sb.append(" ranges: ").append(toIndentedString(ranges)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/MetaRangeCreationResponse.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/MetaRangeCreationResponse.java deleted file mode 100644 index 92dc8285c43..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/MetaRangeCreationResponse.java +++ /dev/null @@ -1,98 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * MetaRangeCreationResponse - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class MetaRangeCreationResponse { - public static final String SERIALIZED_NAME_ID = "id"; - @SerializedName(SERIALIZED_NAME_ID) - private String id; - - - public MetaRangeCreationResponse id(String id) { - - this.id = id; - return this; - } - - /** - * The id of the created metarange - * @return id - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "The id of the created metarange") - - public String getId() { - return id; - } - - - public void setId(String id) { - this.id = id; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - MetaRangeCreationResponse metaRangeCreationResponse = (MetaRangeCreationResponse) o; - return Objects.equals(this.id, metaRangeCreationResponse.id); - } - - @Override - public int hashCode() { - return Objects.hash(id); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class MetaRangeCreationResponse {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/ObjectCopyCreation.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/ObjectCopyCreation.java deleted file mode 100644 index 54593eef145..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/ObjectCopyCreation.java +++ /dev/null @@ -1,156 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * ObjectCopyCreation - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class ObjectCopyCreation { - public static final String SERIALIZED_NAME_SRC_PATH = "src_path"; - @SerializedName(SERIALIZED_NAME_SRC_PATH) - private String srcPath; - - public static final String SERIALIZED_NAME_SRC_REF = "src_ref"; - @SerializedName(SERIALIZED_NAME_SRC_REF) - private String srcRef; - - public static final String SERIALIZED_NAME_FORCE = "force"; - @SerializedName(SERIALIZED_NAME_FORCE) - private Boolean force = false; - - - public ObjectCopyCreation srcPath(String srcPath) { - - this.srcPath = srcPath; - return this; - } - - /** - * path of the copied object relative to the ref - * @return srcPath - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "path of the copied object relative to the ref") - - public String getSrcPath() { - return srcPath; - } - - - public void setSrcPath(String srcPath) { - this.srcPath = srcPath; - } - - - public ObjectCopyCreation srcRef(String srcRef) { - - this.srcRef = srcRef; - return this; - } - - /** - * a reference, if empty uses the provided branch as ref - * @return srcRef - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "a reference, if empty uses the provided branch as ref") - - public String getSrcRef() { - return srcRef; - } - - - public void setSrcRef(String srcRef) { - this.srcRef = srcRef; - } - - - public ObjectCopyCreation force(Boolean force) { - - this.force = force; - return this; - } - - /** - * Get force - * @return force - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Boolean getForce() { - return force; - } - - - public void setForce(Boolean force) { - this.force = force; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ObjectCopyCreation objectCopyCreation = (ObjectCopyCreation) o; - return Objects.equals(this.srcPath, objectCopyCreation.srcPath) && - Objects.equals(this.srcRef, objectCopyCreation.srcRef) && - Objects.equals(this.force, objectCopyCreation.force); - } - - @Override - public int hashCode() { - return Objects.hash(srcPath, srcRef, force); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ObjectCopyCreation {\n"); - sb.append(" srcPath: ").append(toIndentedString(srcPath)).append("\n"); - sb.append(" srcRef: ").append(toIndentedString(srcRef)).append("\n"); - sb.append(" force: ").append(toIndentedString(force)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/ObjectError.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/ObjectError.java deleted file mode 100644 index 058f03e21fa..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/ObjectError.java +++ /dev/null @@ -1,156 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * ObjectError - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class ObjectError { - public static final String SERIALIZED_NAME_STATUS_CODE = "status_code"; - @SerializedName(SERIALIZED_NAME_STATUS_CODE) - private Integer statusCode; - - public static final String SERIALIZED_NAME_MESSAGE = "message"; - @SerializedName(SERIALIZED_NAME_MESSAGE) - private String message; - - public static final String SERIALIZED_NAME_PATH = "path"; - @SerializedName(SERIALIZED_NAME_PATH) - private String path; - - - public ObjectError statusCode(Integer statusCode) { - - this.statusCode = statusCode; - return this; - } - - /** - * HTTP status code associated for operation on path - * @return statusCode - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "HTTP status code associated for operation on path") - - public Integer getStatusCode() { - return statusCode; - } - - - public void setStatusCode(Integer statusCode) { - this.statusCode = statusCode; - } - - - public ObjectError message(String message) { - - this.message = message; - return this; - } - - /** - * short message explaining status_code - * @return message - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "short message explaining status_code") - - public String getMessage() { - return message; - } - - - public void setMessage(String message) { - this.message = message; - } - - - public ObjectError path(String path) { - - this.path = path; - return this; - } - - /** - * affected path - * @return path - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "affected path") - - public String getPath() { - return path; - } - - - public void setPath(String path) { - this.path = path; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ObjectError objectError = (ObjectError) o; - return Objects.equals(this.statusCode, objectError.statusCode) && - Objects.equals(this.message, objectError.message) && - Objects.equals(this.path, objectError.path); - } - - @Override - public int hashCode() { - return Objects.hash(statusCode, message, path); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ObjectError {\n"); - sb.append(" statusCode: ").append(toIndentedString(statusCode)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append(" path: ").append(toIndentedString(path)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/ObjectErrorList.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/ObjectErrorList.java deleted file mode 100644 index ff99ea01ea4..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/ObjectErrorList.java +++ /dev/null @@ -1,106 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.lakefs.clients.api.model.ObjectError; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; - -/** - * ObjectErrorList - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class ObjectErrorList { - public static final String SERIALIZED_NAME_ERRORS = "errors"; - @SerializedName(SERIALIZED_NAME_ERRORS) - private List errors = new ArrayList(); - - - public ObjectErrorList errors(List errors) { - - this.errors = errors; - return this; - } - - public ObjectErrorList addErrorsItem(ObjectError errorsItem) { - this.errors.add(errorsItem); - return this; - } - - /** - * Get errors - * @return errors - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public List getErrors() { - return errors; - } - - - public void setErrors(List errors) { - this.errors = errors; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ObjectErrorList objectErrorList = (ObjectErrorList) o; - return Objects.equals(this.errors, objectErrorList.errors); - } - - @Override - public int hashCode() { - return Objects.hash(errors); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ObjectErrorList {\n"); - sb.append(" errors: ").append(toIndentedString(errors)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/ObjectStageCreation.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/ObjectStageCreation.java deleted file mode 100644 index 53ba6fb7999..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/ObjectStageCreation.java +++ /dev/null @@ -1,283 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -/** - * ObjectStageCreation - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class ObjectStageCreation { - public static final String SERIALIZED_NAME_PHYSICAL_ADDRESS = "physical_address"; - @SerializedName(SERIALIZED_NAME_PHYSICAL_ADDRESS) - private String physicalAddress; - - public static final String SERIALIZED_NAME_CHECKSUM = "checksum"; - @SerializedName(SERIALIZED_NAME_CHECKSUM) - private String checksum; - - public static final String SERIALIZED_NAME_SIZE_BYTES = "size_bytes"; - @SerializedName(SERIALIZED_NAME_SIZE_BYTES) - private Long sizeBytes; - - public static final String SERIALIZED_NAME_MTIME = "mtime"; - @SerializedName(SERIALIZED_NAME_MTIME) - private Long mtime; - - public static final String SERIALIZED_NAME_METADATA = "metadata"; - @SerializedName(SERIALIZED_NAME_METADATA) - private Map metadata = null; - - public static final String SERIALIZED_NAME_CONTENT_TYPE = "content_type"; - @SerializedName(SERIALIZED_NAME_CONTENT_TYPE) - private String contentType; - - public static final String SERIALIZED_NAME_FORCE = "force"; - @SerializedName(SERIALIZED_NAME_FORCE) - private Boolean force = false; - - - public ObjectStageCreation physicalAddress(String physicalAddress) { - - this.physicalAddress = physicalAddress; - return this; - } - - /** - * Get physicalAddress - * @return physicalAddress - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public String getPhysicalAddress() { - return physicalAddress; - } - - - public void setPhysicalAddress(String physicalAddress) { - this.physicalAddress = physicalAddress; - } - - - public ObjectStageCreation checksum(String checksum) { - - this.checksum = checksum; - return this; - } - - /** - * Get checksum - * @return checksum - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public String getChecksum() { - return checksum; - } - - - public void setChecksum(String checksum) { - this.checksum = checksum; - } - - - public ObjectStageCreation sizeBytes(Long sizeBytes) { - - this.sizeBytes = sizeBytes; - return this; - } - - /** - * Get sizeBytes - * @return sizeBytes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public Long getSizeBytes() { - return sizeBytes; - } - - - public void setSizeBytes(Long sizeBytes) { - this.sizeBytes = sizeBytes; - } - - - public ObjectStageCreation mtime(Long mtime) { - - this.mtime = mtime; - return this; - } - - /** - * Unix Epoch in seconds - * @return mtime - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "Unix Epoch in seconds") - - public Long getMtime() { - return mtime; - } - - - public void setMtime(Long mtime) { - this.mtime = mtime; - } - - - public ObjectStageCreation metadata(Map metadata) { - - this.metadata = metadata; - return this; - } - - public ObjectStageCreation putMetadataItem(String key, String metadataItem) { - if (this.metadata == null) { - this.metadata = new HashMap(); - } - this.metadata.put(key, metadataItem); - return this; - } - - /** - * Get metadata - * @return metadata - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Map getMetadata() { - return metadata; - } - - - public void setMetadata(Map metadata) { - this.metadata = metadata; - } - - - public ObjectStageCreation contentType(String contentType) { - - this.contentType = contentType; - return this; - } - - /** - * Object media type - * @return contentType - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "Object media type") - - public String getContentType() { - return contentType; - } - - - public void setContentType(String contentType) { - this.contentType = contentType; - } - - - public ObjectStageCreation force(Boolean force) { - - this.force = force; - return this; - } - - /** - * Get force - * @return force - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Boolean getForce() { - return force; - } - - - public void setForce(Boolean force) { - this.force = force; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ObjectStageCreation objectStageCreation = (ObjectStageCreation) o; - return Objects.equals(this.physicalAddress, objectStageCreation.physicalAddress) && - Objects.equals(this.checksum, objectStageCreation.checksum) && - Objects.equals(this.sizeBytes, objectStageCreation.sizeBytes) && - Objects.equals(this.mtime, objectStageCreation.mtime) && - Objects.equals(this.metadata, objectStageCreation.metadata) && - Objects.equals(this.contentType, objectStageCreation.contentType) && - Objects.equals(this.force, objectStageCreation.force); - } - - @Override - public int hashCode() { - return Objects.hash(physicalAddress, checksum, sizeBytes, mtime, metadata, contentType, force); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ObjectStageCreation {\n"); - sb.append(" physicalAddress: ").append(toIndentedString(physicalAddress)).append("\n"); - sb.append(" checksum: ").append(toIndentedString(checksum)).append("\n"); - sb.append(" sizeBytes: ").append(toIndentedString(sizeBytes)).append("\n"); - sb.append(" mtime: ").append(toIndentedString(mtime)).append("\n"); - sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); - sb.append(" contentType: ").append(toIndentedString(contentType)).append("\n"); - sb.append(" force: ").append(toIndentedString(force)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/ObjectStats.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/ObjectStats.java deleted file mode 100644 index 781ee4a36ce..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/ObjectStats.java +++ /dev/null @@ -1,388 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -/** - * ObjectStats - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class ObjectStats { - public static final String SERIALIZED_NAME_PATH = "path"; - @SerializedName(SERIALIZED_NAME_PATH) - private String path; - - /** - * Gets or Sets pathType - */ - @JsonAdapter(PathTypeEnum.Adapter.class) - public enum PathTypeEnum { - COMMON_PREFIX("common_prefix"), - - OBJECT("object"); - - private String value; - - PathTypeEnum(String value) { - this.value = value; - } - - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - public static PathTypeEnum fromValue(String value) { - for (PathTypeEnum b : PathTypeEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - - public static class Adapter extends TypeAdapter { - @Override - public void write(final JsonWriter jsonWriter, final PathTypeEnum enumeration) throws IOException { - jsonWriter.value(enumeration.getValue()); - } - - @Override - public PathTypeEnum read(final JsonReader jsonReader) throws IOException { - String value = jsonReader.nextString(); - return PathTypeEnum.fromValue(value); - } - } - } - - public static final String SERIALIZED_NAME_PATH_TYPE = "path_type"; - @SerializedName(SERIALIZED_NAME_PATH_TYPE) - private PathTypeEnum pathType; - - public static final String SERIALIZED_NAME_PHYSICAL_ADDRESS = "physical_address"; - @SerializedName(SERIALIZED_NAME_PHYSICAL_ADDRESS) - private String physicalAddress; - - public static final String SERIALIZED_NAME_PHYSICAL_ADDRESS_EXPIRY = "physical_address_expiry"; - @SerializedName(SERIALIZED_NAME_PHYSICAL_ADDRESS_EXPIRY) - private Long physicalAddressExpiry; - - public static final String SERIALIZED_NAME_CHECKSUM = "checksum"; - @SerializedName(SERIALIZED_NAME_CHECKSUM) - private String checksum; - - public static final String SERIALIZED_NAME_SIZE_BYTES = "size_bytes"; - @SerializedName(SERIALIZED_NAME_SIZE_BYTES) - private Long sizeBytes; - - public static final String SERIALIZED_NAME_MTIME = "mtime"; - @SerializedName(SERIALIZED_NAME_MTIME) - private Long mtime; - - public static final String SERIALIZED_NAME_METADATA = "metadata"; - @SerializedName(SERIALIZED_NAME_METADATA) - private Map metadata = null; - - public static final String SERIALIZED_NAME_CONTENT_TYPE = "content_type"; - @SerializedName(SERIALIZED_NAME_CONTENT_TYPE) - private String contentType; - - - public ObjectStats path(String path) { - - this.path = path; - return this; - } - - /** - * Get path - * @return path - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public String getPath() { - return path; - } - - - public void setPath(String path) { - this.path = path; - } - - - public ObjectStats pathType(PathTypeEnum pathType) { - - this.pathType = pathType; - return this; - } - - /** - * Get pathType - * @return pathType - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public PathTypeEnum getPathType() { - return pathType; - } - - - public void setPathType(PathTypeEnum pathType) { - this.pathType = pathType; - } - - - public ObjectStats physicalAddress(String physicalAddress) { - - this.physicalAddress = physicalAddress; - return this; - } - - /** - * The location of the object on the underlying object store. Formatted as a native URI with the object store type as scheme (\"s3://...\", \"gs://...\", etc.) Or, in the case of presign=true, will be an HTTP URL to be consumed via regular HTTP GET - * @return physicalAddress - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "The location of the object on the underlying object store. Formatted as a native URI with the object store type as scheme (\"s3://...\", \"gs://...\", etc.) Or, in the case of presign=true, will be an HTTP URL to be consumed via regular HTTP GET ") - - public String getPhysicalAddress() { - return physicalAddress; - } - - - public void setPhysicalAddress(String physicalAddress) { - this.physicalAddress = physicalAddress; - } - - - public ObjectStats physicalAddressExpiry(Long physicalAddressExpiry) { - - this.physicalAddressExpiry = physicalAddressExpiry; - return this; - } - - /** - * If present and nonzero, physical_address is a pre-signed URL and will expire at this Unix Epoch time. This will be shorter than the pre-signed URL lifetime if an authentication token is about to expire. This field is *optional*. - * @return physicalAddressExpiry - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "If present and nonzero, physical_address is a pre-signed URL and will expire at this Unix Epoch time. This will be shorter than the pre-signed URL lifetime if an authentication token is about to expire. This field is *optional*. ") - - public Long getPhysicalAddressExpiry() { - return physicalAddressExpiry; - } - - - public void setPhysicalAddressExpiry(Long physicalAddressExpiry) { - this.physicalAddressExpiry = physicalAddressExpiry; - } - - - public ObjectStats checksum(String checksum) { - - this.checksum = checksum; - return this; - } - - /** - * Get checksum - * @return checksum - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public String getChecksum() { - return checksum; - } - - - public void setChecksum(String checksum) { - this.checksum = checksum; - } - - - public ObjectStats sizeBytes(Long sizeBytes) { - - this.sizeBytes = sizeBytes; - return this; - } - - /** - * The number of bytes in the object. lakeFS always populates this field when returning ObjectStats. This field is optional _for the client_ to supply, for instance on upload. - * @return sizeBytes - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "The number of bytes in the object. lakeFS always populates this field when returning ObjectStats. This field is optional _for the client_ to supply, for instance on upload. ") - - public Long getSizeBytes() { - return sizeBytes; - } - - - public void setSizeBytes(Long sizeBytes) { - this.sizeBytes = sizeBytes; - } - - - public ObjectStats mtime(Long mtime) { - - this.mtime = mtime; - return this; - } - - /** - * Unix Epoch in seconds - * @return mtime - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "Unix Epoch in seconds") - - public Long getMtime() { - return mtime; - } - - - public void setMtime(Long mtime) { - this.mtime = mtime; - } - - - public ObjectStats metadata(Map metadata) { - - this.metadata = metadata; - return this; - } - - public ObjectStats putMetadataItem(String key, String metadataItem) { - if (this.metadata == null) { - this.metadata = new HashMap(); - } - this.metadata.put(key, metadataItem); - return this; - } - - /** - * Get metadata - * @return metadata - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Map getMetadata() { - return metadata; - } - - - public void setMetadata(Map metadata) { - this.metadata = metadata; - } - - - public ObjectStats contentType(String contentType) { - - this.contentType = contentType; - return this; - } - - /** - * Object media type - * @return contentType - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "Object media type") - - public String getContentType() { - return contentType; - } - - - public void setContentType(String contentType) { - this.contentType = contentType; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ObjectStats objectStats = (ObjectStats) o; - return Objects.equals(this.path, objectStats.path) && - Objects.equals(this.pathType, objectStats.pathType) && - Objects.equals(this.physicalAddress, objectStats.physicalAddress) && - Objects.equals(this.physicalAddressExpiry, objectStats.physicalAddressExpiry) && - Objects.equals(this.checksum, objectStats.checksum) && - Objects.equals(this.sizeBytes, objectStats.sizeBytes) && - Objects.equals(this.mtime, objectStats.mtime) && - Objects.equals(this.metadata, objectStats.metadata) && - Objects.equals(this.contentType, objectStats.contentType); - } - - @Override - public int hashCode() { - return Objects.hash(path, pathType, physicalAddress, physicalAddressExpiry, checksum, sizeBytes, mtime, metadata, contentType); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ObjectStats {\n"); - sb.append(" path: ").append(toIndentedString(path)).append("\n"); - sb.append(" pathType: ").append(toIndentedString(pathType)).append("\n"); - sb.append(" physicalAddress: ").append(toIndentedString(physicalAddress)).append("\n"); - sb.append(" physicalAddressExpiry: ").append(toIndentedString(physicalAddressExpiry)).append("\n"); - sb.append(" checksum: ").append(toIndentedString(checksum)).append("\n"); - sb.append(" sizeBytes: ").append(toIndentedString(sizeBytes)).append("\n"); - sb.append(" mtime: ").append(toIndentedString(mtime)).append("\n"); - sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); - sb.append(" contentType: ").append(toIndentedString(contentType)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/ObjectStatsList.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/ObjectStatsList.java deleted file mode 100644 index 2289d99bd0b..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/ObjectStatsList.java +++ /dev/null @@ -1,136 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.lakefs.clients.api.model.ObjectStats; -import io.lakefs.clients.api.model.Pagination; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; - -/** - * ObjectStatsList - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class ObjectStatsList { - public static final String SERIALIZED_NAME_PAGINATION = "pagination"; - @SerializedName(SERIALIZED_NAME_PAGINATION) - private Pagination pagination; - - public static final String SERIALIZED_NAME_RESULTS = "results"; - @SerializedName(SERIALIZED_NAME_RESULTS) - private List results = new ArrayList(); - - - public ObjectStatsList pagination(Pagination pagination) { - - this.pagination = pagination; - return this; - } - - /** - * Get pagination - * @return pagination - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public Pagination getPagination() { - return pagination; - } - - - public void setPagination(Pagination pagination) { - this.pagination = pagination; - } - - - public ObjectStatsList results(List results) { - - this.results = results; - return this; - } - - public ObjectStatsList addResultsItem(ObjectStats resultsItem) { - this.results.add(resultsItem); - return this; - } - - /** - * Get results - * @return results - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public List getResults() { - return results; - } - - - public void setResults(List results) { - this.results = results; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ObjectStatsList objectStatsList = (ObjectStatsList) o; - return Objects.equals(this.pagination, objectStatsList.pagination) && - Objects.equals(this.results, objectStatsList.results); - } - - @Override - public int hashCode() { - return Objects.hash(pagination, results); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ObjectStatsList {\n"); - sb.append(" pagination: ").append(toIndentedString(pagination)).append("\n"); - sb.append(" results: ").append(toIndentedString(results)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/Pagination.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/Pagination.java deleted file mode 100644 index 0e5e71a24c1..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/Pagination.java +++ /dev/null @@ -1,187 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * Pagination - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class Pagination { - public static final String SERIALIZED_NAME_HAS_MORE = "has_more"; - @SerializedName(SERIALIZED_NAME_HAS_MORE) - private Boolean hasMore; - - public static final String SERIALIZED_NAME_NEXT_OFFSET = "next_offset"; - @SerializedName(SERIALIZED_NAME_NEXT_OFFSET) - private String nextOffset; - - public static final String SERIALIZED_NAME_RESULTS = "results"; - @SerializedName(SERIALIZED_NAME_RESULTS) - private Integer results; - - public static final String SERIALIZED_NAME_MAX_PER_PAGE = "max_per_page"; - @SerializedName(SERIALIZED_NAME_MAX_PER_PAGE) - private Integer maxPerPage; - - - public Pagination hasMore(Boolean hasMore) { - - this.hasMore = hasMore; - return this; - } - - /** - * Next page is available - * @return hasMore - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "Next page is available") - - public Boolean getHasMore() { - return hasMore; - } - - - public void setHasMore(Boolean hasMore) { - this.hasMore = hasMore; - } - - - public Pagination nextOffset(String nextOffset) { - - this.nextOffset = nextOffset; - return this; - } - - /** - * Token used to retrieve the next page - * @return nextOffset - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "Token used to retrieve the next page") - - public String getNextOffset() { - return nextOffset; - } - - - public void setNextOffset(String nextOffset) { - this.nextOffset = nextOffset; - } - - - public Pagination results(Integer results) { - - this.results = results; - return this; - } - - /** - * Number of values found in the results - * minimum: 0 - * @return results - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "Number of values found in the results") - - public Integer getResults() { - return results; - } - - - public void setResults(Integer results) { - this.results = results; - } - - - public Pagination maxPerPage(Integer maxPerPage) { - - this.maxPerPage = maxPerPage; - return this; - } - - /** - * Maximal number of entries per page - * minimum: 0 - * @return maxPerPage - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "Maximal number of entries per page") - - public Integer getMaxPerPage() { - return maxPerPage; - } - - - public void setMaxPerPage(Integer maxPerPage) { - this.maxPerPage = maxPerPage; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - Pagination pagination = (Pagination) o; - return Objects.equals(this.hasMore, pagination.hasMore) && - Objects.equals(this.nextOffset, pagination.nextOffset) && - Objects.equals(this.results, pagination.results) && - Objects.equals(this.maxPerPage, pagination.maxPerPage); - } - - @Override - public int hashCode() { - return Objects.hash(hasMore, nextOffset, results, maxPerPage); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class Pagination {\n"); - sb.append(" hasMore: ").append(toIndentedString(hasMore)).append("\n"); - sb.append(" nextOffset: ").append(toIndentedString(nextOffset)).append("\n"); - sb.append(" results: ").append(toIndentedString(results)).append("\n"); - sb.append(" maxPerPage: ").append(toIndentedString(maxPerPage)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/PathList.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/PathList.java deleted file mode 100644 index 15a21ab1996..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/PathList.java +++ /dev/null @@ -1,105 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; - -/** - * PathList - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class PathList { - public static final String SERIALIZED_NAME_PATHS = "paths"; - @SerializedName(SERIALIZED_NAME_PATHS) - private List paths = new ArrayList(); - - - public PathList paths(List paths) { - - this.paths = paths; - return this; - } - - public PathList addPathsItem(String pathsItem) { - this.paths.add(pathsItem); - return this; - } - - /** - * Get paths - * @return paths - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public List getPaths() { - return paths; - } - - - public void setPaths(List paths) { - this.paths = paths; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - PathList pathList = (PathList) o; - return Objects.equals(this.paths, pathList.paths); - } - - @Override - public int hashCode() { - return Objects.hash(paths); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PathList {\n"); - sb.append(" paths: ").append(toIndentedString(paths)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/Policy.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/Policy.java deleted file mode 100644 index 37147d15453..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/Policy.java +++ /dev/null @@ -1,164 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.lakefs.clients.api.model.Statement; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; - -/** - * Policy - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class Policy { - public static final String SERIALIZED_NAME_ID = "id"; - @SerializedName(SERIALIZED_NAME_ID) - private String id; - - public static final String SERIALIZED_NAME_CREATION_DATE = "creation_date"; - @SerializedName(SERIALIZED_NAME_CREATION_DATE) - private Long creationDate; - - public static final String SERIALIZED_NAME_STATEMENT = "statement"; - @SerializedName(SERIALIZED_NAME_STATEMENT) - private List statement = new ArrayList(); - - - public Policy id(String id) { - - this.id = id; - return this; - } - - /** - * Get id - * @return id - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public String getId() { - return id; - } - - - public void setId(String id) { - this.id = id; - } - - - public Policy creationDate(Long creationDate) { - - this.creationDate = creationDate; - return this; - } - - /** - * Unix Epoch in seconds - * @return creationDate - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "Unix Epoch in seconds") - - public Long getCreationDate() { - return creationDate; - } - - - public void setCreationDate(Long creationDate) { - this.creationDate = creationDate; - } - - - public Policy statement(List statement) { - - this.statement = statement; - return this; - } - - public Policy addStatementItem(Statement statementItem) { - this.statement.add(statementItem); - return this; - } - - /** - * Get statement - * @return statement - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public List getStatement() { - return statement; - } - - - public void setStatement(List statement) { - this.statement = statement; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - Policy policy = (Policy) o; - return Objects.equals(this.id, policy.id) && - Objects.equals(this.creationDate, policy.creationDate) && - Objects.equals(this.statement, policy.statement); - } - - @Override - public int hashCode() { - return Objects.hash(id, creationDate, statement); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class Policy {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" creationDate: ").append(toIndentedString(creationDate)).append("\n"); - sb.append(" statement: ").append(toIndentedString(statement)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/PolicyList.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/PolicyList.java deleted file mode 100644 index 35b23d6c4d8..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/PolicyList.java +++ /dev/null @@ -1,136 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.lakefs.clients.api.model.Pagination; -import io.lakefs.clients.api.model.Policy; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; - -/** - * PolicyList - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class PolicyList { - public static final String SERIALIZED_NAME_PAGINATION = "pagination"; - @SerializedName(SERIALIZED_NAME_PAGINATION) - private Pagination pagination; - - public static final String SERIALIZED_NAME_RESULTS = "results"; - @SerializedName(SERIALIZED_NAME_RESULTS) - private List results = new ArrayList(); - - - public PolicyList pagination(Pagination pagination) { - - this.pagination = pagination; - return this; - } - - /** - * Get pagination - * @return pagination - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public Pagination getPagination() { - return pagination; - } - - - public void setPagination(Pagination pagination) { - this.pagination = pagination; - } - - - public PolicyList results(List results) { - - this.results = results; - return this; - } - - public PolicyList addResultsItem(Policy resultsItem) { - this.results.add(resultsItem); - return this; - } - - /** - * Get results - * @return results - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public List getResults() { - return results; - } - - - public void setResults(List results) { - this.results = results; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - PolicyList policyList = (PolicyList) o; - return Objects.equals(this.pagination, policyList.pagination) && - Objects.equals(this.results, policyList.results); - } - - @Override - public int hashCode() { - return Objects.hash(pagination, results); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PolicyList {\n"); - sb.append(" pagination: ").append(toIndentedString(pagination)).append("\n"); - sb.append(" results: ").append(toIndentedString(results)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/PrepareGCUncommittedRequest.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/PrepareGCUncommittedRequest.java deleted file mode 100644 index f0da16ec2b6..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/PrepareGCUncommittedRequest.java +++ /dev/null @@ -1,98 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * PrepareGCUncommittedRequest - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class PrepareGCUncommittedRequest { - public static final String SERIALIZED_NAME_CONTINUATION_TOKEN = "continuation_token"; - @SerializedName(SERIALIZED_NAME_CONTINUATION_TOKEN) - private String continuationToken; - - - public PrepareGCUncommittedRequest continuationToken(String continuationToken) { - - this.continuationToken = continuationToken; - return this; - } - - /** - * Get continuationToken - * @return continuationToken - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public String getContinuationToken() { - return continuationToken; - } - - - public void setContinuationToken(String continuationToken) { - this.continuationToken = continuationToken; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - PrepareGCUncommittedRequest prepareGCUncommittedRequest = (PrepareGCUncommittedRequest) o; - return Objects.equals(this.continuationToken, prepareGCUncommittedRequest.continuationToken); - } - - @Override - public int hashCode() { - return Objects.hash(continuationToken); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PrepareGCUncommittedRequest {\n"); - sb.append(" continuationToken: ").append(toIndentedString(continuationToken)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/PrepareGCUncommittedResponse.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/PrepareGCUncommittedResponse.java deleted file mode 100644 index 0ca480a73d1..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/PrepareGCUncommittedResponse.java +++ /dev/null @@ -1,156 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * PrepareGCUncommittedResponse - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class PrepareGCUncommittedResponse { - public static final String SERIALIZED_NAME_RUN_ID = "run_id"; - @SerializedName(SERIALIZED_NAME_RUN_ID) - private String runId; - - public static final String SERIALIZED_NAME_GC_UNCOMMITTED_LOCATION = "gc_uncommitted_location"; - @SerializedName(SERIALIZED_NAME_GC_UNCOMMITTED_LOCATION) - private String gcUncommittedLocation; - - public static final String SERIALIZED_NAME_CONTINUATION_TOKEN = "continuation_token"; - @SerializedName(SERIALIZED_NAME_CONTINUATION_TOKEN) - private String continuationToken; - - - public PrepareGCUncommittedResponse runId(String runId) { - - this.runId = runId; - return this; - } - - /** - * Get runId - * @return runId - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public String getRunId() { - return runId; - } - - - public void setRunId(String runId) { - this.runId = runId; - } - - - public PrepareGCUncommittedResponse gcUncommittedLocation(String gcUncommittedLocation) { - - this.gcUncommittedLocation = gcUncommittedLocation; - return this; - } - - /** - * location of uncommitted information data - * @return gcUncommittedLocation - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "location of uncommitted information data") - - public String getGcUncommittedLocation() { - return gcUncommittedLocation; - } - - - public void setGcUncommittedLocation(String gcUncommittedLocation) { - this.gcUncommittedLocation = gcUncommittedLocation; - } - - - public PrepareGCUncommittedResponse continuationToken(String continuationToken) { - - this.continuationToken = continuationToken; - return this; - } - - /** - * Get continuationToken - * @return continuationToken - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public String getContinuationToken() { - return continuationToken; - } - - - public void setContinuationToken(String continuationToken) { - this.continuationToken = continuationToken; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - PrepareGCUncommittedResponse prepareGCUncommittedResponse = (PrepareGCUncommittedResponse) o; - return Objects.equals(this.runId, prepareGCUncommittedResponse.runId) && - Objects.equals(this.gcUncommittedLocation, prepareGCUncommittedResponse.gcUncommittedLocation) && - Objects.equals(this.continuationToken, prepareGCUncommittedResponse.continuationToken); - } - - @Override - public int hashCode() { - return Objects.hash(runId, gcUncommittedLocation, continuationToken); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PrepareGCUncommittedResponse {\n"); - sb.append(" runId: ").append(toIndentedString(runId)).append("\n"); - sb.append(" gcUncommittedLocation: ").append(toIndentedString(gcUncommittedLocation)).append("\n"); - sb.append(" continuationToken: ").append(toIndentedString(continuationToken)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/PresignMultipartUpload.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/PresignMultipartUpload.java deleted file mode 100644 index 930121b9c83..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/PresignMultipartUpload.java +++ /dev/null @@ -1,166 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; - -/** - * PresignMultipartUpload - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class PresignMultipartUpload { - public static final String SERIALIZED_NAME_UPLOAD_ID = "upload_id"; - @SerializedName(SERIALIZED_NAME_UPLOAD_ID) - private String uploadId; - - public static final String SERIALIZED_NAME_PHYSICAL_ADDRESS = "physical_address"; - @SerializedName(SERIALIZED_NAME_PHYSICAL_ADDRESS) - private String physicalAddress; - - public static final String SERIALIZED_NAME_PRESIGNED_URLS = "presigned_urls"; - @SerializedName(SERIALIZED_NAME_PRESIGNED_URLS) - private List presignedUrls = null; - - - public PresignMultipartUpload uploadId(String uploadId) { - - this.uploadId = uploadId; - return this; - } - - /** - * Get uploadId - * @return uploadId - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public String getUploadId() { - return uploadId; - } - - - public void setUploadId(String uploadId) { - this.uploadId = uploadId; - } - - - public PresignMultipartUpload physicalAddress(String physicalAddress) { - - this.physicalAddress = physicalAddress; - return this; - } - - /** - * Get physicalAddress - * @return physicalAddress - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public String getPhysicalAddress() { - return physicalAddress; - } - - - public void setPhysicalAddress(String physicalAddress) { - this.physicalAddress = physicalAddress; - } - - - public PresignMultipartUpload presignedUrls(List presignedUrls) { - - this.presignedUrls = presignedUrls; - return this; - } - - public PresignMultipartUpload addPresignedUrlsItem(String presignedUrlsItem) { - if (this.presignedUrls == null) { - this.presignedUrls = new ArrayList(); - } - this.presignedUrls.add(presignedUrlsItem); - return this; - } - - /** - * Get presignedUrls - * @return presignedUrls - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public List getPresignedUrls() { - return presignedUrls; - } - - - public void setPresignedUrls(List presignedUrls) { - this.presignedUrls = presignedUrls; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - PresignMultipartUpload presignMultipartUpload = (PresignMultipartUpload) o; - return Objects.equals(this.uploadId, presignMultipartUpload.uploadId) && - Objects.equals(this.physicalAddress, presignMultipartUpload.physicalAddress) && - Objects.equals(this.presignedUrls, presignMultipartUpload.presignedUrls); - } - - @Override - public int hashCode() { - return Objects.hash(uploadId, physicalAddress, presignedUrls); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PresignMultipartUpload {\n"); - sb.append(" uploadId: ").append(toIndentedString(uploadId)).append("\n"); - sb.append(" physicalAddress: ").append(toIndentedString(physicalAddress)).append("\n"); - sb.append(" presignedUrls: ").append(toIndentedString(presignedUrls)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/PullRequest.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/PullRequest.java deleted file mode 100644 index 6bf8281ef89..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/PullRequest.java +++ /dev/null @@ -1,411 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.lakefs.clients.api.model.PullRequestAllOf; -import io.lakefs.clients.api.model.PullRequestBasic; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.threeten.bp.OffsetDateTime; - -/** - * PullRequest - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class PullRequest { - /** - * Gets or Sets status - */ - @JsonAdapter(StatusEnum.Adapter.class) - public enum StatusEnum { - OPEN("open"), - - CLOSED("closed"), - - MERGED("merged"); - - private String value; - - StatusEnum(String value) { - this.value = value; - } - - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - public static StatusEnum fromValue(String value) { - for (StatusEnum b : StatusEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - - public static class Adapter extends TypeAdapter { - @Override - public void write(final JsonWriter jsonWriter, final StatusEnum enumeration) throws IOException { - jsonWriter.value(enumeration.getValue()); - } - - @Override - public StatusEnum read(final JsonReader jsonReader) throws IOException { - String value = jsonReader.nextString(); - return StatusEnum.fromValue(value); - } - } - } - - public static final String SERIALIZED_NAME_STATUS = "status"; - @SerializedName(SERIALIZED_NAME_STATUS) - private StatusEnum status; - - public static final String SERIALIZED_NAME_TITLE = "title"; - @SerializedName(SERIALIZED_NAME_TITLE) - private String title; - - public static final String SERIALIZED_NAME_DESCRIPTION = "description"; - @SerializedName(SERIALIZED_NAME_DESCRIPTION) - private String description; - - public static final String SERIALIZED_NAME_ID = "id"; - @SerializedName(SERIALIZED_NAME_ID) - private String id; - - public static final String SERIALIZED_NAME_CREATION_DATE = "creation_date"; - @SerializedName(SERIALIZED_NAME_CREATION_DATE) - private OffsetDateTime creationDate; - - public static final String SERIALIZED_NAME_AUTHOR = "author"; - @SerializedName(SERIALIZED_NAME_AUTHOR) - private String author; - - public static final String SERIALIZED_NAME_SOURCE_BRANCH = "source_branch"; - @SerializedName(SERIALIZED_NAME_SOURCE_BRANCH) - private String sourceBranch; - - public static final String SERIALIZED_NAME_DESTINATION_BRANCH = "destination_branch"; - @SerializedName(SERIALIZED_NAME_DESTINATION_BRANCH) - private String destinationBranch; - - public static final String SERIALIZED_NAME_MERGED_COMMIT_ID = "merged_commit_id"; - @SerializedName(SERIALIZED_NAME_MERGED_COMMIT_ID) - private String mergedCommitId; - - public static final String SERIALIZED_NAME_CLOSED_DATE = "closed_date"; - @SerializedName(SERIALIZED_NAME_CLOSED_DATE) - private OffsetDateTime closedDate; - - - public PullRequest status(StatusEnum status) { - - this.status = status; - return this; - } - - /** - * Get status - * @return status - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public StatusEnum getStatus() { - return status; - } - - - public void setStatus(StatusEnum status) { - this.status = status; - } - - - public PullRequest title(String title) { - - this.title = title; - return this; - } - - /** - * Get title - * @return title - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public String getTitle() { - return title; - } - - - public void setTitle(String title) { - this.title = title; - } - - - public PullRequest description(String description) { - - this.description = description; - return this; - } - - /** - * Get description - * @return description - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public String getDescription() { - return description; - } - - - public void setDescription(String description) { - this.description = description; - } - - - public PullRequest id(String id) { - - this.id = id; - return this; - } - - /** - * Get id - * @return id - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public String getId() { - return id; - } - - - public void setId(String id) { - this.id = id; - } - - - public PullRequest creationDate(OffsetDateTime creationDate) { - - this.creationDate = creationDate; - return this; - } - - /** - * Get creationDate - * @return creationDate - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public OffsetDateTime getCreationDate() { - return creationDate; - } - - - public void setCreationDate(OffsetDateTime creationDate) { - this.creationDate = creationDate; - } - - - public PullRequest author(String author) { - - this.author = author; - return this; - } - - /** - * Get author - * @return author - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public String getAuthor() { - return author; - } - - - public void setAuthor(String author) { - this.author = author; - } - - - public PullRequest sourceBranch(String sourceBranch) { - - this.sourceBranch = sourceBranch; - return this; - } - - /** - * Get sourceBranch - * @return sourceBranch - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public String getSourceBranch() { - return sourceBranch; - } - - - public void setSourceBranch(String sourceBranch) { - this.sourceBranch = sourceBranch; - } - - - public PullRequest destinationBranch(String destinationBranch) { - - this.destinationBranch = destinationBranch; - return this; - } - - /** - * Get destinationBranch - * @return destinationBranch - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public String getDestinationBranch() { - return destinationBranch; - } - - - public void setDestinationBranch(String destinationBranch) { - this.destinationBranch = destinationBranch; - } - - - public PullRequest mergedCommitId(String mergedCommitId) { - - this.mergedCommitId = mergedCommitId; - return this; - } - - /** - * the commit id of merged PRs - * @return mergedCommitId - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "the commit id of merged PRs") - - public String getMergedCommitId() { - return mergedCommitId; - } - - - public void setMergedCommitId(String mergedCommitId) { - this.mergedCommitId = mergedCommitId; - } - - - public PullRequest closedDate(OffsetDateTime closedDate) { - - this.closedDate = closedDate; - return this; - } - - /** - * Get closedDate - * @return closedDate - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public OffsetDateTime getClosedDate() { - return closedDate; - } - - - public void setClosedDate(OffsetDateTime closedDate) { - this.closedDate = closedDate; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - PullRequest pullRequest = (PullRequest) o; - return Objects.equals(this.status, pullRequest.status) && - Objects.equals(this.title, pullRequest.title) && - Objects.equals(this.description, pullRequest.description) && - Objects.equals(this.id, pullRequest.id) && - Objects.equals(this.creationDate, pullRequest.creationDate) && - Objects.equals(this.author, pullRequest.author) && - Objects.equals(this.sourceBranch, pullRequest.sourceBranch) && - Objects.equals(this.destinationBranch, pullRequest.destinationBranch) && - Objects.equals(this.mergedCommitId, pullRequest.mergedCommitId) && - Objects.equals(this.closedDate, pullRequest.closedDate); - } - - @Override - public int hashCode() { - return Objects.hash(status, title, description, id, creationDate, author, sourceBranch, destinationBranch, mergedCommitId, closedDate); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PullRequest {\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" title: ").append(toIndentedString(title)).append("\n"); - sb.append(" description: ").append(toIndentedString(description)).append("\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" creationDate: ").append(toIndentedString(creationDate)).append("\n"); - sb.append(" author: ").append(toIndentedString(author)).append("\n"); - sb.append(" sourceBranch: ").append(toIndentedString(sourceBranch)).append("\n"); - sb.append(" destinationBranch: ").append(toIndentedString(destinationBranch)).append("\n"); - sb.append(" mergedCommitId: ").append(toIndentedString(mergedCommitId)).append("\n"); - sb.append(" closedDate: ").append(toIndentedString(closedDate)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/PullRequestAllOf.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/PullRequestAllOf.java deleted file mode 100644 index de6b6cf355f..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/PullRequestAllOf.java +++ /dev/null @@ -1,273 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.threeten.bp.OffsetDateTime; - -/** - * PullRequestAllOf - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class PullRequestAllOf { - public static final String SERIALIZED_NAME_ID = "id"; - @SerializedName(SERIALIZED_NAME_ID) - private String id; - - public static final String SERIALIZED_NAME_CREATION_DATE = "creation_date"; - @SerializedName(SERIALIZED_NAME_CREATION_DATE) - private OffsetDateTime creationDate; - - public static final String SERIALIZED_NAME_AUTHOR = "author"; - @SerializedName(SERIALIZED_NAME_AUTHOR) - private String author; - - public static final String SERIALIZED_NAME_SOURCE_BRANCH = "source_branch"; - @SerializedName(SERIALIZED_NAME_SOURCE_BRANCH) - private String sourceBranch; - - public static final String SERIALIZED_NAME_DESTINATION_BRANCH = "destination_branch"; - @SerializedName(SERIALIZED_NAME_DESTINATION_BRANCH) - private String destinationBranch; - - public static final String SERIALIZED_NAME_MERGED_COMMIT_ID = "merged_commit_id"; - @SerializedName(SERIALIZED_NAME_MERGED_COMMIT_ID) - private String mergedCommitId; - - public static final String SERIALIZED_NAME_CLOSED_DATE = "closed_date"; - @SerializedName(SERIALIZED_NAME_CLOSED_DATE) - private OffsetDateTime closedDate; - - - public PullRequestAllOf id(String id) { - - this.id = id; - return this; - } - - /** - * Get id - * @return id - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public String getId() { - return id; - } - - - public void setId(String id) { - this.id = id; - } - - - public PullRequestAllOf creationDate(OffsetDateTime creationDate) { - - this.creationDate = creationDate; - return this; - } - - /** - * Get creationDate - * @return creationDate - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public OffsetDateTime getCreationDate() { - return creationDate; - } - - - public void setCreationDate(OffsetDateTime creationDate) { - this.creationDate = creationDate; - } - - - public PullRequestAllOf author(String author) { - - this.author = author; - return this; - } - - /** - * Get author - * @return author - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public String getAuthor() { - return author; - } - - - public void setAuthor(String author) { - this.author = author; - } - - - public PullRequestAllOf sourceBranch(String sourceBranch) { - - this.sourceBranch = sourceBranch; - return this; - } - - /** - * Get sourceBranch - * @return sourceBranch - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public String getSourceBranch() { - return sourceBranch; - } - - - public void setSourceBranch(String sourceBranch) { - this.sourceBranch = sourceBranch; - } - - - public PullRequestAllOf destinationBranch(String destinationBranch) { - - this.destinationBranch = destinationBranch; - return this; - } - - /** - * Get destinationBranch - * @return destinationBranch - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public String getDestinationBranch() { - return destinationBranch; - } - - - public void setDestinationBranch(String destinationBranch) { - this.destinationBranch = destinationBranch; - } - - - public PullRequestAllOf mergedCommitId(String mergedCommitId) { - - this.mergedCommitId = mergedCommitId; - return this; - } - - /** - * the commit id of merged PRs - * @return mergedCommitId - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "the commit id of merged PRs") - - public String getMergedCommitId() { - return mergedCommitId; - } - - - public void setMergedCommitId(String mergedCommitId) { - this.mergedCommitId = mergedCommitId; - } - - - public PullRequestAllOf closedDate(OffsetDateTime closedDate) { - - this.closedDate = closedDate; - return this; - } - - /** - * Get closedDate - * @return closedDate - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public OffsetDateTime getClosedDate() { - return closedDate; - } - - - public void setClosedDate(OffsetDateTime closedDate) { - this.closedDate = closedDate; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - PullRequestAllOf pullRequestAllOf = (PullRequestAllOf) o; - return Objects.equals(this.id, pullRequestAllOf.id) && - Objects.equals(this.creationDate, pullRequestAllOf.creationDate) && - Objects.equals(this.author, pullRequestAllOf.author) && - Objects.equals(this.sourceBranch, pullRequestAllOf.sourceBranch) && - Objects.equals(this.destinationBranch, pullRequestAllOf.destinationBranch) && - Objects.equals(this.mergedCommitId, pullRequestAllOf.mergedCommitId) && - Objects.equals(this.closedDate, pullRequestAllOf.closedDate); - } - - @Override - public int hashCode() { - return Objects.hash(id, creationDate, author, sourceBranch, destinationBranch, mergedCommitId, closedDate); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PullRequestAllOf {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" creationDate: ").append(toIndentedString(creationDate)).append("\n"); - sb.append(" author: ").append(toIndentedString(author)).append("\n"); - sb.append(" sourceBranch: ").append(toIndentedString(sourceBranch)).append("\n"); - sb.append(" destinationBranch: ").append(toIndentedString(destinationBranch)).append("\n"); - sb.append(" mergedCommitId: ").append(toIndentedString(mergedCommitId)).append("\n"); - sb.append(" closedDate: ").append(toIndentedString(closedDate)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/PullRequestBasic.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/PullRequestBasic.java deleted file mode 100644 index f4d1038da3f..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/PullRequestBasic.java +++ /dev/null @@ -1,205 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * PullRequestBasic - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class PullRequestBasic { - /** - * Gets or Sets status - */ - @JsonAdapter(StatusEnum.Adapter.class) - public enum StatusEnum { - OPEN("open"), - - CLOSED("closed"), - - MERGED("merged"); - - private String value; - - StatusEnum(String value) { - this.value = value; - } - - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - public static StatusEnum fromValue(String value) { - for (StatusEnum b : StatusEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - - public static class Adapter extends TypeAdapter { - @Override - public void write(final JsonWriter jsonWriter, final StatusEnum enumeration) throws IOException { - jsonWriter.value(enumeration.getValue()); - } - - @Override - public StatusEnum read(final JsonReader jsonReader) throws IOException { - String value = jsonReader.nextString(); - return StatusEnum.fromValue(value); - } - } - } - - public static final String SERIALIZED_NAME_STATUS = "status"; - @SerializedName(SERIALIZED_NAME_STATUS) - private StatusEnum status; - - public static final String SERIALIZED_NAME_TITLE = "title"; - @SerializedName(SERIALIZED_NAME_TITLE) - private String title; - - public static final String SERIALIZED_NAME_DESCRIPTION = "description"; - @SerializedName(SERIALIZED_NAME_DESCRIPTION) - private String description; - - - public PullRequestBasic status(StatusEnum status) { - - this.status = status; - return this; - } - - /** - * Get status - * @return status - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public StatusEnum getStatus() { - return status; - } - - - public void setStatus(StatusEnum status) { - this.status = status; - } - - - public PullRequestBasic title(String title) { - - this.title = title; - return this; - } - - /** - * Get title - * @return title - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public String getTitle() { - return title; - } - - - public void setTitle(String title) { - this.title = title; - } - - - public PullRequestBasic description(String description) { - - this.description = description; - return this; - } - - /** - * Get description - * @return description - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public String getDescription() { - return description; - } - - - public void setDescription(String description) { - this.description = description; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - PullRequestBasic pullRequestBasic = (PullRequestBasic) o; - return Objects.equals(this.status, pullRequestBasic.status) && - Objects.equals(this.title, pullRequestBasic.title) && - Objects.equals(this.description, pullRequestBasic.description); - } - - @Override - public int hashCode() { - return Objects.hash(status, title, description); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PullRequestBasic {\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" title: ").append(toIndentedString(title)).append("\n"); - sb.append(" description: ").append(toIndentedString(description)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/PullRequestCreation.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/PullRequestCreation.java deleted file mode 100644 index 01ab926f9e4..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/PullRequestCreation.java +++ /dev/null @@ -1,185 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * PullRequestCreation - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class PullRequestCreation { - public static final String SERIALIZED_NAME_TITLE = "title"; - @SerializedName(SERIALIZED_NAME_TITLE) - private String title; - - public static final String SERIALIZED_NAME_DESCRIPTION = "description"; - @SerializedName(SERIALIZED_NAME_DESCRIPTION) - private String description; - - public static final String SERIALIZED_NAME_SOURCE_BRANCH = "source_branch"; - @SerializedName(SERIALIZED_NAME_SOURCE_BRANCH) - private String sourceBranch; - - public static final String SERIALIZED_NAME_DESTINATION_BRANCH = "destination_branch"; - @SerializedName(SERIALIZED_NAME_DESTINATION_BRANCH) - private String destinationBranch; - - - public PullRequestCreation title(String title) { - - this.title = title; - return this; - } - - /** - * Get title - * @return title - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public String getTitle() { - return title; - } - - - public void setTitle(String title) { - this.title = title; - } - - - public PullRequestCreation description(String description) { - - this.description = description; - return this; - } - - /** - * Get description - * @return description - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public String getDescription() { - return description; - } - - - public void setDescription(String description) { - this.description = description; - } - - - public PullRequestCreation sourceBranch(String sourceBranch) { - - this.sourceBranch = sourceBranch; - return this; - } - - /** - * Get sourceBranch - * @return sourceBranch - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public String getSourceBranch() { - return sourceBranch; - } - - - public void setSourceBranch(String sourceBranch) { - this.sourceBranch = sourceBranch; - } - - - public PullRequestCreation destinationBranch(String destinationBranch) { - - this.destinationBranch = destinationBranch; - return this; - } - - /** - * Get destinationBranch - * @return destinationBranch - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public String getDestinationBranch() { - return destinationBranch; - } - - - public void setDestinationBranch(String destinationBranch) { - this.destinationBranch = destinationBranch; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - PullRequestCreation pullRequestCreation = (PullRequestCreation) o; - return Objects.equals(this.title, pullRequestCreation.title) && - Objects.equals(this.description, pullRequestCreation.description) && - Objects.equals(this.sourceBranch, pullRequestCreation.sourceBranch) && - Objects.equals(this.destinationBranch, pullRequestCreation.destinationBranch); - } - - @Override - public int hashCode() { - return Objects.hash(title, description, sourceBranch, destinationBranch); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PullRequestCreation {\n"); - sb.append(" title: ").append(toIndentedString(title)).append("\n"); - sb.append(" description: ").append(toIndentedString(description)).append("\n"); - sb.append(" sourceBranch: ").append(toIndentedString(sourceBranch)).append("\n"); - sb.append(" destinationBranch: ").append(toIndentedString(destinationBranch)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/PullRequestCreationResponse.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/PullRequestCreationResponse.java deleted file mode 100644 index 9b60a9cf385..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/PullRequestCreationResponse.java +++ /dev/null @@ -1,98 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * PullRequestCreationResponse - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class PullRequestCreationResponse { - public static final String SERIALIZED_NAME_ID = "id"; - @SerializedName(SERIALIZED_NAME_ID) - private String id; - - - public PullRequestCreationResponse id(String id) { - - this.id = id; - return this; - } - - /** - * ID of the pull request - * @return id - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "ID of the pull request") - - public String getId() { - return id; - } - - - public void setId(String id) { - this.id = id; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - PullRequestCreationResponse pullRequestCreationResponse = (PullRequestCreationResponse) o; - return Objects.equals(this.id, pullRequestCreationResponse.id); - } - - @Override - public int hashCode() { - return Objects.hash(id); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PullRequestCreationResponse {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/PullRequestsList.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/PullRequestsList.java deleted file mode 100644 index e09480b16ad..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/PullRequestsList.java +++ /dev/null @@ -1,136 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.lakefs.clients.api.model.Pagination; -import io.lakefs.clients.api.model.PullRequest; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; - -/** - * PullRequestsList - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class PullRequestsList { - public static final String SERIALIZED_NAME_PAGINATION = "pagination"; - @SerializedName(SERIALIZED_NAME_PAGINATION) - private Pagination pagination; - - public static final String SERIALIZED_NAME_RESULTS = "results"; - @SerializedName(SERIALIZED_NAME_RESULTS) - private List results = new ArrayList(); - - - public PullRequestsList pagination(Pagination pagination) { - - this.pagination = pagination; - return this; - } - - /** - * Get pagination - * @return pagination - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public Pagination getPagination() { - return pagination; - } - - - public void setPagination(Pagination pagination) { - this.pagination = pagination; - } - - - public PullRequestsList results(List results) { - - this.results = results; - return this; - } - - public PullRequestsList addResultsItem(PullRequest resultsItem) { - this.results.add(resultsItem); - return this; - } - - /** - * Get results - * @return results - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public List getResults() { - return results; - } - - - public void setResults(List results) { - this.results = results; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - PullRequestsList pullRequestsList = (PullRequestsList) o; - return Objects.equals(this.pagination, pullRequestsList.pagination) && - Objects.equals(this.results, pullRequestsList.results); - } - - @Override - public int hashCode() { - return Objects.hash(pagination, results); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class PullRequestsList {\n"); - sb.append(" pagination: ").append(toIndentedString(pagination)).append("\n"); - sb.append(" results: ").append(toIndentedString(results)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/RangeMetadata.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/RangeMetadata.java deleted file mode 100644 index 2f8cfdc288e..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/RangeMetadata.java +++ /dev/null @@ -1,214 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * RangeMetadata - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class RangeMetadata { - public static final String SERIALIZED_NAME_ID = "id"; - @SerializedName(SERIALIZED_NAME_ID) - private String id; - - public static final String SERIALIZED_NAME_MIN_KEY = "min_key"; - @SerializedName(SERIALIZED_NAME_MIN_KEY) - private String minKey; - - public static final String SERIALIZED_NAME_MAX_KEY = "max_key"; - @SerializedName(SERIALIZED_NAME_MAX_KEY) - private String maxKey; - - public static final String SERIALIZED_NAME_COUNT = "count"; - @SerializedName(SERIALIZED_NAME_COUNT) - private Integer count; - - public static final String SERIALIZED_NAME_ESTIMATED_SIZE = "estimated_size"; - @SerializedName(SERIALIZED_NAME_ESTIMATED_SIZE) - private Integer estimatedSize; - - - public RangeMetadata id(String id) { - - this.id = id; - return this; - } - - /** - * ID of the range. - * @return id - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "480e19972a6fbe98ab8e81ae5efdfd1a29037587e91244e87abd4adefffdb01c", required = true, value = "ID of the range.") - - public String getId() { - return id; - } - - - public void setId(String id) { - this.id = id; - } - - - public RangeMetadata minKey(String minKey) { - - this.minKey = minKey; - return this; - } - - /** - * First key in the range. - * @return minKey - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "production/collections/some/file_1.parquet", required = true, value = "First key in the range.") - - public String getMinKey() { - return minKey; - } - - - public void setMinKey(String minKey) { - this.minKey = minKey; - } - - - public RangeMetadata maxKey(String maxKey) { - - this.maxKey = maxKey; - return this; - } - - /** - * Last key in the range. - * @return maxKey - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "production/collections/some/file_8229.parquet", required = true, value = "Last key in the range.") - - public String getMaxKey() { - return maxKey; - } - - - public void setMaxKey(String maxKey) { - this.maxKey = maxKey; - } - - - public RangeMetadata count(Integer count) { - - this.count = count; - return this; - } - - /** - * Number of records in the range. - * @return count - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "Number of records in the range.") - - public Integer getCount() { - return count; - } - - - public void setCount(Integer count) { - this.count = count; - } - - - public RangeMetadata estimatedSize(Integer estimatedSize) { - - this.estimatedSize = estimatedSize; - return this; - } - - /** - * Estimated size of the range in bytes - * @return estimatedSize - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "Estimated size of the range in bytes") - - public Integer getEstimatedSize() { - return estimatedSize; - } - - - public void setEstimatedSize(Integer estimatedSize) { - this.estimatedSize = estimatedSize; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - RangeMetadata rangeMetadata = (RangeMetadata) o; - return Objects.equals(this.id, rangeMetadata.id) && - Objects.equals(this.minKey, rangeMetadata.minKey) && - Objects.equals(this.maxKey, rangeMetadata.maxKey) && - Objects.equals(this.count, rangeMetadata.count) && - Objects.equals(this.estimatedSize, rangeMetadata.estimatedSize); - } - - @Override - public int hashCode() { - return Objects.hash(id, minKey, maxKey, count, estimatedSize); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class RangeMetadata {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" minKey: ").append(toIndentedString(minKey)).append("\n"); - sb.append(" maxKey: ").append(toIndentedString(maxKey)).append("\n"); - sb.append(" count: ").append(toIndentedString(count)).append("\n"); - sb.append(" estimatedSize: ").append(toIndentedString(estimatedSize)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/Ref.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/Ref.java deleted file mode 100644 index 1aaf9e1db3d..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/Ref.java +++ /dev/null @@ -1,127 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * Ref - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class Ref { - public static final String SERIALIZED_NAME_ID = "id"; - @SerializedName(SERIALIZED_NAME_ID) - private String id; - - public static final String SERIALIZED_NAME_COMMIT_ID = "commit_id"; - @SerializedName(SERIALIZED_NAME_COMMIT_ID) - private String commitId; - - - public Ref id(String id) { - - this.id = id; - return this; - } - - /** - * Get id - * @return id - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public String getId() { - return id; - } - - - public void setId(String id) { - this.id = id; - } - - - public Ref commitId(String commitId) { - - this.commitId = commitId; - return this; - } - - /** - * Get commitId - * @return commitId - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public String getCommitId() { - return commitId; - } - - - public void setCommitId(String commitId) { - this.commitId = commitId; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - Ref ref = (Ref) o; - return Objects.equals(this.id, ref.id) && - Objects.equals(this.commitId, ref.commitId); - } - - @Override - public int hashCode() { - return Objects.hash(id, commitId); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class Ref {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" commitId: ").append(toIndentedString(commitId)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/RefList.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/RefList.java deleted file mode 100644 index 013dbf9661b..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/RefList.java +++ /dev/null @@ -1,136 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.lakefs.clients.api.model.Pagination; -import io.lakefs.clients.api.model.Ref; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; - -/** - * RefList - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class RefList { - public static final String SERIALIZED_NAME_PAGINATION = "pagination"; - @SerializedName(SERIALIZED_NAME_PAGINATION) - private Pagination pagination; - - public static final String SERIALIZED_NAME_RESULTS = "results"; - @SerializedName(SERIALIZED_NAME_RESULTS) - private List results = new ArrayList(); - - - public RefList pagination(Pagination pagination) { - - this.pagination = pagination; - return this; - } - - /** - * Get pagination - * @return pagination - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public Pagination getPagination() { - return pagination; - } - - - public void setPagination(Pagination pagination) { - this.pagination = pagination; - } - - - public RefList results(List results) { - - this.results = results; - return this; - } - - public RefList addResultsItem(Ref resultsItem) { - this.results.add(resultsItem); - return this; - } - - /** - * Get results - * @return results - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public List getResults() { - return results; - } - - - public void setResults(List results) { - this.results = results; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - RefList refList = (RefList) o; - return Objects.equals(this.pagination, refList.pagination) && - Objects.equals(this.results, refList.results); - } - - @Override - public int hashCode() { - return Objects.hash(pagination, results); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class RefList {\n"); - sb.append(" pagination: ").append(toIndentedString(pagination)).append("\n"); - sb.append(" results: ").append(toIndentedString(results)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/RefsDump.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/RefsDump.java deleted file mode 100644 index 3707d7c1143..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/RefsDump.java +++ /dev/null @@ -1,156 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * RefsDump - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class RefsDump { - public static final String SERIALIZED_NAME_COMMITS_META_RANGE_ID = "commits_meta_range_id"; - @SerializedName(SERIALIZED_NAME_COMMITS_META_RANGE_ID) - private String commitsMetaRangeId; - - public static final String SERIALIZED_NAME_TAGS_META_RANGE_ID = "tags_meta_range_id"; - @SerializedName(SERIALIZED_NAME_TAGS_META_RANGE_ID) - private String tagsMetaRangeId; - - public static final String SERIALIZED_NAME_BRANCHES_META_RANGE_ID = "branches_meta_range_id"; - @SerializedName(SERIALIZED_NAME_BRANCHES_META_RANGE_ID) - private String branchesMetaRangeId; - - - public RefsDump commitsMetaRangeId(String commitsMetaRangeId) { - - this.commitsMetaRangeId = commitsMetaRangeId; - return this; - } - - /** - * Get commitsMetaRangeId - * @return commitsMetaRangeId - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public String getCommitsMetaRangeId() { - return commitsMetaRangeId; - } - - - public void setCommitsMetaRangeId(String commitsMetaRangeId) { - this.commitsMetaRangeId = commitsMetaRangeId; - } - - - public RefsDump tagsMetaRangeId(String tagsMetaRangeId) { - - this.tagsMetaRangeId = tagsMetaRangeId; - return this; - } - - /** - * Get tagsMetaRangeId - * @return tagsMetaRangeId - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public String getTagsMetaRangeId() { - return tagsMetaRangeId; - } - - - public void setTagsMetaRangeId(String tagsMetaRangeId) { - this.tagsMetaRangeId = tagsMetaRangeId; - } - - - public RefsDump branchesMetaRangeId(String branchesMetaRangeId) { - - this.branchesMetaRangeId = branchesMetaRangeId; - return this; - } - - /** - * Get branchesMetaRangeId - * @return branchesMetaRangeId - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public String getBranchesMetaRangeId() { - return branchesMetaRangeId; - } - - - public void setBranchesMetaRangeId(String branchesMetaRangeId) { - this.branchesMetaRangeId = branchesMetaRangeId; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - RefsDump refsDump = (RefsDump) o; - return Objects.equals(this.commitsMetaRangeId, refsDump.commitsMetaRangeId) && - Objects.equals(this.tagsMetaRangeId, refsDump.tagsMetaRangeId) && - Objects.equals(this.branchesMetaRangeId, refsDump.branchesMetaRangeId); - } - - @Override - public int hashCode() { - return Objects.hash(commitsMetaRangeId, tagsMetaRangeId, branchesMetaRangeId); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class RefsDump {\n"); - sb.append(" commitsMetaRangeId: ").append(toIndentedString(commitsMetaRangeId)).append("\n"); - sb.append(" tagsMetaRangeId: ").append(toIndentedString(tagsMetaRangeId)).append("\n"); - sb.append(" branchesMetaRangeId: ").append(toIndentedString(branchesMetaRangeId)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/RefsRestore.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/RefsRestore.java deleted file mode 100644 index 81fdb8c9e95..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/RefsRestore.java +++ /dev/null @@ -1,185 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * RefsRestore - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class RefsRestore { - public static final String SERIALIZED_NAME_COMMITS_META_RANGE_ID = "commits_meta_range_id"; - @SerializedName(SERIALIZED_NAME_COMMITS_META_RANGE_ID) - private String commitsMetaRangeId; - - public static final String SERIALIZED_NAME_TAGS_META_RANGE_ID = "tags_meta_range_id"; - @SerializedName(SERIALIZED_NAME_TAGS_META_RANGE_ID) - private String tagsMetaRangeId; - - public static final String SERIALIZED_NAME_BRANCHES_META_RANGE_ID = "branches_meta_range_id"; - @SerializedName(SERIALIZED_NAME_BRANCHES_META_RANGE_ID) - private String branchesMetaRangeId; - - public static final String SERIALIZED_NAME_FORCE = "force"; - @SerializedName(SERIALIZED_NAME_FORCE) - private Boolean force = false; - - - public RefsRestore commitsMetaRangeId(String commitsMetaRangeId) { - - this.commitsMetaRangeId = commitsMetaRangeId; - return this; - } - - /** - * Get commitsMetaRangeId - * @return commitsMetaRangeId - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public String getCommitsMetaRangeId() { - return commitsMetaRangeId; - } - - - public void setCommitsMetaRangeId(String commitsMetaRangeId) { - this.commitsMetaRangeId = commitsMetaRangeId; - } - - - public RefsRestore tagsMetaRangeId(String tagsMetaRangeId) { - - this.tagsMetaRangeId = tagsMetaRangeId; - return this; - } - - /** - * Get tagsMetaRangeId - * @return tagsMetaRangeId - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public String getTagsMetaRangeId() { - return tagsMetaRangeId; - } - - - public void setTagsMetaRangeId(String tagsMetaRangeId) { - this.tagsMetaRangeId = tagsMetaRangeId; - } - - - public RefsRestore branchesMetaRangeId(String branchesMetaRangeId) { - - this.branchesMetaRangeId = branchesMetaRangeId; - return this; - } - - /** - * Get branchesMetaRangeId - * @return branchesMetaRangeId - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public String getBranchesMetaRangeId() { - return branchesMetaRangeId; - } - - - public void setBranchesMetaRangeId(String branchesMetaRangeId) { - this.branchesMetaRangeId = branchesMetaRangeId; - } - - - public RefsRestore force(Boolean force) { - - this.force = force; - return this; - } - - /** - * Get force - * @return force - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Boolean getForce() { - return force; - } - - - public void setForce(Boolean force) { - this.force = force; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - RefsRestore refsRestore = (RefsRestore) o; - return Objects.equals(this.commitsMetaRangeId, refsRestore.commitsMetaRangeId) && - Objects.equals(this.tagsMetaRangeId, refsRestore.tagsMetaRangeId) && - Objects.equals(this.branchesMetaRangeId, refsRestore.branchesMetaRangeId) && - Objects.equals(this.force, refsRestore.force); - } - - @Override - public int hashCode() { - return Objects.hash(commitsMetaRangeId, tagsMetaRangeId, branchesMetaRangeId, force); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class RefsRestore {\n"); - sb.append(" commitsMetaRangeId: ").append(toIndentedString(commitsMetaRangeId)).append("\n"); - sb.append(" tagsMetaRangeId: ").append(toIndentedString(tagsMetaRangeId)).append("\n"); - sb.append(" branchesMetaRangeId: ").append(toIndentedString(branchesMetaRangeId)).append("\n"); - sb.append(" force: ").append(toIndentedString(force)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/Repository.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/Repository.java deleted file mode 100644 index bcf5cd53f28..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/Repository.java +++ /dev/null @@ -1,214 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * Repository - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class Repository { - public static final String SERIALIZED_NAME_ID = "id"; - @SerializedName(SERIALIZED_NAME_ID) - private String id; - - public static final String SERIALIZED_NAME_CREATION_DATE = "creation_date"; - @SerializedName(SERIALIZED_NAME_CREATION_DATE) - private Long creationDate; - - public static final String SERIALIZED_NAME_DEFAULT_BRANCH = "default_branch"; - @SerializedName(SERIALIZED_NAME_DEFAULT_BRANCH) - private String defaultBranch; - - public static final String SERIALIZED_NAME_STORAGE_NAMESPACE = "storage_namespace"; - @SerializedName(SERIALIZED_NAME_STORAGE_NAMESPACE) - private String storageNamespace; - - public static final String SERIALIZED_NAME_READ_ONLY = "read_only"; - @SerializedName(SERIALIZED_NAME_READ_ONLY) - private Boolean readOnly; - - - public Repository id(String id) { - - this.id = id; - return this; - } - - /** - * Get id - * @return id - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public String getId() { - return id; - } - - - public void setId(String id) { - this.id = id; - } - - - public Repository creationDate(Long creationDate) { - - this.creationDate = creationDate; - return this; - } - - /** - * Unix Epoch in seconds - * @return creationDate - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "Unix Epoch in seconds") - - public Long getCreationDate() { - return creationDate; - } - - - public void setCreationDate(Long creationDate) { - this.creationDate = creationDate; - } - - - public Repository defaultBranch(String defaultBranch) { - - this.defaultBranch = defaultBranch; - return this; - } - - /** - * Get defaultBranch - * @return defaultBranch - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public String getDefaultBranch() { - return defaultBranch; - } - - - public void setDefaultBranch(String defaultBranch) { - this.defaultBranch = defaultBranch; - } - - - public Repository storageNamespace(String storageNamespace) { - - this.storageNamespace = storageNamespace; - return this; - } - - /** - * Filesystem URI to store the underlying data in (e.g. \"s3://my-bucket/some/path/\") - * @return storageNamespace - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "Filesystem URI to store the underlying data in (e.g. \"s3://my-bucket/some/path/\")") - - public String getStorageNamespace() { - return storageNamespace; - } - - - public void setStorageNamespace(String storageNamespace) { - this.storageNamespace = storageNamespace; - } - - - public Repository readOnly(Boolean readOnly) { - - this.readOnly = readOnly; - return this; - } - - /** - * Whether the repository is a read-only repository- not relevant for bare repositories - * @return readOnly - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "Whether the repository is a read-only repository- not relevant for bare repositories") - - public Boolean getReadOnly() { - return readOnly; - } - - - public void setReadOnly(Boolean readOnly) { - this.readOnly = readOnly; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - Repository repository = (Repository) o; - return Objects.equals(this.id, repository.id) && - Objects.equals(this.creationDate, repository.creationDate) && - Objects.equals(this.defaultBranch, repository.defaultBranch) && - Objects.equals(this.storageNamespace, repository.storageNamespace) && - Objects.equals(this.readOnly, repository.readOnly); - } - - @Override - public int hashCode() { - return Objects.hash(id, creationDate, defaultBranch, storageNamespace, readOnly); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class Repository {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" creationDate: ").append(toIndentedString(creationDate)).append("\n"); - sb.append(" defaultBranch: ").append(toIndentedString(defaultBranch)).append("\n"); - sb.append(" storageNamespace: ").append(toIndentedString(storageNamespace)).append("\n"); - sb.append(" readOnly: ").append(toIndentedString(readOnly)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/RepositoryCreation.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/RepositoryCreation.java deleted file mode 100644 index 583bb1890d7..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/RepositoryCreation.java +++ /dev/null @@ -1,214 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * RepositoryCreation - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class RepositoryCreation { - public static final String SERIALIZED_NAME_NAME = "name"; - @SerializedName(SERIALIZED_NAME_NAME) - private String name; - - public static final String SERIALIZED_NAME_STORAGE_NAMESPACE = "storage_namespace"; - @SerializedName(SERIALIZED_NAME_STORAGE_NAMESPACE) - private String storageNamespace; - - public static final String SERIALIZED_NAME_DEFAULT_BRANCH = "default_branch"; - @SerializedName(SERIALIZED_NAME_DEFAULT_BRANCH) - private String defaultBranch; - - public static final String SERIALIZED_NAME_SAMPLE_DATA = "sample_data"; - @SerializedName(SERIALIZED_NAME_SAMPLE_DATA) - private Boolean sampleData = false; - - public static final String SERIALIZED_NAME_READ_ONLY = "read_only"; - @SerializedName(SERIALIZED_NAME_READ_ONLY) - private Boolean readOnly = false; - - - public RepositoryCreation name(String name) { - - this.name = name; - return this; - } - - /** - * Get name - * @return name - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public String getName() { - return name; - } - - - public void setName(String name) { - this.name = name; - } - - - public RepositoryCreation storageNamespace(String storageNamespace) { - - this.storageNamespace = storageNamespace; - return this; - } - - /** - * Filesystem URI to store the underlying data in (e.g. \"s3://my-bucket/some/path/\") - * @return storageNamespace - **/ - @javax.annotation.Nonnull - @ApiModelProperty(example = "s3://example-bucket/", required = true, value = "Filesystem URI to store the underlying data in (e.g. \"s3://my-bucket/some/path/\")") - - public String getStorageNamespace() { - return storageNamespace; - } - - - public void setStorageNamespace(String storageNamespace) { - this.storageNamespace = storageNamespace; - } - - - public RepositoryCreation defaultBranch(String defaultBranch) { - - this.defaultBranch = defaultBranch; - return this; - } - - /** - * Get defaultBranch - * @return defaultBranch - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "main", value = "") - - public String getDefaultBranch() { - return defaultBranch; - } - - - public void setDefaultBranch(String defaultBranch) { - this.defaultBranch = defaultBranch; - } - - - public RepositoryCreation sampleData(Boolean sampleData) { - - this.sampleData = sampleData; - return this; - } - - /** - * Get sampleData - * @return sampleData - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "true", value = "") - - public Boolean getSampleData() { - return sampleData; - } - - - public void setSampleData(Boolean sampleData) { - this.sampleData = sampleData; - } - - - public RepositoryCreation readOnly(Boolean readOnly) { - - this.readOnly = readOnly; - return this; - } - - /** - * Get readOnly - * @return readOnly - **/ - @javax.annotation.Nullable - @ApiModelProperty(example = "true", value = "") - - public Boolean getReadOnly() { - return readOnly; - } - - - public void setReadOnly(Boolean readOnly) { - this.readOnly = readOnly; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - RepositoryCreation repositoryCreation = (RepositoryCreation) o; - return Objects.equals(this.name, repositoryCreation.name) && - Objects.equals(this.storageNamespace, repositoryCreation.storageNamespace) && - Objects.equals(this.defaultBranch, repositoryCreation.defaultBranch) && - Objects.equals(this.sampleData, repositoryCreation.sampleData) && - Objects.equals(this.readOnly, repositoryCreation.readOnly); - } - - @Override - public int hashCode() { - return Objects.hash(name, storageNamespace, defaultBranch, sampleData, readOnly); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class RepositoryCreation {\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" storageNamespace: ").append(toIndentedString(storageNamespace)).append("\n"); - sb.append(" defaultBranch: ").append(toIndentedString(defaultBranch)).append("\n"); - sb.append(" sampleData: ").append(toIndentedString(sampleData)).append("\n"); - sb.append(" readOnly: ").append(toIndentedString(readOnly)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/RepositoryDumpStatus.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/RepositoryDumpStatus.java deleted file mode 100644 index 03fbeb1beb6..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/RepositoryDumpStatus.java +++ /dev/null @@ -1,216 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.lakefs.clients.api.model.RefsDump; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.threeten.bp.OffsetDateTime; - -/** - * RepositoryDumpStatus - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class RepositoryDumpStatus { - public static final String SERIALIZED_NAME_ID = "id"; - @SerializedName(SERIALIZED_NAME_ID) - private String id; - - public static final String SERIALIZED_NAME_DONE = "done"; - @SerializedName(SERIALIZED_NAME_DONE) - private Boolean done; - - public static final String SERIALIZED_NAME_UPDATE_TIME = "update_time"; - @SerializedName(SERIALIZED_NAME_UPDATE_TIME) - private OffsetDateTime updateTime; - - public static final String SERIALIZED_NAME_ERROR = "error"; - @SerializedName(SERIALIZED_NAME_ERROR) - private String error; - - public static final String SERIALIZED_NAME_REFS = "refs"; - @SerializedName(SERIALIZED_NAME_REFS) - private RefsDump refs; - - - public RepositoryDumpStatus id(String id) { - - this.id = id; - return this; - } - - /** - * ID of the task - * @return id - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "ID of the task") - - public String getId() { - return id; - } - - - public void setId(String id) { - this.id = id; - } - - - public RepositoryDumpStatus done(Boolean done) { - - this.done = done; - return this; - } - - /** - * Get done - * @return done - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public Boolean getDone() { - return done; - } - - - public void setDone(Boolean done) { - this.done = done; - } - - - public RepositoryDumpStatus updateTime(OffsetDateTime updateTime) { - - this.updateTime = updateTime; - return this; - } - - /** - * Get updateTime - * @return updateTime - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public OffsetDateTime getUpdateTime() { - return updateTime; - } - - - public void setUpdateTime(OffsetDateTime updateTime) { - this.updateTime = updateTime; - } - - - public RepositoryDumpStatus error(String error) { - - this.error = error; - return this; - } - - /** - * Get error - * @return error - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public String getError() { - return error; - } - - - public void setError(String error) { - this.error = error; - } - - - public RepositoryDumpStatus refs(RefsDump refs) { - - this.refs = refs; - return this; - } - - /** - * Get refs - * @return refs - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public RefsDump getRefs() { - return refs; - } - - - public void setRefs(RefsDump refs) { - this.refs = refs; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - RepositoryDumpStatus repositoryDumpStatus = (RepositoryDumpStatus) o; - return Objects.equals(this.id, repositoryDumpStatus.id) && - Objects.equals(this.done, repositoryDumpStatus.done) && - Objects.equals(this.updateTime, repositoryDumpStatus.updateTime) && - Objects.equals(this.error, repositoryDumpStatus.error) && - Objects.equals(this.refs, repositoryDumpStatus.refs); - } - - @Override - public int hashCode() { - return Objects.hash(id, done, updateTime, error, refs); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class RepositoryDumpStatus {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" done: ").append(toIndentedString(done)).append("\n"); - sb.append(" updateTime: ").append(toIndentedString(updateTime)).append("\n"); - sb.append(" error: ").append(toIndentedString(error)).append("\n"); - sb.append(" refs: ").append(toIndentedString(refs)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/RepositoryList.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/RepositoryList.java deleted file mode 100644 index fa0a75468e4..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/RepositoryList.java +++ /dev/null @@ -1,136 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.lakefs.clients.api.model.Pagination; -import io.lakefs.clients.api.model.Repository; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; - -/** - * RepositoryList - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class RepositoryList { - public static final String SERIALIZED_NAME_PAGINATION = "pagination"; - @SerializedName(SERIALIZED_NAME_PAGINATION) - private Pagination pagination; - - public static final String SERIALIZED_NAME_RESULTS = "results"; - @SerializedName(SERIALIZED_NAME_RESULTS) - private List results = new ArrayList(); - - - public RepositoryList pagination(Pagination pagination) { - - this.pagination = pagination; - return this; - } - - /** - * Get pagination - * @return pagination - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public Pagination getPagination() { - return pagination; - } - - - public void setPagination(Pagination pagination) { - this.pagination = pagination; - } - - - public RepositoryList results(List results) { - - this.results = results; - return this; - } - - public RepositoryList addResultsItem(Repository resultsItem) { - this.results.add(resultsItem); - return this; - } - - /** - * Get results - * @return results - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public List getResults() { - return results; - } - - - public void setResults(List results) { - this.results = results; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - RepositoryList repositoryList = (RepositoryList) o; - return Objects.equals(this.pagination, repositoryList.pagination) && - Objects.equals(this.results, repositoryList.results); - } - - @Override - public int hashCode() { - return Objects.hash(pagination, results); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class RepositoryList {\n"); - sb.append(" pagination: ").append(toIndentedString(pagination)).append("\n"); - sb.append(" results: ").append(toIndentedString(results)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/RepositoryMetadataKeys.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/RepositoryMetadataKeys.java deleted file mode 100644 index cdef7e7d390..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/RepositoryMetadataKeys.java +++ /dev/null @@ -1,105 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; - -/** - * RepositoryMetadataKeys - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class RepositoryMetadataKeys { - public static final String SERIALIZED_NAME_KEYS = "keys"; - @SerializedName(SERIALIZED_NAME_KEYS) - private List keys = new ArrayList(); - - - public RepositoryMetadataKeys keys(List keys) { - - this.keys = keys; - return this; - } - - public RepositoryMetadataKeys addKeysItem(String keysItem) { - this.keys.add(keysItem); - return this; - } - - /** - * Get keys - * @return keys - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public List getKeys() { - return keys; - } - - - public void setKeys(List keys) { - this.keys = keys; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - RepositoryMetadataKeys repositoryMetadataKeys = (RepositoryMetadataKeys) o; - return Objects.equals(this.keys, repositoryMetadataKeys.keys); - } - - @Override - public int hashCode() { - return Objects.hash(keys); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class RepositoryMetadataKeys {\n"); - sb.append(" keys: ").append(toIndentedString(keys)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/RepositoryMetadataSet.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/RepositoryMetadataSet.java deleted file mode 100644 index e4c3a6af646..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/RepositoryMetadataSet.java +++ /dev/null @@ -1,106 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -/** - * RepositoryMetadataSet - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class RepositoryMetadataSet { - public static final String SERIALIZED_NAME_METADATA = "metadata"; - @SerializedName(SERIALIZED_NAME_METADATA) - private Map metadata = new HashMap(); - - - public RepositoryMetadataSet metadata(Map metadata) { - - this.metadata = metadata; - return this; - } - - public RepositoryMetadataSet putMetadataItem(String key, String metadataItem) { - this.metadata.put(key, metadataItem); - return this; - } - - /** - * Get metadata - * @return metadata - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public Map getMetadata() { - return metadata; - } - - - public void setMetadata(Map metadata) { - this.metadata = metadata; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - RepositoryMetadataSet repositoryMetadataSet = (RepositoryMetadataSet) o; - return Objects.equals(this.metadata, repositoryMetadataSet.metadata); - } - - @Override - public int hashCode() { - return Objects.hash(metadata); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class RepositoryMetadataSet {\n"); - sb.append(" metadata: ").append(toIndentedString(metadata)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/RepositoryRestoreStatus.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/RepositoryRestoreStatus.java deleted file mode 100644 index b428d846070..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/RepositoryRestoreStatus.java +++ /dev/null @@ -1,186 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.threeten.bp.OffsetDateTime; - -/** - * RepositoryRestoreStatus - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class RepositoryRestoreStatus { - public static final String SERIALIZED_NAME_ID = "id"; - @SerializedName(SERIALIZED_NAME_ID) - private String id; - - public static final String SERIALIZED_NAME_DONE = "done"; - @SerializedName(SERIALIZED_NAME_DONE) - private Boolean done; - - public static final String SERIALIZED_NAME_UPDATE_TIME = "update_time"; - @SerializedName(SERIALIZED_NAME_UPDATE_TIME) - private OffsetDateTime updateTime; - - public static final String SERIALIZED_NAME_ERROR = "error"; - @SerializedName(SERIALIZED_NAME_ERROR) - private String error; - - - public RepositoryRestoreStatus id(String id) { - - this.id = id; - return this; - } - - /** - * ID of the task - * @return id - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "ID of the task") - - public String getId() { - return id; - } - - - public void setId(String id) { - this.id = id; - } - - - public RepositoryRestoreStatus done(Boolean done) { - - this.done = done; - return this; - } - - /** - * Get done - * @return done - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public Boolean getDone() { - return done; - } - - - public void setDone(Boolean done) { - this.done = done; - } - - - public RepositoryRestoreStatus updateTime(OffsetDateTime updateTime) { - - this.updateTime = updateTime; - return this; - } - - /** - * Get updateTime - * @return updateTime - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public OffsetDateTime getUpdateTime() { - return updateTime; - } - - - public void setUpdateTime(OffsetDateTime updateTime) { - this.updateTime = updateTime; - } - - - public RepositoryRestoreStatus error(String error) { - - this.error = error; - return this; - } - - /** - * Get error - * @return error - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public String getError() { - return error; - } - - - public void setError(String error) { - this.error = error; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - RepositoryRestoreStatus repositoryRestoreStatus = (RepositoryRestoreStatus) o; - return Objects.equals(this.id, repositoryRestoreStatus.id) && - Objects.equals(this.done, repositoryRestoreStatus.done) && - Objects.equals(this.updateTime, repositoryRestoreStatus.updateTime) && - Objects.equals(this.error, repositoryRestoreStatus.error); - } - - @Override - public int hashCode() { - return Objects.hash(id, done, updateTime, error); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class RepositoryRestoreStatus {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" done: ").append(toIndentedString(done)).append("\n"); - sb.append(" updateTime: ").append(toIndentedString(updateTime)).append("\n"); - sb.append(" error: ").append(toIndentedString(error)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/ResetCreation.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/ResetCreation.java deleted file mode 100644 index 19e5eac4cf4..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/ResetCreation.java +++ /dev/null @@ -1,205 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * ResetCreation - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class ResetCreation { - /** - * What to reset according to path. - */ - @JsonAdapter(TypeEnum.Adapter.class) - public enum TypeEnum { - OBJECT("object"), - - COMMON_PREFIX("common_prefix"), - - RESET("reset"); - - private String value; - - TypeEnum(String value) { - this.value = value; - } - - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - public static TypeEnum fromValue(String value) { - for (TypeEnum b : TypeEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - - public static class Adapter extends TypeAdapter { - @Override - public void write(final JsonWriter jsonWriter, final TypeEnum enumeration) throws IOException { - jsonWriter.value(enumeration.getValue()); - } - - @Override - public TypeEnum read(final JsonReader jsonReader) throws IOException { - String value = jsonReader.nextString(); - return TypeEnum.fromValue(value); - } - } - } - - public static final String SERIALIZED_NAME_TYPE = "type"; - @SerializedName(SERIALIZED_NAME_TYPE) - private TypeEnum type; - - public static final String SERIALIZED_NAME_PATH = "path"; - @SerializedName(SERIALIZED_NAME_PATH) - private String path; - - public static final String SERIALIZED_NAME_FORCE = "force"; - @SerializedName(SERIALIZED_NAME_FORCE) - private Boolean force = false; - - - public ResetCreation type(TypeEnum type) { - - this.type = type; - return this; - } - - /** - * What to reset according to path. - * @return type - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "What to reset according to path.") - - public TypeEnum getType() { - return type; - } - - - public void setType(TypeEnum type) { - this.type = type; - } - - - public ResetCreation path(String path) { - - this.path = path; - return this; - } - - /** - * Get path - * @return path - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public String getPath() { - return path; - } - - - public void setPath(String path) { - this.path = path; - } - - - public ResetCreation force(Boolean force) { - - this.force = force; - return this; - } - - /** - * Get force - * @return force - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Boolean getForce() { - return force; - } - - - public void setForce(Boolean force) { - this.force = force; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ResetCreation resetCreation = (ResetCreation) o; - return Objects.equals(this.type, resetCreation.type) && - Objects.equals(this.path, resetCreation.path) && - Objects.equals(this.force, resetCreation.force); - } - - @Override - public int hashCode() { - return Objects.hash(type, path, force); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class ResetCreation {\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); - sb.append(" path: ").append(toIndentedString(path)).append("\n"); - sb.append(" force: ").append(toIndentedString(force)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/RevertCreation.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/RevertCreation.java deleted file mode 100644 index 95ff0a7ec36..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/RevertCreation.java +++ /dev/null @@ -1,215 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.lakefs.clients.api.model.CommitOverrides; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * RevertCreation - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class RevertCreation { - public static final String SERIALIZED_NAME_REF = "ref"; - @SerializedName(SERIALIZED_NAME_REF) - private String ref; - - public static final String SERIALIZED_NAME_COMMIT_OVERRIDES = "commit_overrides"; - @SerializedName(SERIALIZED_NAME_COMMIT_OVERRIDES) - private CommitOverrides commitOverrides; - - public static final String SERIALIZED_NAME_PARENT_NUMBER = "parent_number"; - @SerializedName(SERIALIZED_NAME_PARENT_NUMBER) - private Integer parentNumber; - - public static final String SERIALIZED_NAME_FORCE = "force"; - @SerializedName(SERIALIZED_NAME_FORCE) - private Boolean force = false; - - public static final String SERIALIZED_NAME_ALLOW_EMPTY = "allow_empty"; - @SerializedName(SERIALIZED_NAME_ALLOW_EMPTY) - private Boolean allowEmpty = false; - - - public RevertCreation ref(String ref) { - - this.ref = ref; - return this; - } - - /** - * the commit to revert, given by a ref - * @return ref - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "the commit to revert, given by a ref") - - public String getRef() { - return ref; - } - - - public void setRef(String ref) { - this.ref = ref; - } - - - public RevertCreation commitOverrides(CommitOverrides commitOverrides) { - - this.commitOverrides = commitOverrides; - return this; - } - - /** - * Get commitOverrides - * @return commitOverrides - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public CommitOverrides getCommitOverrides() { - return commitOverrides; - } - - - public void setCommitOverrides(CommitOverrides commitOverrides) { - this.commitOverrides = commitOverrides; - } - - - public RevertCreation parentNumber(Integer parentNumber) { - - this.parentNumber = parentNumber; - return this; - } - - /** - * when reverting a merge commit, the parent number (starting from 1) relative to which to perform the revert. - * @return parentNumber - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "when reverting a merge commit, the parent number (starting from 1) relative to which to perform the revert.") - - public Integer getParentNumber() { - return parentNumber; - } - - - public void setParentNumber(Integer parentNumber) { - this.parentNumber = parentNumber; - } - - - public RevertCreation force(Boolean force) { - - this.force = force; - return this; - } - - /** - * Get force - * @return force - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Boolean getForce() { - return force; - } - - - public void setForce(Boolean force) { - this.force = force; - } - - - public RevertCreation allowEmpty(Boolean allowEmpty) { - - this.allowEmpty = allowEmpty; - return this; - } - - /** - * allow empty commit (revert without changes) - * @return allowEmpty - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "allow empty commit (revert without changes)") - - public Boolean getAllowEmpty() { - return allowEmpty; - } - - - public void setAllowEmpty(Boolean allowEmpty) { - this.allowEmpty = allowEmpty; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - RevertCreation revertCreation = (RevertCreation) o; - return Objects.equals(this.ref, revertCreation.ref) && - Objects.equals(this.commitOverrides, revertCreation.commitOverrides) && - Objects.equals(this.parentNumber, revertCreation.parentNumber) && - Objects.equals(this.force, revertCreation.force) && - Objects.equals(this.allowEmpty, revertCreation.allowEmpty); - } - - @Override - public int hashCode() { - return Objects.hash(ref, commitOverrides, parentNumber, force, allowEmpty); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class RevertCreation {\n"); - sb.append(" ref: ").append(toIndentedString(ref)).append("\n"); - sb.append(" commitOverrides: ").append(toIndentedString(commitOverrides)).append("\n"); - sb.append(" parentNumber: ").append(toIndentedString(parentNumber)).append("\n"); - sb.append(" force: ").append(toIndentedString(force)).append("\n"); - sb.append(" allowEmpty: ").append(toIndentedString(allowEmpty)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/Setup.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/Setup.java deleted file mode 100644 index f101d7a8f2f..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/Setup.java +++ /dev/null @@ -1,128 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.lakefs.clients.api.model.AccessKeyCredentials; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * Setup - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class Setup { - public static final String SERIALIZED_NAME_USERNAME = "username"; - @SerializedName(SERIALIZED_NAME_USERNAME) - private String username; - - public static final String SERIALIZED_NAME_KEY = "key"; - @SerializedName(SERIALIZED_NAME_KEY) - private AccessKeyCredentials key; - - - public Setup username(String username) { - - this.username = username; - return this; - } - - /** - * an identifier for the user (e.g. jane.doe) - * @return username - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "an identifier for the user (e.g. jane.doe)") - - public String getUsername() { - return username; - } - - - public void setUsername(String username) { - this.username = username; - } - - - public Setup key(AccessKeyCredentials key) { - - this.key = key; - return this; - } - - /** - * Get key - * @return key - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public AccessKeyCredentials getKey() { - return key; - } - - - public void setKey(AccessKeyCredentials key) { - this.key = key; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - Setup setup = (Setup) o; - return Objects.equals(this.username, setup.username) && - Objects.equals(this.key, setup.key); - } - - @Override - public int hashCode() { - return Objects.hash(username, key); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class Setup {\n"); - sb.append(" username: ").append(toIndentedString(username)).append("\n"); - sb.append(" key: ").append(toIndentedString(key)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/SetupState.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/SetupState.java deleted file mode 100644 index fdf0a5f90e6..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/SetupState.java +++ /dev/null @@ -1,204 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.lakefs.clients.api.model.LoginConfig; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * SetupState - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class SetupState { - /** - * Gets or Sets state - */ - @JsonAdapter(StateEnum.Adapter.class) - public enum StateEnum { - INITIALIZED("initialized"), - - NOT_INITIALIZED("not_initialized"); - - private String value; - - StateEnum(String value) { - this.value = value; - } - - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - public static StateEnum fromValue(String value) { - for (StateEnum b : StateEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - - public static class Adapter extends TypeAdapter { - @Override - public void write(final JsonWriter jsonWriter, final StateEnum enumeration) throws IOException { - jsonWriter.value(enumeration.getValue()); - } - - @Override - public StateEnum read(final JsonReader jsonReader) throws IOException { - String value = jsonReader.nextString(); - return StateEnum.fromValue(value); - } - } - } - - public static final String SERIALIZED_NAME_STATE = "state"; - @SerializedName(SERIALIZED_NAME_STATE) - private StateEnum state; - - public static final String SERIALIZED_NAME_COMM_PREFS_MISSING = "comm_prefs_missing"; - @SerializedName(SERIALIZED_NAME_COMM_PREFS_MISSING) - private Boolean commPrefsMissing; - - public static final String SERIALIZED_NAME_LOGIN_CONFIG = "login_config"; - @SerializedName(SERIALIZED_NAME_LOGIN_CONFIG) - private LoginConfig loginConfig; - - - public SetupState state(StateEnum state) { - - this.state = state; - return this; - } - - /** - * Get state - * @return state - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public StateEnum getState() { - return state; - } - - - public void setState(StateEnum state) { - this.state = state; - } - - - public SetupState commPrefsMissing(Boolean commPrefsMissing) { - - this.commPrefsMissing = commPrefsMissing; - return this; - } - - /** - * true if the comm prefs are missing. - * @return commPrefsMissing - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "true if the comm prefs are missing.") - - public Boolean getCommPrefsMissing() { - return commPrefsMissing; - } - - - public void setCommPrefsMissing(Boolean commPrefsMissing) { - this.commPrefsMissing = commPrefsMissing; - } - - - public SetupState loginConfig(LoginConfig loginConfig) { - - this.loginConfig = loginConfig; - return this; - } - - /** - * Get loginConfig - * @return loginConfig - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public LoginConfig getLoginConfig() { - return loginConfig; - } - - - public void setLoginConfig(LoginConfig loginConfig) { - this.loginConfig = loginConfig; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - SetupState setupState = (SetupState) o; - return Objects.equals(this.state, setupState.state) && - Objects.equals(this.commPrefsMissing, setupState.commPrefsMissing) && - Objects.equals(this.loginConfig, setupState.loginConfig); - } - - @Override - public int hashCode() { - return Objects.hash(state, commPrefsMissing, loginConfig); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class SetupState {\n"); - sb.append(" state: ").append(toIndentedString(state)).append("\n"); - sb.append(" commPrefsMissing: ").append(toIndentedString(commPrefsMissing)).append("\n"); - sb.append(" loginConfig: ").append(toIndentedString(loginConfig)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/StagingLocation.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/StagingLocation.java deleted file mode 100644 index 54a56695b59..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/StagingLocation.java +++ /dev/null @@ -1,169 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.openapitools.jackson.nullable.JsonNullable; - -/** - * location for placing an object when staging it - */ -@ApiModel(description = "location for placing an object when staging it") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class StagingLocation { - public static final String SERIALIZED_NAME_PHYSICAL_ADDRESS = "physical_address"; - @SerializedName(SERIALIZED_NAME_PHYSICAL_ADDRESS) - private String physicalAddress; - - public static final String SERIALIZED_NAME_PRESIGNED_URL = "presigned_url"; - @SerializedName(SERIALIZED_NAME_PRESIGNED_URL) - private String presignedUrl; - - public static final String SERIALIZED_NAME_PRESIGNED_URL_EXPIRY = "presigned_url_expiry"; - @SerializedName(SERIALIZED_NAME_PRESIGNED_URL_EXPIRY) - private Long presignedUrlExpiry; - - - public StagingLocation physicalAddress(String physicalAddress) { - - this.physicalAddress = physicalAddress; - return this; - } - - /** - * Get physicalAddress - * @return physicalAddress - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public String getPhysicalAddress() { - return physicalAddress; - } - - - public void setPhysicalAddress(String physicalAddress) { - this.physicalAddress = physicalAddress; - } - - - public StagingLocation presignedUrl(String presignedUrl) { - - this.presignedUrl = presignedUrl; - return this; - } - - /** - * if presign=true is passed in the request, this field will contain a pre-signed URL to use when uploading - * @return presignedUrl - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "if presign=true is passed in the request, this field will contain a pre-signed URL to use when uploading") - - public String getPresignedUrl() { - return presignedUrl; - } - - - public void setPresignedUrl(String presignedUrl) { - this.presignedUrl = presignedUrl; - } - - - public StagingLocation presignedUrlExpiry(Long presignedUrlExpiry) { - - this.presignedUrlExpiry = presignedUrlExpiry; - return this; - } - - /** - * If present and nonzero, physical_address is a pre-signed URL and will expire at this Unix Epoch time. This will be shorter than the pre-signed URL lifetime if an authentication token is about to expire. This field is *optional*. - * @return presignedUrlExpiry - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "If present and nonzero, physical_address is a pre-signed URL and will expire at this Unix Epoch time. This will be shorter than the pre-signed URL lifetime if an authentication token is about to expire. This field is *optional*. ") - - public Long getPresignedUrlExpiry() { - return presignedUrlExpiry; - } - - - public void setPresignedUrlExpiry(Long presignedUrlExpiry) { - this.presignedUrlExpiry = presignedUrlExpiry; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - StagingLocation stagingLocation = (StagingLocation) o; - return Objects.equals(this.physicalAddress, stagingLocation.physicalAddress) && - Objects.equals(this.presignedUrl, stagingLocation.presignedUrl) && - Objects.equals(this.presignedUrlExpiry, stagingLocation.presignedUrlExpiry); - } - - private static boolean equalsNullable(JsonNullable a, JsonNullable b) { - return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); - } - - @Override - public int hashCode() { - return Objects.hash(physicalAddress, presignedUrl, presignedUrlExpiry); - } - - private static int hashCodeNullable(JsonNullable a) { - if (a == null) { - return 1; - } - return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class StagingLocation {\n"); - sb.append(" physicalAddress: ").append(toIndentedString(physicalAddress)).append("\n"); - sb.append(" presignedUrl: ").append(toIndentedString(presignedUrl)).append("\n"); - sb.append(" presignedUrlExpiry: ").append(toIndentedString(presignedUrlExpiry)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/StagingMetadata.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/StagingMetadata.java deleted file mode 100644 index b2c5674964d..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/StagingMetadata.java +++ /dev/null @@ -1,285 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.lakefs.clients.api.model.StagingLocation; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -/** - * information about uploaded object - */ -@ApiModel(description = "information about uploaded object") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class StagingMetadata { - public static final String SERIALIZED_NAME_STAGING = "staging"; - @SerializedName(SERIALIZED_NAME_STAGING) - private StagingLocation staging; - - public static final String SERIALIZED_NAME_CHECKSUM = "checksum"; - @SerializedName(SERIALIZED_NAME_CHECKSUM) - private String checksum; - - public static final String SERIALIZED_NAME_SIZE_BYTES = "size_bytes"; - @SerializedName(SERIALIZED_NAME_SIZE_BYTES) - private Long sizeBytes; - - public static final String SERIALIZED_NAME_USER_METADATA = "user_metadata"; - @SerializedName(SERIALIZED_NAME_USER_METADATA) - private Map userMetadata = null; - - public static final String SERIALIZED_NAME_CONTENT_TYPE = "content_type"; - @SerializedName(SERIALIZED_NAME_CONTENT_TYPE) - private String contentType; - - public static final String SERIALIZED_NAME_MTIME = "mtime"; - @SerializedName(SERIALIZED_NAME_MTIME) - private Long mtime; - - public static final String SERIALIZED_NAME_FORCE = "force"; - @SerializedName(SERIALIZED_NAME_FORCE) - private Boolean force = false; - - - public StagingMetadata staging(StagingLocation staging) { - - this.staging = staging; - return this; - } - - /** - * Get staging - * @return staging - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public StagingLocation getStaging() { - return staging; - } - - - public void setStaging(StagingLocation staging) { - this.staging = staging; - } - - - public StagingMetadata checksum(String checksum) { - - this.checksum = checksum; - return this; - } - - /** - * unique identifier of object content on backing store (typically ETag) - * @return checksum - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "unique identifier of object content on backing store (typically ETag)") - - public String getChecksum() { - return checksum; - } - - - public void setChecksum(String checksum) { - this.checksum = checksum; - } - - - public StagingMetadata sizeBytes(Long sizeBytes) { - - this.sizeBytes = sizeBytes; - return this; - } - - /** - * Get sizeBytes - * @return sizeBytes - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public Long getSizeBytes() { - return sizeBytes; - } - - - public void setSizeBytes(Long sizeBytes) { - this.sizeBytes = sizeBytes; - } - - - public StagingMetadata userMetadata(Map userMetadata) { - - this.userMetadata = userMetadata; - return this; - } - - public StagingMetadata putUserMetadataItem(String key, String userMetadataItem) { - if (this.userMetadata == null) { - this.userMetadata = new HashMap(); - } - this.userMetadata.put(key, userMetadataItem); - return this; - } - - /** - * Get userMetadata - * @return userMetadata - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Map getUserMetadata() { - return userMetadata; - } - - - public void setUserMetadata(Map userMetadata) { - this.userMetadata = userMetadata; - } - - - public StagingMetadata contentType(String contentType) { - - this.contentType = contentType; - return this; - } - - /** - * Object media type - * @return contentType - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "Object media type") - - public String getContentType() { - return contentType; - } - - - public void setContentType(String contentType) { - this.contentType = contentType; - } - - - public StagingMetadata mtime(Long mtime) { - - this.mtime = mtime; - return this; - } - - /** - * Unix Epoch in seconds. May be ignored by server. - * @return mtime - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "Unix Epoch in seconds. May be ignored by server.") - - public Long getMtime() { - return mtime; - } - - - public void setMtime(Long mtime) { - this.mtime = mtime; - } - - - public StagingMetadata force(Boolean force) { - - this.force = force; - return this; - } - - /** - * Get force - * @return force - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Boolean getForce() { - return force; - } - - - public void setForce(Boolean force) { - this.force = force; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - StagingMetadata stagingMetadata = (StagingMetadata) o; - return Objects.equals(this.staging, stagingMetadata.staging) && - Objects.equals(this.checksum, stagingMetadata.checksum) && - Objects.equals(this.sizeBytes, stagingMetadata.sizeBytes) && - Objects.equals(this.userMetadata, stagingMetadata.userMetadata) && - Objects.equals(this.contentType, stagingMetadata.contentType) && - Objects.equals(this.mtime, stagingMetadata.mtime) && - Objects.equals(this.force, stagingMetadata.force); - } - - @Override - public int hashCode() { - return Objects.hash(staging, checksum, sizeBytes, userMetadata, contentType, mtime, force); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class StagingMetadata {\n"); - sb.append(" staging: ").append(toIndentedString(staging)).append("\n"); - sb.append(" checksum: ").append(toIndentedString(checksum)).append("\n"); - sb.append(" sizeBytes: ").append(toIndentedString(sizeBytes)).append("\n"); - sb.append(" userMetadata: ").append(toIndentedString(userMetadata)).append("\n"); - sb.append(" contentType: ").append(toIndentedString(contentType)).append("\n"); - sb.append(" mtime: ").append(toIndentedString(mtime)).append("\n"); - sb.append(" force: ").append(toIndentedString(force)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/Statement.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/Statement.java deleted file mode 100644 index 3ee96a75ca4..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/Statement.java +++ /dev/null @@ -1,210 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; - -/** - * Statement - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class Statement { - /** - * Gets or Sets effect - */ - @JsonAdapter(EffectEnum.Adapter.class) - public enum EffectEnum { - ALLOW("allow"), - - DENY("deny"); - - private String value; - - EffectEnum(String value) { - this.value = value; - } - - public String getValue() { - return value; - } - - @Override - public String toString() { - return String.valueOf(value); - } - - public static EffectEnum fromValue(String value) { - for (EffectEnum b : EffectEnum.values()) { - if (b.value.equals(value)) { - return b; - } - } - throw new IllegalArgumentException("Unexpected value '" + value + "'"); - } - - public static class Adapter extends TypeAdapter { - @Override - public void write(final JsonWriter jsonWriter, final EffectEnum enumeration) throws IOException { - jsonWriter.value(enumeration.getValue()); - } - - @Override - public EffectEnum read(final JsonReader jsonReader) throws IOException { - String value = jsonReader.nextString(); - return EffectEnum.fromValue(value); - } - } - } - - public static final String SERIALIZED_NAME_EFFECT = "effect"; - @SerializedName(SERIALIZED_NAME_EFFECT) - private EffectEnum effect; - - public static final String SERIALIZED_NAME_RESOURCE = "resource"; - @SerializedName(SERIALIZED_NAME_RESOURCE) - private String resource; - - public static final String SERIALIZED_NAME_ACTION = "action"; - @SerializedName(SERIALIZED_NAME_ACTION) - private List action = new ArrayList(); - - - public Statement effect(EffectEnum effect) { - - this.effect = effect; - return this; - } - - /** - * Get effect - * @return effect - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public EffectEnum getEffect() { - return effect; - } - - - public void setEffect(EffectEnum effect) { - this.effect = effect; - } - - - public Statement resource(String resource) { - - this.resource = resource; - return this; - } - - /** - * Get resource - * @return resource - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public String getResource() { - return resource; - } - - - public void setResource(String resource) { - this.resource = resource; - } - - - public Statement action(List action) { - - this.action = action; - return this; - } - - public Statement addActionItem(String actionItem) { - this.action.add(actionItem); - return this; - } - - /** - * Get action - * @return action - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public List getAction() { - return action; - } - - - public void setAction(List action) { - this.action = action; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - Statement statement = (Statement) o; - return Objects.equals(this.effect, statement.effect) && - Objects.equals(this.resource, statement.resource) && - Objects.equals(this.action, statement.action); - } - - @Override - public int hashCode() { - return Objects.hash(effect, resource, action); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class Statement {\n"); - sb.append(" effect: ").append(toIndentedString(effect)).append("\n"); - sb.append(" resource: ").append(toIndentedString(resource)).append("\n"); - sb.append(" action: ").append(toIndentedString(action)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/StatsEvent.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/StatsEvent.java deleted file mode 100644 index 345059c8608..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/StatsEvent.java +++ /dev/null @@ -1,156 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * StatsEvent - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class StatsEvent { - public static final String SERIALIZED_NAME_PROPERTY_CLASS = "class"; - @SerializedName(SERIALIZED_NAME_PROPERTY_CLASS) - private String propertyClass; - - public static final String SERIALIZED_NAME_NAME = "name"; - @SerializedName(SERIALIZED_NAME_NAME) - private String name; - - public static final String SERIALIZED_NAME_COUNT = "count"; - @SerializedName(SERIALIZED_NAME_COUNT) - private Integer count; - - - public StatsEvent propertyClass(String propertyClass) { - - this.propertyClass = propertyClass; - return this; - } - - /** - * stats event class (e.g. \"s3_gateway\", \"openapi_request\", \"experimental-feature\", \"ui-event\") - * @return propertyClass - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "stats event class (e.g. \"s3_gateway\", \"openapi_request\", \"experimental-feature\", \"ui-event\")") - - public String getPropertyClass() { - return propertyClass; - } - - - public void setPropertyClass(String propertyClass) { - this.propertyClass = propertyClass; - } - - - public StatsEvent name(String name) { - - this.name = name; - return this; - } - - /** - * stats event name (e.g. \"put_object\", \"create_repository\", \"<experimental-feature-name>\") - * @return name - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "stats event name (e.g. \"put_object\", \"create_repository\", \"\")") - - public String getName() { - return name; - } - - - public void setName(String name) { - this.name = name; - } - - - public StatsEvent count(Integer count) { - - this.count = count; - return this; - } - - /** - * number of events of the class and name - * @return count - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "number of events of the class and name") - - public Integer getCount() { - return count; - } - - - public void setCount(Integer count) { - this.count = count; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - StatsEvent statsEvent = (StatsEvent) o; - return Objects.equals(this.propertyClass, statsEvent.propertyClass) && - Objects.equals(this.name, statsEvent.name) && - Objects.equals(this.count, statsEvent.count); - } - - @Override - public int hashCode() { - return Objects.hash(propertyClass, name, count); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class StatsEvent {\n"); - sb.append(" propertyClass: ").append(toIndentedString(propertyClass)).append("\n"); - sb.append(" name: ").append(toIndentedString(name)).append("\n"); - sb.append(" count: ").append(toIndentedString(count)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/StatsEventsList.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/StatsEventsList.java deleted file mode 100644 index eb38a7d1299..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/StatsEventsList.java +++ /dev/null @@ -1,106 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.lakefs.clients.api.model.StatsEvent; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; - -/** - * StatsEventsList - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class StatsEventsList { - public static final String SERIALIZED_NAME_EVENTS = "events"; - @SerializedName(SERIALIZED_NAME_EVENTS) - private List events = new ArrayList(); - - - public StatsEventsList events(List events) { - - this.events = events; - return this; - } - - public StatsEventsList addEventsItem(StatsEvent eventsItem) { - this.events.add(eventsItem); - return this; - } - - /** - * Get events - * @return events - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public List getEvents() { - return events; - } - - - public void setEvents(List events) { - this.events = events; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - StatsEventsList statsEventsList = (StatsEventsList) o; - return Objects.equals(this.events, statsEventsList.events); - } - - @Override - public int hashCode() { - return Objects.hash(events); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class StatsEventsList {\n"); - sb.append(" events: ").append(toIndentedString(events)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/StorageConfig.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/StorageConfig.java deleted file mode 100644 index 2172cd029d7..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/StorageConfig.java +++ /dev/null @@ -1,330 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * StorageConfig - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class StorageConfig { - public static final String SERIALIZED_NAME_BLOCKSTORE_TYPE = "blockstore_type"; - @SerializedName(SERIALIZED_NAME_BLOCKSTORE_TYPE) - private String blockstoreType; - - public static final String SERIALIZED_NAME_BLOCKSTORE_NAMESPACE_EXAMPLE = "blockstore_namespace_example"; - @SerializedName(SERIALIZED_NAME_BLOCKSTORE_NAMESPACE_EXAMPLE) - private String blockstoreNamespaceExample; - - public static final String SERIALIZED_NAME_BLOCKSTORE_NAMESPACE_VALIDITY_REGEX = "blockstore_namespace_ValidityRegex"; - @SerializedName(SERIALIZED_NAME_BLOCKSTORE_NAMESPACE_VALIDITY_REGEX) - private String blockstoreNamespaceValidityRegex; - - public static final String SERIALIZED_NAME_DEFAULT_NAMESPACE_PREFIX = "default_namespace_prefix"; - @SerializedName(SERIALIZED_NAME_DEFAULT_NAMESPACE_PREFIX) - private String defaultNamespacePrefix; - - public static final String SERIALIZED_NAME_PRE_SIGN_SUPPORT = "pre_sign_support"; - @SerializedName(SERIALIZED_NAME_PRE_SIGN_SUPPORT) - private Boolean preSignSupport; - - public static final String SERIALIZED_NAME_PRE_SIGN_SUPPORT_UI = "pre_sign_support_ui"; - @SerializedName(SERIALIZED_NAME_PRE_SIGN_SUPPORT_UI) - private Boolean preSignSupportUi; - - public static final String SERIALIZED_NAME_IMPORT_SUPPORT = "import_support"; - @SerializedName(SERIALIZED_NAME_IMPORT_SUPPORT) - private Boolean importSupport; - - public static final String SERIALIZED_NAME_IMPORT_VALIDITY_REGEX = "import_validity_regex"; - @SerializedName(SERIALIZED_NAME_IMPORT_VALIDITY_REGEX) - private String importValidityRegex; - - public static final String SERIALIZED_NAME_PRE_SIGN_MULTIPART_UPLOAD = "pre_sign_multipart_upload"; - @SerializedName(SERIALIZED_NAME_PRE_SIGN_MULTIPART_UPLOAD) - private Boolean preSignMultipartUpload; - - - public StorageConfig blockstoreType(String blockstoreType) { - - this.blockstoreType = blockstoreType; - return this; - } - - /** - * Get blockstoreType - * @return blockstoreType - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public String getBlockstoreType() { - return blockstoreType; - } - - - public void setBlockstoreType(String blockstoreType) { - this.blockstoreType = blockstoreType; - } - - - public StorageConfig blockstoreNamespaceExample(String blockstoreNamespaceExample) { - - this.blockstoreNamespaceExample = blockstoreNamespaceExample; - return this; - } - - /** - * Get blockstoreNamespaceExample - * @return blockstoreNamespaceExample - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public String getBlockstoreNamespaceExample() { - return blockstoreNamespaceExample; - } - - - public void setBlockstoreNamespaceExample(String blockstoreNamespaceExample) { - this.blockstoreNamespaceExample = blockstoreNamespaceExample; - } - - - public StorageConfig blockstoreNamespaceValidityRegex(String blockstoreNamespaceValidityRegex) { - - this.blockstoreNamespaceValidityRegex = blockstoreNamespaceValidityRegex; - return this; - } - - /** - * Get blockstoreNamespaceValidityRegex - * @return blockstoreNamespaceValidityRegex - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public String getBlockstoreNamespaceValidityRegex() { - return blockstoreNamespaceValidityRegex; - } - - - public void setBlockstoreNamespaceValidityRegex(String blockstoreNamespaceValidityRegex) { - this.blockstoreNamespaceValidityRegex = blockstoreNamespaceValidityRegex; - } - - - public StorageConfig defaultNamespacePrefix(String defaultNamespacePrefix) { - - this.defaultNamespacePrefix = defaultNamespacePrefix; - return this; - } - - /** - * Get defaultNamespacePrefix - * @return defaultNamespacePrefix - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public String getDefaultNamespacePrefix() { - return defaultNamespacePrefix; - } - - - public void setDefaultNamespacePrefix(String defaultNamespacePrefix) { - this.defaultNamespacePrefix = defaultNamespacePrefix; - } - - - public StorageConfig preSignSupport(Boolean preSignSupport) { - - this.preSignSupport = preSignSupport; - return this; - } - - /** - * Get preSignSupport - * @return preSignSupport - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public Boolean getPreSignSupport() { - return preSignSupport; - } - - - public void setPreSignSupport(Boolean preSignSupport) { - this.preSignSupport = preSignSupport; - } - - - public StorageConfig preSignSupportUi(Boolean preSignSupportUi) { - - this.preSignSupportUi = preSignSupportUi; - return this; - } - - /** - * Get preSignSupportUi - * @return preSignSupportUi - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public Boolean getPreSignSupportUi() { - return preSignSupportUi; - } - - - public void setPreSignSupportUi(Boolean preSignSupportUi) { - this.preSignSupportUi = preSignSupportUi; - } - - - public StorageConfig importSupport(Boolean importSupport) { - - this.importSupport = importSupport; - return this; - } - - /** - * Get importSupport - * @return importSupport - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public Boolean getImportSupport() { - return importSupport; - } - - - public void setImportSupport(Boolean importSupport) { - this.importSupport = importSupport; - } - - - public StorageConfig importValidityRegex(String importValidityRegex) { - - this.importValidityRegex = importValidityRegex; - return this; - } - - /** - * Get importValidityRegex - * @return importValidityRegex - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public String getImportValidityRegex() { - return importValidityRegex; - } - - - public void setImportValidityRegex(String importValidityRegex) { - this.importValidityRegex = importValidityRegex; - } - - - public StorageConfig preSignMultipartUpload(Boolean preSignMultipartUpload) { - - this.preSignMultipartUpload = preSignMultipartUpload; - return this; - } - - /** - * Get preSignMultipartUpload - * @return preSignMultipartUpload - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Boolean getPreSignMultipartUpload() { - return preSignMultipartUpload; - } - - - public void setPreSignMultipartUpload(Boolean preSignMultipartUpload) { - this.preSignMultipartUpload = preSignMultipartUpload; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - StorageConfig storageConfig = (StorageConfig) o; - return Objects.equals(this.blockstoreType, storageConfig.blockstoreType) && - Objects.equals(this.blockstoreNamespaceExample, storageConfig.blockstoreNamespaceExample) && - Objects.equals(this.blockstoreNamespaceValidityRegex, storageConfig.blockstoreNamespaceValidityRegex) && - Objects.equals(this.defaultNamespacePrefix, storageConfig.defaultNamespacePrefix) && - Objects.equals(this.preSignSupport, storageConfig.preSignSupport) && - Objects.equals(this.preSignSupportUi, storageConfig.preSignSupportUi) && - Objects.equals(this.importSupport, storageConfig.importSupport) && - Objects.equals(this.importValidityRegex, storageConfig.importValidityRegex) && - Objects.equals(this.preSignMultipartUpload, storageConfig.preSignMultipartUpload); - } - - @Override - public int hashCode() { - return Objects.hash(blockstoreType, blockstoreNamespaceExample, blockstoreNamespaceValidityRegex, defaultNamespacePrefix, preSignSupport, preSignSupportUi, importSupport, importValidityRegex, preSignMultipartUpload); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class StorageConfig {\n"); - sb.append(" blockstoreType: ").append(toIndentedString(blockstoreType)).append("\n"); - sb.append(" blockstoreNamespaceExample: ").append(toIndentedString(blockstoreNamespaceExample)).append("\n"); - sb.append(" blockstoreNamespaceValidityRegex: ").append(toIndentedString(blockstoreNamespaceValidityRegex)).append("\n"); - sb.append(" defaultNamespacePrefix: ").append(toIndentedString(defaultNamespacePrefix)).append("\n"); - sb.append(" preSignSupport: ").append(toIndentedString(preSignSupport)).append("\n"); - sb.append(" preSignSupportUi: ").append(toIndentedString(preSignSupportUi)).append("\n"); - sb.append(" importSupport: ").append(toIndentedString(importSupport)).append("\n"); - sb.append(" importValidityRegex: ").append(toIndentedString(importValidityRegex)).append("\n"); - sb.append(" preSignMultipartUpload: ").append(toIndentedString(preSignMultipartUpload)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/StorageURI.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/StorageURI.java deleted file mode 100644 index 8779c513141..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/StorageURI.java +++ /dev/null @@ -1,99 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * URI to a path in a storage provider (e.g. \"s3://bucket1/path/to/object\") - */ -@ApiModel(description = "URI to a path in a storage provider (e.g. \"s3://bucket1/path/to/object\")") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class StorageURI { - public static final String SERIALIZED_NAME_LOCATION = "location"; - @SerializedName(SERIALIZED_NAME_LOCATION) - private String location; - - - public StorageURI location(String location) { - - this.location = location; - return this; - } - - /** - * Get location - * @return location - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public String getLocation() { - return location; - } - - - public void setLocation(String location) { - this.location = location; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - StorageURI storageURI = (StorageURI) o; - return Objects.equals(this.location, storageURI.location); - } - - @Override - public int hashCode() { - return Objects.hash(location); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class StorageURI {\n"); - sb.append(" location: ").append(toIndentedString(location)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/StsAuthRequest.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/StsAuthRequest.java deleted file mode 100644 index 38bac11faf1..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/StsAuthRequest.java +++ /dev/null @@ -1,185 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * StsAuthRequest - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class StsAuthRequest { - public static final String SERIALIZED_NAME_CODE = "code"; - @SerializedName(SERIALIZED_NAME_CODE) - private String code; - - public static final String SERIALIZED_NAME_STATE = "state"; - @SerializedName(SERIALIZED_NAME_STATE) - private String state; - - public static final String SERIALIZED_NAME_REDIRECT_URI = "redirect_uri"; - @SerializedName(SERIALIZED_NAME_REDIRECT_URI) - private String redirectUri; - - public static final String SERIALIZED_NAME_TTL_SECONDS = "ttl_seconds"; - @SerializedName(SERIALIZED_NAME_TTL_SECONDS) - private Long ttlSeconds; - - - public StsAuthRequest code(String code) { - - this.code = code; - return this; - } - - /** - * Get code - * @return code - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public String getCode() { - return code; - } - - - public void setCode(String code) { - this.code = code; - } - - - public StsAuthRequest state(String state) { - - this.state = state; - return this; - } - - /** - * Get state - * @return state - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public String getState() { - return state; - } - - - public void setState(String state) { - this.state = state; - } - - - public StsAuthRequest redirectUri(String redirectUri) { - - this.redirectUri = redirectUri; - return this; - } - - /** - * Get redirectUri - * @return redirectUri - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public String getRedirectUri() { - return redirectUri; - } - - - public void setRedirectUri(String redirectUri) { - this.redirectUri = redirectUri; - } - - - public StsAuthRequest ttlSeconds(Long ttlSeconds) { - - this.ttlSeconds = ttlSeconds; - return this; - } - - /** - * The time-to-live for the generated token in seconds. The default value is 3600 seconds (1 hour) maximum time allowed is 12 hours. - * @return ttlSeconds - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "The time-to-live for the generated token in seconds. The default value is 3600 seconds (1 hour) maximum time allowed is 12 hours. ") - - public Long getTtlSeconds() { - return ttlSeconds; - } - - - public void setTtlSeconds(Long ttlSeconds) { - this.ttlSeconds = ttlSeconds; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - StsAuthRequest stsAuthRequest = (StsAuthRequest) o; - return Objects.equals(this.code, stsAuthRequest.code) && - Objects.equals(this.state, stsAuthRequest.state) && - Objects.equals(this.redirectUri, stsAuthRequest.redirectUri) && - Objects.equals(this.ttlSeconds, stsAuthRequest.ttlSeconds); - } - - @Override - public int hashCode() { - return Objects.hash(code, state, redirectUri, ttlSeconds); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class StsAuthRequest {\n"); - sb.append(" code: ").append(toIndentedString(code)).append("\n"); - sb.append(" state: ").append(toIndentedString(state)).append("\n"); - sb.append(" redirectUri: ").append(toIndentedString(redirectUri)).append("\n"); - sb.append(" ttlSeconds: ").append(toIndentedString(ttlSeconds)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/TagCreation.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/TagCreation.java deleted file mode 100644 index 2a736a61a61..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/TagCreation.java +++ /dev/null @@ -1,157 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * Make tag ID point at this REF. - */ -@ApiModel(description = "Make tag ID point at this REF.") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class TagCreation { - public static final String SERIALIZED_NAME_ID = "id"; - @SerializedName(SERIALIZED_NAME_ID) - private String id; - - public static final String SERIALIZED_NAME_REF = "ref"; - @SerializedName(SERIALIZED_NAME_REF) - private String ref; - - public static final String SERIALIZED_NAME_FORCE = "force"; - @SerializedName(SERIALIZED_NAME_FORCE) - private Boolean force = false; - - - public TagCreation id(String id) { - - this.id = id; - return this; - } - - /** - * ID of tag to create - * @return id - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "ID of tag to create") - - public String getId() { - return id; - } - - - public void setId(String id) { - this.id = id; - } - - - public TagCreation ref(String ref) { - - this.ref = ref; - return this; - } - - /** - * the commit to tag - * @return ref - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "the commit to tag") - - public String getRef() { - return ref; - } - - - public void setRef(String ref) { - this.ref = ref; - } - - - public TagCreation force(Boolean force) { - - this.force = force; - return this; - } - - /** - * Get force - * @return force - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Boolean getForce() { - return force; - } - - - public void setForce(Boolean force) { - this.force = force; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - TagCreation tagCreation = (TagCreation) o; - return Objects.equals(this.id, tagCreation.id) && - Objects.equals(this.ref, tagCreation.ref) && - Objects.equals(this.force, tagCreation.force); - } - - @Override - public int hashCode() { - return Objects.hash(id, ref, force); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class TagCreation {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" ref: ").append(toIndentedString(ref)).append("\n"); - sb.append(" force: ").append(toIndentedString(force)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/TaskInfo.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/TaskInfo.java deleted file mode 100644 index 2de8a4147f8..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/TaskInfo.java +++ /dev/null @@ -1,98 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * TaskInfo - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class TaskInfo { - public static final String SERIALIZED_NAME_ID = "id"; - @SerializedName(SERIALIZED_NAME_ID) - private String id; - - - public TaskInfo id(String id) { - - this.id = id; - return this; - } - - /** - * ID of the task - * @return id - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "ID of the task") - - public String getId() { - return id; - } - - - public void setId(String id) { - this.id = id; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - TaskInfo taskInfo = (TaskInfo) o; - return Objects.equals(this.id, taskInfo.id); - } - - @Override - public int hashCode() { - return Objects.hash(id); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class TaskInfo {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/UnderlyingObjectProperties.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/UnderlyingObjectProperties.java deleted file mode 100644 index dc2f8adfd58..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/UnderlyingObjectProperties.java +++ /dev/null @@ -1,110 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.openapitools.jackson.nullable.JsonNullable; - -/** - * UnderlyingObjectProperties - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class UnderlyingObjectProperties { - public static final String SERIALIZED_NAME_STORAGE_CLASS = "storage_class"; - @SerializedName(SERIALIZED_NAME_STORAGE_CLASS) - private String storageClass; - - - public UnderlyingObjectProperties storageClass(String storageClass) { - - this.storageClass = storageClass; - return this; - } - - /** - * Get storageClass - * @return storageClass - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public String getStorageClass() { - return storageClass; - } - - - public void setStorageClass(String storageClass) { - this.storageClass = storageClass; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - UnderlyingObjectProperties underlyingObjectProperties = (UnderlyingObjectProperties) o; - return Objects.equals(this.storageClass, underlyingObjectProperties.storageClass); - } - - private static boolean equalsNullable(JsonNullable a, JsonNullable b) { - return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); - } - - @Override - public int hashCode() { - return Objects.hash(storageClass); - } - - private static int hashCodeNullable(JsonNullable a) { - if (a == null) { - return 1; - } - return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class UnderlyingObjectProperties {\n"); - sb.append(" storageClass: ").append(toIndentedString(storageClass)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/UpdateObjectUserMetadata.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/UpdateObjectUserMetadata.java deleted file mode 100644 index 3e7c5391389..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/UpdateObjectUserMetadata.java +++ /dev/null @@ -1,106 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -/** - * UpdateObjectUserMetadata - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class UpdateObjectUserMetadata { - public static final String SERIALIZED_NAME_SET = "set"; - @SerializedName(SERIALIZED_NAME_SET) - private Map set = new HashMap(); - - - public UpdateObjectUserMetadata set(Map set) { - - this.set = set; - return this; - } - - public UpdateObjectUserMetadata putSetItem(String key, String setItem) { - this.set.put(key, setItem); - return this; - } - - /** - * Get set - * @return set - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public Map getSet() { - return set; - } - - - public void setSet(Map set) { - this.set = set; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - UpdateObjectUserMetadata updateObjectUserMetadata = (UpdateObjectUserMetadata) o; - return Objects.equals(this.set, updateObjectUserMetadata.set); - } - - @Override - public int hashCode() { - return Objects.hash(set); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class UpdateObjectUserMetadata {\n"); - sb.append(" set: ").append(toIndentedString(set)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/UpdateToken.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/UpdateToken.java deleted file mode 100644 index f1845a9ec50..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/UpdateToken.java +++ /dev/null @@ -1,98 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * UpdateToken - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class UpdateToken { - public static final String SERIALIZED_NAME_STAGING_TOKEN = "staging_token"; - @SerializedName(SERIALIZED_NAME_STAGING_TOKEN) - private String stagingToken; - - - public UpdateToken stagingToken(String stagingToken) { - - this.stagingToken = stagingToken; - return this; - } - - /** - * Get stagingToken - * @return stagingToken - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public String getStagingToken() { - return stagingToken; - } - - - public void setStagingToken(String stagingToken) { - this.stagingToken = stagingToken; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - UpdateToken updateToken = (UpdateToken) o; - return Objects.equals(this.stagingToken, updateToken.stagingToken); - } - - @Override - public int hashCode() { - return Objects.hash(stagingToken); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class UpdateToken {\n"); - sb.append(" stagingToken: ").append(toIndentedString(stagingToken)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/UploadPart.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/UploadPart.java deleted file mode 100644 index 1da286c1d7a..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/UploadPart.java +++ /dev/null @@ -1,127 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * UploadPart - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class UploadPart { - public static final String SERIALIZED_NAME_PART_NUMBER = "part_number"; - @SerializedName(SERIALIZED_NAME_PART_NUMBER) - private Integer partNumber; - - public static final String SERIALIZED_NAME_ETAG = "etag"; - @SerializedName(SERIALIZED_NAME_ETAG) - private String etag; - - - public UploadPart partNumber(Integer partNumber) { - - this.partNumber = partNumber; - return this; - } - - /** - * Get partNumber - * @return partNumber - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public Integer getPartNumber() { - return partNumber; - } - - - public void setPartNumber(Integer partNumber) { - this.partNumber = partNumber; - } - - - public UploadPart etag(String etag) { - - this.etag = etag; - return this; - } - - /** - * Get etag - * @return etag - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public String getEtag() { - return etag; - } - - - public void setEtag(String etag) { - this.etag = etag; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - UploadPart uploadPart = (UploadPart) o; - return Objects.equals(this.partNumber, uploadPart.partNumber) && - Objects.equals(this.etag, uploadPart.etag); - } - - @Override - public int hashCode() { - return Objects.hash(partNumber, etag); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class UploadPart {\n"); - sb.append(" partNumber: ").append(toIndentedString(partNumber)).append("\n"); - sb.append(" etag: ").append(toIndentedString(etag)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/UsageReport.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/UsageReport.java deleted file mode 100644 index 65cd470945d..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/UsageReport.java +++ /dev/null @@ -1,156 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * UsageReport - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class UsageReport { - public static final String SERIALIZED_NAME_YEAR = "year"; - @SerializedName(SERIALIZED_NAME_YEAR) - private Integer year; - - public static final String SERIALIZED_NAME_MONTH = "month"; - @SerializedName(SERIALIZED_NAME_MONTH) - private Integer month; - - public static final String SERIALIZED_NAME_COUNT = "count"; - @SerializedName(SERIALIZED_NAME_COUNT) - private Long count; - - - public UsageReport year(Integer year) { - - this.year = year; - return this; - } - - /** - * Get year - * @return year - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public Integer getYear() { - return year; - } - - - public void setYear(Integer year) { - this.year = year; - } - - - public UsageReport month(Integer month) { - - this.month = month; - return this; - } - - /** - * Get month - * @return month - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public Integer getMonth() { - return month; - } - - - public void setMonth(Integer month) { - this.month = month; - } - - - public UsageReport count(Long count) { - - this.count = count; - return this; - } - - /** - * Get count - * @return count - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public Long getCount() { - return count; - } - - - public void setCount(Long count) { - this.count = count; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - UsageReport usageReport = (UsageReport) o; - return Objects.equals(this.year, usageReport.year) && - Objects.equals(this.month, usageReport.month) && - Objects.equals(this.count, usageReport.count); - } - - @Override - public int hashCode() { - return Objects.hash(year, month, count); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class UsageReport {\n"); - sb.append(" year: ").append(toIndentedString(year)).append("\n"); - sb.append(" month: ").append(toIndentedString(month)).append("\n"); - sb.append(" count: ").append(toIndentedString(count)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/User.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/User.java deleted file mode 100644 index 7a07dea8965..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/User.java +++ /dev/null @@ -1,185 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * User - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class User { - public static final String SERIALIZED_NAME_ID = "id"; - @SerializedName(SERIALIZED_NAME_ID) - private String id; - - public static final String SERIALIZED_NAME_CREATION_DATE = "creation_date"; - @SerializedName(SERIALIZED_NAME_CREATION_DATE) - private Long creationDate; - - public static final String SERIALIZED_NAME_FRIENDLY_NAME = "friendly_name"; - @SerializedName(SERIALIZED_NAME_FRIENDLY_NAME) - private String friendlyName; - - public static final String SERIALIZED_NAME_EMAIL = "email"; - @SerializedName(SERIALIZED_NAME_EMAIL) - private String email; - - - public User id(String id) { - - this.id = id; - return this; - } - - /** - * A unique identifier for the user. Cannot be edited. - * @return id - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "A unique identifier for the user. Cannot be edited.") - - public String getId() { - return id; - } - - - public void setId(String id) { - this.id = id; - } - - - public User creationDate(Long creationDate) { - - this.creationDate = creationDate; - return this; - } - - /** - * Unix Epoch in seconds - * @return creationDate - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "Unix Epoch in seconds") - - public Long getCreationDate() { - return creationDate; - } - - - public void setCreationDate(Long creationDate) { - this.creationDate = creationDate; - } - - - public User friendlyName(String friendlyName) { - - this.friendlyName = friendlyName; - return this; - } - - /** - * A shorter name for the user than the id. Unlike id it does not identify the user (it might not be unique). Used in some places in the UI. - * @return friendlyName - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "A shorter name for the user than the id. Unlike id it does not identify the user (it might not be unique). Used in some places in the UI. ") - - public String getFriendlyName() { - return friendlyName; - } - - - public void setFriendlyName(String friendlyName) { - this.friendlyName = friendlyName; - } - - - public User email(String email) { - - this.email = email; - return this; - } - - /** - * The email address of the user. If API authentication is enabled, this field is mandatory and will be invited to login. If API authentication is disabled, this field will be ignored. All current APIAuthenticators require the email to be lowercase and unique, although custom authenticators may not enforce this. - * @return email - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "The email address of the user. If API authentication is enabled, this field is mandatory and will be invited to login. If API authentication is disabled, this field will be ignored. All current APIAuthenticators require the email to be lowercase and unique, although custom authenticators may not enforce this. ") - - public String getEmail() { - return email; - } - - - public void setEmail(String email) { - this.email = email; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - User user = (User) o; - return Objects.equals(this.id, user.id) && - Objects.equals(this.creationDate, user.creationDate) && - Objects.equals(this.friendlyName, user.friendlyName) && - Objects.equals(this.email, user.email); - } - - @Override - public int hashCode() { - return Objects.hash(id, creationDate, friendlyName, email); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class User {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" creationDate: ").append(toIndentedString(creationDate)).append("\n"); - sb.append(" friendlyName: ").append(toIndentedString(friendlyName)).append("\n"); - sb.append(" email: ").append(toIndentedString(email)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/UserCreation.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/UserCreation.java deleted file mode 100644 index e1186d6799c..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/UserCreation.java +++ /dev/null @@ -1,127 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * UserCreation - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class UserCreation { - public static final String SERIALIZED_NAME_ID = "id"; - @SerializedName(SERIALIZED_NAME_ID) - private String id; - - public static final String SERIALIZED_NAME_INVITE_USER = "invite_user"; - @SerializedName(SERIALIZED_NAME_INVITE_USER) - private Boolean inviteUser; - - - public UserCreation id(String id) { - - this.id = id; - return this; - } - - /** - * a unique identifier for the user. - * @return id - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "a unique identifier for the user.") - - public String getId() { - return id; - } - - - public void setId(String id) { - this.id = id; - } - - - public UserCreation inviteUser(Boolean inviteUser) { - - this.inviteUser = inviteUser; - return this; - } - - /** - * Get inviteUser - * @return inviteUser - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Boolean getInviteUser() { - return inviteUser; - } - - - public void setInviteUser(Boolean inviteUser) { - this.inviteUser = inviteUser; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - UserCreation userCreation = (UserCreation) o; - return Objects.equals(this.id, userCreation.id) && - Objects.equals(this.inviteUser, userCreation.inviteUser); - } - - @Override - public int hashCode() { - return Objects.hash(id, inviteUser); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class UserCreation {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" inviteUser: ").append(toIndentedString(inviteUser)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/UserList.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/UserList.java deleted file mode 100644 index f24a0b8295d..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/UserList.java +++ /dev/null @@ -1,136 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.lakefs.clients.api.model.Pagination; -import io.lakefs.clients.api.model.User; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; - -/** - * UserList - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class UserList { - public static final String SERIALIZED_NAME_PAGINATION = "pagination"; - @SerializedName(SERIALIZED_NAME_PAGINATION) - private Pagination pagination; - - public static final String SERIALIZED_NAME_RESULTS = "results"; - @SerializedName(SERIALIZED_NAME_RESULTS) - private List results = new ArrayList(); - - - public UserList pagination(Pagination pagination) { - - this.pagination = pagination; - return this; - } - - /** - * Get pagination - * @return pagination - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public Pagination getPagination() { - return pagination; - } - - - public void setPagination(Pagination pagination) { - this.pagination = pagination; - } - - - public UserList results(List results) { - - this.results = results; - return this; - } - - public UserList addResultsItem(User resultsItem) { - this.results.add(resultsItem); - return this; - } - - /** - * Get results - * @return results - **/ - @javax.annotation.Nonnull - @ApiModelProperty(required = true, value = "") - - public List getResults() { - return results; - } - - - public void setResults(List results) { - this.results = results; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - UserList userList = (UserList) o; - return Objects.equals(this.pagination, userList.pagination) && - Objects.equals(this.results, userList.results); - } - - @Override - public int hashCode() { - return Objects.hash(pagination, results); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class UserList {\n"); - sb.append(" pagination: ").append(toIndentedString(pagination)).append("\n"); - sb.append(" results: ").append(toIndentedString(results)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/VersionConfig.java b/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/VersionConfig.java deleted file mode 100644 index ed312c5b845..00000000000 --- a/clients/java-legacy/src/main/java/io/lakefs/clients/api/model/VersionConfig.java +++ /dev/null @@ -1,185 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import java.util.Objects; -import java.util.Arrays; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; - -/** - * VersionConfig - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") -public class VersionConfig { - public static final String SERIALIZED_NAME_VERSION = "version"; - @SerializedName(SERIALIZED_NAME_VERSION) - private String version; - - public static final String SERIALIZED_NAME_LATEST_VERSION = "latest_version"; - @SerializedName(SERIALIZED_NAME_LATEST_VERSION) - private String latestVersion; - - public static final String SERIALIZED_NAME_UPGRADE_RECOMMENDED = "upgrade_recommended"; - @SerializedName(SERIALIZED_NAME_UPGRADE_RECOMMENDED) - private Boolean upgradeRecommended; - - public static final String SERIALIZED_NAME_UPGRADE_URL = "upgrade_url"; - @SerializedName(SERIALIZED_NAME_UPGRADE_URL) - private String upgradeUrl; - - - public VersionConfig version(String version) { - - this.version = version; - return this; - } - - /** - * Get version - * @return version - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public String getVersion() { - return version; - } - - - public void setVersion(String version) { - this.version = version; - } - - - public VersionConfig latestVersion(String latestVersion) { - - this.latestVersion = latestVersion; - return this; - } - - /** - * Get latestVersion - * @return latestVersion - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public String getLatestVersion() { - return latestVersion; - } - - - public void setLatestVersion(String latestVersion) { - this.latestVersion = latestVersion; - } - - - public VersionConfig upgradeRecommended(Boolean upgradeRecommended) { - - this.upgradeRecommended = upgradeRecommended; - return this; - } - - /** - * Get upgradeRecommended - * @return upgradeRecommended - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public Boolean getUpgradeRecommended() { - return upgradeRecommended; - } - - - public void setUpgradeRecommended(Boolean upgradeRecommended) { - this.upgradeRecommended = upgradeRecommended; - } - - - public VersionConfig upgradeUrl(String upgradeUrl) { - - this.upgradeUrl = upgradeUrl; - return this; - } - - /** - * Get upgradeUrl - * @return upgradeUrl - **/ - @javax.annotation.Nullable - @ApiModelProperty(value = "") - - public String getUpgradeUrl() { - return upgradeUrl; - } - - - public void setUpgradeUrl(String upgradeUrl) { - this.upgradeUrl = upgradeUrl; - } - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - VersionConfig versionConfig = (VersionConfig) o; - return Objects.equals(this.version, versionConfig.version) && - Objects.equals(this.latestVersion, versionConfig.latestVersion) && - Objects.equals(this.upgradeRecommended, versionConfig.upgradeRecommended) && - Objects.equals(this.upgradeUrl, versionConfig.upgradeUrl); - } - - @Override - public int hashCode() { - return Objects.hash(version, latestVersion, upgradeRecommended, upgradeUrl); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class VersionConfig {\n"); - sb.append(" version: ").append(toIndentedString(version)).append("\n"); - sb.append(" latestVersion: ").append(toIndentedString(latestVersion)).append("\n"); - sb.append(" upgradeRecommended: ").append(toIndentedString(upgradeRecommended)).append("\n"); - sb.append(" upgradeUrl: ").append(toIndentedString(upgradeUrl)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/ActionsApiTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/ActionsApiTest.java deleted file mode 100644 index 739de0f69c1..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/ActionsApiTest.java +++ /dev/null @@ -1,109 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api; - -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.model.ActionRun; -import io.lakefs.clients.api.model.ActionRunList; -import io.lakefs.clients.api.model.Error; -import java.io.File; -import io.lakefs.clients.api.model.HookRunList; -import org.junit.Test; -import org.junit.Ignore; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -/** - * API tests for ActionsApi - */ -@Ignore -public class ActionsApiTest { - - private final ActionsApi api = new ActionsApi(); - - - /** - * get a run - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void getRunTest() throws ApiException { - String repository = null; - String runId = null; - ActionRun response = api.getRun(repository, runId); - // TODO: test validations - } - - /** - * get run hook output - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void getRunHookOutputTest() throws ApiException { - String repository = null; - String runId = null; - String hookRunId = null; - File response = api.getRunHookOutput(repository, runId, hookRunId); - // TODO: test validations - } - - /** - * list runs - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void listRepositoryRunsTest() throws ApiException { - String repository = null; - String after = null; - Integer amount = null; - String branch = null; - String commit = null; - ActionRunList response = api.listRepositoryRuns(repository, after, amount, branch, commit); - // TODO: test validations - } - - /** - * list run hooks - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void listRunHooksTest() throws ApiException { - String repository = null; - String runId = null; - String after = null; - Integer amount = null; - HookRunList response = api.listRunHooks(repository, runId, after, amount); - // TODO: test validations - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/AuthApiTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/AuthApiTest.java deleted file mode 100644 index 1ffe4a11ce9..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/AuthApiTest.java +++ /dev/null @@ -1,632 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api; - -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.model.ACL; -import io.lakefs.clients.api.model.AuthenticationToken; -import io.lakefs.clients.api.model.Credentials; -import io.lakefs.clients.api.model.CredentialsList; -import io.lakefs.clients.api.model.CredentialsWithSecret; -import io.lakefs.clients.api.model.CurrentUser; -import io.lakefs.clients.api.model.Error; -import io.lakefs.clients.api.model.ErrorNoACL; -import io.lakefs.clients.api.model.ExternalLoginInformation; -import io.lakefs.clients.api.model.ExternalPrincipal; -import io.lakefs.clients.api.model.ExternalPrincipalCreation; -import io.lakefs.clients.api.model.ExternalPrincipalList; -import io.lakefs.clients.api.model.Group; -import io.lakefs.clients.api.model.GroupCreation; -import io.lakefs.clients.api.model.GroupList; -import io.lakefs.clients.api.model.LoginInformation; -import io.lakefs.clients.api.model.Policy; -import io.lakefs.clients.api.model.PolicyList; -import io.lakefs.clients.api.model.User; -import io.lakefs.clients.api.model.UserCreation; -import io.lakefs.clients.api.model.UserList; -import org.junit.Test; -import org.junit.Ignore; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -/** - * API tests for AuthApi - */ -@Ignore -public class AuthApiTest { - - private final AuthApi api = new AuthApi(); - - - /** - * add group membership - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void addGroupMembershipTest() throws ApiException { - String groupId = null; - String userId = null; - api.addGroupMembership(groupId, userId); - // TODO: test validations - } - - /** - * attach policy to group - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void attachPolicyToGroupTest() throws ApiException { - String groupId = null; - String policyId = null; - api.attachPolicyToGroup(groupId, policyId); - // TODO: test validations - } - - /** - * attach policy to user - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void attachPolicyToUserTest() throws ApiException { - String userId = null; - String policyId = null; - api.attachPolicyToUser(userId, policyId); - // TODO: test validations - } - - /** - * create credentials - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void createCredentialsTest() throws ApiException { - String userId = null; - CredentialsWithSecret response = api.createCredentials(userId); - // TODO: test validations - } - - /** - * create group - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void createGroupTest() throws ApiException { - GroupCreation groupCreation = null; - Group response = api.createGroup(groupCreation); - // TODO: test validations - } - - /** - * create policy - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void createPolicyTest() throws ApiException { - Policy policy = null; - Policy response = api.createPolicy(policy); - // TODO: test validations - } - - /** - * create user - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void createUserTest() throws ApiException { - UserCreation userCreation = null; - User response = api.createUser(userCreation); - // TODO: test validations - } - - /** - * attach external principal to user - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void createUserExternalPrincipalTest() throws ApiException { - String userId = null; - String principalId = null; - ExternalPrincipalCreation externalPrincipalCreation = null; - api.createUserExternalPrincipal(userId, principalId, externalPrincipalCreation); - // TODO: test validations - } - - /** - * delete credentials - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void deleteCredentialsTest() throws ApiException { - String userId = null; - String accessKeyId = null; - api.deleteCredentials(userId, accessKeyId); - // TODO: test validations - } - - /** - * delete group - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void deleteGroupTest() throws ApiException { - String groupId = null; - api.deleteGroup(groupId); - // TODO: test validations - } - - /** - * delete group membership - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void deleteGroupMembershipTest() throws ApiException { - String groupId = null; - String userId = null; - api.deleteGroupMembership(groupId, userId); - // TODO: test validations - } - - /** - * delete policy - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void deletePolicyTest() throws ApiException { - String policyId = null; - api.deletePolicy(policyId); - // TODO: test validations - } - - /** - * delete user - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void deleteUserTest() throws ApiException { - String userId = null; - api.deleteUser(userId); - // TODO: test validations - } - - /** - * delete external principal from user - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void deleteUserExternalPrincipalTest() throws ApiException { - String userId = null; - String principalId = null; - api.deleteUserExternalPrincipal(userId, principalId); - // TODO: test validations - } - - /** - * detach policy from group - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void detachPolicyFromGroupTest() throws ApiException { - String groupId = null; - String policyId = null; - api.detachPolicyFromGroup(groupId, policyId); - // TODO: test validations - } - - /** - * detach policy from user - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void detachPolicyFromUserTest() throws ApiException { - String userId = null; - String policyId = null; - api.detachPolicyFromUser(userId, policyId); - // TODO: test validations - } - - /** - * perform a login using an external authenticator - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void externalPrincipalLoginTest() throws ApiException { - ExternalLoginInformation externalLoginInformation = null; - AuthenticationToken response = api.externalPrincipalLogin(externalLoginInformation); - // TODO: test validations - } - - /** - * get credentials - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void getCredentialsTest() throws ApiException { - String userId = null; - String accessKeyId = null; - Credentials response = api.getCredentials(userId, accessKeyId); - // TODO: test validations - } - - /** - * get current user - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void getCurrentUserTest() throws ApiException { - CurrentUser response = api.getCurrentUser(); - // TODO: test validations - } - - /** - * describe external principal by id - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void getExternalPrincipalTest() throws ApiException { - String principalId = null; - ExternalPrincipal response = api.getExternalPrincipal(principalId); - // TODO: test validations - } - - /** - * get group - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void getGroupTest() throws ApiException { - String groupId = null; - Group response = api.getGroup(groupId); - // TODO: test validations - } - - /** - * get ACL of group - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void getGroupACLTest() throws ApiException { - String groupId = null; - ACL response = api.getGroupACL(groupId); - // TODO: test validations - } - - /** - * get policy - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void getPolicyTest() throws ApiException { - String policyId = null; - Policy response = api.getPolicy(policyId); - // TODO: test validations - } - - /** - * get user - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void getUserTest() throws ApiException { - String userId = null; - User response = api.getUser(userId); - // TODO: test validations - } - - /** - * list group members - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void listGroupMembersTest() throws ApiException { - String groupId = null; - String prefix = null; - String after = null; - Integer amount = null; - UserList response = api.listGroupMembers(groupId, prefix, after, amount); - // TODO: test validations - } - - /** - * list group policies - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void listGroupPoliciesTest() throws ApiException { - String groupId = null; - String prefix = null; - String after = null; - Integer amount = null; - PolicyList response = api.listGroupPolicies(groupId, prefix, after, amount); - // TODO: test validations - } - - /** - * list groups - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void listGroupsTest() throws ApiException { - String prefix = null; - String after = null; - Integer amount = null; - GroupList response = api.listGroups(prefix, after, amount); - // TODO: test validations - } - - /** - * list policies - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void listPoliciesTest() throws ApiException { - String prefix = null; - String after = null; - Integer amount = null; - PolicyList response = api.listPolicies(prefix, after, amount); - // TODO: test validations - } - - /** - * list user credentials - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void listUserCredentialsTest() throws ApiException { - String userId = null; - String prefix = null; - String after = null; - Integer amount = null; - CredentialsList response = api.listUserCredentials(userId, prefix, after, amount); - // TODO: test validations - } - - /** - * list user external policies attached to a user - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void listUserExternalPrincipalsTest() throws ApiException { - String userId = null; - String prefix = null; - String after = null; - Integer amount = null; - ExternalPrincipalList response = api.listUserExternalPrincipals(userId, prefix, after, amount); - // TODO: test validations - } - - /** - * list user groups - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void listUserGroupsTest() throws ApiException { - String userId = null; - String prefix = null; - String after = null; - Integer amount = null; - GroupList response = api.listUserGroups(userId, prefix, after, amount); - // TODO: test validations - } - - /** - * list user policies - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void listUserPoliciesTest() throws ApiException { - String userId = null; - String prefix = null; - String after = null; - Integer amount = null; - Boolean effective = null; - PolicyList response = api.listUserPolicies(userId, prefix, after, amount, effective); - // TODO: test validations - } - - /** - * list users - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void listUsersTest() throws ApiException { - String prefix = null; - String after = null; - Integer amount = null; - UserList response = api.listUsers(prefix, after, amount); - // TODO: test validations - } - - /** - * perform a login - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void loginTest() throws ApiException { - LoginInformation loginInformation = null; - AuthenticationToken response = api.login(loginInformation); - // TODO: test validations - } - - /** - * set ACL of group - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void setGroupACLTest() throws ApiException { - String groupId = null; - ACL ACL = null; - api.setGroupACL(groupId, ACL); - // TODO: test validations - } - - /** - * update policy - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void updatePolicyTest() throws ApiException { - String policyId = null; - Policy policy = null; - Policy response = api.updatePolicy(policyId, policy); - // TODO: test validations - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/BranchesApiTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/BranchesApiTest.java deleted file mode 100644 index 7e7b1109f61..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/BranchesApiTest.java +++ /dev/null @@ -1,181 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api; - -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.model.BranchCreation; -import io.lakefs.clients.api.model.CherryPickCreation; -import io.lakefs.clients.api.model.Commit; -import io.lakefs.clients.api.model.DiffList; -import io.lakefs.clients.api.model.Error; -import io.lakefs.clients.api.model.Ref; -import io.lakefs.clients.api.model.RefList; -import io.lakefs.clients.api.model.ResetCreation; -import io.lakefs.clients.api.model.RevertCreation; -import org.junit.Test; -import org.junit.Ignore; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -/** - * API tests for BranchesApi - */ -@Ignore -public class BranchesApiTest { - - private final BranchesApi api = new BranchesApi(); - - - /** - * Replay the changes from the given commit on the branch - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void cherryPickTest() throws ApiException { - String repository = null; - String branch = null; - CherryPickCreation cherryPickCreation = null; - Commit response = api.cherryPick(repository, branch, cherryPickCreation); - // TODO: test validations - } - - /** - * create branch - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void createBranchTest() throws ApiException { - String repository = null; - BranchCreation branchCreation = null; - String response = api.createBranch(repository, branchCreation); - // TODO: test validations - } - - /** - * delete branch - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void deleteBranchTest() throws ApiException { - String repository = null; - String branch = null; - Boolean force = null; - api.deleteBranch(repository, branch, force); - // TODO: test validations - } - - /** - * diff branch - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void diffBranchTest() throws ApiException { - String repository = null; - String branch = null; - String after = null; - Integer amount = null; - String prefix = null; - String delimiter = null; - DiffList response = api.diffBranch(repository, branch, after, amount, prefix, delimiter); - // TODO: test validations - } - - /** - * get branch - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void getBranchTest() throws ApiException { - String repository = null; - String branch = null; - Ref response = api.getBranch(repository, branch); - // TODO: test validations - } - - /** - * list branches - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void listBranchesTest() throws ApiException { - String repository = null; - String prefix = null; - String after = null; - Integer amount = null; - RefList response = api.listBranches(repository, prefix, after, amount); - // TODO: test validations - } - - /** - * reset branch - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void resetBranchTest() throws ApiException { - String repository = null; - String branch = null; - ResetCreation resetCreation = null; - api.resetBranch(repository, branch, resetCreation); - // TODO: test validations - } - - /** - * revert - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void revertBranchTest() throws ApiException { - String repository = null; - String branch = null; - RevertCreation revertCreation = null; - api.revertBranch(repository, branch, revertCreation); - // TODO: test validations - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/CommitsApiTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/CommitsApiTest.java deleted file mode 100644 index 1b8cbfa3444..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/CommitsApiTest.java +++ /dev/null @@ -1,71 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api; - -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.model.Commit; -import io.lakefs.clients.api.model.CommitCreation; -import io.lakefs.clients.api.model.Error; -import org.junit.Test; -import org.junit.Ignore; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -/** - * API tests for CommitsApi - */ -@Ignore -public class CommitsApiTest { - - private final CommitsApi api = new CommitsApi(); - - - /** - * create commit - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void commitTest() throws ApiException { - String repository = null; - String branch = null; - CommitCreation commitCreation = null; - String sourceMetarange = null; - Commit response = api.commit(repository, branch, commitCreation, sourceMetarange); - // TODO: test validations - } - - /** - * get commit - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void getCommitTest() throws ApiException { - String repository = null; - String commitId = null; - Commit response = api.getCommit(repository, commitId); - // TODO: test validations - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/ConfigApiTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/ConfigApiTest.java deleted file mode 100644 index 58b9a4f6e8c..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/ConfigApiTest.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api; - -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.model.Config; -import io.lakefs.clients.api.model.Error; -import org.junit.Test; -import org.junit.Ignore; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -/** - * API tests for ConfigApi - */ -@Ignore -public class ConfigApiTest { - - private final ConfigApi api = new ConfigApi(); - - - /** - * - * - * retrieve lakeFS configuration - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void getConfigTest() throws ApiException { - Config response = api.getConfig(); - // TODO: test validations - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/ExperimentalApiTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/ExperimentalApiTest.java deleted file mode 100644 index c9f32010645..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/ExperimentalApiTest.java +++ /dev/null @@ -1,325 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api; - -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.model.AbortPresignMultipartUpload; -import io.lakefs.clients.api.model.AuthenticationToken; -import io.lakefs.clients.api.model.CompletePresignMultipartUpload; -import io.lakefs.clients.api.model.Error; -import io.lakefs.clients.api.model.ExternalLoginInformation; -import io.lakefs.clients.api.model.ExternalPrincipal; -import io.lakefs.clients.api.model.ExternalPrincipalCreation; -import io.lakefs.clients.api.model.ExternalPrincipalList; -import io.lakefs.clients.api.model.MergeResult; -import io.lakefs.clients.api.model.ObjectStats; -import io.lakefs.clients.api.model.PresignMultipartUpload; -import io.lakefs.clients.api.model.PullRequest; -import io.lakefs.clients.api.model.PullRequestBasic; -import io.lakefs.clients.api.model.PullRequestCreation; -import io.lakefs.clients.api.model.PullRequestCreationResponse; -import io.lakefs.clients.api.model.PullRequestsList; -import io.lakefs.clients.api.model.StagingLocation; -import io.lakefs.clients.api.model.StsAuthRequest; -import io.lakefs.clients.api.model.UpdateObjectUserMetadata; -import org.junit.Test; -import org.junit.Ignore; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -/** - * API tests for ExperimentalApi - */ -@Ignore -public class ExperimentalApiTest { - - private final ExperimentalApi api = new ExperimentalApi(); - - - /** - * Abort a presign multipart upload - * - * Aborts a presign multipart upload. - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void abortPresignMultipartUploadTest() throws ApiException { - String repository = null; - String branch = null; - String uploadId = null; - String path = null; - AbortPresignMultipartUpload abortPresignMultipartUpload = null; - api.abortPresignMultipartUpload(repository, branch, uploadId, path, abortPresignMultipartUpload); - // TODO: test validations - } - - /** - * Complete a presign multipart upload request - * - * Completes a presign multipart upload by assembling the uploaded parts. - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void completePresignMultipartUploadTest() throws ApiException { - String repository = null; - String branch = null; - String uploadId = null; - String path = null; - CompletePresignMultipartUpload completePresignMultipartUpload = null; - ObjectStats response = api.completePresignMultipartUpload(repository, branch, uploadId, path, completePresignMultipartUpload); - // TODO: test validations - } - - /** - * Initiate a multipart upload - * - * Initiates a multipart upload and returns an upload ID with presigned URLs for each part (optional). Part numbers starts with 1. Each part except the last one has minimum size depends on the underlying blockstore implementation. For example working with S3 blockstore, minimum size is 5MB (excluding the last part). - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void createPresignMultipartUploadTest() throws ApiException { - String repository = null; - String branch = null; - String path = null; - Integer parts = null; - PresignMultipartUpload response = api.createPresignMultipartUpload(repository, branch, path, parts); - // TODO: test validations - } - - /** - * create pull request - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void createPullRequestTest() throws ApiException { - String repository = null; - PullRequestCreation pullRequestCreation = null; - PullRequestCreationResponse response = api.createPullRequest(repository, pullRequestCreation); - // TODO: test validations - } - - /** - * attach external principal to user - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void createUserExternalPrincipalTest() throws ApiException { - String userId = null; - String principalId = null; - ExternalPrincipalCreation externalPrincipalCreation = null; - api.createUserExternalPrincipal(userId, principalId, externalPrincipalCreation); - // TODO: test validations - } - - /** - * delete external principal from user - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void deleteUserExternalPrincipalTest() throws ApiException { - String userId = null; - String principalId = null; - api.deleteUserExternalPrincipal(userId, principalId); - // TODO: test validations - } - - /** - * perform a login using an external authenticator - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void externalPrincipalLoginTest() throws ApiException { - ExternalLoginInformation externalLoginInformation = null; - AuthenticationToken response = api.externalPrincipalLogin(externalLoginInformation); - // TODO: test validations - } - - /** - * describe external principal by id - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void getExternalPrincipalTest() throws ApiException { - String principalId = null; - ExternalPrincipal response = api.getExternalPrincipal(principalId); - // TODO: test validations - } - - /** - * get pull request - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void getPullRequestTest() throws ApiException { - String repository = null; - String pullRequest = null; - PullRequest response = api.getPullRequest(repository, pullRequest); - // TODO: test validations - } - - /** - * hard reset branch - * - * Relocate branch to refer to ref. Branch must not contain uncommitted data. - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void hardResetBranchTest() throws ApiException { - String repository = null; - String branch = null; - String ref = null; - Boolean force = null; - api.hardResetBranch(repository, branch, ref, force); - // TODO: test validations - } - - /** - * list pull requests - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void listPullRequestsTest() throws ApiException { - String repository = null; - String prefix = null; - String after = null; - Integer amount = null; - String status = null; - PullRequestsList response = api.listPullRequests(repository, prefix, after, amount, status); - // TODO: test validations - } - - /** - * list user external policies attached to a user - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void listUserExternalPrincipalsTest() throws ApiException { - String userId = null; - String prefix = null; - String after = null; - Integer amount = null; - ExternalPrincipalList response = api.listUserExternalPrincipals(userId, prefix, after, amount); - // TODO: test validations - } - - /** - * merge pull request - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void mergePullRequestTest() throws ApiException { - String repository = null; - String pullRequest = null; - MergeResult response = api.mergePullRequest(repository, pullRequest); - // TODO: test validations - } - - /** - * perform a login with STS - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void stsLoginTest() throws ApiException { - StsAuthRequest stsAuthRequest = null; - AuthenticationToken response = api.stsLogin(stsAuthRequest); - // TODO: test validations - } - - /** - * rewrite (all) object metadata - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void updateObjectUserMetadataTest() throws ApiException { - String repository = null; - String branch = null; - String path = null; - UpdateObjectUserMetadata updateObjectUserMetadata = null; - api.updateObjectUserMetadata(repository, branch, path, updateObjectUserMetadata); - // TODO: test validations - } - - /** - * update pull request - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void updatePullRequestTest() throws ApiException { - String repository = null; - String pullRequest = null; - PullRequestBasic pullRequestBasic = null; - api.updatePullRequest(repository, pullRequest, pullRequestBasic); - // TODO: test validations - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/ExternalApiTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/ExternalApiTest.java deleted file mode 100644 index b9f14c69650..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/ExternalApiTest.java +++ /dev/null @@ -1,121 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api; - -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.model.AuthenticationToken; -import io.lakefs.clients.api.model.Error; -import io.lakefs.clients.api.model.ExternalLoginInformation; -import io.lakefs.clients.api.model.ExternalPrincipal; -import io.lakefs.clients.api.model.ExternalPrincipalCreation; -import io.lakefs.clients.api.model.ExternalPrincipalList; -import org.junit.Test; -import org.junit.Ignore; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -/** - * API tests for ExternalApi - */ -@Ignore -public class ExternalApiTest { - - private final ExternalApi api = new ExternalApi(); - - - /** - * attach external principal to user - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void createUserExternalPrincipalTest() throws ApiException { - String userId = null; - String principalId = null; - ExternalPrincipalCreation externalPrincipalCreation = null; - api.createUserExternalPrincipal(userId, principalId, externalPrincipalCreation); - // TODO: test validations - } - - /** - * delete external principal from user - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void deleteUserExternalPrincipalTest() throws ApiException { - String userId = null; - String principalId = null; - api.deleteUserExternalPrincipal(userId, principalId); - // TODO: test validations - } - - /** - * perform a login using an external authenticator - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void externalPrincipalLoginTest() throws ApiException { - ExternalLoginInformation externalLoginInformation = null; - AuthenticationToken response = api.externalPrincipalLogin(externalLoginInformation); - // TODO: test validations - } - - /** - * describe external principal by id - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void getExternalPrincipalTest() throws ApiException { - String principalId = null; - ExternalPrincipal response = api.getExternalPrincipal(principalId); - // TODO: test validations - } - - /** - * list user external policies attached to a user - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void listUserExternalPrincipalsTest() throws ApiException { - String userId = null; - String prefix = null; - String after = null; - Integer amount = null; - ExternalPrincipalList response = api.listUserExternalPrincipals(userId, prefix, after, amount); - // TODO: test validations - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/HealthCheckApiTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/HealthCheckApiTest.java deleted file mode 100644 index a2783d15b2a..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/HealthCheckApiTest.java +++ /dev/null @@ -1,48 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api; - -import io.lakefs.clients.api.ApiException; -import org.junit.Test; -import org.junit.Ignore; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -/** - * API tests for HealthCheckApi - */ -@Ignore -public class HealthCheckApiTest { - - private final HealthCheckApi api = new HealthCheckApi(); - - - /** - * - * - * check that the API server is up and running - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void healthCheckTest() throws ApiException { - api.healthCheck(); - // TODO: test validations - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/ImportApiTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/ImportApiTest.java deleted file mode 100644 index cfe1e86e97a..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/ImportApiTest.java +++ /dev/null @@ -1,89 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api; - -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.model.Error; -import io.lakefs.clients.api.model.ImportCreation; -import io.lakefs.clients.api.model.ImportCreationResponse; -import io.lakefs.clients.api.model.ImportStatus; -import org.junit.Test; -import org.junit.Ignore; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -/** - * API tests for ImportApi - */ -@Ignore -public class ImportApiTest { - - private final ImportApi api = new ImportApi(); - - - /** - * cancel ongoing import - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void importCancelTest() throws ApiException { - String repository = null; - String branch = null; - String id = null; - api.importCancel(repository, branch, id); - // TODO: test validations - } - - /** - * import data from object store - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void importStartTest() throws ApiException { - String repository = null; - String branch = null; - ImportCreation importCreation = null; - ImportCreationResponse response = api.importStart(repository, branch, importCreation); - // TODO: test validations - } - - /** - * get import status - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void importStatusTest() throws ApiException { - String repository = null; - String branch = null; - String id = null; - ImportStatus response = api.importStatus(repository, branch, id); - // TODO: test validations - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/InternalApiTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/InternalApiTest.java deleted file mode 100644 index edeac934039..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/InternalApiTest.java +++ /dev/null @@ -1,492 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api; - -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.model.AuthCapabilities; -import io.lakefs.clients.api.model.BranchProtectionRule; -import io.lakefs.clients.api.model.CommPrefsInput; -import io.lakefs.clients.api.model.CommitRecordCreation; -import io.lakefs.clients.api.model.CredentialsWithSecret; -import io.lakefs.clients.api.model.Error; -import java.io.File; -import io.lakefs.clients.api.model.GarbageCollectionConfig; -import io.lakefs.clients.api.model.GarbageCollectionPrepareResponse; -import io.lakefs.clients.api.model.GarbageCollectionRules; -import io.lakefs.clients.api.model.InlineObject1; -import io.lakefs.clients.api.model.InstallationUsageReport; -import io.lakefs.clients.api.model.ObjectStageCreation; -import io.lakefs.clients.api.model.ObjectStats; -import io.lakefs.clients.api.model.PrepareGCUncommittedRequest; -import io.lakefs.clients.api.model.PrepareGCUncommittedResponse; -import io.lakefs.clients.api.model.RefsDump; -import io.lakefs.clients.api.model.RefsRestore; -import io.lakefs.clients.api.model.RepositoryMetadataKeys; -import io.lakefs.clients.api.model.RepositoryMetadataSet; -import io.lakefs.clients.api.model.Setup; -import io.lakefs.clients.api.model.SetupState; -import io.lakefs.clients.api.model.StatsEventsList; -import io.lakefs.clients.api.model.StorageConfig; -import io.lakefs.clients.api.model.StorageURI; -import io.lakefs.clients.api.model.VersionConfig; -import org.junit.Test; -import org.junit.Ignore; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -/** - * API tests for InternalApi - */ -@Ignore -public class InternalApiTest { - - private final InternalApi api = new InternalApi(); - - - /** - * - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void createBranchProtectionRulePreflightTest() throws ApiException { - String repository = null; - api.createBranchProtectionRulePreflight(repository); - // TODO: test validations - } - - /** - * create commit record - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void createCommitRecordTest() throws ApiException { - String repository = null; - CommitRecordCreation commitRecordCreation = null; - api.createCommitRecord(repository, commitRecordCreation); - // TODO: test validations - } - - /** - * creates symlink files corresponding to the given directory - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void createSymlinkFileTest() throws ApiException { - String repository = null; - String branch = null; - String location = null; - StorageURI response = api.createSymlinkFile(repository, branch, location); - // TODO: test validations - } - - /** - * delete repository metadata - * - * Delete specified keys from the repository's metadata. - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void deleteRepositoryMetadataTest() throws ApiException { - String repository = null; - RepositoryMetadataKeys repositoryMetadataKeys = null; - api.deleteRepositoryMetadata(repository, repositoryMetadataKeys); - // TODO: test validations - } - - /** - * Dump repository refs (tags, commits, branches) to object store Deprecated: a new API will introduce long running operations - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void dumpRefsTest() throws ApiException { - String repository = null; - RefsDump response = api.dumpRefs(repository); - // TODO: test validations - } - - /** - * list authentication capabilities supported - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void getAuthCapabilitiesTest() throws ApiException { - AuthCapabilities response = api.getAuthCapabilities(); - // TODO: test validations - } - - /** - * - * - * get information of gc settings - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void getGarbageCollectionConfigTest() throws ApiException { - GarbageCollectionConfig response = api.getGarbageCollectionConfig(); - // TODO: test validations - } - - /** - * - * - * get version of lakeFS server - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void getLakeFSVersionTest() throws ApiException { - VersionConfig response = api.getLakeFSVersion(); - // TODO: test validations - } - - /** - * return a lakeFS metadata object by ID - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void getMetadataObjectTest() throws ApiException { - String repository = null; - String objectId = null; - String type = null; - Boolean presign = null; - File response = api.getMetadataObject(repository, objectId, type, presign); - // TODO: test validations - } - - /** - * check if the lakeFS installation is already set up - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void getSetupStateTest() throws ApiException { - SetupState response = api.getSetupState(); - // TODO: test validations - } - - /** - * - * - * retrieve lakeFS storage configuration - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void getStorageConfigTest() throws ApiException { - StorageConfig response = api.getStorageConfig(); - // TODO: test validations - } - - /** - * get usage report summary - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void getUsageReportSummaryTest() throws ApiException { - InstallationUsageReport response = api.getUsageReportSummary(); - // TODO: test validations - } - - /** - * - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void internalCreateBranchProtectionRuleTest() throws ApiException { - String repository = null; - BranchProtectionRule branchProtectionRule = null; - api.internalCreateBranchProtectionRule(repository, branchProtectionRule); - // TODO: test validations - } - - /** - * - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void internalDeleteBranchProtectionRuleTest() throws ApiException { - String repository = null; - InlineObject1 inlineObject1 = null; - api.internalDeleteBranchProtectionRule(repository, inlineObject1); - // TODO: test validations - } - - /** - * - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void internalDeleteGarbageCollectionRulesTest() throws ApiException { - String repository = null; - api.internalDeleteGarbageCollectionRules(repository); - // TODO: test validations - } - - /** - * get branch protection rules - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void internalGetBranchProtectionRulesTest() throws ApiException { - String repository = null; - List response = api.internalGetBranchProtectionRules(repository); - // TODO: test validations - } - - /** - * - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void internalGetGarbageCollectionRulesTest() throws ApiException { - String repository = null; - GarbageCollectionRules response = api.internalGetGarbageCollectionRules(repository); - // TODO: test validations - } - - /** - * - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void internalSetGarbageCollectionRulesTest() throws ApiException { - String repository = null; - GarbageCollectionRules garbageCollectionRules = null; - api.internalSetGarbageCollectionRules(repository, garbageCollectionRules); - // TODO: test validations - } - - /** - * post stats events, this endpoint is meant for internal use only - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void postStatsEventsTest() throws ApiException { - StatsEventsList statsEventsList = null; - api.postStatsEvents(statsEventsList); - // TODO: test validations - } - - /** - * save lists of active commits for garbage collection - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void prepareGarbageCollectionCommitsTest() throws ApiException { - String repository = null; - GarbageCollectionPrepareResponse response = api.prepareGarbageCollectionCommits(repository); - // TODO: test validations - } - - /** - * save repository uncommitted metadata for garbage collection - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void prepareGarbageCollectionUncommittedTest() throws ApiException { - String repository = null; - PrepareGCUncommittedRequest prepareGCUncommittedRequest = null; - PrepareGCUncommittedResponse response = api.prepareGarbageCollectionUncommitted(repository, prepareGCUncommittedRequest); - // TODO: test validations - } - - /** - * Restore repository refs (tags, commits, branches) from object store. Deprecated: a new API will introduce long running operations - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void restoreRefsTest() throws ApiException { - String repository = null; - RefsRestore refsRestore = null; - api.restoreRefs(repository, refsRestore); - // TODO: test validations - } - - /** - * - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void setGarbageCollectionRulesPreflightTest() throws ApiException { - String repository = null; - api.setGarbageCollectionRulesPreflight(repository); - // TODO: test validations - } - - /** - * set repository metadata - * - * Set repository metadata. This will only add or update the provided keys, and will not remove any existing keys. - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void setRepositoryMetadataTest() throws ApiException { - String repository = null; - RepositoryMetadataSet repositoryMetadataSet = null; - api.setRepositoryMetadata(repository, repositoryMetadataSet); - // TODO: test validations - } - - /** - * setup lakeFS and create a first user - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void setupTest() throws ApiException { - Setup setup = null; - CredentialsWithSecret response = api.setup(setup); - // TODO: test validations - } - - /** - * setup communications preferences - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void setupCommPrefsTest() throws ApiException { - CommPrefsInput commPrefsInput = null; - api.setupCommPrefs(commPrefsInput); - // TODO: test validations - } - - /** - * stage an object's metadata for the given branch - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void stageObjectTest() throws ApiException { - String repository = null; - String branch = null; - String path = null; - ObjectStageCreation objectStageCreation = null; - ObjectStats response = api.stageObject(repository, branch, path, objectStageCreation); - // TODO: test validations - } - - /** - * - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void uploadObjectPreflightTest() throws ApiException { - String repository = null; - String branch = null; - String path = null; - api.uploadObjectPreflight(repository, branch, path); - // TODO: test validations - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/MetadataApiTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/MetadataApiTest.java deleted file mode 100644 index 9a839ba2319..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/MetadataApiTest.java +++ /dev/null @@ -1,68 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api; - -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.model.Error; -import io.lakefs.clients.api.model.StorageURI; -import org.junit.Test; -import org.junit.Ignore; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -/** - * API tests for MetadataApi - */ -@Ignore -public class MetadataApiTest { - - private final MetadataApi api = new MetadataApi(); - - - /** - * return URI to a meta-range file - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void getMetaRangeTest() throws ApiException { - String repository = null; - String metaRange = null; - StorageURI response = api.getMetaRange(repository, metaRange); - // TODO: test validations - } - - /** - * return URI to a range file - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void getRangeTest() throws ApiException { - String repository = null; - String range = null; - StorageURI response = api.getRange(repository, range); - // TODO: test validations - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/ObjectsApiTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/ObjectsApiTest.java deleted file mode 100644 index 524a42b9609..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/ObjectsApiTest.java +++ /dev/null @@ -1,232 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api; - -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.model.Error; -import java.io.File; -import io.lakefs.clients.api.model.ObjectCopyCreation; -import io.lakefs.clients.api.model.ObjectErrorList; -import io.lakefs.clients.api.model.ObjectStats; -import io.lakefs.clients.api.model.ObjectStatsList; -import io.lakefs.clients.api.model.PathList; -import io.lakefs.clients.api.model.UnderlyingObjectProperties; -import io.lakefs.clients.api.model.UpdateObjectUserMetadata; -import org.junit.Test; -import org.junit.Ignore; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -/** - * API tests for ObjectsApi - */ -@Ignore -public class ObjectsApiTest { - - private final ObjectsApi api = new ObjectsApi(); - - - /** - * create a copy of an object - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void copyObjectTest() throws ApiException { - String repository = null; - String branch = null; - String destPath = null; - ObjectCopyCreation objectCopyCreation = null; - ObjectStats response = api.copyObject(repository, branch, destPath, objectCopyCreation); - // TODO: test validations - } - - /** - * delete object. Missing objects will not return a NotFound error. - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void deleteObjectTest() throws ApiException { - String repository = null; - String branch = null; - String path = null; - Boolean force = null; - api.deleteObject(repository, branch, path, force); - // TODO: test validations - } - - /** - * delete objects. Missing objects will not return a NotFound error. - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void deleteObjectsTest() throws ApiException { - String repository = null; - String branch = null; - PathList pathList = null; - Boolean force = null; - ObjectErrorList response = api.deleteObjects(repository, branch, pathList, force); - // TODO: test validations - } - - /** - * get object content - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void getObjectTest() throws ApiException { - String repository = null; - String ref = null; - String path = null; - String range = null; - String ifNoneMatch = null; - Boolean presign = null; - File response = api.getObject(repository, ref, path, range, ifNoneMatch, presign); - // TODO: test validations - } - - /** - * get object properties on underlying storage - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void getUnderlyingPropertiesTest() throws ApiException { - String repository = null; - String ref = null; - String path = null; - UnderlyingObjectProperties response = api.getUnderlyingProperties(repository, ref, path); - // TODO: test validations - } - - /** - * check if object exists - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void headObjectTest() throws ApiException { - String repository = null; - String ref = null; - String path = null; - String range = null; - api.headObject(repository, ref, path, range); - // TODO: test validations - } - - /** - * list objects under a given prefix - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void listObjectsTest() throws ApiException { - String repository = null; - String ref = null; - Boolean userMetadata = null; - Boolean presign = null; - String after = null; - Integer amount = null; - String delimiter = null; - String prefix = null; - ObjectStatsList response = api.listObjects(repository, ref, userMetadata, presign, after, amount, delimiter, prefix); - // TODO: test validations - } - - /** - * get object metadata - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void statObjectTest() throws ApiException { - String repository = null; - String ref = null; - String path = null; - Boolean userMetadata = null; - Boolean presign = null; - ObjectStats response = api.statObject(repository, ref, path, userMetadata, presign); - // TODO: test validations - } - - /** - * rewrite (all) object metadata - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void updateObjectUserMetadataTest() throws ApiException { - String repository = null; - String branch = null; - String path = null; - UpdateObjectUserMetadata updateObjectUserMetadata = null; - api.updateObjectUserMetadata(repository, branch, path, updateObjectUserMetadata); - // TODO: test validations - } - - /** - * - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void uploadObjectTest() throws ApiException { - String repository = null; - String branch = null; - String path = null; - String ifNoneMatch = null; - String storageClass = null; - Boolean force = null; - File content = null; - ObjectStats response = api.uploadObject(repository, branch, path, ifNoneMatch, storageClass, force, content); - // TODO: test validations - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/PullsApiTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/PullsApiTest.java deleted file mode 100644 index 6e1cc0c36b6..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/PullsApiTest.java +++ /dev/null @@ -1,125 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api; - -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.model.Error; -import io.lakefs.clients.api.model.MergeResult; -import io.lakefs.clients.api.model.PullRequest; -import io.lakefs.clients.api.model.PullRequestBasic; -import io.lakefs.clients.api.model.PullRequestCreation; -import io.lakefs.clients.api.model.PullRequestCreationResponse; -import io.lakefs.clients.api.model.PullRequestsList; -import org.junit.Test; -import org.junit.Ignore; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -/** - * API tests for PullsApi - */ -@Ignore -public class PullsApiTest { - - private final PullsApi api = new PullsApi(); - - - /** - * create pull request - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void createPullRequestTest() throws ApiException { - String repository = null; - PullRequestCreation pullRequestCreation = null; - PullRequestCreationResponse response = api.createPullRequest(repository, pullRequestCreation); - // TODO: test validations - } - - /** - * get pull request - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void getPullRequestTest() throws ApiException { - String repository = null; - String pullRequest = null; - PullRequest response = api.getPullRequest(repository, pullRequest); - // TODO: test validations - } - - /** - * list pull requests - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void listPullRequestsTest() throws ApiException { - String repository = null; - String prefix = null; - String after = null; - Integer amount = null; - String status = null; - PullRequestsList response = api.listPullRequests(repository, prefix, after, amount, status); - // TODO: test validations - } - - /** - * merge pull request - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void mergePullRequestTest() throws ApiException { - String repository = null; - String pullRequest = null; - MergeResult response = api.mergePullRequest(repository, pullRequest); - // TODO: test validations - } - - /** - * update pull request - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void updatePullRequestTest() throws ApiException { - String repository = null; - String pullRequest = null; - PullRequestBasic pullRequestBasic = null; - api.updatePullRequest(repository, pullRequest, pullRequestBasic); - // TODO: test validations - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/RefsApiTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/RefsApiTest.java deleted file mode 100644 index 408a1099c31..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/RefsApiTest.java +++ /dev/null @@ -1,122 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api; - -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.model.CommitList; -import io.lakefs.clients.api.model.DiffList; -import io.lakefs.clients.api.model.Error; -import io.lakefs.clients.api.model.FindMergeBaseResult; -import io.lakefs.clients.api.model.Merge; -import io.lakefs.clients.api.model.MergeResult; -import org.threeten.bp.OffsetDateTime; -import org.junit.Test; -import org.junit.Ignore; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -/** - * API tests for RefsApi - */ -@Ignore -public class RefsApiTest { - - private final RefsApi api = new RefsApi(); - - - /** - * diff references - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void diffRefsTest() throws ApiException { - String repository = null; - String leftRef = null; - String rightRef = null; - String after = null; - Integer amount = null; - String prefix = null; - String delimiter = null; - String type = null; - DiffList response = api.diffRefs(repository, leftRef, rightRef, after, amount, prefix, delimiter, type); - // TODO: test validations - } - - /** - * find the merge base for 2 references - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void findMergeBaseTest() throws ApiException { - String repository = null; - String sourceRef = null; - String destinationBranch = null; - FindMergeBaseResult response = api.findMergeBase(repository, sourceRef, destinationBranch); - // TODO: test validations - } - - /** - * get commit log from ref. If both objects and prefixes are empty, return all commits. - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void logCommitsTest() throws ApiException { - String repository = null; - String ref = null; - String after = null; - Integer amount = null; - List objects = null; - List prefixes = null; - Boolean limit = null; - Boolean firstParent = null; - OffsetDateTime since = null; - String stopAt = null; - CommitList response = api.logCommits(repository, ref, after, amount, objects, prefixes, limit, firstParent, since, stopAt); - // TODO: test validations - } - - /** - * merge references - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void mergeIntoBranchTest() throws ApiException { - String repository = null; - String sourceRef = null; - String destinationBranch = null; - Merge merge = null; - MergeResult response = api.mergeIntoBranch(repository, sourceRef, destinationBranch, merge); - // TODO: test validations - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/RepositoriesApiTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/RepositoriesApiTest.java deleted file mode 100644 index d51fdf5d87a..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/RepositoriesApiTest.java +++ /dev/null @@ -1,264 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api; - -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.model.BranchProtectionRule; -import io.lakefs.clients.api.model.Error; -import io.lakefs.clients.api.model.GarbageCollectionRules; -import io.lakefs.clients.api.model.RefsRestore; -import io.lakefs.clients.api.model.Repository; -import io.lakefs.clients.api.model.RepositoryCreation; -import io.lakefs.clients.api.model.RepositoryDumpStatus; -import io.lakefs.clients.api.model.RepositoryList; -import io.lakefs.clients.api.model.RepositoryRestoreStatus; -import io.lakefs.clients.api.model.TaskInfo; -import org.junit.Test; -import org.junit.Ignore; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -/** - * API tests for RepositoriesApi - */ -@Ignore -public class RepositoriesApiTest { - - private final RepositoriesApi api = new RepositoriesApi(); - - - /** - * create repository - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void createRepositoryTest() throws ApiException { - RepositoryCreation repositoryCreation = null; - Boolean bare = null; - Repository response = api.createRepository(repositoryCreation, bare); - // TODO: test validations - } - - /** - * - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void deleteGCRulesTest() throws ApiException { - String repository = null; - api.deleteGCRules(repository); - // TODO: test validations - } - - /** - * delete repository - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void deleteRepositoryTest() throws ApiException { - String repository = null; - Boolean force = null; - api.deleteRepository(repository, force); - // TODO: test validations - } - - /** - * Status of a repository dump task - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void dumpStatusTest() throws ApiException { - String repository = null; - String taskId = null; - RepositoryDumpStatus response = api.dumpStatus(repository, taskId); - // TODO: test validations - } - - /** - * Backup the repository metadata (tags, commits, branches) and save the backup to the object store. - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void dumpSubmitTest() throws ApiException { - String repository = null; - TaskInfo response = api.dumpSubmit(repository); - // TODO: test validations - } - - /** - * get branch protection rules - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void getBranchProtectionRulesTest() throws ApiException { - String repository = null; - List response = api.getBranchProtectionRules(repository); - // TODO: test validations - } - - /** - * get repository GC rules - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void getGCRulesTest() throws ApiException { - String repository = null; - GarbageCollectionRules response = api.getGCRules(repository); - // TODO: test validations - } - - /** - * get repository - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void getRepositoryTest() throws ApiException { - String repository = null; - Repository response = api.getRepository(repository); - // TODO: test validations - } - - /** - * get repository metadata - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void getRepositoryMetadataTest() throws ApiException { - String repository = null; - Map response = api.getRepositoryMetadata(repository); - // TODO: test validations - } - - /** - * list repositories - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void listRepositoriesTest() throws ApiException { - String prefix = null; - String after = null; - Integer amount = null; - RepositoryList response = api.listRepositories(prefix, after, amount); - // TODO: test validations - } - - /** - * Status of a restore request - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void restoreStatusTest() throws ApiException { - String repository = null; - String taskId = null; - RepositoryRestoreStatus response = api.restoreStatus(repository, taskId); - // TODO: test validations - } - - /** - * Restore repository from a dump in the object store - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void restoreSubmitTest() throws ApiException { - String repository = null; - RefsRestore refsRestore = null; - TaskInfo response = api.restoreSubmit(repository, refsRestore); - // TODO: test validations - } - - /** - * - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void setBranchProtectionRulesTest() throws ApiException { - String repository = null; - List branchProtectionRule = null; - String ifMatch = null; - api.setBranchProtectionRules(repository, branchProtectionRule, ifMatch); - // TODO: test validations - } - - /** - * - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void setGCRulesTest() throws ApiException { - String repository = null; - GarbageCollectionRules garbageCollectionRules = null; - api.setGCRules(repository, garbageCollectionRules); - // TODO: test validations - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/StagingApiTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/StagingApiTest.java deleted file mode 100644 index 7330716895e..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/StagingApiTest.java +++ /dev/null @@ -1,75 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api; - -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.model.Error; -import io.lakefs.clients.api.model.ObjectStats; -import io.lakefs.clients.api.model.StagingLocation; -import io.lakefs.clients.api.model.StagingMetadata; -import org.junit.Test; -import org.junit.Ignore; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -/** - * API tests for StagingApi - */ -@Ignore -public class StagingApiTest { - - private final StagingApi api = new StagingApi(); - - - /** - * generate an address to which the client can upload an object - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void getPhysicalAddressTest() throws ApiException { - String repository = null; - String branch = null; - String path = null; - Boolean presign = null; - StagingLocation response = api.getPhysicalAddress(repository, branch, path, presign); - // TODO: test validations - } - - /** - * associate staging on this physical address with a path - * - * Link the physical address with the path in lakeFS, creating an uncommitted change. The given address can be one generated by getPhysicalAddress, or an address outside the repository's storage namespace. - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void linkPhysicalAddressTest() throws ApiException { - String repository = null; - String branch = null; - String path = null; - StagingMetadata stagingMetadata = null; - String ifNoneMatch = null; - ObjectStats response = api.linkPhysicalAddress(repository, branch, path, stagingMetadata, ifNoneMatch); - // TODO: test validations - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/TagsApiTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/TagsApiTest.java deleted file mode 100644 index df5be0d1da9..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/TagsApiTest.java +++ /dev/null @@ -1,105 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api; - -import io.lakefs.clients.api.ApiException; -import io.lakefs.clients.api.model.Error; -import io.lakefs.clients.api.model.Ref; -import io.lakefs.clients.api.model.RefList; -import io.lakefs.clients.api.model.TagCreation; -import org.junit.Test; -import org.junit.Ignore; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -/** - * API tests for TagsApi - */ -@Ignore -public class TagsApiTest { - - private final TagsApi api = new TagsApi(); - - - /** - * create tag - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void createTagTest() throws ApiException { - String repository = null; - TagCreation tagCreation = null; - Ref response = api.createTag(repository, tagCreation); - // TODO: test validations - } - - /** - * delete tag - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void deleteTagTest() throws ApiException { - String repository = null; - String tag = null; - Boolean force = null; - api.deleteTag(repository, tag, force); - // TODO: test validations - } - - /** - * get tag - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void getTagTest() throws ApiException { - String repository = null; - String tag = null; - Ref response = api.getTag(repository, tag); - // TODO: test validations - } - - /** - * list tags - * - * - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void listTagsTest() throws ApiException { - String repository = null; - String prefix = null; - String after = null; - Integer amount = null; - RefList response = api.listTags(repository, prefix, after, amount); - // TODO: test validations - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/ACLTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/ACLTest.java deleted file mode 100644 index 27b01591033..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/ACLTest.java +++ /dev/null @@ -1,51 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for ACL - */ -public class ACLTest { - private final ACL model = new ACL(); - - /** - * Model tests for ACL - */ - @Test - public void testACL() { - // TODO: test ACL - } - - /** - * Test the property 'permission' - */ - @Test - public void permissionTest() { - // TODO: test permission - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/AbortPresignMultipartUploadTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/AbortPresignMultipartUploadTest.java deleted file mode 100644 index 3d19207ab41..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/AbortPresignMultipartUploadTest.java +++ /dev/null @@ -1,51 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for AbortPresignMultipartUpload - */ -public class AbortPresignMultipartUploadTest { - private final AbortPresignMultipartUpload model = new AbortPresignMultipartUpload(); - - /** - * Model tests for AbortPresignMultipartUpload - */ - @Test - public void testAbortPresignMultipartUpload() { - // TODO: test AbortPresignMultipartUpload - } - - /** - * Test the property 'physicalAddress' - */ - @Test - public void physicalAddressTest() { - // TODO: test physicalAddress - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/AccessKeyCredentialsTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/AccessKeyCredentialsTest.java deleted file mode 100644 index 4579ade1bbf..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/AccessKeyCredentialsTest.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for AccessKeyCredentials - */ -public class AccessKeyCredentialsTest { - private final AccessKeyCredentials model = new AccessKeyCredentials(); - - /** - * Model tests for AccessKeyCredentials - */ - @Test - public void testAccessKeyCredentials() { - // TODO: test AccessKeyCredentials - } - - /** - * Test the property 'accessKeyId' - */ - @Test - public void accessKeyIdTest() { - // TODO: test accessKeyId - } - - /** - * Test the property 'secretAccessKey' - */ - @Test - public void secretAccessKeyTest() { - // TODO: test secretAccessKey - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/ActionRunListTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/ActionRunListTest.java deleted file mode 100644 index c3a2535786e..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/ActionRunListTest.java +++ /dev/null @@ -1,63 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.lakefs.clients.api.model.ActionRun; -import io.lakefs.clients.api.model.Pagination; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for ActionRunList - */ -public class ActionRunListTest { - private final ActionRunList model = new ActionRunList(); - - /** - * Model tests for ActionRunList - */ - @Test - public void testActionRunList() { - // TODO: test ActionRunList - } - - /** - * Test the property 'pagination' - */ - @Test - public void paginationTest() { - // TODO: test pagination - } - - /** - * Test the property 'results' - */ - @Test - public void resultsTest() { - // TODO: test results - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/ActionRunTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/ActionRunTest.java deleted file mode 100644 index 39f6276d987..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/ActionRunTest.java +++ /dev/null @@ -1,100 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.threeten.bp.OffsetDateTime; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for ActionRun - */ -public class ActionRunTest { - private final ActionRun model = new ActionRun(); - - /** - * Model tests for ActionRun - */ - @Test - public void testActionRun() { - // TODO: test ActionRun - } - - /** - * Test the property 'runId' - */ - @Test - public void runIdTest() { - // TODO: test runId - } - - /** - * Test the property 'branch' - */ - @Test - public void branchTest() { - // TODO: test branch - } - - /** - * Test the property 'startTime' - */ - @Test - public void startTimeTest() { - // TODO: test startTime - } - - /** - * Test the property 'endTime' - */ - @Test - public void endTimeTest() { - // TODO: test endTime - } - - /** - * Test the property 'eventType' - */ - @Test - public void eventTypeTest() { - // TODO: test eventType - } - - /** - * Test the property 'status' - */ - @Test - public void statusTest() { - // TODO: test status - } - - /** - * Test the property 'commitId' - */ - @Test - public void commitIdTest() { - // TODO: test commitId - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/AuthCapabilitiesTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/AuthCapabilitiesTest.java deleted file mode 100644 index 307204b8d2e..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/AuthCapabilitiesTest.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for AuthCapabilities - */ -public class AuthCapabilitiesTest { - private final AuthCapabilities model = new AuthCapabilities(); - - /** - * Model tests for AuthCapabilities - */ - @Test - public void testAuthCapabilities() { - // TODO: test AuthCapabilities - } - - /** - * Test the property 'inviteUser' - */ - @Test - public void inviteUserTest() { - // TODO: test inviteUser - } - - /** - * Test the property 'forgotPassword' - */ - @Test - public void forgotPasswordTest() { - // TODO: test forgotPassword - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/AuthenticationTokenTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/AuthenticationTokenTest.java deleted file mode 100644 index 6f5ad48683e..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/AuthenticationTokenTest.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for AuthenticationToken - */ -public class AuthenticationTokenTest { - private final AuthenticationToken model = new AuthenticationToken(); - - /** - * Model tests for AuthenticationToken - */ - @Test - public void testAuthenticationToken() { - // TODO: test AuthenticationToken - } - - /** - * Test the property 'token' - */ - @Test - public void tokenTest() { - // TODO: test token - } - - /** - * Test the property 'tokenExpiration' - */ - @Test - public void tokenExpirationTest() { - // TODO: test tokenExpiration - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/BranchCreationTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/BranchCreationTest.java deleted file mode 100644 index fdcfef6b6a2..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/BranchCreationTest.java +++ /dev/null @@ -1,67 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for BranchCreation - */ -public class BranchCreationTest { - private final BranchCreation model = new BranchCreation(); - - /** - * Model tests for BranchCreation - */ - @Test - public void testBranchCreation() { - // TODO: test BranchCreation - } - - /** - * Test the property 'name' - */ - @Test - public void nameTest() { - // TODO: test name - } - - /** - * Test the property 'source' - */ - @Test - public void sourceTest() { - // TODO: test source - } - - /** - * Test the property 'force' - */ - @Test - public void forceTest() { - // TODO: test force - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/BranchProtectionRuleTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/BranchProtectionRuleTest.java deleted file mode 100644 index 8ea9d895144..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/BranchProtectionRuleTest.java +++ /dev/null @@ -1,51 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for BranchProtectionRule - */ -public class BranchProtectionRuleTest { - private final BranchProtectionRule model = new BranchProtectionRule(); - - /** - * Model tests for BranchProtectionRule - */ - @Test - public void testBranchProtectionRule() { - // TODO: test BranchProtectionRule - } - - /** - * Test the property 'pattern' - */ - @Test - public void patternTest() { - // TODO: test pattern - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/CherryPickCreationTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/CherryPickCreationTest.java deleted file mode 100644 index 7124e150532..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/CherryPickCreationTest.java +++ /dev/null @@ -1,76 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.lakefs.clients.api.model.CommitOverrides; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for CherryPickCreation - */ -public class CherryPickCreationTest { - private final CherryPickCreation model = new CherryPickCreation(); - - /** - * Model tests for CherryPickCreation - */ - @Test - public void testCherryPickCreation() { - // TODO: test CherryPickCreation - } - - /** - * Test the property 'ref' - */ - @Test - public void refTest() { - // TODO: test ref - } - - /** - * Test the property 'parentNumber' - */ - @Test - public void parentNumberTest() { - // TODO: test parentNumber - } - - /** - * Test the property 'commitOverrides' - */ - @Test - public void commitOverridesTest() { - // TODO: test commitOverrides - } - - /** - * Test the property 'force' - */ - @Test - public void forceTest() { - // TODO: test force - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/CommPrefsInputTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/CommPrefsInputTest.java deleted file mode 100644 index 9f70f60dda9..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/CommPrefsInputTest.java +++ /dev/null @@ -1,67 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for CommPrefsInput - */ -public class CommPrefsInputTest { - private final CommPrefsInput model = new CommPrefsInput(); - - /** - * Model tests for CommPrefsInput - */ - @Test - public void testCommPrefsInput() { - // TODO: test CommPrefsInput - } - - /** - * Test the property 'email' - */ - @Test - public void emailTest() { - // TODO: test email - } - - /** - * Test the property 'featureUpdates' - */ - @Test - public void featureUpdatesTest() { - // TODO: test featureUpdates - } - - /** - * Test the property 'securityUpdates' - */ - @Test - public void securityUpdatesTest() { - // TODO: test securityUpdates - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/CommitCreationTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/CommitCreationTest.java deleted file mode 100644 index fb2a8071a6e..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/CommitCreationTest.java +++ /dev/null @@ -1,86 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for CommitCreation - */ -public class CommitCreationTest { - private final CommitCreation model = new CommitCreation(); - - /** - * Model tests for CommitCreation - */ - @Test - public void testCommitCreation() { - // TODO: test CommitCreation - } - - /** - * Test the property 'message' - */ - @Test - public void messageTest() { - // TODO: test message - } - - /** - * Test the property 'metadata' - */ - @Test - public void metadataTest() { - // TODO: test metadata - } - - /** - * Test the property 'date' - */ - @Test - public void dateTest() { - // TODO: test date - } - - /** - * Test the property 'allowEmpty' - */ - @Test - public void allowEmptyTest() { - // TODO: test allowEmpty - } - - /** - * Test the property 'force' - */ - @Test - public void forceTest() { - // TODO: test force - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/CommitListTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/CommitListTest.java deleted file mode 100644 index 6ee641a7fdd..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/CommitListTest.java +++ /dev/null @@ -1,63 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.lakefs.clients.api.model.Commit; -import io.lakefs.clients.api.model.Pagination; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for CommitList - */ -public class CommitListTest { - private final CommitList model = new CommitList(); - - /** - * Model tests for CommitList - */ - @Test - public void testCommitList() { - // TODO: test CommitList - } - - /** - * Test the property 'pagination' - */ - @Test - public void paginationTest() { - // TODO: test pagination - } - - /** - * Test the property 'results' - */ - @Test - public void resultsTest() { - // TODO: test results - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/CommitOverridesTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/CommitOverridesTest.java deleted file mode 100644 index 2e07807a5ac..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/CommitOverridesTest.java +++ /dev/null @@ -1,62 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for CommitOverrides - */ -public class CommitOverridesTest { - private final CommitOverrides model = new CommitOverrides(); - - /** - * Model tests for CommitOverrides - */ - @Test - public void testCommitOverrides() { - // TODO: test CommitOverrides - } - - /** - * Test the property 'message' - */ - @Test - public void messageTest() { - // TODO: test message - } - - /** - * Test the property 'metadata' - */ - @Test - public void metadataTest() { - // TODO: test metadata - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/CommitRecordCreationTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/CommitRecordCreationTest.java deleted file mode 100644 index 80e588338f5..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/CommitRecordCreationTest.java +++ /dev/null @@ -1,127 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for CommitRecordCreation - */ -public class CommitRecordCreationTest { - private final CommitRecordCreation model = new CommitRecordCreation(); - - /** - * Model tests for CommitRecordCreation - */ - @Test - public void testCommitRecordCreation() { - // TODO: test CommitRecordCreation - } - - /** - * Test the property 'commitId' - */ - @Test - public void commitIdTest() { - // TODO: test commitId - } - - /** - * Test the property 'version' - */ - @Test - public void versionTest() { - // TODO: test version - } - - /** - * Test the property 'committer' - */ - @Test - public void committerTest() { - // TODO: test committer - } - - /** - * Test the property 'message' - */ - @Test - public void messageTest() { - // TODO: test message - } - - /** - * Test the property 'metarangeId' - */ - @Test - public void metarangeIdTest() { - // TODO: test metarangeId - } - - /** - * Test the property 'creationDate' - */ - @Test - public void creationDateTest() { - // TODO: test creationDate - } - - /** - * Test the property 'parents' - */ - @Test - public void parentsTest() { - // TODO: test parents - } - - /** - * Test the property 'metadata' - */ - @Test - public void metadataTest() { - // TODO: test metadata - } - - /** - * Test the property 'generation' - */ - @Test - public void generationTest() { - // TODO: test generation - } - - /** - * Test the property 'force' - */ - @Test - public void forceTest() { - // TODO: test force - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/CommitTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/CommitTest.java deleted file mode 100644 index 936ecacc6f1..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/CommitTest.java +++ /dev/null @@ -1,119 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for Commit - */ -public class CommitTest { - private final Commit model = new Commit(); - - /** - * Model tests for Commit - */ - @Test - public void testCommit() { - // TODO: test Commit - } - - /** - * Test the property 'id' - */ - @Test - public void idTest() { - // TODO: test id - } - - /** - * Test the property 'parents' - */ - @Test - public void parentsTest() { - // TODO: test parents - } - - /** - * Test the property 'committer' - */ - @Test - public void committerTest() { - // TODO: test committer - } - - /** - * Test the property 'message' - */ - @Test - public void messageTest() { - // TODO: test message - } - - /** - * Test the property 'creationDate' - */ - @Test - public void creationDateTest() { - // TODO: test creationDate - } - - /** - * Test the property 'metaRangeId' - */ - @Test - public void metaRangeIdTest() { - // TODO: test metaRangeId - } - - /** - * Test the property 'metadata' - */ - @Test - public void metadataTest() { - // TODO: test metadata - } - - /** - * Test the property 'generation' - */ - @Test - public void generationTest() { - // TODO: test generation - } - - /** - * Test the property 'version' - */ - @Test - public void versionTest() { - // TODO: test version - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/CompletePresignMultipartUploadTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/CompletePresignMultipartUploadTest.java deleted file mode 100644 index 0d2330f9426..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/CompletePresignMultipartUploadTest.java +++ /dev/null @@ -1,80 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.lakefs.clients.api.model.UploadPart; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for CompletePresignMultipartUpload - */ -public class CompletePresignMultipartUploadTest { - private final CompletePresignMultipartUpload model = new CompletePresignMultipartUpload(); - - /** - * Model tests for CompletePresignMultipartUpload - */ - @Test - public void testCompletePresignMultipartUpload() { - // TODO: test CompletePresignMultipartUpload - } - - /** - * Test the property 'physicalAddress' - */ - @Test - public void physicalAddressTest() { - // TODO: test physicalAddress - } - - /** - * Test the property 'parts' - */ - @Test - public void partsTest() { - // TODO: test parts - } - - /** - * Test the property 'userMetadata' - */ - @Test - public void userMetadataTest() { - // TODO: test userMetadata - } - - /** - * Test the property 'contentType' - */ - @Test - public void contentTypeTest() { - // TODO: test contentType - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/ConfigTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/ConfigTest.java deleted file mode 100644 index a432a3ea61c..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/ConfigTest.java +++ /dev/null @@ -1,61 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.lakefs.clients.api.model.StorageConfig; -import io.lakefs.clients.api.model.VersionConfig; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for Config - */ -public class ConfigTest { - private final Config model = new Config(); - - /** - * Model tests for Config - */ - @Test - public void testConfig() { - // TODO: test Config - } - - /** - * Test the property 'versionConfig' - */ - @Test - public void versionConfigTest() { - // TODO: test versionConfig - } - - /** - * Test the property 'storageConfig' - */ - @Test - public void storageConfigTest() { - // TODO: test storageConfig - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/CredentialsListTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/CredentialsListTest.java deleted file mode 100644 index 47cef6d28bf..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/CredentialsListTest.java +++ /dev/null @@ -1,63 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.lakefs.clients.api.model.Credentials; -import io.lakefs.clients.api.model.Pagination; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for CredentialsList - */ -public class CredentialsListTest { - private final CredentialsList model = new CredentialsList(); - - /** - * Model tests for CredentialsList - */ - @Test - public void testCredentialsList() { - // TODO: test CredentialsList - } - - /** - * Test the property 'pagination' - */ - @Test - public void paginationTest() { - // TODO: test pagination - } - - /** - * Test the property 'results' - */ - @Test - public void resultsTest() { - // TODO: test results - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/CredentialsTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/CredentialsTest.java deleted file mode 100644 index b1ed7657ff7..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/CredentialsTest.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for Credentials - */ -public class CredentialsTest { - private final Credentials model = new Credentials(); - - /** - * Model tests for Credentials - */ - @Test - public void testCredentials() { - // TODO: test Credentials - } - - /** - * Test the property 'accessKeyId' - */ - @Test - public void accessKeyIdTest() { - // TODO: test accessKeyId - } - - /** - * Test the property 'creationDate' - */ - @Test - public void creationDateTest() { - // TODO: test creationDate - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/CredentialsWithSecretTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/CredentialsWithSecretTest.java deleted file mode 100644 index bd4c2817aae..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/CredentialsWithSecretTest.java +++ /dev/null @@ -1,67 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for CredentialsWithSecret - */ -public class CredentialsWithSecretTest { - private final CredentialsWithSecret model = new CredentialsWithSecret(); - - /** - * Model tests for CredentialsWithSecret - */ - @Test - public void testCredentialsWithSecret() { - // TODO: test CredentialsWithSecret - } - - /** - * Test the property 'accessKeyId' - */ - @Test - public void accessKeyIdTest() { - // TODO: test accessKeyId - } - - /** - * Test the property 'secretAccessKey' - */ - @Test - public void secretAccessKeyTest() { - // TODO: test secretAccessKey - } - - /** - * Test the property 'creationDate' - */ - @Test - public void creationDateTest() { - // TODO: test creationDate - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/CurrentUserTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/CurrentUserTest.java deleted file mode 100644 index 0caf6c419a8..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/CurrentUserTest.java +++ /dev/null @@ -1,52 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.lakefs.clients.api.model.User; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for CurrentUser - */ -public class CurrentUserTest { - private final CurrentUser model = new CurrentUser(); - - /** - * Model tests for CurrentUser - */ - @Test - public void testCurrentUser() { - // TODO: test CurrentUser - } - - /** - * Test the property 'user' - */ - @Test - public void userTest() { - // TODO: test user - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/DiffListTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/DiffListTest.java deleted file mode 100644 index 9842897b6b0..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/DiffListTest.java +++ /dev/null @@ -1,63 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.lakefs.clients.api.model.Diff; -import io.lakefs.clients.api.model.Pagination; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for DiffList - */ -public class DiffListTest { - private final DiffList model = new DiffList(); - - /** - * Model tests for DiffList - */ - @Test - public void testDiffList() { - // TODO: test DiffList - } - - /** - * Test the property 'pagination' - */ - @Test - public void paginationTest() { - // TODO: test pagination - } - - /** - * Test the property 'results' - */ - @Test - public void resultsTest() { - // TODO: test results - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/DiffTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/DiffTest.java deleted file mode 100644 index a6c42c55be5..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/DiffTest.java +++ /dev/null @@ -1,75 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for Diff - */ -public class DiffTest { - private final Diff model = new Diff(); - - /** - * Model tests for Diff - */ - @Test - public void testDiff() { - // TODO: test Diff - } - - /** - * Test the property 'type' - */ - @Test - public void typeTest() { - // TODO: test type - } - - /** - * Test the property 'path' - */ - @Test - public void pathTest() { - // TODO: test path - } - - /** - * Test the property 'pathType' - */ - @Test - public void pathTypeTest() { - // TODO: test pathType - } - - /** - * Test the property 'sizeBytes' - */ - @Test - public void sizeBytesTest() { - // TODO: test sizeBytes - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/ErrorNoACLTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/ErrorNoACLTest.java deleted file mode 100644 index 17c0420a51a..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/ErrorNoACLTest.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for ErrorNoACL - */ -public class ErrorNoACLTest { - private final ErrorNoACL model = new ErrorNoACL(); - - /** - * Model tests for ErrorNoACL - */ - @Test - public void testErrorNoACL() { - // TODO: test ErrorNoACL - } - - /** - * Test the property 'message' - */ - @Test - public void messageTest() { - // TODO: test message - } - - /** - * Test the property 'noAcl' - */ - @Test - public void noAclTest() { - // TODO: test noAcl - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/ErrorTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/ErrorTest.java deleted file mode 100644 index c36a343eb06..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/ErrorTest.java +++ /dev/null @@ -1,51 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for Error - */ -public class ErrorTest { - private final Error model = new Error(); - - /** - * Model tests for Error - */ - @Test - public void testError() { - // TODO: test Error - } - - /** - * Test the property 'message' - */ - @Test - public void messageTest() { - // TODO: test message - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/ExternalLoginInformationTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/ExternalLoginInformationTest.java deleted file mode 100644 index 87e3a49590d..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/ExternalLoginInformationTest.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for ExternalLoginInformation - */ -public class ExternalLoginInformationTest { - private final ExternalLoginInformation model = new ExternalLoginInformation(); - - /** - * Model tests for ExternalLoginInformation - */ - @Test - public void testExternalLoginInformation() { - // TODO: test ExternalLoginInformation - } - - /** - * Test the property 'tokenExpirationDuration' - */ - @Test - public void tokenExpirationDurationTest() { - // TODO: test tokenExpirationDuration - } - - /** - * Test the property 'identityRequest' - */ - @Test - public void identityRequestTest() { - // TODO: test identityRequest - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/ExternalPrincipalCreationTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/ExternalPrincipalCreationTest.java deleted file mode 100644 index 807c66ac6c2..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/ExternalPrincipalCreationTest.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; -import java.util.Map; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for ExternalPrincipalCreation - */ -public class ExternalPrincipalCreationTest { - private final ExternalPrincipalCreation model = new ExternalPrincipalCreation(); - - /** - * Model tests for ExternalPrincipalCreation - */ - @Test - public void testExternalPrincipalCreation() { - // TODO: test ExternalPrincipalCreation - } - - /** - * Test the property 'settings' - */ - @Test - public void settingsTest() { - // TODO: test settings - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/ExternalPrincipalListTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/ExternalPrincipalListTest.java deleted file mode 100644 index f2715b63793..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/ExternalPrincipalListTest.java +++ /dev/null @@ -1,63 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.lakefs.clients.api.model.ExternalPrincipal; -import io.lakefs.clients.api.model.Pagination; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for ExternalPrincipalList - */ -public class ExternalPrincipalListTest { - private final ExternalPrincipalList model = new ExternalPrincipalList(); - - /** - * Model tests for ExternalPrincipalList - */ - @Test - public void testExternalPrincipalList() { - // TODO: test ExternalPrincipalList - } - - /** - * Test the property 'pagination' - */ - @Test - public void paginationTest() { - // TODO: test pagination - } - - /** - * Test the property 'results' - */ - @Test - public void resultsTest() { - // TODO: test results - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/ExternalPrincipalTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/ExternalPrincipalTest.java deleted file mode 100644 index b3325b9aaac..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/ExternalPrincipalTest.java +++ /dev/null @@ -1,70 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; -import java.util.Map; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for ExternalPrincipal - */ -public class ExternalPrincipalTest { - private final ExternalPrincipal model = new ExternalPrincipal(); - - /** - * Model tests for ExternalPrincipal - */ - @Test - public void testExternalPrincipal() { - // TODO: test ExternalPrincipal - } - - /** - * Test the property 'id' - */ - @Test - public void idTest() { - // TODO: test id - } - - /** - * Test the property 'userId' - */ - @Test - public void userIdTest() { - // TODO: test userId - } - - /** - * Test the property 'settings' - */ - @Test - public void settingsTest() { - // TODO: test settings - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/FindMergeBaseResultTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/FindMergeBaseResultTest.java deleted file mode 100644 index 797d32a8268..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/FindMergeBaseResultTest.java +++ /dev/null @@ -1,67 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for FindMergeBaseResult - */ -public class FindMergeBaseResultTest { - private final FindMergeBaseResult model = new FindMergeBaseResult(); - - /** - * Model tests for FindMergeBaseResult - */ - @Test - public void testFindMergeBaseResult() { - // TODO: test FindMergeBaseResult - } - - /** - * Test the property 'sourceCommitId' - */ - @Test - public void sourceCommitIdTest() { - // TODO: test sourceCommitId - } - - /** - * Test the property 'destinationCommitId' - */ - @Test - public void destinationCommitIdTest() { - // TODO: test destinationCommitId - } - - /** - * Test the property 'baseCommitId' - */ - @Test - public void baseCommitIdTest() { - // TODO: test baseCommitId - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/GarbageCollectionConfigTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/GarbageCollectionConfigTest.java deleted file mode 100644 index 9931abf07ad..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/GarbageCollectionConfigTest.java +++ /dev/null @@ -1,51 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for GarbageCollectionConfig - */ -public class GarbageCollectionConfigTest { - private final GarbageCollectionConfig model = new GarbageCollectionConfig(); - - /** - * Model tests for GarbageCollectionConfig - */ - @Test - public void testGarbageCollectionConfig() { - // TODO: test GarbageCollectionConfig - } - - /** - * Test the property 'gracePeriod' - */ - @Test - public void gracePeriodTest() { - // TODO: test gracePeriod - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/GarbageCollectionPrepareResponseTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/GarbageCollectionPrepareResponseTest.java deleted file mode 100644 index 492fce51ab2..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/GarbageCollectionPrepareResponseTest.java +++ /dev/null @@ -1,75 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for GarbageCollectionPrepareResponse - */ -public class GarbageCollectionPrepareResponseTest { - private final GarbageCollectionPrepareResponse model = new GarbageCollectionPrepareResponse(); - - /** - * Model tests for GarbageCollectionPrepareResponse - */ - @Test - public void testGarbageCollectionPrepareResponse() { - // TODO: test GarbageCollectionPrepareResponse - } - - /** - * Test the property 'runId' - */ - @Test - public void runIdTest() { - // TODO: test runId - } - - /** - * Test the property 'gcCommitsLocation' - */ - @Test - public void gcCommitsLocationTest() { - // TODO: test gcCommitsLocation - } - - /** - * Test the property 'gcAddressesLocation' - */ - @Test - public void gcAddressesLocationTest() { - // TODO: test gcAddressesLocation - } - - /** - * Test the property 'gcCommitsPresignedUrl' - */ - @Test - public void gcCommitsPresignedUrlTest() { - // TODO: test gcCommitsPresignedUrl - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/GarbageCollectionRuleTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/GarbageCollectionRuleTest.java deleted file mode 100644 index 9b70984d604..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/GarbageCollectionRuleTest.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for GarbageCollectionRule - */ -public class GarbageCollectionRuleTest { - private final GarbageCollectionRule model = new GarbageCollectionRule(); - - /** - * Model tests for GarbageCollectionRule - */ - @Test - public void testGarbageCollectionRule() { - // TODO: test GarbageCollectionRule - } - - /** - * Test the property 'branchId' - */ - @Test - public void branchIdTest() { - // TODO: test branchId - } - - /** - * Test the property 'retentionDays' - */ - @Test - public void retentionDaysTest() { - // TODO: test retentionDays - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/GarbageCollectionRulesTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/GarbageCollectionRulesTest.java deleted file mode 100644 index 6e44e3450d9..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/GarbageCollectionRulesTest.java +++ /dev/null @@ -1,62 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.lakefs.clients.api.model.GarbageCollectionRule; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for GarbageCollectionRules - */ -public class GarbageCollectionRulesTest { - private final GarbageCollectionRules model = new GarbageCollectionRules(); - - /** - * Model tests for GarbageCollectionRules - */ - @Test - public void testGarbageCollectionRules() { - // TODO: test GarbageCollectionRules - } - - /** - * Test the property 'defaultRetentionDays' - */ - @Test - public void defaultRetentionDaysTest() { - // TODO: test defaultRetentionDays - } - - /** - * Test the property 'branches' - */ - @Test - public void branchesTest() { - // TODO: test branches - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/GroupCreationTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/GroupCreationTest.java deleted file mode 100644 index bd81b881ff7..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/GroupCreationTest.java +++ /dev/null @@ -1,51 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for GroupCreation - */ -public class GroupCreationTest { - private final GroupCreation model = new GroupCreation(); - - /** - * Model tests for GroupCreation - */ - @Test - public void testGroupCreation() { - // TODO: test GroupCreation - } - - /** - * Test the property 'id' - */ - @Test - public void idTest() { - // TODO: test id - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/GroupListTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/GroupListTest.java deleted file mode 100644 index 742e9f4c352..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/GroupListTest.java +++ /dev/null @@ -1,63 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.lakefs.clients.api.model.Group; -import io.lakefs.clients.api.model.Pagination; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for GroupList - */ -public class GroupListTest { - private final GroupList model = new GroupList(); - - /** - * Model tests for GroupList - */ - @Test - public void testGroupList() { - // TODO: test GroupList - } - - /** - * Test the property 'pagination' - */ - @Test - public void paginationTest() { - // TODO: test pagination - } - - /** - * Test the property 'results' - */ - @Test - public void resultsTest() { - // TODO: test results - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/GroupTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/GroupTest.java deleted file mode 100644 index d11df94491a..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/GroupTest.java +++ /dev/null @@ -1,67 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for Group - */ -public class GroupTest { - private final Group model = new Group(); - - /** - * Model tests for Group - */ - @Test - public void testGroup() { - // TODO: test Group - } - - /** - * Test the property 'id' - */ - @Test - public void idTest() { - // TODO: test id - } - - /** - * Test the property 'name' - */ - @Test - public void nameTest() { - // TODO: test name - } - - /** - * Test the property 'creationDate' - */ - @Test - public void creationDateTest() { - // TODO: test creationDate - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/HookRunListTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/HookRunListTest.java deleted file mode 100644 index e04bbe22b6e..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/HookRunListTest.java +++ /dev/null @@ -1,63 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.lakefs.clients.api.model.HookRun; -import io.lakefs.clients.api.model.Pagination; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for HookRunList - */ -public class HookRunListTest { - private final HookRunList model = new HookRunList(); - - /** - * Model tests for HookRunList - */ - @Test - public void testHookRunList() { - // TODO: test HookRunList - } - - /** - * Test the property 'pagination' - */ - @Test - public void paginationTest() { - // TODO: test pagination - } - - /** - * Test the property 'results' - */ - @Test - public void resultsTest() { - // TODO: test results - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/HookRunTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/HookRunTest.java deleted file mode 100644 index 348ecf11a53..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/HookRunTest.java +++ /dev/null @@ -1,92 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.threeten.bp.OffsetDateTime; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for HookRun - */ -public class HookRunTest { - private final HookRun model = new HookRun(); - - /** - * Model tests for HookRun - */ - @Test - public void testHookRun() { - // TODO: test HookRun - } - - /** - * Test the property 'hookRunId' - */ - @Test - public void hookRunIdTest() { - // TODO: test hookRunId - } - - /** - * Test the property 'action' - */ - @Test - public void actionTest() { - // TODO: test action - } - - /** - * Test the property 'hookId' - */ - @Test - public void hookIdTest() { - // TODO: test hookId - } - - /** - * Test the property 'startTime' - */ - @Test - public void startTimeTest() { - // TODO: test startTime - } - - /** - * Test the property 'endTime' - */ - @Test - public void endTimeTest() { - // TODO: test endTime - } - - /** - * Test the property 'status' - */ - @Test - public void statusTest() { - // TODO: test status - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/ImportCreationResponseTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/ImportCreationResponseTest.java deleted file mode 100644 index 172627052aa..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/ImportCreationResponseTest.java +++ /dev/null @@ -1,51 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for ImportCreationResponse - */ -public class ImportCreationResponseTest { - private final ImportCreationResponse model = new ImportCreationResponse(); - - /** - * Model tests for ImportCreationResponse - */ - @Test - public void testImportCreationResponse() { - // TODO: test ImportCreationResponse - } - - /** - * Test the property 'id' - */ - @Test - public void idTest() { - // TODO: test id - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/ImportCreationTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/ImportCreationTest.java deleted file mode 100644 index ab6bdce1d15..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/ImportCreationTest.java +++ /dev/null @@ -1,71 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.lakefs.clients.api.model.CommitCreation; -import io.lakefs.clients.api.model.ImportLocation; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for ImportCreation - */ -public class ImportCreationTest { - private final ImportCreation model = new ImportCreation(); - - /** - * Model tests for ImportCreation - */ - @Test - public void testImportCreation() { - // TODO: test ImportCreation - } - - /** - * Test the property 'paths' - */ - @Test - public void pathsTest() { - // TODO: test paths - } - - /** - * Test the property 'commit' - */ - @Test - public void commitTest() { - // TODO: test commit - } - - /** - * Test the property 'force' - */ - @Test - public void forceTest() { - // TODO: test force - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/ImportLocationTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/ImportLocationTest.java deleted file mode 100644 index 684984bfcf3..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/ImportLocationTest.java +++ /dev/null @@ -1,67 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for ImportLocation - */ -public class ImportLocationTest { - private final ImportLocation model = new ImportLocation(); - - /** - * Model tests for ImportLocation - */ - @Test - public void testImportLocation() { - // TODO: test ImportLocation - } - - /** - * Test the property 'type' - */ - @Test - public void typeTest() { - // TODO: test type - } - - /** - * Test the property 'path' - */ - @Test - public void pathTest() { - // TODO: test path - } - - /** - * Test the property 'destination' - */ - @Test - public void destinationTest() { - // TODO: test destination - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/ImportStatusTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/ImportStatusTest.java deleted file mode 100644 index 7c2f8aa7754..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/ImportStatusTest.java +++ /dev/null @@ -1,94 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.lakefs.clients.api.model.Commit; -import io.lakefs.clients.api.model.Error; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.threeten.bp.OffsetDateTime; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for ImportStatus - */ -public class ImportStatusTest { - private final ImportStatus model = new ImportStatus(); - - /** - * Model tests for ImportStatus - */ - @Test - public void testImportStatus() { - // TODO: test ImportStatus - } - - /** - * Test the property 'completed' - */ - @Test - public void completedTest() { - // TODO: test completed - } - - /** - * Test the property 'updateTime' - */ - @Test - public void updateTimeTest() { - // TODO: test updateTime - } - - /** - * Test the property 'ingestedObjects' - */ - @Test - public void ingestedObjectsTest() { - // TODO: test ingestedObjects - } - - /** - * Test the property 'metarangeId' - */ - @Test - public void metarangeIdTest() { - // TODO: test metarangeId - } - - /** - * Test the property 'commit' - */ - @Test - public void commitTest() { - // TODO: test commit - } - - /** - * Test the property 'error' - */ - @Test - public void errorTest() { - // TODO: test error - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/InlineObject1Test.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/InlineObject1Test.java deleted file mode 100644 index c7d760dcfcb..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/InlineObject1Test.java +++ /dev/null @@ -1,51 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for InlineObject1 - */ -public class InlineObject1Test { - private final InlineObject1 model = new InlineObject1(); - - /** - * Model tests for InlineObject1 - */ - @Test - public void testInlineObject1() { - // TODO: test InlineObject1 - } - - /** - * Test the property 'pattern' - */ - @Test - public void patternTest() { - // TODO: test pattern - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/InlineObjectTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/InlineObjectTest.java deleted file mode 100644 index 2917192ecdd..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/InlineObjectTest.java +++ /dev/null @@ -1,52 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.File; -import java.io.IOException; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for InlineObject - */ -public class InlineObjectTest { - private final InlineObject model = new InlineObject(); - - /** - * Model tests for InlineObject - */ - @Test - public void testInlineObject() { - // TODO: test InlineObject - } - - /** - * Test the property 'content' - */ - @Test - public void contentTest() { - // TODO: test content - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/InstallationUsageReportTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/InstallationUsageReportTest.java deleted file mode 100644 index 791c52e745f..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/InstallationUsageReportTest.java +++ /dev/null @@ -1,62 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.lakefs.clients.api.model.UsageReport; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for InstallationUsageReport - */ -public class InstallationUsageReportTest { - private final InstallationUsageReport model = new InstallationUsageReport(); - - /** - * Model tests for InstallationUsageReport - */ - @Test - public void testInstallationUsageReport() { - // TODO: test InstallationUsageReport - } - - /** - * Test the property 'installationId' - */ - @Test - public void installationIdTest() { - // TODO: test installationId - } - - /** - * Test the property 'reports' - */ - @Test - public void reportsTest() { - // TODO: test reports - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/LoginConfigTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/LoginConfigTest.java deleted file mode 100644 index 532b5f5b384..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/LoginConfigTest.java +++ /dev/null @@ -1,101 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for LoginConfig - */ -public class LoginConfigTest { - private final LoginConfig model = new LoginConfig(); - - /** - * Model tests for LoginConfig - */ - @Test - public void testLoginConfig() { - // TODO: test LoginConfig - } - - /** - * Test the property 'RBAC' - */ - @Test - public void RBACTest() { - // TODO: test RBAC - } - - /** - * Test the property 'loginUrl' - */ - @Test - public void loginUrlTest() { - // TODO: test loginUrl - } - - /** - * Test the property 'loginFailedMessage' - */ - @Test - public void loginFailedMessageTest() { - // TODO: test loginFailedMessage - } - - /** - * Test the property 'fallbackLoginUrl' - */ - @Test - public void fallbackLoginUrlTest() { - // TODO: test fallbackLoginUrl - } - - /** - * Test the property 'fallbackLoginLabel' - */ - @Test - public void fallbackLoginLabelTest() { - // TODO: test fallbackLoginLabel - } - - /** - * Test the property 'loginCookieNames' - */ - @Test - public void loginCookieNamesTest() { - // TODO: test loginCookieNames - } - - /** - * Test the property 'logoutUrl' - */ - @Test - public void logoutUrlTest() { - // TODO: test logoutUrl - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/LoginInformationTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/LoginInformationTest.java deleted file mode 100644 index 7b92c775519..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/LoginInformationTest.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for LoginInformation - */ -public class LoginInformationTest { - private final LoginInformation model = new LoginInformation(); - - /** - * Model tests for LoginInformation - */ - @Test - public void testLoginInformation() { - // TODO: test LoginInformation - } - - /** - * Test the property 'accessKeyId' - */ - @Test - public void accessKeyIdTest() { - // TODO: test accessKeyId - } - - /** - * Test the property 'secretAccessKey' - */ - @Test - public void secretAccessKeyTest() { - // TODO: test secretAccessKey - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/MergeResultTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/MergeResultTest.java deleted file mode 100644 index 24d5b54a7bb..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/MergeResultTest.java +++ /dev/null @@ -1,51 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for MergeResult - */ -public class MergeResultTest { - private final MergeResult model = new MergeResult(); - - /** - * Model tests for MergeResult - */ - @Test - public void testMergeResult() { - // TODO: test MergeResult - } - - /** - * Test the property 'reference' - */ - @Test - public void referenceTest() { - // TODO: test reference - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/MergeTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/MergeTest.java deleted file mode 100644 index 1076fb3732c..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/MergeTest.java +++ /dev/null @@ -1,86 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for Merge - */ -public class MergeTest { - private final Merge model = new Merge(); - - /** - * Model tests for Merge - */ - @Test - public void testMerge() { - // TODO: test Merge - } - - /** - * Test the property 'message' - */ - @Test - public void messageTest() { - // TODO: test message - } - - /** - * Test the property 'metadata' - */ - @Test - public void metadataTest() { - // TODO: test metadata - } - - /** - * Test the property 'strategy' - */ - @Test - public void strategyTest() { - // TODO: test strategy - } - - /** - * Test the property 'force' - */ - @Test - public void forceTest() { - // TODO: test force - } - - /** - * Test the property 'allowEmpty' - */ - @Test - public void allowEmptyTest() { - // TODO: test allowEmpty - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/MetaRangeCreationResponseTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/MetaRangeCreationResponseTest.java deleted file mode 100644 index c0a629ad6d5..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/MetaRangeCreationResponseTest.java +++ /dev/null @@ -1,51 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for MetaRangeCreationResponse - */ -public class MetaRangeCreationResponseTest { - private final MetaRangeCreationResponse model = new MetaRangeCreationResponse(); - - /** - * Model tests for MetaRangeCreationResponse - */ - @Test - public void testMetaRangeCreationResponse() { - // TODO: test MetaRangeCreationResponse - } - - /** - * Test the property 'id' - */ - @Test - public void idTest() { - // TODO: test id - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/MetaRangeCreationTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/MetaRangeCreationTest.java deleted file mode 100644 index a0cbf32c83d..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/MetaRangeCreationTest.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.lakefs.clients.api.model.RangeMetadata; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for MetaRangeCreation - */ -public class MetaRangeCreationTest { - private final MetaRangeCreation model = new MetaRangeCreation(); - - /** - * Model tests for MetaRangeCreation - */ - @Test - public void testMetaRangeCreation() { - // TODO: test MetaRangeCreation - } - - /** - * Test the property 'ranges' - */ - @Test - public void rangesTest() { - // TODO: test ranges - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/ObjectCopyCreationTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/ObjectCopyCreationTest.java deleted file mode 100644 index 77d07a4a652..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/ObjectCopyCreationTest.java +++ /dev/null @@ -1,67 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for ObjectCopyCreation - */ -public class ObjectCopyCreationTest { - private final ObjectCopyCreation model = new ObjectCopyCreation(); - - /** - * Model tests for ObjectCopyCreation - */ - @Test - public void testObjectCopyCreation() { - // TODO: test ObjectCopyCreation - } - - /** - * Test the property 'srcPath' - */ - @Test - public void srcPathTest() { - // TODO: test srcPath - } - - /** - * Test the property 'srcRef' - */ - @Test - public void srcRefTest() { - // TODO: test srcRef - } - - /** - * Test the property 'force' - */ - @Test - public void forceTest() { - // TODO: test force - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/ObjectErrorListTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/ObjectErrorListTest.java deleted file mode 100644 index b4c93507992..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/ObjectErrorListTest.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.lakefs.clients.api.model.ObjectError; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for ObjectErrorList - */ -public class ObjectErrorListTest { - private final ObjectErrorList model = new ObjectErrorList(); - - /** - * Model tests for ObjectErrorList - */ - @Test - public void testObjectErrorList() { - // TODO: test ObjectErrorList - } - - /** - * Test the property 'errors' - */ - @Test - public void errorsTest() { - // TODO: test errors - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/ObjectErrorTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/ObjectErrorTest.java deleted file mode 100644 index ed336e9be44..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/ObjectErrorTest.java +++ /dev/null @@ -1,67 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for ObjectError - */ -public class ObjectErrorTest { - private final ObjectError model = new ObjectError(); - - /** - * Model tests for ObjectError - */ - @Test - public void testObjectError() { - // TODO: test ObjectError - } - - /** - * Test the property 'statusCode' - */ - @Test - public void statusCodeTest() { - // TODO: test statusCode - } - - /** - * Test the property 'message' - */ - @Test - public void messageTest() { - // TODO: test message - } - - /** - * Test the property 'path' - */ - @Test - public void pathTest() { - // TODO: test path - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/ObjectStageCreationTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/ObjectStageCreationTest.java deleted file mode 100644 index b80c21a13e5..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/ObjectStageCreationTest.java +++ /dev/null @@ -1,102 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for ObjectStageCreation - */ -public class ObjectStageCreationTest { - private final ObjectStageCreation model = new ObjectStageCreation(); - - /** - * Model tests for ObjectStageCreation - */ - @Test - public void testObjectStageCreation() { - // TODO: test ObjectStageCreation - } - - /** - * Test the property 'physicalAddress' - */ - @Test - public void physicalAddressTest() { - // TODO: test physicalAddress - } - - /** - * Test the property 'checksum' - */ - @Test - public void checksumTest() { - // TODO: test checksum - } - - /** - * Test the property 'sizeBytes' - */ - @Test - public void sizeBytesTest() { - // TODO: test sizeBytes - } - - /** - * Test the property 'mtime' - */ - @Test - public void mtimeTest() { - // TODO: test mtime - } - - /** - * Test the property 'metadata' - */ - @Test - public void metadataTest() { - // TODO: test metadata - } - - /** - * Test the property 'contentType' - */ - @Test - public void contentTypeTest() { - // TODO: test contentType - } - - /** - * Test the property 'force' - */ - @Test - public void forceTest() { - // TODO: test force - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/ObjectStatsListTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/ObjectStatsListTest.java deleted file mode 100644 index cadbddc8808..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/ObjectStatsListTest.java +++ /dev/null @@ -1,63 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.lakefs.clients.api.model.ObjectStats; -import io.lakefs.clients.api.model.Pagination; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for ObjectStatsList - */ -public class ObjectStatsListTest { - private final ObjectStatsList model = new ObjectStatsList(); - - /** - * Model tests for ObjectStatsList - */ - @Test - public void testObjectStatsList() { - // TODO: test ObjectStatsList - } - - /** - * Test the property 'pagination' - */ - @Test - public void paginationTest() { - // TODO: test pagination - } - - /** - * Test the property 'results' - */ - @Test - public void resultsTest() { - // TODO: test results - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/ObjectStatsTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/ObjectStatsTest.java deleted file mode 100644 index 6198ba76683..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/ObjectStatsTest.java +++ /dev/null @@ -1,118 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for ObjectStats - */ -public class ObjectStatsTest { - private final ObjectStats model = new ObjectStats(); - - /** - * Model tests for ObjectStats - */ - @Test - public void testObjectStats() { - // TODO: test ObjectStats - } - - /** - * Test the property 'path' - */ - @Test - public void pathTest() { - // TODO: test path - } - - /** - * Test the property 'pathType' - */ - @Test - public void pathTypeTest() { - // TODO: test pathType - } - - /** - * Test the property 'physicalAddress' - */ - @Test - public void physicalAddressTest() { - // TODO: test physicalAddress - } - - /** - * Test the property 'physicalAddressExpiry' - */ - @Test - public void physicalAddressExpiryTest() { - // TODO: test physicalAddressExpiry - } - - /** - * Test the property 'checksum' - */ - @Test - public void checksumTest() { - // TODO: test checksum - } - - /** - * Test the property 'sizeBytes' - */ - @Test - public void sizeBytesTest() { - // TODO: test sizeBytes - } - - /** - * Test the property 'mtime' - */ - @Test - public void mtimeTest() { - // TODO: test mtime - } - - /** - * Test the property 'metadata' - */ - @Test - public void metadataTest() { - // TODO: test metadata - } - - /** - * Test the property 'contentType' - */ - @Test - public void contentTypeTest() { - // TODO: test contentType - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/PaginationTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/PaginationTest.java deleted file mode 100644 index 78cc300f042..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/PaginationTest.java +++ /dev/null @@ -1,75 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for Pagination - */ -public class PaginationTest { - private final Pagination model = new Pagination(); - - /** - * Model tests for Pagination - */ - @Test - public void testPagination() { - // TODO: test Pagination - } - - /** - * Test the property 'hasMore' - */ - @Test - public void hasMoreTest() { - // TODO: test hasMore - } - - /** - * Test the property 'nextOffset' - */ - @Test - public void nextOffsetTest() { - // TODO: test nextOffset - } - - /** - * Test the property 'results' - */ - @Test - public void resultsTest() { - // TODO: test results - } - - /** - * Test the property 'maxPerPage' - */ - @Test - public void maxPerPageTest() { - // TODO: test maxPerPage - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/PathListTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/PathListTest.java deleted file mode 100644 index ad99eaf7101..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/PathListTest.java +++ /dev/null @@ -1,53 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for PathList - */ -public class PathListTest { - private final PathList model = new PathList(); - - /** - * Model tests for PathList - */ - @Test - public void testPathList() { - // TODO: test PathList - } - - /** - * Test the property 'paths' - */ - @Test - public void pathsTest() { - // TODO: test paths - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/PolicyListTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/PolicyListTest.java deleted file mode 100644 index 396f79d95df..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/PolicyListTest.java +++ /dev/null @@ -1,63 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.lakefs.clients.api.model.Pagination; -import io.lakefs.clients.api.model.Policy; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for PolicyList - */ -public class PolicyListTest { - private final PolicyList model = new PolicyList(); - - /** - * Model tests for PolicyList - */ - @Test - public void testPolicyList() { - // TODO: test PolicyList - } - - /** - * Test the property 'pagination' - */ - @Test - public void paginationTest() { - // TODO: test pagination - } - - /** - * Test the property 'results' - */ - @Test - public void resultsTest() { - // TODO: test results - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/PolicyTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/PolicyTest.java deleted file mode 100644 index 2c52554f7fa..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/PolicyTest.java +++ /dev/null @@ -1,70 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.lakefs.clients.api.model.Statement; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for Policy - */ -public class PolicyTest { - private final Policy model = new Policy(); - - /** - * Model tests for Policy - */ - @Test - public void testPolicy() { - // TODO: test Policy - } - - /** - * Test the property 'id' - */ - @Test - public void idTest() { - // TODO: test id - } - - /** - * Test the property 'creationDate' - */ - @Test - public void creationDateTest() { - // TODO: test creationDate - } - - /** - * Test the property 'statement' - */ - @Test - public void statementTest() { - // TODO: test statement - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/PrepareGCUncommittedRequestTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/PrepareGCUncommittedRequestTest.java deleted file mode 100644 index f0b625fdc87..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/PrepareGCUncommittedRequestTest.java +++ /dev/null @@ -1,51 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for PrepareGCUncommittedRequest - */ -public class PrepareGCUncommittedRequestTest { - private final PrepareGCUncommittedRequest model = new PrepareGCUncommittedRequest(); - - /** - * Model tests for PrepareGCUncommittedRequest - */ - @Test - public void testPrepareGCUncommittedRequest() { - // TODO: test PrepareGCUncommittedRequest - } - - /** - * Test the property 'continuationToken' - */ - @Test - public void continuationTokenTest() { - // TODO: test continuationToken - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/PrepareGCUncommittedResponseTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/PrepareGCUncommittedResponseTest.java deleted file mode 100644 index 228e0ada993..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/PrepareGCUncommittedResponseTest.java +++ /dev/null @@ -1,67 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for PrepareGCUncommittedResponse - */ -public class PrepareGCUncommittedResponseTest { - private final PrepareGCUncommittedResponse model = new PrepareGCUncommittedResponse(); - - /** - * Model tests for PrepareGCUncommittedResponse - */ - @Test - public void testPrepareGCUncommittedResponse() { - // TODO: test PrepareGCUncommittedResponse - } - - /** - * Test the property 'runId' - */ - @Test - public void runIdTest() { - // TODO: test runId - } - - /** - * Test the property 'gcUncommittedLocation' - */ - @Test - public void gcUncommittedLocationTest() { - // TODO: test gcUncommittedLocation - } - - /** - * Test the property 'continuationToken' - */ - @Test - public void continuationTokenTest() { - // TODO: test continuationToken - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/PresignMultipartUploadTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/PresignMultipartUploadTest.java deleted file mode 100644 index ee8022dd627..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/PresignMultipartUploadTest.java +++ /dev/null @@ -1,69 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for PresignMultipartUpload - */ -public class PresignMultipartUploadTest { - private final PresignMultipartUpload model = new PresignMultipartUpload(); - - /** - * Model tests for PresignMultipartUpload - */ - @Test - public void testPresignMultipartUpload() { - // TODO: test PresignMultipartUpload - } - - /** - * Test the property 'uploadId' - */ - @Test - public void uploadIdTest() { - // TODO: test uploadId - } - - /** - * Test the property 'physicalAddress' - */ - @Test - public void physicalAddressTest() { - // TODO: test physicalAddress - } - - /** - * Test the property 'presignedUrls' - */ - @Test - public void presignedUrlsTest() { - // TODO: test presignedUrls - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/PullRequestAllOfTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/PullRequestAllOfTest.java deleted file mode 100644 index ed95d22a163..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/PullRequestAllOfTest.java +++ /dev/null @@ -1,100 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.threeten.bp.OffsetDateTime; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for PullRequestAllOf - */ -public class PullRequestAllOfTest { - private final PullRequestAllOf model = new PullRequestAllOf(); - - /** - * Model tests for PullRequestAllOf - */ - @Test - public void testPullRequestAllOf() { - // TODO: test PullRequestAllOf - } - - /** - * Test the property 'id' - */ - @Test - public void idTest() { - // TODO: test id - } - - /** - * Test the property 'creationDate' - */ - @Test - public void creationDateTest() { - // TODO: test creationDate - } - - /** - * Test the property 'author' - */ - @Test - public void authorTest() { - // TODO: test author - } - - /** - * Test the property 'sourceBranch' - */ - @Test - public void sourceBranchTest() { - // TODO: test sourceBranch - } - - /** - * Test the property 'destinationBranch' - */ - @Test - public void destinationBranchTest() { - // TODO: test destinationBranch - } - - /** - * Test the property 'mergedCommitId' - */ - @Test - public void mergedCommitIdTest() { - // TODO: test mergedCommitId - } - - /** - * Test the property 'closedDate' - */ - @Test - public void closedDateTest() { - // TODO: test closedDate - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/PullRequestBasicTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/PullRequestBasicTest.java deleted file mode 100644 index 39609a09c2c..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/PullRequestBasicTest.java +++ /dev/null @@ -1,67 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for PullRequestBasic - */ -public class PullRequestBasicTest { - private final PullRequestBasic model = new PullRequestBasic(); - - /** - * Model tests for PullRequestBasic - */ - @Test - public void testPullRequestBasic() { - // TODO: test PullRequestBasic - } - - /** - * Test the property 'status' - */ - @Test - public void statusTest() { - // TODO: test status - } - - /** - * Test the property 'title' - */ - @Test - public void titleTest() { - // TODO: test title - } - - /** - * Test the property 'description' - */ - @Test - public void descriptionTest() { - // TODO: test description - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/PullRequestCreationResponseTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/PullRequestCreationResponseTest.java deleted file mode 100644 index cb8b19828d2..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/PullRequestCreationResponseTest.java +++ /dev/null @@ -1,51 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for PullRequestCreationResponse - */ -public class PullRequestCreationResponseTest { - private final PullRequestCreationResponse model = new PullRequestCreationResponse(); - - /** - * Model tests for PullRequestCreationResponse - */ - @Test - public void testPullRequestCreationResponse() { - // TODO: test PullRequestCreationResponse - } - - /** - * Test the property 'id' - */ - @Test - public void idTest() { - // TODO: test id - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/PullRequestCreationTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/PullRequestCreationTest.java deleted file mode 100644 index 8fc46b7ed98..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/PullRequestCreationTest.java +++ /dev/null @@ -1,75 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for PullRequestCreation - */ -public class PullRequestCreationTest { - private final PullRequestCreation model = new PullRequestCreation(); - - /** - * Model tests for PullRequestCreation - */ - @Test - public void testPullRequestCreation() { - // TODO: test PullRequestCreation - } - - /** - * Test the property 'title' - */ - @Test - public void titleTest() { - // TODO: test title - } - - /** - * Test the property 'description' - */ - @Test - public void descriptionTest() { - // TODO: test description - } - - /** - * Test the property 'sourceBranch' - */ - @Test - public void sourceBranchTest() { - // TODO: test sourceBranch - } - - /** - * Test the property 'destinationBranch' - */ - @Test - public void destinationBranchTest() { - // TODO: test destinationBranch - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/PullRequestTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/PullRequestTest.java deleted file mode 100644 index 2a440d46ebb..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/PullRequestTest.java +++ /dev/null @@ -1,126 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.lakefs.clients.api.model.PullRequestAllOf; -import io.lakefs.clients.api.model.PullRequestBasic; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.threeten.bp.OffsetDateTime; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for PullRequest - */ -public class PullRequestTest { - private final PullRequest model = new PullRequest(); - - /** - * Model tests for PullRequest - */ - @Test - public void testPullRequest() { - // TODO: test PullRequest - } - - /** - * Test the property 'status' - */ - @Test - public void statusTest() { - // TODO: test status - } - - /** - * Test the property 'title' - */ - @Test - public void titleTest() { - // TODO: test title - } - - /** - * Test the property 'description' - */ - @Test - public void descriptionTest() { - // TODO: test description - } - - /** - * Test the property 'id' - */ - @Test - public void idTest() { - // TODO: test id - } - - /** - * Test the property 'creationDate' - */ - @Test - public void creationDateTest() { - // TODO: test creationDate - } - - /** - * Test the property 'author' - */ - @Test - public void authorTest() { - // TODO: test author - } - - /** - * Test the property 'sourceBranch' - */ - @Test - public void sourceBranchTest() { - // TODO: test sourceBranch - } - - /** - * Test the property 'destinationBranch' - */ - @Test - public void destinationBranchTest() { - // TODO: test destinationBranch - } - - /** - * Test the property 'mergedCommitId' - */ - @Test - public void mergedCommitIdTest() { - // TODO: test mergedCommitId - } - - /** - * Test the property 'closedDate' - */ - @Test - public void closedDateTest() { - // TODO: test closedDate - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/PullRequestsListTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/PullRequestsListTest.java deleted file mode 100644 index bd2f89e4763..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/PullRequestsListTest.java +++ /dev/null @@ -1,63 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.lakefs.clients.api.model.Pagination; -import io.lakefs.clients.api.model.PullRequest; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for PullRequestsList - */ -public class PullRequestsListTest { - private final PullRequestsList model = new PullRequestsList(); - - /** - * Model tests for PullRequestsList - */ - @Test - public void testPullRequestsList() { - // TODO: test PullRequestsList - } - - /** - * Test the property 'pagination' - */ - @Test - public void paginationTest() { - // TODO: test pagination - } - - /** - * Test the property 'results' - */ - @Test - public void resultsTest() { - // TODO: test results - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/RangeMetadataTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/RangeMetadataTest.java deleted file mode 100644 index 3d782d13cde..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/RangeMetadataTest.java +++ /dev/null @@ -1,83 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for RangeMetadata - */ -public class RangeMetadataTest { - private final RangeMetadata model = new RangeMetadata(); - - /** - * Model tests for RangeMetadata - */ - @Test - public void testRangeMetadata() { - // TODO: test RangeMetadata - } - - /** - * Test the property 'id' - */ - @Test - public void idTest() { - // TODO: test id - } - - /** - * Test the property 'minKey' - */ - @Test - public void minKeyTest() { - // TODO: test minKey - } - - /** - * Test the property 'maxKey' - */ - @Test - public void maxKeyTest() { - // TODO: test maxKey - } - - /** - * Test the property 'count' - */ - @Test - public void countTest() { - // TODO: test count - } - - /** - * Test the property 'estimatedSize' - */ - @Test - public void estimatedSizeTest() { - // TODO: test estimatedSize - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/RefListTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/RefListTest.java deleted file mode 100644 index 918ac0d9acc..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/RefListTest.java +++ /dev/null @@ -1,63 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.lakefs.clients.api.model.Pagination; -import io.lakefs.clients.api.model.Ref; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for RefList - */ -public class RefListTest { - private final RefList model = new RefList(); - - /** - * Model tests for RefList - */ - @Test - public void testRefList() { - // TODO: test RefList - } - - /** - * Test the property 'pagination' - */ - @Test - public void paginationTest() { - // TODO: test pagination - } - - /** - * Test the property 'results' - */ - @Test - public void resultsTest() { - // TODO: test results - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/RefTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/RefTest.java deleted file mode 100644 index 60aeec78486..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/RefTest.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for Ref - */ -public class RefTest { - private final Ref model = new Ref(); - - /** - * Model tests for Ref - */ - @Test - public void testRef() { - // TODO: test Ref - } - - /** - * Test the property 'id' - */ - @Test - public void idTest() { - // TODO: test id - } - - /** - * Test the property 'commitId' - */ - @Test - public void commitIdTest() { - // TODO: test commitId - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/RefsDumpTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/RefsDumpTest.java deleted file mode 100644 index 0d4cc2f5b2c..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/RefsDumpTest.java +++ /dev/null @@ -1,67 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for RefsDump - */ -public class RefsDumpTest { - private final RefsDump model = new RefsDump(); - - /** - * Model tests for RefsDump - */ - @Test - public void testRefsDump() { - // TODO: test RefsDump - } - - /** - * Test the property 'commitsMetaRangeId' - */ - @Test - public void commitsMetaRangeIdTest() { - // TODO: test commitsMetaRangeId - } - - /** - * Test the property 'tagsMetaRangeId' - */ - @Test - public void tagsMetaRangeIdTest() { - // TODO: test tagsMetaRangeId - } - - /** - * Test the property 'branchesMetaRangeId' - */ - @Test - public void branchesMetaRangeIdTest() { - // TODO: test branchesMetaRangeId - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/RefsRestoreTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/RefsRestoreTest.java deleted file mode 100644 index e4112c4292d..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/RefsRestoreTest.java +++ /dev/null @@ -1,75 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for RefsRestore - */ -public class RefsRestoreTest { - private final RefsRestore model = new RefsRestore(); - - /** - * Model tests for RefsRestore - */ - @Test - public void testRefsRestore() { - // TODO: test RefsRestore - } - - /** - * Test the property 'commitsMetaRangeId' - */ - @Test - public void commitsMetaRangeIdTest() { - // TODO: test commitsMetaRangeId - } - - /** - * Test the property 'tagsMetaRangeId' - */ - @Test - public void tagsMetaRangeIdTest() { - // TODO: test tagsMetaRangeId - } - - /** - * Test the property 'branchesMetaRangeId' - */ - @Test - public void branchesMetaRangeIdTest() { - // TODO: test branchesMetaRangeId - } - - /** - * Test the property 'force' - */ - @Test - public void forceTest() { - // TODO: test force - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/RepositoryCreationTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/RepositoryCreationTest.java deleted file mode 100644 index 09fd8ff1aa0..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/RepositoryCreationTest.java +++ /dev/null @@ -1,83 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for RepositoryCreation - */ -public class RepositoryCreationTest { - private final RepositoryCreation model = new RepositoryCreation(); - - /** - * Model tests for RepositoryCreation - */ - @Test - public void testRepositoryCreation() { - // TODO: test RepositoryCreation - } - - /** - * Test the property 'name' - */ - @Test - public void nameTest() { - // TODO: test name - } - - /** - * Test the property 'storageNamespace' - */ - @Test - public void storageNamespaceTest() { - // TODO: test storageNamespace - } - - /** - * Test the property 'defaultBranch' - */ - @Test - public void defaultBranchTest() { - // TODO: test defaultBranch - } - - /** - * Test the property 'sampleData' - */ - @Test - public void sampleDataTest() { - // TODO: test sampleData - } - - /** - * Test the property 'readOnly' - */ - @Test - public void readOnlyTest() { - // TODO: test readOnly - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/RepositoryDumpStatusTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/RepositoryDumpStatusTest.java deleted file mode 100644 index 1637b795b85..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/RepositoryDumpStatusTest.java +++ /dev/null @@ -1,85 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.lakefs.clients.api.model.RefsDump; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.threeten.bp.OffsetDateTime; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for RepositoryDumpStatus - */ -public class RepositoryDumpStatusTest { - private final RepositoryDumpStatus model = new RepositoryDumpStatus(); - - /** - * Model tests for RepositoryDumpStatus - */ - @Test - public void testRepositoryDumpStatus() { - // TODO: test RepositoryDumpStatus - } - - /** - * Test the property 'id' - */ - @Test - public void idTest() { - // TODO: test id - } - - /** - * Test the property 'done' - */ - @Test - public void doneTest() { - // TODO: test done - } - - /** - * Test the property 'updateTime' - */ - @Test - public void updateTimeTest() { - // TODO: test updateTime - } - - /** - * Test the property 'error' - */ - @Test - public void errorTest() { - // TODO: test error - } - - /** - * Test the property 'refs' - */ - @Test - public void refsTest() { - // TODO: test refs - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/RepositoryListTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/RepositoryListTest.java deleted file mode 100644 index 5b700fae6ed..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/RepositoryListTest.java +++ /dev/null @@ -1,63 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.lakefs.clients.api.model.Pagination; -import io.lakefs.clients.api.model.Repository; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for RepositoryList - */ -public class RepositoryListTest { - private final RepositoryList model = new RepositoryList(); - - /** - * Model tests for RepositoryList - */ - @Test - public void testRepositoryList() { - // TODO: test RepositoryList - } - - /** - * Test the property 'pagination' - */ - @Test - public void paginationTest() { - // TODO: test pagination - } - - /** - * Test the property 'results' - */ - @Test - public void resultsTest() { - // TODO: test results - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/RepositoryMetadataKeysTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/RepositoryMetadataKeysTest.java deleted file mode 100644 index 881e50abb8d..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/RepositoryMetadataKeysTest.java +++ /dev/null @@ -1,53 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for RepositoryMetadataKeys - */ -public class RepositoryMetadataKeysTest { - private final RepositoryMetadataKeys model = new RepositoryMetadataKeys(); - - /** - * Model tests for RepositoryMetadataKeys - */ - @Test - public void testRepositoryMetadataKeys() { - // TODO: test RepositoryMetadataKeys - } - - /** - * Test the property 'keys' - */ - @Test - public void keysTest() { - // TODO: test keys - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/RepositoryMetadataSetTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/RepositoryMetadataSetTest.java deleted file mode 100644 index a27407a41e1..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/RepositoryMetadataSetTest.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for RepositoryMetadataSet - */ -public class RepositoryMetadataSetTest { - private final RepositoryMetadataSet model = new RepositoryMetadataSet(); - - /** - * Model tests for RepositoryMetadataSet - */ - @Test - public void testRepositoryMetadataSet() { - // TODO: test RepositoryMetadataSet - } - - /** - * Test the property 'metadata' - */ - @Test - public void metadataTest() { - // TODO: test metadata - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/RepositoryRestoreStatusTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/RepositoryRestoreStatusTest.java deleted file mode 100644 index 64470afc820..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/RepositoryRestoreStatusTest.java +++ /dev/null @@ -1,76 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.threeten.bp.OffsetDateTime; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for RepositoryRestoreStatus - */ -public class RepositoryRestoreStatusTest { - private final RepositoryRestoreStatus model = new RepositoryRestoreStatus(); - - /** - * Model tests for RepositoryRestoreStatus - */ - @Test - public void testRepositoryRestoreStatus() { - // TODO: test RepositoryRestoreStatus - } - - /** - * Test the property 'id' - */ - @Test - public void idTest() { - // TODO: test id - } - - /** - * Test the property 'done' - */ - @Test - public void doneTest() { - // TODO: test done - } - - /** - * Test the property 'updateTime' - */ - @Test - public void updateTimeTest() { - // TODO: test updateTime - } - - /** - * Test the property 'error' - */ - @Test - public void errorTest() { - // TODO: test error - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/RepositoryTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/RepositoryTest.java deleted file mode 100644 index 6433201e018..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/RepositoryTest.java +++ /dev/null @@ -1,83 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for Repository - */ -public class RepositoryTest { - private final Repository model = new Repository(); - - /** - * Model tests for Repository - */ - @Test - public void testRepository() { - // TODO: test Repository - } - - /** - * Test the property 'id' - */ - @Test - public void idTest() { - // TODO: test id - } - - /** - * Test the property 'creationDate' - */ - @Test - public void creationDateTest() { - // TODO: test creationDate - } - - /** - * Test the property 'defaultBranch' - */ - @Test - public void defaultBranchTest() { - // TODO: test defaultBranch - } - - /** - * Test the property 'storageNamespace' - */ - @Test - public void storageNamespaceTest() { - // TODO: test storageNamespace - } - - /** - * Test the property 'readOnly' - */ - @Test - public void readOnlyTest() { - // TODO: test readOnly - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/ResetCreationTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/ResetCreationTest.java deleted file mode 100644 index 1780f476587..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/ResetCreationTest.java +++ /dev/null @@ -1,67 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for ResetCreation - */ -public class ResetCreationTest { - private final ResetCreation model = new ResetCreation(); - - /** - * Model tests for ResetCreation - */ - @Test - public void testResetCreation() { - // TODO: test ResetCreation - } - - /** - * Test the property 'type' - */ - @Test - public void typeTest() { - // TODO: test type - } - - /** - * Test the property 'path' - */ - @Test - public void pathTest() { - // TODO: test path - } - - /** - * Test the property 'force' - */ - @Test - public void forceTest() { - // TODO: test force - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/RevertCreationTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/RevertCreationTest.java deleted file mode 100644 index 5ab945d3e8b..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/RevertCreationTest.java +++ /dev/null @@ -1,84 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.lakefs.clients.api.model.CommitOverrides; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for RevertCreation - */ -public class RevertCreationTest { - private final RevertCreation model = new RevertCreation(); - - /** - * Model tests for RevertCreation - */ - @Test - public void testRevertCreation() { - // TODO: test RevertCreation - } - - /** - * Test the property 'ref' - */ - @Test - public void refTest() { - // TODO: test ref - } - - /** - * Test the property 'commitOverrides' - */ - @Test - public void commitOverridesTest() { - // TODO: test commitOverrides - } - - /** - * Test the property 'parentNumber' - */ - @Test - public void parentNumberTest() { - // TODO: test parentNumber - } - - /** - * Test the property 'force' - */ - @Test - public void forceTest() { - // TODO: test force - } - - /** - * Test the property 'allowEmpty' - */ - @Test - public void allowEmptyTest() { - // TODO: test allowEmpty - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/SetupStateTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/SetupStateTest.java deleted file mode 100644 index 037ecc51240..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/SetupStateTest.java +++ /dev/null @@ -1,68 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.lakefs.clients.api.model.LoginConfig; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for SetupState - */ -public class SetupStateTest { - private final SetupState model = new SetupState(); - - /** - * Model tests for SetupState - */ - @Test - public void testSetupState() { - // TODO: test SetupState - } - - /** - * Test the property 'state' - */ - @Test - public void stateTest() { - // TODO: test state - } - - /** - * Test the property 'commPrefsMissing' - */ - @Test - public void commPrefsMissingTest() { - // TODO: test commPrefsMissing - } - - /** - * Test the property 'loginConfig' - */ - @Test - public void loginConfigTest() { - // TODO: test loginConfig - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/SetupTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/SetupTest.java deleted file mode 100644 index e79b25c9ba3..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/SetupTest.java +++ /dev/null @@ -1,60 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.lakefs.clients.api.model.AccessKeyCredentials; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for Setup - */ -public class SetupTest { - private final Setup model = new Setup(); - - /** - * Model tests for Setup - */ - @Test - public void testSetup() { - // TODO: test Setup - } - - /** - * Test the property 'username' - */ - @Test - public void usernameTest() { - // TODO: test username - } - - /** - * Test the property 'key' - */ - @Test - public void keyTest() { - // TODO: test key - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/StagingLocationTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/StagingLocationTest.java deleted file mode 100644 index c908326be54..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/StagingLocationTest.java +++ /dev/null @@ -1,68 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.openapitools.jackson.nullable.JsonNullable; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for StagingLocation - */ -public class StagingLocationTest { - private final StagingLocation model = new StagingLocation(); - - /** - * Model tests for StagingLocation - */ - @Test - public void testStagingLocation() { - // TODO: test StagingLocation - } - - /** - * Test the property 'physicalAddress' - */ - @Test - public void physicalAddressTest() { - // TODO: test physicalAddress - } - - /** - * Test the property 'presignedUrl' - */ - @Test - public void presignedUrlTest() { - // TODO: test presignedUrl - } - - /** - * Test the property 'presignedUrlExpiry' - */ - @Test - public void presignedUrlExpiryTest() { - // TODO: test presignedUrlExpiry - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/StagingMetadataTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/StagingMetadataTest.java deleted file mode 100644 index 8d25758fd0e..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/StagingMetadataTest.java +++ /dev/null @@ -1,103 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.lakefs.clients.api.model.StagingLocation; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for StagingMetadata - */ -public class StagingMetadataTest { - private final StagingMetadata model = new StagingMetadata(); - - /** - * Model tests for StagingMetadata - */ - @Test - public void testStagingMetadata() { - // TODO: test StagingMetadata - } - - /** - * Test the property 'staging' - */ - @Test - public void stagingTest() { - // TODO: test staging - } - - /** - * Test the property 'checksum' - */ - @Test - public void checksumTest() { - // TODO: test checksum - } - - /** - * Test the property 'sizeBytes' - */ - @Test - public void sizeBytesTest() { - // TODO: test sizeBytes - } - - /** - * Test the property 'userMetadata' - */ - @Test - public void userMetadataTest() { - // TODO: test userMetadata - } - - /** - * Test the property 'contentType' - */ - @Test - public void contentTypeTest() { - // TODO: test contentType - } - - /** - * Test the property 'mtime' - */ - @Test - public void mtimeTest() { - // TODO: test mtime - } - - /** - * Test the property 'force' - */ - @Test - public void forceTest() { - // TODO: test force - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/StatementTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/StatementTest.java deleted file mode 100644 index 4ba85fee7b8..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/StatementTest.java +++ /dev/null @@ -1,69 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for Statement - */ -public class StatementTest { - private final Statement model = new Statement(); - - /** - * Model tests for Statement - */ - @Test - public void testStatement() { - // TODO: test Statement - } - - /** - * Test the property 'effect' - */ - @Test - public void effectTest() { - // TODO: test effect - } - - /** - * Test the property 'resource' - */ - @Test - public void resourceTest() { - // TODO: test resource - } - - /** - * Test the property 'action' - */ - @Test - public void actionTest() { - // TODO: test action - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/StatsEventTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/StatsEventTest.java deleted file mode 100644 index dae18fa00d2..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/StatsEventTest.java +++ /dev/null @@ -1,67 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for StatsEvent - */ -public class StatsEventTest { - private final StatsEvent model = new StatsEvent(); - - /** - * Model tests for StatsEvent - */ - @Test - public void testStatsEvent() { - // TODO: test StatsEvent - } - - /** - * Test the property 'propertyClass' - */ - @Test - public void propertyClassTest() { - // TODO: test propertyClass - } - - /** - * Test the property 'name' - */ - @Test - public void nameTest() { - // TODO: test name - } - - /** - * Test the property 'count' - */ - @Test - public void countTest() { - // TODO: test count - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/StatsEventsListTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/StatsEventsListTest.java deleted file mode 100644 index 65dc5ba2aa7..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/StatsEventsListTest.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.lakefs.clients.api.model.StatsEvent; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for StatsEventsList - */ -public class StatsEventsListTest { - private final StatsEventsList model = new StatsEventsList(); - - /** - * Model tests for StatsEventsList - */ - @Test - public void testStatsEventsList() { - // TODO: test StatsEventsList - } - - /** - * Test the property 'events' - */ - @Test - public void eventsTest() { - // TODO: test events - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/StorageConfigTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/StorageConfigTest.java deleted file mode 100644 index 1e82be83a86..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/StorageConfigTest.java +++ /dev/null @@ -1,115 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for StorageConfig - */ -public class StorageConfigTest { - private final StorageConfig model = new StorageConfig(); - - /** - * Model tests for StorageConfig - */ - @Test - public void testStorageConfig() { - // TODO: test StorageConfig - } - - /** - * Test the property 'blockstoreType' - */ - @Test - public void blockstoreTypeTest() { - // TODO: test blockstoreType - } - - /** - * Test the property 'blockstoreNamespaceExample' - */ - @Test - public void blockstoreNamespaceExampleTest() { - // TODO: test blockstoreNamespaceExample - } - - /** - * Test the property 'blockstoreNamespaceValidityRegex' - */ - @Test - public void blockstoreNamespaceValidityRegexTest() { - // TODO: test blockstoreNamespaceValidityRegex - } - - /** - * Test the property 'defaultNamespacePrefix' - */ - @Test - public void defaultNamespacePrefixTest() { - // TODO: test defaultNamespacePrefix - } - - /** - * Test the property 'preSignSupport' - */ - @Test - public void preSignSupportTest() { - // TODO: test preSignSupport - } - - /** - * Test the property 'preSignSupportUi' - */ - @Test - public void preSignSupportUiTest() { - // TODO: test preSignSupportUi - } - - /** - * Test the property 'importSupport' - */ - @Test - public void importSupportTest() { - // TODO: test importSupport - } - - /** - * Test the property 'importValidityRegex' - */ - @Test - public void importValidityRegexTest() { - // TODO: test importValidityRegex - } - - /** - * Test the property 'preSignMultipartUpload' - */ - @Test - public void preSignMultipartUploadTest() { - // TODO: test preSignMultipartUpload - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/StorageURITest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/StorageURITest.java deleted file mode 100644 index db9b0ca0619..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/StorageURITest.java +++ /dev/null @@ -1,51 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for StorageURI - */ -public class StorageURITest { - private final StorageURI model = new StorageURI(); - - /** - * Model tests for StorageURI - */ - @Test - public void testStorageURI() { - // TODO: test StorageURI - } - - /** - * Test the property 'location' - */ - @Test - public void locationTest() { - // TODO: test location - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/StsAuthRequestTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/StsAuthRequestTest.java deleted file mode 100644 index 117b06bf52c..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/StsAuthRequestTest.java +++ /dev/null @@ -1,75 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for StsAuthRequest - */ -public class StsAuthRequestTest { - private final StsAuthRequest model = new StsAuthRequest(); - - /** - * Model tests for StsAuthRequest - */ - @Test - public void testStsAuthRequest() { - // TODO: test StsAuthRequest - } - - /** - * Test the property 'code' - */ - @Test - public void codeTest() { - // TODO: test code - } - - /** - * Test the property 'state' - */ - @Test - public void stateTest() { - // TODO: test state - } - - /** - * Test the property 'redirectUri' - */ - @Test - public void redirectUriTest() { - // TODO: test redirectUri - } - - /** - * Test the property 'ttlSeconds' - */ - @Test - public void ttlSecondsTest() { - // TODO: test ttlSeconds - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/TagCreationTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/TagCreationTest.java deleted file mode 100644 index 749dda68aa8..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/TagCreationTest.java +++ /dev/null @@ -1,67 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for TagCreation - */ -public class TagCreationTest { - private final TagCreation model = new TagCreation(); - - /** - * Model tests for TagCreation - */ - @Test - public void testTagCreation() { - // TODO: test TagCreation - } - - /** - * Test the property 'id' - */ - @Test - public void idTest() { - // TODO: test id - } - - /** - * Test the property 'ref' - */ - @Test - public void refTest() { - // TODO: test ref - } - - /** - * Test the property 'force' - */ - @Test - public void forceTest() { - // TODO: test force - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/TaskInfoTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/TaskInfoTest.java deleted file mode 100644 index e73fc125db1..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/TaskInfoTest.java +++ /dev/null @@ -1,51 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for TaskInfo - */ -public class TaskInfoTest { - private final TaskInfo model = new TaskInfo(); - - /** - * Model tests for TaskInfo - */ - @Test - public void testTaskInfo() { - // TODO: test TaskInfo - } - - /** - * Test the property 'id' - */ - @Test - public void idTest() { - // TODO: test id - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/UnderlyingObjectPropertiesTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/UnderlyingObjectPropertiesTest.java deleted file mode 100644 index 2ed38f7e95f..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/UnderlyingObjectPropertiesTest.java +++ /dev/null @@ -1,52 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.openapitools.jackson.nullable.JsonNullable; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for UnderlyingObjectProperties - */ -public class UnderlyingObjectPropertiesTest { - private final UnderlyingObjectProperties model = new UnderlyingObjectProperties(); - - /** - * Model tests for UnderlyingObjectProperties - */ - @Test - public void testUnderlyingObjectProperties() { - // TODO: test UnderlyingObjectProperties - } - - /** - * Test the property 'storageClass' - */ - @Test - public void storageClassTest() { - // TODO: test storageClass - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/UpdateObjectUserMetadataTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/UpdateObjectUserMetadataTest.java deleted file mode 100644 index 6f38dbe4ec2..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/UpdateObjectUserMetadataTest.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for UpdateObjectUserMetadata - */ -public class UpdateObjectUserMetadataTest { - private final UpdateObjectUserMetadata model = new UpdateObjectUserMetadata(); - - /** - * Model tests for UpdateObjectUserMetadata - */ - @Test - public void testUpdateObjectUserMetadata() { - // TODO: test UpdateObjectUserMetadata - } - - /** - * Test the property 'set' - */ - @Test - public void setTest() { - // TODO: test set - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/UpdateTokenTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/UpdateTokenTest.java deleted file mode 100644 index 55a3302f594..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/UpdateTokenTest.java +++ /dev/null @@ -1,51 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for UpdateToken - */ -public class UpdateTokenTest { - private final UpdateToken model = new UpdateToken(); - - /** - * Model tests for UpdateToken - */ - @Test - public void testUpdateToken() { - // TODO: test UpdateToken - } - - /** - * Test the property 'stagingToken' - */ - @Test - public void stagingTokenTest() { - // TODO: test stagingToken - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/UploadPartTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/UploadPartTest.java deleted file mode 100644 index 71a8c2c9b0a..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/UploadPartTest.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for UploadPart - */ -public class UploadPartTest { - private final UploadPart model = new UploadPart(); - - /** - * Model tests for UploadPart - */ - @Test - public void testUploadPart() { - // TODO: test UploadPart - } - - /** - * Test the property 'partNumber' - */ - @Test - public void partNumberTest() { - // TODO: test partNumber - } - - /** - * Test the property 'etag' - */ - @Test - public void etagTest() { - // TODO: test etag - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/UsageReportTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/UsageReportTest.java deleted file mode 100644 index 1236d598876..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/UsageReportTest.java +++ /dev/null @@ -1,67 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for UsageReport - */ -public class UsageReportTest { - private final UsageReport model = new UsageReport(); - - /** - * Model tests for UsageReport - */ - @Test - public void testUsageReport() { - // TODO: test UsageReport - } - - /** - * Test the property 'year' - */ - @Test - public void yearTest() { - // TODO: test year - } - - /** - * Test the property 'month' - */ - @Test - public void monthTest() { - // TODO: test month - } - - /** - * Test the property 'count' - */ - @Test - public void countTest() { - // TODO: test count - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/UserCreationTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/UserCreationTest.java deleted file mode 100644 index e0bd07645cf..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/UserCreationTest.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for UserCreation - */ -public class UserCreationTest { - private final UserCreation model = new UserCreation(); - - /** - * Model tests for UserCreation - */ - @Test - public void testUserCreation() { - // TODO: test UserCreation - } - - /** - * Test the property 'id' - */ - @Test - public void idTest() { - // TODO: test id - } - - /** - * Test the property 'inviteUser' - */ - @Test - public void inviteUserTest() { - // TODO: test inviteUser - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/UserListTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/UserListTest.java deleted file mode 100644 index f20a51a3a1a..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/UserListTest.java +++ /dev/null @@ -1,63 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.lakefs.clients.api.model.Pagination; -import io.lakefs.clients.api.model.User; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.List; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for UserList - */ -public class UserListTest { - private final UserList model = new UserList(); - - /** - * Model tests for UserList - */ - @Test - public void testUserList() { - // TODO: test UserList - } - - /** - * Test the property 'pagination' - */ - @Test - public void paginationTest() { - // TODO: test pagination - } - - /** - * Test the property 'results' - */ - @Test - public void resultsTest() { - // TODO: test results - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/UserTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/UserTest.java deleted file mode 100644 index ef0ac7576f2..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/UserTest.java +++ /dev/null @@ -1,75 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for User - */ -public class UserTest { - private final User model = new User(); - - /** - * Model tests for User - */ - @Test - public void testUser() { - // TODO: test User - } - - /** - * Test the property 'id' - */ - @Test - public void idTest() { - // TODO: test id - } - - /** - * Test the property 'creationDate' - */ - @Test - public void creationDateTest() { - // TODO: test creationDate - } - - /** - * Test the property 'friendlyName' - */ - @Test - public void friendlyNameTest() { - // TODO: test friendlyName - } - - /** - * Test the property 'email' - */ - @Test - public void emailTest() { - // TODO: test email - } - -} diff --git a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/VersionConfigTest.java b/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/VersionConfigTest.java deleted file mode 100644 index 2f1fc60bfcd..00000000000 --- a/clients/java-legacy/src/test/java/io/lakefs/clients/api/model/VersionConfigTest.java +++ /dev/null @@ -1,75 +0,0 @@ -/* - * lakeFS API - * lakeFS HTTP API - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package io.lakefs.clients.api.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import java.io.IOException; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for VersionConfig - */ -public class VersionConfigTest { - private final VersionConfig model = new VersionConfig(); - - /** - * Model tests for VersionConfig - */ - @Test - public void testVersionConfig() { - // TODO: test VersionConfig - } - - /** - * Test the property 'version' - */ - @Test - public void versionTest() { - // TODO: test version - } - - /** - * Test the property 'latestVersion' - */ - @Test - public void latestVersionTest() { - // TODO: test latestVersion - } - - /** - * Test the property 'upgradeRecommended' - */ - @Test - public void upgradeRecommendedTest() { - // TODO: test upgradeRecommended - } - - /** - * Test the property 'upgradeUrl' - */ - @Test - public void upgradeUrlTest() { - // TODO: test upgradeUrl - } - -} diff --git a/clients/java/api/openapi.yaml b/clients/java/api/openapi.yaml index 0b1700b5e61..6e89ca447db 100644 --- a/clients/java/api/openapi.yaml +++ b/clients/java/api/openapi.yaml @@ -1965,6 +1965,14 @@ paths: minimum: -1 type: integer style: form + - description: string for searching relevant entries + explode: true + in: query + name: search + required: false + schema: + type: string + style: form responses: "200": content: @@ -3115,6 +3123,15 @@ paths: minimum: -1 type: integer style: form + - explode: true + in: query + name: show_hidden + required: false + schema: + default: false + description: When set - list all branches including hidden branches. *EXPERIMENTAL* + type: boolean + style: form responses: "200": content: @@ -7378,6 +7395,15 @@ components: schema: type: string style: form + SearchString: + description: string for searching relevant entries + explode: true + in: query + name: search + required: false + schema: + type: string + style: form IfNoneMatch: description: Set to "*" to atomically allow the upload only if the key has no object yet. Other values are not supported. @@ -8193,6 +8219,7 @@ components: example: metadata: key: metadata + squash_merge: false force: false message: message strategy: strategy @@ -8219,9 +8246,19 @@ components: default: false description: Allow merge when the branches have the same content type: boolean + squash_merge: + default: false + description: | + If set, set only the destination branch as a parent, which "squashes" the merge to + appear as a single commit on the destination branch. The source commit is no longer + a part of the merge commit; consider adding it to the 'metadata' or 'message' + fields. This behaves like a GitHub or GitLab "squash merge", or in Git terms 'git + merge --squash; git commit ...'. + type: boolean type: object BranchCreation: example: + hidden: false name: name force: false source: source @@ -8233,6 +8270,11 @@ components: force: default: false type: boolean + hidden: + default: false + description: "When set, branch will not show up when listing branches by\ + \ default. *EXPERIMENTAL*" + type: boolean required: - name - source @@ -8665,6 +8707,7 @@ components: Group: example: name: name + description: description id: id creation_date: 0 properties: @@ -8672,6 +8715,8 @@ components: type: string name: type: string + description: + type: string creation_date: description: Unix Epoch in seconds format: int64 @@ -8689,9 +8734,11 @@ components: results: 0 results: - name: name + description: description id: id creation_date: 0 - name: name + description: description id: id creation_date: 0 properties: @@ -8808,10 +8855,13 @@ components: type: object GroupCreation: example: + description: description id: id properties: id: type: string + description: + type: string required: - id type: object diff --git a/clients/java/docs/BranchCreation.md b/clients/java/docs/BranchCreation.md index 73665aab256..f1b336dd9d2 100644 --- a/clients/java/docs/BranchCreation.md +++ b/clients/java/docs/BranchCreation.md @@ -10,6 +10,7 @@ |**name** | **String** | | | |**source** | **String** | | | |**force** | **Boolean** | | [optional] | +|**hidden** | **Boolean** | When set, branch will not show up when listing branches by default. *EXPERIMENTAL* | [optional] | diff --git a/clients/java/docs/BranchesApi.md b/clients/java/docs/BranchesApi.md index 7f46857e87b..f010c4e0b07 100644 --- a/clients/java/docs/BranchesApi.md +++ b/clients/java/docs/BranchesApi.md @@ -514,7 +514,7 @@ public class Example { # **listBranches** -> RefList listBranches(repository).prefix(prefix).after(after).amount(amount).execute(); +> RefList listBranches(repository).prefix(prefix).after(after).amount(amount).showHidden(showHidden).execute(); list branches @@ -565,11 +565,13 @@ public class Example { String prefix = "prefix_example"; // String | return items prefixed with this value String after = "after_example"; // String | return items after this value Integer amount = 100; // Integer | how many items to return + Boolean showHidden = false; // Boolean | try { RefList result = apiInstance.listBranches(repository) .prefix(prefix) .after(after) .amount(amount) + .showHidden(showHidden) .execute(); System.out.println(result); } catch (ApiException e) { @@ -591,6 +593,7 @@ public class Example { | **prefix** | **String**| return items prefixed with this value | [optional] | | **after** | **String**| return items after this value | [optional] | | **amount** | **Integer**| how many items to return | [optional] [default to 100] | +| **showHidden** | **Boolean**| | [optional] [default to false] | ### Return type diff --git a/clients/java/docs/Group.md b/clients/java/docs/Group.md index d3d01443cba..1bb0ddf930d 100644 --- a/clients/java/docs/Group.md +++ b/clients/java/docs/Group.md @@ -9,6 +9,7 @@ |------------ | ------------- | ------------- | -------------| |**id** | **String** | | | |**name** | **String** | | [optional] | +|**description** | **String** | | [optional] | |**creationDate** | **Long** | Unix Epoch in seconds | | diff --git a/clients/java/docs/GroupCreation.md b/clients/java/docs/GroupCreation.md index 99f30ee35b4..64021735126 100644 --- a/clients/java/docs/GroupCreation.md +++ b/clients/java/docs/GroupCreation.md @@ -8,6 +8,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| |**id** | **String** | | | +|**description** | **String** | | [optional] | diff --git a/clients/java/docs/Merge.md b/clients/java/docs/Merge.md index 7c7a6d108d8..84ccf843486 100644 --- a/clients/java/docs/Merge.md +++ b/clients/java/docs/Merge.md @@ -12,6 +12,7 @@ |**strategy** | **String** | In case of a merge conflict, this option will force the merge process to automatically favor changes from the dest branch ('dest-wins') or from the source branch('source-wins'). In case no selection is made, the merge process will fail in case of a conflict | [optional] | |**force** | **Boolean** | Allow merge into a read-only branch or into a branch with the same content | [optional] | |**allowEmpty** | **Boolean** | Allow merge when the branches have the same content | [optional] | +|**squashMerge** | **Boolean** | If set, set only the destination branch as a parent, which \"squashes\" the merge to appear as a single commit on the destination branch. The source commit is no longer a part of the merge commit; consider adding it to the 'metadata' or 'message' fields. This behaves like a GitHub or GitLab \"squash merge\", or in Git terms 'git merge --squash; git commit ...'. | [optional] | diff --git a/clients/java/docs/RepositoriesApi.md b/clients/java/docs/RepositoriesApi.md index 664fcc4ef43..6312770cd96 100644 --- a/clients/java/docs/RepositoriesApi.md +++ b/clients/java/docs/RepositoriesApi.md @@ -868,7 +868,7 @@ public class Example { # **listRepositories** -> RepositoryList listRepositories().prefix(prefix).after(after).amount(amount).execute(); +> RepositoryList listRepositories().prefix(prefix).after(after).amount(amount).search(search).execute(); list repositories @@ -918,11 +918,13 @@ public class Example { String prefix = "prefix_example"; // String | return items prefixed with this value String after = "after_example"; // String | return items after this value Integer amount = 100; // Integer | how many items to return + String search = "search_example"; // String | string for searching relevant entries try { RepositoryList result = apiInstance.listRepositories() .prefix(prefix) .after(after) .amount(amount) + .search(search) .execute(); System.out.println(result); } catch (ApiException e) { @@ -943,6 +945,7 @@ public class Example { | **prefix** | **String**| return items prefixed with this value | [optional] | | **after** | **String**| return items after this value | [optional] | | **amount** | **Integer**| how many items to return | [optional] [default to 100] | +| **search** | **String**| string for searching relevant entries | [optional] | ### Return type diff --git a/clients/java/src/main/java/io/lakefs/clients/sdk/BranchesApi.java b/clients/java/src/main/java/io/lakefs/clients/sdk/BranchesApi.java index 4a78a796eca..881f8670c28 100644 --- a/clients/java/src/main/java/io/lakefs/clients/sdk/BranchesApi.java +++ b/clients/java/src/main/java/io/lakefs/clients/sdk/BranchesApi.java @@ -1101,7 +1101,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiExc public APIgetBranchRequest getBranch(String repository, String branch) { return new APIgetBranchRequest(repository, branch); } - private okhttp3.Call listBranchesCall(String repository, String prefix, String after, Integer amount, final ApiCallback _callback) throws ApiException { + private okhttp3.Call listBranchesCall(String repository, String prefix, String after, Integer amount, Boolean showHidden, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -1139,6 +1139,10 @@ private okhttp3.Call listBranchesCall(String repository, String prefix, String a localVarQueryParams.addAll(localVarApiClient.parameterToPair("amount", amount)); } + if (showHidden != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("show_hidden", showHidden)); + } + final String[] localVarAccepts = { "application/json" }; @@ -1159,26 +1163,26 @@ private okhttp3.Call listBranchesCall(String repository, String prefix, String a } @SuppressWarnings("rawtypes") - private okhttp3.Call listBranchesValidateBeforeCall(String repository, String prefix, String after, Integer amount, final ApiCallback _callback) throws ApiException { + private okhttp3.Call listBranchesValidateBeforeCall(String repository, String prefix, String after, Integer amount, Boolean showHidden, final ApiCallback _callback) throws ApiException { // verify the required parameter 'repository' is set if (repository == null) { throw new ApiException("Missing the required parameter 'repository' when calling listBranches(Async)"); } - return listBranchesCall(repository, prefix, after, amount, _callback); + return listBranchesCall(repository, prefix, after, amount, showHidden, _callback); } - private ApiResponse listBranchesWithHttpInfo(String repository, String prefix, String after, Integer amount) throws ApiException { - okhttp3.Call localVarCall = listBranchesValidateBeforeCall(repository, prefix, after, amount, null); + private ApiResponse listBranchesWithHttpInfo(String repository, String prefix, String after, Integer amount, Boolean showHidden) throws ApiException { + okhttp3.Call localVarCall = listBranchesValidateBeforeCall(repository, prefix, after, amount, showHidden, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } - private okhttp3.Call listBranchesAsync(String repository, String prefix, String after, Integer amount, final ApiCallback _callback) throws ApiException { + private okhttp3.Call listBranchesAsync(String repository, String prefix, String after, Integer amount, Boolean showHidden, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = listBranchesValidateBeforeCall(repository, prefix, after, amount, _callback); + okhttp3.Call localVarCall = listBranchesValidateBeforeCall(repository, prefix, after, amount, showHidden, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -1189,6 +1193,7 @@ public class APIlistBranchesRequest { private String prefix; private String after; private Integer amount; + private Boolean showHidden; private APIlistBranchesRequest(String repository) { this.repository = repository; @@ -1224,6 +1229,16 @@ public APIlistBranchesRequest amount(Integer amount) { return this; } + /** + * Set showHidden + * @param showHidden (optional, default to false) + * @return APIlistBranchesRequest + */ + public APIlistBranchesRequest showHidden(Boolean showHidden) { + this.showHidden = showHidden; + return this; + } + /** * Build call for listBranches * @param _callback ApiCallback API callback @@ -1240,7 +1255,7 @@ public APIlistBranchesRequest amount(Integer amount) { */ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return listBranchesCall(repository, prefix, after, amount, _callback); + return listBranchesCall(repository, prefix, after, amount, showHidden, _callback); } /** @@ -1258,7 +1273,7 @@ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { */ public RefList execute() throws ApiException { - ApiResponse localVarResp = listBranchesWithHttpInfo(repository, prefix, after, amount); + ApiResponse localVarResp = listBranchesWithHttpInfo(repository, prefix, after, amount, showHidden); return localVarResp.getData(); } @@ -1277,7 +1292,7 @@ public RefList execute() throws ApiException { */ public ApiResponse executeWithHttpInfo() throws ApiException { - return listBranchesWithHttpInfo(repository, prefix, after, amount); + return listBranchesWithHttpInfo(repository, prefix, after, amount, showHidden); } /** @@ -1296,7 +1311,7 @@ public ApiResponse executeWithHttpInfo() throws ApiException { */ public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return listBranchesAsync(repository, prefix, after, amount, _callback); + return listBranchesAsync(repository, prefix, after, amount, showHidden, _callback); } } diff --git a/clients/java/src/main/java/io/lakefs/clients/sdk/RepositoriesApi.java b/clients/java/src/main/java/io/lakefs/clients/sdk/RepositoriesApi.java index 2b45a54a744..03277973622 100644 --- a/clients/java/src/main/java/io/lakefs/clients/sdk/RepositoriesApi.java +++ b/clients/java/src/main/java/io/lakefs/clients/sdk/RepositoriesApi.java @@ -1678,7 +1678,7 @@ public okhttp3.Call executeAsync(final ApiCallback> _callbac public APIgetRepositoryMetadataRequest getRepositoryMetadata(String repository) { return new APIgetRepositoryMetadataRequest(repository); } - private okhttp3.Call listRepositoriesCall(String prefix, String after, Integer amount, final ApiCallback _callback) throws ApiException { + private okhttp3.Call listRepositoriesCall(String prefix, String after, Integer amount, String search, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -1715,6 +1715,10 @@ private okhttp3.Call listRepositoriesCall(String prefix, String after, Integer a localVarQueryParams.addAll(localVarApiClient.parameterToPair("amount", amount)); } + if (search != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("search", search)); + } + final String[] localVarAccepts = { "application/json" }; @@ -1735,21 +1739,21 @@ private okhttp3.Call listRepositoriesCall(String prefix, String after, Integer a } @SuppressWarnings("rawtypes") - private okhttp3.Call listRepositoriesValidateBeforeCall(String prefix, String after, Integer amount, final ApiCallback _callback) throws ApiException { - return listRepositoriesCall(prefix, after, amount, _callback); + private okhttp3.Call listRepositoriesValidateBeforeCall(String prefix, String after, Integer amount, String search, final ApiCallback _callback) throws ApiException { + return listRepositoriesCall(prefix, after, amount, search, _callback); } - private ApiResponse listRepositoriesWithHttpInfo(String prefix, String after, Integer amount) throws ApiException { - okhttp3.Call localVarCall = listRepositoriesValidateBeforeCall(prefix, after, amount, null); + private ApiResponse listRepositoriesWithHttpInfo(String prefix, String after, Integer amount, String search) throws ApiException { + okhttp3.Call localVarCall = listRepositoriesValidateBeforeCall(prefix, after, amount, search, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } - private okhttp3.Call listRepositoriesAsync(String prefix, String after, Integer amount, final ApiCallback _callback) throws ApiException { + private okhttp3.Call listRepositoriesAsync(String prefix, String after, Integer amount, String search, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = listRepositoriesValidateBeforeCall(prefix, after, amount, _callback); + okhttp3.Call localVarCall = listRepositoriesValidateBeforeCall(prefix, after, amount, search, _callback); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -1759,6 +1763,7 @@ public class APIlistRepositoriesRequest { private String prefix; private String after; private Integer amount; + private String search; private APIlistRepositoriesRequest() { } @@ -1793,6 +1798,16 @@ public APIlistRepositoriesRequest amount(Integer amount) { return this; } + /** + * Set search + * @param search string for searching relevant entries (optional) + * @return APIlistRepositoriesRequest + */ + public APIlistRepositoriesRequest search(String search) { + this.search = search; + return this; + } + /** * Build call for listRepositories * @param _callback ApiCallback API callback @@ -1808,7 +1823,7 @@ public APIlistRepositoriesRequest amount(Integer amount) { */ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { - return listRepositoriesCall(prefix, after, amount, _callback); + return listRepositoriesCall(prefix, after, amount, search, _callback); } /** @@ -1825,7 +1840,7 @@ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { */ public RepositoryList execute() throws ApiException { - ApiResponse localVarResp = listRepositoriesWithHttpInfo(prefix, after, amount); + ApiResponse localVarResp = listRepositoriesWithHttpInfo(prefix, after, amount, search); return localVarResp.getData(); } @@ -1843,7 +1858,7 @@ public RepositoryList execute() throws ApiException { */ public ApiResponse executeWithHttpInfo() throws ApiException { - return listRepositoriesWithHttpInfo(prefix, after, amount); + return listRepositoriesWithHttpInfo(prefix, after, amount, search); } /** @@ -1861,7 +1876,7 @@ public ApiResponse executeWithHttpInfo() throws ApiException { */ public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { - return listRepositoriesAsync(prefix, after, amount, _callback); + return listRepositoriesAsync(prefix, after, amount, search, _callback); } } diff --git a/clients/java/src/main/java/io/lakefs/clients/sdk/model/BranchCreation.java b/clients/java/src/main/java/io/lakefs/clients/sdk/model/BranchCreation.java index 1b80f7fdbac..954fe481d0f 100644 --- a/clients/java/src/main/java/io/lakefs/clients/sdk/model/BranchCreation.java +++ b/clients/java/src/main/java/io/lakefs/clients/sdk/model/BranchCreation.java @@ -64,6 +64,10 @@ public class BranchCreation { @SerializedName(SERIALIZED_NAME_FORCE) private Boolean force = false; + public static final String SERIALIZED_NAME_HIDDEN = "hidden"; + @SerializedName(SERIALIZED_NAME_HIDDEN) + private Boolean hidden = false; + public BranchCreation() { } @@ -129,6 +133,27 @@ public void setForce(Boolean force) { this.force = force; } + + public BranchCreation hidden(Boolean hidden) { + + this.hidden = hidden; + return this; + } + + /** + * When set, branch will not show up when listing branches by default. *EXPERIMENTAL* + * @return hidden + **/ + @javax.annotation.Nullable + public Boolean getHidden() { + return hidden; + } + + + public void setHidden(Boolean hidden) { + this.hidden = hidden; + } + /** * A container for additional, undeclared properties. * This is a holder for any undeclared properties as specified with @@ -186,13 +211,14 @@ public boolean equals(Object o) { BranchCreation branchCreation = (BranchCreation) o; return Objects.equals(this.name, branchCreation.name) && Objects.equals(this.source, branchCreation.source) && - Objects.equals(this.force, branchCreation.force)&& + Objects.equals(this.force, branchCreation.force) && + Objects.equals(this.hidden, branchCreation.hidden)&& Objects.equals(this.additionalProperties, branchCreation.additionalProperties); } @Override public int hashCode() { - return Objects.hash(name, source, force, additionalProperties); + return Objects.hash(name, source, force, hidden, additionalProperties); } @Override @@ -202,6 +228,7 @@ public String toString() { sb.append(" name: ").append(toIndentedString(name)).append("\n"); sb.append(" source: ").append(toIndentedString(source)).append("\n"); sb.append(" force: ").append(toIndentedString(force)).append("\n"); + sb.append(" hidden: ").append(toIndentedString(hidden)).append("\n"); sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); sb.append("}"); return sb.toString(); @@ -228,6 +255,7 @@ private String toIndentedString(Object o) { openapiFields.add("name"); openapiFields.add("source"); openapiFields.add("force"); + openapiFields.add("hidden"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); diff --git a/clients/java/src/main/java/io/lakefs/clients/sdk/model/Group.java b/clients/java/src/main/java/io/lakefs/clients/sdk/model/Group.java index b812423151b..f35a5377c00 100644 --- a/clients/java/src/main/java/io/lakefs/clients/sdk/model/Group.java +++ b/clients/java/src/main/java/io/lakefs/clients/sdk/model/Group.java @@ -60,6 +60,10 @@ public class Group { @SerializedName(SERIALIZED_NAME_NAME) private String name; + public static final String SERIALIZED_NAME_DESCRIPTION = "description"; + @SerializedName(SERIALIZED_NAME_DESCRIPTION) + private String description; + public static final String SERIALIZED_NAME_CREATION_DATE = "creation_date"; @SerializedName(SERIALIZED_NAME_CREATION_DATE) private Long creationDate; @@ -109,6 +113,27 @@ public void setName(String name) { } + public Group description(String description) { + + this.description = description; + return this; + } + + /** + * Get description + * @return description + **/ + @javax.annotation.Nullable + public String getDescription() { + return description; + } + + + public void setDescription(String description) { + this.description = description; + } + + public Group creationDate(Long creationDate) { this.creationDate = creationDate; @@ -186,13 +211,14 @@ public boolean equals(Object o) { Group group = (Group) o; return Objects.equals(this.id, group.id) && Objects.equals(this.name, group.name) && + Objects.equals(this.description, group.description) && Objects.equals(this.creationDate, group.creationDate)&& Objects.equals(this.additionalProperties, group.additionalProperties); } @Override public int hashCode() { - return Objects.hash(id, name, creationDate, additionalProperties); + return Objects.hash(id, name, description, creationDate, additionalProperties); } @Override @@ -201,6 +227,7 @@ public String toString() { sb.append("class Group {\n"); sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" description: ").append(toIndentedString(description)).append("\n"); sb.append(" creationDate: ").append(toIndentedString(creationDate)).append("\n"); sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); sb.append("}"); @@ -227,6 +254,7 @@ private String toIndentedString(Object o) { openapiFields = new HashSet(); openapiFields.add("id"); openapiFields.add("name"); + openapiFields.add("description"); openapiFields.add("creation_date"); // a set of required properties/fields (JSON key names) @@ -261,6 +289,9 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); } + if ((jsonObj.get("description") != null && !jsonObj.get("description").isJsonNull()) && !jsonObj.get("description").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `description` to be a primitive type in the JSON string but got `%s`", jsonObj.get("description").toString())); + } } public static class CustomTypeAdapterFactory implements TypeAdapterFactory { diff --git a/clients/java/src/main/java/io/lakefs/clients/sdk/model/GroupCreation.java b/clients/java/src/main/java/io/lakefs/clients/sdk/model/GroupCreation.java index a8b0be2a832..117050bae20 100644 --- a/clients/java/src/main/java/io/lakefs/clients/sdk/model/GroupCreation.java +++ b/clients/java/src/main/java/io/lakefs/clients/sdk/model/GroupCreation.java @@ -56,6 +56,10 @@ public class GroupCreation { @SerializedName(SERIALIZED_NAME_ID) private String id; + public static final String SERIALIZED_NAME_DESCRIPTION = "description"; + @SerializedName(SERIALIZED_NAME_DESCRIPTION) + private String description; + public GroupCreation() { } @@ -79,6 +83,27 @@ public void setId(String id) { this.id = id; } + + public GroupCreation description(String description) { + + this.description = description; + return this; + } + + /** + * Get description + * @return description + **/ + @javax.annotation.Nullable + public String getDescription() { + return description; + } + + + public void setDescription(String description) { + this.description = description; + } + /** * A container for additional, undeclared properties. * This is a holder for any undeclared properties as specified with @@ -134,13 +159,14 @@ public boolean equals(Object o) { return false; } GroupCreation groupCreation = (GroupCreation) o; - return Objects.equals(this.id, groupCreation.id)&& + return Objects.equals(this.id, groupCreation.id) && + Objects.equals(this.description, groupCreation.description)&& Objects.equals(this.additionalProperties, groupCreation.additionalProperties); } @Override public int hashCode() { - return Objects.hash(id, additionalProperties); + return Objects.hash(id, description, additionalProperties); } @Override @@ -148,6 +174,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class GroupCreation {\n"); sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" description: ").append(toIndentedString(description)).append("\n"); sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); sb.append("}"); return sb.toString(); @@ -172,6 +199,7 @@ private String toIndentedString(Object o) { // a set of all properties/fields (JSON key names) openapiFields = new HashSet(); openapiFields.add("id"); + openapiFields.add("description"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); @@ -201,6 +229,9 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!jsonObj.get("id").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString())); } + if ((jsonObj.get("description") != null && !jsonObj.get("description").isJsonNull()) && !jsonObj.get("description").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `description` to be a primitive type in the JSON string but got `%s`", jsonObj.get("description").toString())); + } } public static class CustomTypeAdapterFactory implements TypeAdapterFactory { diff --git a/clients/java/src/main/java/io/lakefs/clients/sdk/model/Merge.java b/clients/java/src/main/java/io/lakefs/clients/sdk/model/Merge.java index 2c380740f60..c04f995461b 100644 --- a/clients/java/src/main/java/io/lakefs/clients/sdk/model/Merge.java +++ b/clients/java/src/main/java/io/lakefs/clients/sdk/model/Merge.java @@ -74,6 +74,10 @@ public class Merge { @SerializedName(SERIALIZED_NAME_ALLOW_EMPTY) private Boolean allowEmpty = false; + public static final String SERIALIZED_NAME_SQUASH_MERGE = "squash_merge"; + @SerializedName(SERIALIZED_NAME_SQUASH_MERGE) + private Boolean squashMerge = false; + public Merge() { } @@ -189,6 +193,27 @@ public void setAllowEmpty(Boolean allowEmpty) { this.allowEmpty = allowEmpty; } + + public Merge squashMerge(Boolean squashMerge) { + + this.squashMerge = squashMerge; + return this; + } + + /** + * If set, set only the destination branch as a parent, which \"squashes\" the merge to appear as a single commit on the destination branch. The source commit is no longer a part of the merge commit; consider adding it to the 'metadata' or 'message' fields. This behaves like a GitHub or GitLab \"squash merge\", or in Git terms 'git merge --squash; git commit ...'. + * @return squashMerge + **/ + @javax.annotation.Nullable + public Boolean getSquashMerge() { + return squashMerge; + } + + + public void setSquashMerge(Boolean squashMerge) { + this.squashMerge = squashMerge; + } + /** * A container for additional, undeclared properties. * This is a holder for any undeclared properties as specified with @@ -248,13 +273,14 @@ public boolean equals(Object o) { Objects.equals(this.metadata, merge.metadata) && Objects.equals(this.strategy, merge.strategy) && Objects.equals(this.force, merge.force) && - Objects.equals(this.allowEmpty, merge.allowEmpty)&& + Objects.equals(this.allowEmpty, merge.allowEmpty) && + Objects.equals(this.squashMerge, merge.squashMerge)&& Objects.equals(this.additionalProperties, merge.additionalProperties); } @Override public int hashCode() { - return Objects.hash(message, metadata, strategy, force, allowEmpty, additionalProperties); + return Objects.hash(message, metadata, strategy, force, allowEmpty, squashMerge, additionalProperties); } @Override @@ -266,6 +292,7 @@ public String toString() { sb.append(" strategy: ").append(toIndentedString(strategy)).append("\n"); sb.append(" force: ").append(toIndentedString(force)).append("\n"); sb.append(" allowEmpty: ").append(toIndentedString(allowEmpty)).append("\n"); + sb.append(" squashMerge: ").append(toIndentedString(squashMerge)).append("\n"); sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); sb.append("}"); return sb.toString(); @@ -294,6 +321,7 @@ private String toIndentedString(Object o) { openapiFields.add("strategy"); openapiFields.add("force"); openapiFields.add("allow_empty"); + openapiFields.add("squash_merge"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); diff --git a/clients/java/src/test/java/io/lakefs/clients/sdk/BranchesApiTest.java b/clients/java/src/test/java/io/lakefs/clients/sdk/BranchesApiTest.java index e296008c9b5..94a8c4aef87 100644 --- a/clients/java/src/test/java/io/lakefs/clients/sdk/BranchesApiTest.java +++ b/clients/java/src/test/java/io/lakefs/clients/sdk/BranchesApiTest.java @@ -131,10 +131,12 @@ public void listBranchesTest() throws ApiException { String prefix = null; String after = null; Integer amount = null; + Boolean showHidden = null; RefList response = api.listBranches(repository) .prefix(prefix) .after(after) .amount(amount) + .showHidden(showHidden) .execute(); // TODO: test validations } diff --git a/clients/java/src/test/java/io/lakefs/clients/sdk/RepositoriesApiTest.java b/clients/java/src/test/java/io/lakefs/clients/sdk/RepositoriesApiTest.java index 836119642ef..81882064f68 100644 --- a/clients/java/src/test/java/io/lakefs/clients/sdk/RepositoriesApiTest.java +++ b/clients/java/src/test/java/io/lakefs/clients/sdk/RepositoriesApiTest.java @@ -170,10 +170,12 @@ public void listRepositoriesTest() throws ApiException { String prefix = null; String after = null; Integer amount = null; + String search = null; RepositoryList response = api.listRepositories() .prefix(prefix) .after(after) .amount(amount) + .search(search) .execute(); // TODO: test validations } diff --git a/clients/java/src/test/java/io/lakefs/clients/sdk/model/BranchCreationTest.java b/clients/java/src/test/java/io/lakefs/clients/sdk/model/BranchCreationTest.java index 6593057fb46..d6f9134de1a 100644 --- a/clients/java/src/test/java/io/lakefs/clients/sdk/model/BranchCreationTest.java +++ b/clients/java/src/test/java/io/lakefs/clients/sdk/model/BranchCreationTest.java @@ -61,4 +61,12 @@ public void forceTest() { // TODO: test force } + /** + * Test the property 'hidden' + */ + @Test + public void hiddenTest() { + // TODO: test hidden + } + } diff --git a/clients/java/src/test/java/io/lakefs/clients/sdk/model/GroupCreationTest.java b/clients/java/src/test/java/io/lakefs/clients/sdk/model/GroupCreationTest.java index 71855029d25..8a810ed764c 100644 --- a/clients/java/src/test/java/io/lakefs/clients/sdk/model/GroupCreationTest.java +++ b/clients/java/src/test/java/io/lakefs/clients/sdk/model/GroupCreationTest.java @@ -45,4 +45,12 @@ public void idTest() { // TODO: test id } + /** + * Test the property 'description' + */ + @Test + public void descriptionTest() { + // TODO: test description + } + } diff --git a/clients/java/src/test/java/io/lakefs/clients/sdk/model/GroupTest.java b/clients/java/src/test/java/io/lakefs/clients/sdk/model/GroupTest.java index 92656274ad8..6eb5828fa90 100644 --- a/clients/java/src/test/java/io/lakefs/clients/sdk/model/GroupTest.java +++ b/clients/java/src/test/java/io/lakefs/clients/sdk/model/GroupTest.java @@ -53,6 +53,14 @@ public void nameTest() { // TODO: test name } + /** + * Test the property 'description' + */ + @Test + public void descriptionTest() { + // TODO: test description + } + /** * Test the property 'creationDate' */ diff --git a/clients/java/src/test/java/io/lakefs/clients/sdk/model/MergeTest.java b/clients/java/src/test/java/io/lakefs/clients/sdk/model/MergeTest.java index 72b19d25a0e..dfcd5b36171 100644 --- a/clients/java/src/test/java/io/lakefs/clients/sdk/model/MergeTest.java +++ b/clients/java/src/test/java/io/lakefs/clients/sdk/model/MergeTest.java @@ -79,4 +79,12 @@ public void allowEmptyTest() { // TODO: test allowEmpty } + /** + * Test the property 'squashMerge' + */ + @Test + public void squashMergeTest() { + // TODO: test squashMerge + } + } diff --git a/clients/pom.xml b/clients/pom.xml index 1e86817dac0..3f02c935435 100644 --- a/clients/pom.xml +++ b/clients/pom.xml @@ -86,6 +86,7 @@ ossrh https://s01.oss.sonatype.org/ + true diff --git a/clients/python-legacy/.gitignore b/clients/python-legacy/.gitignore deleted file mode 100644 index 43995bd42fa..00000000000 --- a/clients/python-legacy/.gitignore +++ /dev/null @@ -1,66 +0,0 @@ -# Byte-compiled / optimized / DLL files -__pycache__/ -*.py[cod] -*$py.class - -# C extensions -*.so - -# Distribution / packaging -.Python -env/ -build/ -develop-eggs/ -dist/ -downloads/ -eggs/ -.eggs/ -lib/ -lib64/ -parts/ -sdist/ -var/ -*.egg-info/ -.installed.cfg -*.egg - -# PyInstaller -# Usually these files are written by a python script from a template -# before PyInstaller builds the exe, so as to inject date/other infos into it. -*.manifest -*.spec - -# Installer logs -pip-log.txt -pip-delete-this-directory.txt - -# Unit test / coverage reports -htmlcov/ -.tox/ -.coverage -.coverage.* -.cache -nosetests.xml -coverage.xml -*,cover -.hypothesis/ -venv/ -.venv/ -.python-version -.pytest_cache - -# Translations -*.mo -*.pot - -# Django stuff: -*.log - -# Sphinx documentation -docs/_build/ - -# PyBuilder -target/ - -#Ipython Notebook -.ipynb_checkpoints diff --git a/clients/python-legacy/.gitlab-ci.yml b/clients/python-legacy/.gitlab-ci.yml deleted file mode 100644 index c4abf331b21..00000000000 --- a/clients/python-legacy/.gitlab-ci.yml +++ /dev/null @@ -1,24 +0,0 @@ -# ref: https://docs.gitlab.com/ee/ci/README.html - -stages: - - test - -.tests: - stage: test - script: - - pip install -r requirements.txt - - pip install -r test-requirements.txt - - pytest --cov=lakefs_client - -test-3.6: - extends: .tests - image: python:3.6-alpine -test-3.7: - extends: .tests - image: python:3.7-alpine -test-3.8: - extends: .tests - image: python:3.8-alpine -test-3.9: - extends: .tests - image: python:3.9-alpine diff --git a/clients/python-legacy/.openapi-generator-ignore b/clients/python-legacy/.openapi-generator-ignore deleted file mode 100644 index b16b2b20e8e..00000000000 --- a/clients/python-legacy/.openapi-generator-ignore +++ /dev/null @@ -1,27 +0,0 @@ -# OpenAPI Generator Ignore -# Generated by openapi-generator https://github.com/openapitools/openapi-generator - -# Use this file to prevent files from being overwritten by the generator. -# The patterns follow closely to .gitignore or .dockerignore. - -# As an example, the C# client generator defines ApiClient.cs. -# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line: -#ApiClient.cs - -# You can match any string of characters against a directory, file or extension with a single asterisk (*): -#foo/*/qux -# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux - -# You can recursively match patterns against a directory, file or extension with a double asterisk (**): -#foo/**/qux -# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux - -# You can also negate patterns with an exclamation (!). -# For example, you can ignore all files in a docs folder with the file extension .md: -#docs/*.md -# Then explicitly reverse the ignore rule for a single file: -#!docs/README.md - -git_push.sh -.git* -.github/** diff --git a/clients/python-legacy/.openapi-generator/FILES b/clients/python-legacy/.openapi-generator/FILES deleted file mode 100644 index f2ac2ec3636..00000000000 --- a/clients/python-legacy/.openapi-generator/FILES +++ /dev/null @@ -1,403 +0,0 @@ -.gitignore -.gitlab-ci.yml -.travis.yml -README.md -docs/ACL.md -docs/AbortPresignMultipartUpload.md -docs/AccessKeyCredentials.md -docs/ActionRun.md -docs/ActionRunList.md -docs/ActionsApi.md -docs/AuthApi.md -docs/AuthCapabilities.md -docs/AuthenticationToken.md -docs/BranchCreation.md -docs/BranchProtectionRule.md -docs/BranchesApi.md -docs/CherryPickCreation.md -docs/CommPrefsInput.md -docs/Commit.md -docs/CommitCreation.md -docs/CommitList.md -docs/CommitOverrides.md -docs/CommitRecordCreation.md -docs/CommitsApi.md -docs/CompletePresignMultipartUpload.md -docs/Config.md -docs/ConfigApi.md -docs/Credentials.md -docs/CredentialsList.md -docs/CredentialsWithSecret.md -docs/CurrentUser.md -docs/Diff.md -docs/DiffList.md -docs/Error.md -docs/ErrorNoACL.md -docs/ExperimentalApi.md -docs/ExternalApi.md -docs/ExternalLoginInformation.md -docs/ExternalPrincipal.md -docs/ExternalPrincipalCreation.md -docs/ExternalPrincipalList.md -docs/ExternalPrincipalSettings.md -docs/FindMergeBaseResult.md -docs/GarbageCollectionConfig.md -docs/GarbageCollectionPrepareResponse.md -docs/GarbageCollectionRule.md -docs/GarbageCollectionRules.md -docs/Group.md -docs/GroupCreation.md -docs/GroupList.md -docs/HealthCheckApi.md -docs/HookRun.md -docs/HookRunList.md -docs/ImportApi.md -docs/ImportCreation.md -docs/ImportCreationResponse.md -docs/ImportLocation.md -docs/ImportStatus.md -docs/InlineObject.md -docs/InlineObject1.md -docs/InstallationUsageReport.md -docs/InternalApi.md -docs/LoginConfig.md -docs/LoginInformation.md -docs/Merge.md -docs/MergeResult.md -docs/MetaRangeCreation.md -docs/MetaRangeCreationResponse.md -docs/MetadataApi.md -docs/ObjectCopyCreation.md -docs/ObjectError.md -docs/ObjectErrorList.md -docs/ObjectStageCreation.md -docs/ObjectStats.md -docs/ObjectStatsList.md -docs/ObjectUserMetadata.md -docs/ObjectsApi.md -docs/Pagination.md -docs/PathList.md -docs/Policy.md -docs/PolicyList.md -docs/PrepareGCUncommittedRequest.md -docs/PrepareGCUncommittedResponse.md -docs/PresignMultipartUpload.md -docs/PullRequest.md -docs/PullRequestAllOf.md -docs/PullRequestBasic.md -docs/PullRequestCreation.md -docs/PullRequestCreationResponse.md -docs/PullRequestsList.md -docs/PullsApi.md -docs/RangeMetadata.md -docs/Ref.md -docs/RefList.md -docs/RefsApi.md -docs/RefsDump.md -docs/RefsRestore.md -docs/RepositoriesApi.md -docs/Repository.md -docs/RepositoryCreation.md -docs/RepositoryDumpStatus.md -docs/RepositoryList.md -docs/RepositoryMetadata.md -docs/RepositoryMetadataKeys.md -docs/RepositoryMetadataSet.md -docs/RepositoryRestoreStatus.md -docs/ResetCreation.md -docs/RevertCreation.md -docs/Setup.md -docs/SetupState.md -docs/StagingApi.md -docs/StagingLocation.md -docs/StagingMetadata.md -docs/Statement.md -docs/StatsEvent.md -docs/StatsEventsList.md -docs/StorageConfig.md -docs/StorageURI.md -docs/StsAuthRequest.md -docs/TagCreation.md -docs/TagsApi.md -docs/TaskInfo.md -docs/UnderlyingObjectProperties.md -docs/UpdateObjectUserMetadata.md -docs/UpdateToken.md -docs/UploadPart.md -docs/UsageReport.md -docs/User.md -docs/UserCreation.md -docs/UserList.md -docs/VersionConfig.md -git_push.sh -lakefs_client/__init__.py -lakefs_client/api/__init__.py -lakefs_client/api/actions_api.py -lakefs_client/api/auth_api.py -lakefs_client/api/branches_api.py -lakefs_client/api/commits_api.py -lakefs_client/api/config_api.py -lakefs_client/api/experimental_api.py -lakefs_client/api/external_api.py -lakefs_client/api/health_check_api.py -lakefs_client/api/import_api.py -lakefs_client/api/internal_api.py -lakefs_client/api/metadata_api.py -lakefs_client/api/objects_api.py -lakefs_client/api/pulls_api.py -lakefs_client/api/refs_api.py -lakefs_client/api/repositories_api.py -lakefs_client/api/staging_api.py -lakefs_client/api/tags_api.py -lakefs_client/api_client.py -lakefs_client/apis/__init__.py -lakefs_client/client.py -lakefs_client/configuration.py -lakefs_client/exceptions.py -lakefs_client/model/__init__.py -lakefs_client/model/abort_presign_multipart_upload.py -lakefs_client/model/access_key_credentials.py -lakefs_client/model/acl.py -lakefs_client/model/action_run.py -lakefs_client/model/action_run_list.py -lakefs_client/model/auth_capabilities.py -lakefs_client/model/authentication_token.py -lakefs_client/model/branch_creation.py -lakefs_client/model/branch_protection_rule.py -lakefs_client/model/cherry_pick_creation.py -lakefs_client/model/comm_prefs_input.py -lakefs_client/model/commit.py -lakefs_client/model/commit_creation.py -lakefs_client/model/commit_list.py -lakefs_client/model/commit_overrides.py -lakefs_client/model/commit_record_creation.py -lakefs_client/model/complete_presign_multipart_upload.py -lakefs_client/model/config.py -lakefs_client/model/credentials.py -lakefs_client/model/credentials_list.py -lakefs_client/model/credentials_with_secret.py -lakefs_client/model/current_user.py -lakefs_client/model/diff.py -lakefs_client/model/diff_list.py -lakefs_client/model/error.py -lakefs_client/model/error_no_acl.py -lakefs_client/model/external_login_information.py -lakefs_client/model/external_principal.py -lakefs_client/model/external_principal_creation.py -lakefs_client/model/external_principal_list.py -lakefs_client/model/external_principal_settings.py -lakefs_client/model/find_merge_base_result.py -lakefs_client/model/garbage_collection_config.py -lakefs_client/model/garbage_collection_prepare_response.py -lakefs_client/model/garbage_collection_rule.py -lakefs_client/model/garbage_collection_rules.py -lakefs_client/model/group.py -lakefs_client/model/group_creation.py -lakefs_client/model/group_list.py -lakefs_client/model/hook_run.py -lakefs_client/model/hook_run_list.py -lakefs_client/model/import_creation.py -lakefs_client/model/import_creation_response.py -lakefs_client/model/import_location.py -lakefs_client/model/import_status.py -lakefs_client/model/inline_object.py -lakefs_client/model/inline_object1.py -lakefs_client/model/installation_usage_report.py -lakefs_client/model/login_config.py -lakefs_client/model/login_information.py -lakefs_client/model/merge.py -lakefs_client/model/merge_result.py -lakefs_client/model/meta_range_creation.py -lakefs_client/model/meta_range_creation_response.py -lakefs_client/model/object_copy_creation.py -lakefs_client/model/object_error.py -lakefs_client/model/object_error_list.py -lakefs_client/model/object_stage_creation.py -lakefs_client/model/object_stats.py -lakefs_client/model/object_stats_list.py -lakefs_client/model/object_user_metadata.py -lakefs_client/model/pagination.py -lakefs_client/model/path_list.py -lakefs_client/model/policy.py -lakefs_client/model/policy_list.py -lakefs_client/model/prepare_gc_uncommitted_request.py -lakefs_client/model/prepare_gc_uncommitted_response.py -lakefs_client/model/presign_multipart_upload.py -lakefs_client/model/pull_request.py -lakefs_client/model/pull_request_all_of.py -lakefs_client/model/pull_request_basic.py -lakefs_client/model/pull_request_creation.py -lakefs_client/model/pull_request_creation_response.py -lakefs_client/model/pull_requests_list.py -lakefs_client/model/range_metadata.py -lakefs_client/model/ref.py -lakefs_client/model/ref_list.py -lakefs_client/model/refs_dump.py -lakefs_client/model/refs_restore.py -lakefs_client/model/repository.py -lakefs_client/model/repository_creation.py -lakefs_client/model/repository_dump_status.py -lakefs_client/model/repository_list.py -lakefs_client/model/repository_metadata.py -lakefs_client/model/repository_metadata_keys.py -lakefs_client/model/repository_metadata_set.py -lakefs_client/model/repository_restore_status.py -lakefs_client/model/reset_creation.py -lakefs_client/model/revert_creation.py -lakefs_client/model/setup.py -lakefs_client/model/setup_state.py -lakefs_client/model/staging_location.py -lakefs_client/model/staging_metadata.py -lakefs_client/model/statement.py -lakefs_client/model/stats_event.py -lakefs_client/model/stats_events_list.py -lakefs_client/model/storage_config.py -lakefs_client/model/storage_uri.py -lakefs_client/model/sts_auth_request.py -lakefs_client/model/tag_creation.py -lakefs_client/model/task_info.py -lakefs_client/model/underlying_object_properties.py -lakefs_client/model/update_object_user_metadata.py -lakefs_client/model/update_token.py -lakefs_client/model/upload_part.py -lakefs_client/model/usage_report.py -lakefs_client/model/user.py -lakefs_client/model/user_creation.py -lakefs_client/model/user_list.py -lakefs_client/model/version_config.py -lakefs_client/model_utils.py -lakefs_client/models/__init__.py -lakefs_client/rest.py -requirements.txt -setup.cfg -setup.py -test-requirements.txt -test/__init__.py -test/test_abort_presign_multipart_upload.py -test/test_access_key_credentials.py -test/test_acl.py -test/test_action_run.py -test/test_action_run_list.py -test/test_actions_api.py -test/test_auth_api.py -test/test_auth_capabilities.py -test/test_authentication_token.py -test/test_branch_creation.py -test/test_branch_protection_rule.py -test/test_branches_api.py -test/test_cherry_pick_creation.py -test/test_comm_prefs_input.py -test/test_commit.py -test/test_commit_creation.py -test/test_commit_list.py -test/test_commit_overrides.py -test/test_commit_record_creation.py -test/test_commits_api.py -test/test_complete_presign_multipart_upload.py -test/test_config.py -test/test_config_api.py -test/test_credentials.py -test/test_credentials_list.py -test/test_credentials_with_secret.py -test/test_current_user.py -test/test_diff.py -test/test_diff_list.py -test/test_error.py -test/test_error_no_acl.py -test/test_experimental_api.py -test/test_external_api.py -test/test_external_login_information.py -test/test_external_principal.py -test/test_external_principal_creation.py -test/test_external_principal_list.py -test/test_external_principal_settings.py -test/test_find_merge_base_result.py -test/test_garbage_collection_config.py -test/test_garbage_collection_prepare_response.py -test/test_garbage_collection_rule.py -test/test_garbage_collection_rules.py -test/test_group.py -test/test_group_creation.py -test/test_group_list.py -test/test_health_check_api.py -test/test_hook_run.py -test/test_hook_run_list.py -test/test_import_api.py -test/test_import_creation.py -test/test_import_creation_response.py -test/test_import_location.py -test/test_import_status.py -test/test_inline_object.py -test/test_inline_object1.py -test/test_installation_usage_report.py -test/test_internal_api.py -test/test_login_config.py -test/test_login_information.py -test/test_merge.py -test/test_merge_result.py -test/test_meta_range_creation.py -test/test_meta_range_creation_response.py -test/test_metadata_api.py -test/test_object_copy_creation.py -test/test_object_error.py -test/test_object_error_list.py -test/test_object_stage_creation.py -test/test_object_stats.py -test/test_object_stats_list.py -test/test_object_user_metadata.py -test/test_objects_api.py -test/test_pagination.py -test/test_path_list.py -test/test_policy.py -test/test_policy_list.py -test/test_prepare_gc_uncommitted_request.py -test/test_prepare_gc_uncommitted_response.py -test/test_presign_multipart_upload.py -test/test_pull_request.py -test/test_pull_request_all_of.py -test/test_pull_request_basic.py -test/test_pull_request_creation.py -test/test_pull_request_creation_response.py -test/test_pull_requests_list.py -test/test_pulls_api.py -test/test_range_metadata.py -test/test_ref.py -test/test_ref_list.py -test/test_refs_api.py -test/test_refs_dump.py -test/test_refs_restore.py -test/test_repositories_api.py -test/test_repository.py -test/test_repository_creation.py -test/test_repository_dump_status.py -test/test_repository_list.py -test/test_repository_metadata.py -test/test_repository_metadata_keys.py -test/test_repository_metadata_set.py -test/test_repository_restore_status.py -test/test_reset_creation.py -test/test_revert_creation.py -test/test_setup.py -test/test_setup_state.py -test/test_staging_api.py -test/test_staging_location.py -test/test_staging_metadata.py -test/test_statement.py -test/test_stats_event.py -test/test_stats_events_list.py -test/test_storage_config.py -test/test_storage_uri.py -test/test_sts_auth_request.py -test/test_tag_creation.py -test/test_tags_api.py -test/test_task_info.py -test/test_underlying_object_properties.py -test/test_update_object_user_metadata.py -test/test_update_token.py -test/test_upload_part.py -test/test_usage_report.py -test/test_user.py -test/test_user_creation.py -test/test_user_list.py -test/test_version_config.py -tox.ini diff --git a/clients/python-legacy/.openapi-generator/VERSION b/clients/python-legacy/.openapi-generator/VERSION deleted file mode 100644 index e230c8396d1..00000000000 --- a/clients/python-legacy/.openapi-generator/VERSION +++ /dev/null @@ -1 +0,0 @@ -5.3.0 \ No newline at end of file diff --git a/clients/python-legacy/.travis.yml b/clients/python-legacy/.travis.yml deleted file mode 100644 index ba7fcb1fd2c..00000000000 --- a/clients/python-legacy/.travis.yml +++ /dev/null @@ -1,13 +0,0 @@ -# ref: https://docs.travis-ci.com/user/languages/python -language: python -python: - - "3.6" - - "3.7" - - "3.8" - - "3.9" -# command to install dependencies -install: - - "pip install -r requirements.txt" - - "pip install -r test-requirements.txt" -# command to run tests -script: pytest --cov=lakefs_client diff --git a/clients/python-legacy/Gemfile b/clients/python-legacy/Gemfile deleted file mode 100644 index 37f5eaa42e5..00000000000 --- a/clients/python-legacy/Gemfile +++ /dev/null @@ -1,2 +0,0 @@ -source 'https://rubygems.org' -gem 'github-pages', group: :jekyll_plugins diff --git a/clients/python-legacy/Gemfile.lock b/clients/python-legacy/Gemfile.lock deleted file mode 100644 index 2691e7384c1..00000000000 --- a/clients/python-legacy/Gemfile.lock +++ /dev/null @@ -1,276 +0,0 @@ -GEM - remote: https://rubygems.org/ - specs: - activesupport (7.1.1) - base64 - bigdecimal - concurrent-ruby (~> 1.0, >= 1.0.2) - connection_pool (>= 2.2.5) - drb - i18n (>= 1.6, < 2) - minitest (>= 5.1) - mutex_m - tzinfo (~> 2.0) - addressable (2.8.5) - public_suffix (>= 2.0.2, < 6.0) - base64 (0.1.1) - bigdecimal (3.1.4) - coffee-script (2.4.1) - coffee-script-source - execjs - coffee-script-source (1.11.1) - colorator (1.1.0) - commonmarker (0.23.10) - concurrent-ruby (1.2.2) - connection_pool (2.4.1) - dnsruby (1.70.0) - simpleidn (~> 0.2.1) - drb (2.1.1) - ruby2_keywords - em-websocket (0.5.3) - eventmachine (>= 0.12.9) - http_parser.rb (~> 0) - ethon (0.16.0) - ffi (>= 1.15.0) - eventmachine (1.2.7) - execjs (2.9.1) - faraday (2.7.11) - base64 - faraday-net_http (>= 2.0, < 3.1) - ruby2_keywords (>= 0.0.4) - faraday-net_http (3.0.2) - ffi (1.16.3) - forwardable-extended (2.6.0) - gemoji (3.0.1) - github-pages (228) - github-pages-health-check (= 1.17.9) - jekyll (= 3.9.3) - jekyll-avatar (= 0.7.0) - jekyll-coffeescript (= 1.1.1) - jekyll-commonmark-ghpages (= 0.4.0) - jekyll-default-layout (= 0.1.4) - jekyll-feed (= 0.15.1) - jekyll-gist (= 1.5.0) - jekyll-github-metadata (= 2.13.0) - jekyll-include-cache (= 0.2.1) - jekyll-mentions (= 1.6.0) - jekyll-optional-front-matter (= 0.3.2) - jekyll-paginate (= 1.1.0) - jekyll-readme-index (= 0.3.0) - jekyll-redirect-from (= 0.16.0) - jekyll-relative-links (= 0.6.1) - jekyll-remote-theme (= 0.4.3) - jekyll-sass-converter (= 1.5.2) - jekyll-seo-tag (= 2.8.0) - jekyll-sitemap (= 1.4.0) - jekyll-swiss (= 1.0.0) - jekyll-theme-architect (= 0.2.0) - jekyll-theme-cayman (= 0.2.0) - jekyll-theme-dinky (= 0.2.0) - jekyll-theme-hacker (= 0.2.0) - jekyll-theme-leap-day (= 0.2.0) - jekyll-theme-merlot (= 0.2.0) - jekyll-theme-midnight (= 0.2.0) - jekyll-theme-minimal (= 0.2.0) - jekyll-theme-modernist (= 0.2.0) - jekyll-theme-primer (= 0.6.0) - jekyll-theme-slate (= 0.2.0) - jekyll-theme-tactile (= 0.2.0) - jekyll-theme-time-machine (= 0.2.0) - jekyll-titles-from-headings (= 0.5.3) - jemoji (= 0.12.0) - kramdown (= 2.3.2) - kramdown-parser-gfm (= 1.1.0) - liquid (= 4.0.4) - mercenary (~> 0.3) - minima (= 2.5.1) - nokogiri (>= 1.13.6, < 2.0) - rouge (= 3.26.0) - terminal-table (~> 1.4) - github-pages-health-check (1.17.9) - addressable (~> 2.3) - dnsruby (~> 1.60) - octokit (~> 4.0) - public_suffix (>= 3.0, < 5.0) - typhoeus (~> 1.3) - html-pipeline (2.14.3) - activesupport (>= 2) - nokogiri (>= 1.4) - http_parser.rb (0.8.0) - i18n (1.14.1) - concurrent-ruby (~> 1.0) - jekyll (3.9.3) - addressable (~> 2.4) - colorator (~> 1.0) - em-websocket (~> 0.5) - i18n (>= 0.7, < 2) - jekyll-sass-converter (~> 1.0) - jekyll-watch (~> 2.0) - kramdown (>= 1.17, < 3) - liquid (~> 4.0) - mercenary (~> 0.3.3) - pathutil (~> 0.9) - rouge (>= 1.7, < 4) - safe_yaml (~> 1.0) - jekyll-avatar (0.7.0) - jekyll (>= 3.0, < 5.0) - jekyll-coffeescript (1.1.1) - coffee-script (~> 2.2) - coffee-script-source (~> 1.11.1) - jekyll-commonmark (1.4.0) - commonmarker (~> 0.22) - jekyll-commonmark-ghpages (0.4.0) - commonmarker (~> 0.23.7) - jekyll (~> 3.9.0) - jekyll-commonmark (~> 1.4.0) - rouge (>= 2.0, < 5.0) - jekyll-default-layout (0.1.4) - jekyll (~> 3.0) - jekyll-feed (0.15.1) - jekyll (>= 3.7, < 5.0) - jekyll-gist (1.5.0) - octokit (~> 4.2) - jekyll-github-metadata (2.13.0) - jekyll (>= 3.4, < 5.0) - octokit (~> 4.0, != 4.4.0) - jekyll-include-cache (0.2.1) - jekyll (>= 3.7, < 5.0) - jekyll-mentions (1.6.0) - html-pipeline (~> 2.3) - jekyll (>= 3.7, < 5.0) - jekyll-optional-front-matter (0.3.2) - jekyll (>= 3.0, < 5.0) - jekyll-paginate (1.1.0) - jekyll-readme-index (0.3.0) - jekyll (>= 3.0, < 5.0) - jekyll-redirect-from (0.16.0) - jekyll (>= 3.3, < 5.0) - jekyll-relative-links (0.6.1) - jekyll (>= 3.3, < 5.0) - jekyll-remote-theme (0.4.3) - addressable (~> 2.0) - jekyll (>= 3.5, < 5.0) - jekyll-sass-converter (>= 1.0, <= 3.0.0, != 2.0.0) - rubyzip (>= 1.3.0, < 3.0) - jekyll-sass-converter (1.5.2) - sass (~> 3.4) - jekyll-seo-tag (2.8.0) - jekyll (>= 3.8, < 5.0) - jekyll-sitemap (1.4.0) - jekyll (>= 3.7, < 5.0) - jekyll-swiss (1.0.0) - jekyll-theme-architect (0.2.0) - jekyll (> 3.5, < 5.0) - jekyll-seo-tag (~> 2.0) - jekyll-theme-cayman (0.2.0) - jekyll (> 3.5, < 5.0) - jekyll-seo-tag (~> 2.0) - jekyll-theme-dinky (0.2.0) - jekyll (> 3.5, < 5.0) - jekyll-seo-tag (~> 2.0) - jekyll-theme-hacker (0.2.0) - jekyll (> 3.5, < 5.0) - jekyll-seo-tag (~> 2.0) - jekyll-theme-leap-day (0.2.0) - jekyll (> 3.5, < 5.0) - jekyll-seo-tag (~> 2.0) - jekyll-theme-merlot (0.2.0) - jekyll (> 3.5, < 5.0) - jekyll-seo-tag (~> 2.0) - jekyll-theme-midnight (0.2.0) - jekyll (> 3.5, < 5.0) - jekyll-seo-tag (~> 2.0) - jekyll-theme-minimal (0.2.0) - jekyll (> 3.5, < 5.0) - jekyll-seo-tag (~> 2.0) - jekyll-theme-modernist (0.2.0) - jekyll (> 3.5, < 5.0) - jekyll-seo-tag (~> 2.0) - jekyll-theme-primer (0.6.0) - jekyll (> 3.5, < 5.0) - jekyll-github-metadata (~> 2.9) - jekyll-seo-tag (~> 2.0) - jekyll-theme-slate (0.2.0) - jekyll (> 3.5, < 5.0) - jekyll-seo-tag (~> 2.0) - jekyll-theme-tactile (0.2.0) - jekyll (> 3.5, < 5.0) - jekyll-seo-tag (~> 2.0) - jekyll-theme-time-machine (0.2.0) - jekyll (> 3.5, < 5.0) - jekyll-seo-tag (~> 2.0) - jekyll-titles-from-headings (0.5.3) - jekyll (>= 3.3, < 5.0) - jekyll-watch (2.2.1) - listen (~> 3.0) - jemoji (0.12.0) - gemoji (~> 3.0) - html-pipeline (~> 2.2) - jekyll (>= 3.0, < 5.0) - kramdown (2.3.2) - rexml - kramdown-parser-gfm (1.1.0) - kramdown (~> 2.0) - liquid (4.0.4) - listen (3.8.0) - rb-fsevent (~> 0.10, >= 0.10.3) - rb-inotify (~> 0.9, >= 0.9.10) - mercenary (0.3.6) - minima (2.5.1) - jekyll (>= 3.5, < 5.0) - jekyll-feed (~> 0.9) - jekyll-seo-tag (~> 2.1) - minitest (5.20.0) - mutex_m (0.1.2) - nokogiri (1.16.2-arm64-darwin) - racc (~> 1.4) - nokogiri (1.16.2-x86_64-darwin) - racc (~> 1.4) - nokogiri (1.16.2-x86_64-linux) - racc (~> 1.4) - octokit (4.25.1) - faraday (>= 1, < 3) - sawyer (~> 0.9) - pathutil (0.16.2) - forwardable-extended (~> 2.6) - public_suffix (4.0.7) - racc (1.7.3) - rb-fsevent (0.11.2) - rb-inotify (0.10.1) - ffi (~> 1.0) - rexml (3.2.6) - rouge (3.26.0) - ruby2_keywords (0.0.5) - rubyzip (2.3.2) - safe_yaml (1.0.5) - sass (3.7.4) - sass-listen (~> 4.0.0) - sass-listen (4.0.0) - rb-fsevent (~> 0.9, >= 0.9.4) - rb-inotify (~> 0.9, >= 0.9.7) - sawyer (0.9.2) - addressable (>= 2.3.5) - faraday (>= 0.17.3, < 3) - simpleidn (0.2.1) - unf (~> 0.1.4) - terminal-table (1.8.0) - unicode-display_width (~> 1.1, >= 1.1.1) - typhoeus (1.4.0) - ethon (>= 0.9.0) - tzinfo (2.0.6) - concurrent-ruby (~> 1.0) - unf (0.1.4) - unf_ext - unf_ext (0.0.8.2) - unicode-display_width (1.8.0) - -PLATFORMS - arm64-darwin-21 - universal-darwin-20 - x86_64-linux - -DEPENDENCIES - github-pages - -BUNDLED WITH - 2.2.2 diff --git a/clients/python-legacy/README.md b/clients/python-legacy/README.md deleted file mode 100644 index 7d3c4d19611..00000000000 --- a/clients/python-legacy/README.md +++ /dev/null @@ -1,437 +0,0 @@ -# lakefs-client -lakeFS HTTP API - -This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: - -- API version: 1.0.0 -- Package version: 0.1.0-SNAPSHOT -- Build package: org.openapitools.codegen.languages.PythonClientCodegen - -## Requirements. - -Python >= 3.6 - -## Installation & Usage -### pip install - -If the python package is hosted on a repository, you can install directly using: - -```sh -pip install git+https://github.com/treeverse/lakeFS.git -``` -(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/treeverse/lakeFS.git`) - -Then import the package: -```python -import lakefs_client -``` - -### Setuptools - -Install via [Setuptools](http://pypi.python.org/pypi/setuptools). - -```sh -python setup.py install --user -``` -(or `sudo python setup.py install` to install the package for all users) - -Then import the package: -```python -import lakefs_client -``` - -## Getting Started - -Please follow the [installation procedure](#installation--usage) and then run the following: - -```python - -import time -import lakefs_client -from pprint import pprint -from lakefs_client.api import actions_api -from lakefs_client.model.action_run import ActionRun -from lakefs_client.model.action_run_list import ActionRunList -from lakefs_client.model.error import Error -from lakefs_client.model.hook_run_list import HookRunList -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = actions_api.ActionsApi(api_client) - repository = "repository_example" # str | -run_id = "run_id_example" # str | - - try: - # get a run - api_response = api_instance.get_run(repository, run_id) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling ActionsApi->get_run: %s\n" % e) -``` - -## Documentation for API Endpoints - -All URIs are relative to *http://localhost/api/v1* - -Class | Method | HTTP request | Description ------------- | ------------- | ------------- | ------------- -*ActionsApi* | [**get_run**](docs/ActionsApi.md#get_run) | **GET** /repositories/{repository}/actions/runs/{run_id} | get a run -*ActionsApi* | [**get_run_hook_output**](docs/ActionsApi.md#get_run_hook_output) | **GET** /repositories/{repository}/actions/runs/{run_id}/hooks/{hook_run_id}/output | get run hook output -*ActionsApi* | [**list_repository_runs**](docs/ActionsApi.md#list_repository_runs) | **GET** /repositories/{repository}/actions/runs | list runs -*ActionsApi* | [**list_run_hooks**](docs/ActionsApi.md#list_run_hooks) | **GET** /repositories/{repository}/actions/runs/{run_id}/hooks | list run hooks -*AuthApi* | [**add_group_membership**](docs/AuthApi.md#add_group_membership) | **PUT** /auth/groups/{groupId}/members/{userId} | add group membership -*AuthApi* | [**attach_policy_to_group**](docs/AuthApi.md#attach_policy_to_group) | **PUT** /auth/groups/{groupId}/policies/{policyId} | attach policy to group -*AuthApi* | [**attach_policy_to_user**](docs/AuthApi.md#attach_policy_to_user) | **PUT** /auth/users/{userId}/policies/{policyId} | attach policy to user -*AuthApi* | [**create_credentials**](docs/AuthApi.md#create_credentials) | **POST** /auth/users/{userId}/credentials | create credentials -*AuthApi* | [**create_group**](docs/AuthApi.md#create_group) | **POST** /auth/groups | create group -*AuthApi* | [**create_policy**](docs/AuthApi.md#create_policy) | **POST** /auth/policies | create policy -*AuthApi* | [**create_user**](docs/AuthApi.md#create_user) | **POST** /auth/users | create user -*AuthApi* | [**create_user_external_principal**](docs/AuthApi.md#create_user_external_principal) | **POST** /auth/users/{userId}/external/principals | attach external principal to user -*AuthApi* | [**delete_credentials**](docs/AuthApi.md#delete_credentials) | **DELETE** /auth/users/{userId}/credentials/{accessKeyId} | delete credentials -*AuthApi* | [**delete_group**](docs/AuthApi.md#delete_group) | **DELETE** /auth/groups/{groupId} | delete group -*AuthApi* | [**delete_group_membership**](docs/AuthApi.md#delete_group_membership) | **DELETE** /auth/groups/{groupId}/members/{userId} | delete group membership -*AuthApi* | [**delete_policy**](docs/AuthApi.md#delete_policy) | **DELETE** /auth/policies/{policyId} | delete policy -*AuthApi* | [**delete_user**](docs/AuthApi.md#delete_user) | **DELETE** /auth/users/{userId} | delete user -*AuthApi* | [**delete_user_external_principal**](docs/AuthApi.md#delete_user_external_principal) | **DELETE** /auth/users/{userId}/external/principals | delete external principal from user -*AuthApi* | [**detach_policy_from_group**](docs/AuthApi.md#detach_policy_from_group) | **DELETE** /auth/groups/{groupId}/policies/{policyId} | detach policy from group -*AuthApi* | [**detach_policy_from_user**](docs/AuthApi.md#detach_policy_from_user) | **DELETE** /auth/users/{userId}/policies/{policyId} | detach policy from user -*AuthApi* | [**external_principal_login**](docs/AuthApi.md#external_principal_login) | **POST** /auth/external/principal/login | perform a login using an external authenticator -*AuthApi* | [**get_credentials**](docs/AuthApi.md#get_credentials) | **GET** /auth/users/{userId}/credentials/{accessKeyId} | get credentials -*AuthApi* | [**get_current_user**](docs/AuthApi.md#get_current_user) | **GET** /user | get current user -*AuthApi* | [**get_external_principal**](docs/AuthApi.md#get_external_principal) | **GET** /auth/external/principals | describe external principal by id -*AuthApi* | [**get_group**](docs/AuthApi.md#get_group) | **GET** /auth/groups/{groupId} | get group -*AuthApi* | [**get_group_acl**](docs/AuthApi.md#get_group_acl) | **GET** /auth/groups/{groupId}/acl | get ACL of group -*AuthApi* | [**get_policy**](docs/AuthApi.md#get_policy) | **GET** /auth/policies/{policyId} | get policy -*AuthApi* | [**get_user**](docs/AuthApi.md#get_user) | **GET** /auth/users/{userId} | get user -*AuthApi* | [**list_group_members**](docs/AuthApi.md#list_group_members) | **GET** /auth/groups/{groupId}/members | list group members -*AuthApi* | [**list_group_policies**](docs/AuthApi.md#list_group_policies) | **GET** /auth/groups/{groupId}/policies | list group policies -*AuthApi* | [**list_groups**](docs/AuthApi.md#list_groups) | **GET** /auth/groups | list groups -*AuthApi* | [**list_policies**](docs/AuthApi.md#list_policies) | **GET** /auth/policies | list policies -*AuthApi* | [**list_user_credentials**](docs/AuthApi.md#list_user_credentials) | **GET** /auth/users/{userId}/credentials | list user credentials -*AuthApi* | [**list_user_external_principals**](docs/AuthApi.md#list_user_external_principals) | **GET** /auth/users/{userId}/external/principals/ls | list user external policies attached to a user -*AuthApi* | [**list_user_groups**](docs/AuthApi.md#list_user_groups) | **GET** /auth/users/{userId}/groups | list user groups -*AuthApi* | [**list_user_policies**](docs/AuthApi.md#list_user_policies) | **GET** /auth/users/{userId}/policies | list user policies -*AuthApi* | [**list_users**](docs/AuthApi.md#list_users) | **GET** /auth/users | list users -*AuthApi* | [**login**](docs/AuthApi.md#login) | **POST** /auth/login | perform a login -*AuthApi* | [**set_group_acl**](docs/AuthApi.md#set_group_acl) | **POST** /auth/groups/{groupId}/acl | set ACL of group -*AuthApi* | [**update_policy**](docs/AuthApi.md#update_policy) | **PUT** /auth/policies/{policyId} | update policy -*BranchesApi* | [**cherry_pick**](docs/BranchesApi.md#cherry_pick) | **POST** /repositories/{repository}/branches/{branch}/cherry-pick | Replay the changes from the given commit on the branch -*BranchesApi* | [**create_branch**](docs/BranchesApi.md#create_branch) | **POST** /repositories/{repository}/branches | create branch -*BranchesApi* | [**delete_branch**](docs/BranchesApi.md#delete_branch) | **DELETE** /repositories/{repository}/branches/{branch} | delete branch -*BranchesApi* | [**diff_branch**](docs/BranchesApi.md#diff_branch) | **GET** /repositories/{repository}/branches/{branch}/diff | diff branch -*BranchesApi* | [**get_branch**](docs/BranchesApi.md#get_branch) | **GET** /repositories/{repository}/branches/{branch} | get branch -*BranchesApi* | [**list_branches**](docs/BranchesApi.md#list_branches) | **GET** /repositories/{repository}/branches | list branches -*BranchesApi* | [**reset_branch**](docs/BranchesApi.md#reset_branch) | **PUT** /repositories/{repository}/branches/{branch} | reset branch -*BranchesApi* | [**revert_branch**](docs/BranchesApi.md#revert_branch) | **POST** /repositories/{repository}/branches/{branch}/revert | revert -*CommitsApi* | [**commit**](docs/CommitsApi.md#commit) | **POST** /repositories/{repository}/branches/{branch}/commits | create commit -*CommitsApi* | [**get_commit**](docs/CommitsApi.md#get_commit) | **GET** /repositories/{repository}/commits/{commitId} | get commit -*ConfigApi* | [**get_config**](docs/ConfigApi.md#get_config) | **GET** /config | -*ExperimentalApi* | [**abort_presign_multipart_upload**](docs/ExperimentalApi.md#abort_presign_multipart_upload) | **DELETE** /repositories/{repository}/branches/{branch}/staging/pmpu/{uploadId} | Abort a presign multipart upload -*ExperimentalApi* | [**complete_presign_multipart_upload**](docs/ExperimentalApi.md#complete_presign_multipart_upload) | **PUT** /repositories/{repository}/branches/{branch}/staging/pmpu/{uploadId} | Complete a presign multipart upload request -*ExperimentalApi* | [**create_presign_multipart_upload**](docs/ExperimentalApi.md#create_presign_multipart_upload) | **POST** /repositories/{repository}/branches/{branch}/staging/pmpu | Initiate a multipart upload -*ExperimentalApi* | [**create_pull_request**](docs/ExperimentalApi.md#create_pull_request) | **POST** /repositories/{repository}/pulls | create pull request -*ExperimentalApi* | [**create_user_external_principal**](docs/ExperimentalApi.md#create_user_external_principal) | **POST** /auth/users/{userId}/external/principals | attach external principal to user -*ExperimentalApi* | [**delete_user_external_principal**](docs/ExperimentalApi.md#delete_user_external_principal) | **DELETE** /auth/users/{userId}/external/principals | delete external principal from user -*ExperimentalApi* | [**external_principal_login**](docs/ExperimentalApi.md#external_principal_login) | **POST** /auth/external/principal/login | perform a login using an external authenticator -*ExperimentalApi* | [**get_external_principal**](docs/ExperimentalApi.md#get_external_principal) | **GET** /auth/external/principals | describe external principal by id -*ExperimentalApi* | [**get_pull_request**](docs/ExperimentalApi.md#get_pull_request) | **GET** /repositories/{repository}/pulls/{pull_request} | get pull request -*ExperimentalApi* | [**hard_reset_branch**](docs/ExperimentalApi.md#hard_reset_branch) | **PUT** /repositories/{repository}/branches/{branch}/hard_reset | hard reset branch -*ExperimentalApi* | [**list_pull_requests**](docs/ExperimentalApi.md#list_pull_requests) | **GET** /repositories/{repository}/pulls | list pull requests -*ExperimentalApi* | [**list_user_external_principals**](docs/ExperimentalApi.md#list_user_external_principals) | **GET** /auth/users/{userId}/external/principals/ls | list user external policies attached to a user -*ExperimentalApi* | [**merge_pull_request**](docs/ExperimentalApi.md#merge_pull_request) | **PUT** /repositories/{repository}/pulls/{pull_request}/merge | merge pull request -*ExperimentalApi* | [**sts_login**](docs/ExperimentalApi.md#sts_login) | **POST** /sts/login | perform a login with STS -*ExperimentalApi* | [**update_object_user_metadata**](docs/ExperimentalApi.md#update_object_user_metadata) | **PUT** /repositories/{repository}/branches/{branch}/objects/stat/user_metadata | rewrite (all) object metadata -*ExperimentalApi* | [**update_pull_request**](docs/ExperimentalApi.md#update_pull_request) | **PATCH** /repositories/{repository}/pulls/{pull_request} | update pull request -*ExternalApi* | [**create_user_external_principal**](docs/ExternalApi.md#create_user_external_principal) | **POST** /auth/users/{userId}/external/principals | attach external principal to user -*ExternalApi* | [**delete_user_external_principal**](docs/ExternalApi.md#delete_user_external_principal) | **DELETE** /auth/users/{userId}/external/principals | delete external principal from user -*ExternalApi* | [**external_principal_login**](docs/ExternalApi.md#external_principal_login) | **POST** /auth/external/principal/login | perform a login using an external authenticator -*ExternalApi* | [**get_external_principal**](docs/ExternalApi.md#get_external_principal) | **GET** /auth/external/principals | describe external principal by id -*ExternalApi* | [**list_user_external_principals**](docs/ExternalApi.md#list_user_external_principals) | **GET** /auth/users/{userId}/external/principals/ls | list user external policies attached to a user -*HealthCheckApi* | [**health_check**](docs/HealthCheckApi.md#health_check) | **GET** /healthcheck | -*ImportApi* | [**import_cancel**](docs/ImportApi.md#import_cancel) | **DELETE** /repositories/{repository}/branches/{branch}/import | cancel ongoing import -*ImportApi* | [**import_start**](docs/ImportApi.md#import_start) | **POST** /repositories/{repository}/branches/{branch}/import | import data from object store -*ImportApi* | [**import_status**](docs/ImportApi.md#import_status) | **GET** /repositories/{repository}/branches/{branch}/import | get import status -*InternalApi* | [**create_branch_protection_rule_preflight**](docs/InternalApi.md#create_branch_protection_rule_preflight) | **GET** /repositories/{repository}/branch_protection/set_allowed | -*InternalApi* | [**create_commit_record**](docs/InternalApi.md#create_commit_record) | **POST** /repositories/{repository}/commits | create commit record -*InternalApi* | [**create_symlink_file**](docs/InternalApi.md#create_symlink_file) | **POST** /repositories/{repository}/refs/{branch}/symlink | creates symlink files corresponding to the given directory -*InternalApi* | [**delete_repository_metadata**](docs/InternalApi.md#delete_repository_metadata) | **DELETE** /repositories/{repository}/metadata | delete repository metadata -*InternalApi* | [**dump_refs**](docs/InternalApi.md#dump_refs) | **PUT** /repositories/{repository}/refs/dump | Dump repository refs (tags, commits, branches) to object store Deprecated: a new API will introduce long running operations -*InternalApi* | [**get_auth_capabilities**](docs/InternalApi.md#get_auth_capabilities) | **GET** /auth/capabilities | list authentication capabilities supported -*InternalApi* | [**get_garbage_collection_config**](docs/InternalApi.md#get_garbage_collection_config) | **GET** /config/garbage-collection | -*InternalApi* | [**get_lake_fs_version**](docs/InternalApi.md#get_lake_fs_version) | **GET** /config/version | -*InternalApi* | [**get_metadata_object**](docs/InternalApi.md#get_metadata_object) | **GET** /repositories/{repository}/metadata/object/{type}/{object_id} | return a lakeFS metadata object by ID -*InternalApi* | [**get_setup_state**](docs/InternalApi.md#get_setup_state) | **GET** /setup_lakefs | check if the lakeFS installation is already set up -*InternalApi* | [**get_storage_config**](docs/InternalApi.md#get_storage_config) | **GET** /config/storage | -*InternalApi* | [**get_usage_report_summary**](docs/InternalApi.md#get_usage_report_summary) | **GET** /usage-report/summary | get usage report summary -*InternalApi* | [**internal_create_branch_protection_rule**](docs/InternalApi.md#internal_create_branch_protection_rule) | **POST** /repositories/{repository}/branch_protection | -*InternalApi* | [**internal_delete_branch_protection_rule**](docs/InternalApi.md#internal_delete_branch_protection_rule) | **DELETE** /repositories/{repository}/branch_protection | -*InternalApi* | [**internal_delete_garbage_collection_rules**](docs/InternalApi.md#internal_delete_garbage_collection_rules) | **DELETE** /repositories/{repository}/gc/rules | -*InternalApi* | [**internal_get_branch_protection_rules**](docs/InternalApi.md#internal_get_branch_protection_rules) | **GET** /repositories/{repository}/branch_protection | get branch protection rules -*InternalApi* | [**internal_get_garbage_collection_rules**](docs/InternalApi.md#internal_get_garbage_collection_rules) | **GET** /repositories/{repository}/gc/rules | -*InternalApi* | [**internal_set_garbage_collection_rules**](docs/InternalApi.md#internal_set_garbage_collection_rules) | **POST** /repositories/{repository}/gc/rules | -*InternalApi* | [**post_stats_events**](docs/InternalApi.md#post_stats_events) | **POST** /statistics | post stats events, this endpoint is meant for internal use only -*InternalApi* | [**prepare_garbage_collection_commits**](docs/InternalApi.md#prepare_garbage_collection_commits) | **POST** /repositories/{repository}/gc/prepare_commits | save lists of active commits for garbage collection -*InternalApi* | [**prepare_garbage_collection_uncommitted**](docs/InternalApi.md#prepare_garbage_collection_uncommitted) | **POST** /repositories/{repository}/gc/prepare_uncommited | save repository uncommitted metadata for garbage collection -*InternalApi* | [**restore_refs**](docs/InternalApi.md#restore_refs) | **PUT** /repositories/{repository}/refs/restore | Restore repository refs (tags, commits, branches) from object store. Deprecated: a new API will introduce long running operations -*InternalApi* | [**set_garbage_collection_rules_preflight**](docs/InternalApi.md#set_garbage_collection_rules_preflight) | **GET** /repositories/{repository}/gc/rules/set_allowed | -*InternalApi* | [**set_repository_metadata**](docs/InternalApi.md#set_repository_metadata) | **POST** /repositories/{repository}/metadata | set repository metadata -*InternalApi* | [**setup**](docs/InternalApi.md#setup) | **POST** /setup_lakefs | setup lakeFS and create a first user -*InternalApi* | [**setup_comm_prefs**](docs/InternalApi.md#setup_comm_prefs) | **POST** /setup_comm_prefs | setup communications preferences -*InternalApi* | [**stage_object**](docs/InternalApi.md#stage_object) | **PUT** /repositories/{repository}/branches/{branch}/objects | stage an object's metadata for the given branch -*InternalApi* | [**upload_object_preflight**](docs/InternalApi.md#upload_object_preflight) | **GET** /repositories/{repository}/branches/{branch}/objects/stage_allowed | -*MetadataApi* | [**get_meta_range**](docs/MetadataApi.md#get_meta_range) | **GET** /repositories/{repository}/metadata/meta_range/{meta_range} | return URI to a meta-range file -*MetadataApi* | [**get_range**](docs/MetadataApi.md#get_range) | **GET** /repositories/{repository}/metadata/range/{range} | return URI to a range file -*ObjectsApi* | [**copy_object**](docs/ObjectsApi.md#copy_object) | **POST** /repositories/{repository}/branches/{branch}/objects/copy | create a copy of an object -*ObjectsApi* | [**delete_object**](docs/ObjectsApi.md#delete_object) | **DELETE** /repositories/{repository}/branches/{branch}/objects | delete object. Missing objects will not return a NotFound error. -*ObjectsApi* | [**delete_objects**](docs/ObjectsApi.md#delete_objects) | **POST** /repositories/{repository}/branches/{branch}/objects/delete | delete objects. Missing objects will not return a NotFound error. -*ObjectsApi* | [**get_object**](docs/ObjectsApi.md#get_object) | **GET** /repositories/{repository}/refs/{ref}/objects | get object content -*ObjectsApi* | [**get_underlying_properties**](docs/ObjectsApi.md#get_underlying_properties) | **GET** /repositories/{repository}/refs/{ref}/objects/underlyingProperties | get object properties on underlying storage -*ObjectsApi* | [**head_object**](docs/ObjectsApi.md#head_object) | **HEAD** /repositories/{repository}/refs/{ref}/objects | check if object exists -*ObjectsApi* | [**list_objects**](docs/ObjectsApi.md#list_objects) | **GET** /repositories/{repository}/refs/{ref}/objects/ls | list objects under a given prefix -*ObjectsApi* | [**stat_object**](docs/ObjectsApi.md#stat_object) | **GET** /repositories/{repository}/refs/{ref}/objects/stat | get object metadata -*ObjectsApi* | [**update_object_user_metadata**](docs/ObjectsApi.md#update_object_user_metadata) | **PUT** /repositories/{repository}/branches/{branch}/objects/stat/user_metadata | rewrite (all) object metadata -*ObjectsApi* | [**upload_object**](docs/ObjectsApi.md#upload_object) | **POST** /repositories/{repository}/branches/{branch}/objects | -*PullsApi* | [**create_pull_request**](docs/PullsApi.md#create_pull_request) | **POST** /repositories/{repository}/pulls | create pull request -*PullsApi* | [**get_pull_request**](docs/PullsApi.md#get_pull_request) | **GET** /repositories/{repository}/pulls/{pull_request} | get pull request -*PullsApi* | [**list_pull_requests**](docs/PullsApi.md#list_pull_requests) | **GET** /repositories/{repository}/pulls | list pull requests -*PullsApi* | [**merge_pull_request**](docs/PullsApi.md#merge_pull_request) | **PUT** /repositories/{repository}/pulls/{pull_request}/merge | merge pull request -*PullsApi* | [**update_pull_request**](docs/PullsApi.md#update_pull_request) | **PATCH** /repositories/{repository}/pulls/{pull_request} | update pull request -*RefsApi* | [**diff_refs**](docs/RefsApi.md#diff_refs) | **GET** /repositories/{repository}/refs/{leftRef}/diff/{rightRef} | diff references -*RefsApi* | [**find_merge_base**](docs/RefsApi.md#find_merge_base) | **GET** /repositories/{repository}/refs/{sourceRef}/merge/{destinationBranch} | find the merge base for 2 references -*RefsApi* | [**log_commits**](docs/RefsApi.md#log_commits) | **GET** /repositories/{repository}/refs/{ref}/commits | get commit log from ref. If both objects and prefixes are empty, return all commits. -*RefsApi* | [**merge_into_branch**](docs/RefsApi.md#merge_into_branch) | **POST** /repositories/{repository}/refs/{sourceRef}/merge/{destinationBranch} | merge references -*RepositoriesApi* | [**create_repository**](docs/RepositoriesApi.md#create_repository) | **POST** /repositories | create repository -*RepositoriesApi* | [**delete_gc_rules**](docs/RepositoriesApi.md#delete_gc_rules) | **DELETE** /repositories/{repository}/settings/gc_rules | -*RepositoriesApi* | [**delete_repository**](docs/RepositoriesApi.md#delete_repository) | **DELETE** /repositories/{repository} | delete repository -*RepositoriesApi* | [**dump_status**](docs/RepositoriesApi.md#dump_status) | **GET** /repositories/{repository}/dump | Status of a repository dump task -*RepositoriesApi* | [**dump_submit**](docs/RepositoriesApi.md#dump_submit) | **POST** /repositories/{repository}/dump | Backup the repository metadata (tags, commits, branches) and save the backup to the object store. -*RepositoriesApi* | [**get_branch_protection_rules**](docs/RepositoriesApi.md#get_branch_protection_rules) | **GET** /repositories/{repository}/settings/branch_protection | get branch protection rules -*RepositoriesApi* | [**get_gc_rules**](docs/RepositoriesApi.md#get_gc_rules) | **GET** /repositories/{repository}/settings/gc_rules | get repository GC rules -*RepositoriesApi* | [**get_repository**](docs/RepositoriesApi.md#get_repository) | **GET** /repositories/{repository} | get repository -*RepositoriesApi* | [**get_repository_metadata**](docs/RepositoriesApi.md#get_repository_metadata) | **GET** /repositories/{repository}/metadata | get repository metadata -*RepositoriesApi* | [**list_repositories**](docs/RepositoriesApi.md#list_repositories) | **GET** /repositories | list repositories -*RepositoriesApi* | [**restore_status**](docs/RepositoriesApi.md#restore_status) | **GET** /repositories/{repository}/restore | Status of a restore request -*RepositoriesApi* | [**restore_submit**](docs/RepositoriesApi.md#restore_submit) | **POST** /repositories/{repository}/restore | Restore repository from a dump in the object store -*RepositoriesApi* | [**set_branch_protection_rules**](docs/RepositoriesApi.md#set_branch_protection_rules) | **PUT** /repositories/{repository}/settings/branch_protection | -*RepositoriesApi* | [**set_gc_rules**](docs/RepositoriesApi.md#set_gc_rules) | **PUT** /repositories/{repository}/settings/gc_rules | -*StagingApi* | [**get_physical_address**](docs/StagingApi.md#get_physical_address) | **GET** /repositories/{repository}/branches/{branch}/staging/backing | generate an address to which the client can upload an object -*StagingApi* | [**link_physical_address**](docs/StagingApi.md#link_physical_address) | **PUT** /repositories/{repository}/branches/{branch}/staging/backing | associate staging on this physical address with a path -*TagsApi* | [**create_tag**](docs/TagsApi.md#create_tag) | **POST** /repositories/{repository}/tags | create tag -*TagsApi* | [**delete_tag**](docs/TagsApi.md#delete_tag) | **DELETE** /repositories/{repository}/tags/{tag} | delete tag -*TagsApi* | [**get_tag**](docs/TagsApi.md#get_tag) | **GET** /repositories/{repository}/tags/{tag} | get tag -*TagsApi* | [**list_tags**](docs/TagsApi.md#list_tags) | **GET** /repositories/{repository}/tags | list tags - - -## Documentation For Models - - - [ACL](docs/ACL.md) - - [AbortPresignMultipartUpload](docs/AbortPresignMultipartUpload.md) - - [AccessKeyCredentials](docs/AccessKeyCredentials.md) - - [ActionRun](docs/ActionRun.md) - - [ActionRunList](docs/ActionRunList.md) - - [AuthCapabilities](docs/AuthCapabilities.md) - - [AuthenticationToken](docs/AuthenticationToken.md) - - [BranchCreation](docs/BranchCreation.md) - - [BranchProtectionRule](docs/BranchProtectionRule.md) - - [CherryPickCreation](docs/CherryPickCreation.md) - - [CommPrefsInput](docs/CommPrefsInput.md) - - [Commit](docs/Commit.md) - - [CommitCreation](docs/CommitCreation.md) - - [CommitList](docs/CommitList.md) - - [CommitOverrides](docs/CommitOverrides.md) - - [CommitRecordCreation](docs/CommitRecordCreation.md) - - [CompletePresignMultipartUpload](docs/CompletePresignMultipartUpload.md) - - [Config](docs/Config.md) - - [Credentials](docs/Credentials.md) - - [CredentialsList](docs/CredentialsList.md) - - [CredentialsWithSecret](docs/CredentialsWithSecret.md) - - [CurrentUser](docs/CurrentUser.md) - - [Diff](docs/Diff.md) - - [DiffList](docs/DiffList.md) - - [Error](docs/Error.md) - - [ErrorNoACL](docs/ErrorNoACL.md) - - [ExternalLoginInformation](docs/ExternalLoginInformation.md) - - [ExternalPrincipal](docs/ExternalPrincipal.md) - - [ExternalPrincipalCreation](docs/ExternalPrincipalCreation.md) - - [ExternalPrincipalList](docs/ExternalPrincipalList.md) - - [ExternalPrincipalSettings](docs/ExternalPrincipalSettings.md) - - [FindMergeBaseResult](docs/FindMergeBaseResult.md) - - [GarbageCollectionConfig](docs/GarbageCollectionConfig.md) - - [GarbageCollectionPrepareResponse](docs/GarbageCollectionPrepareResponse.md) - - [GarbageCollectionRule](docs/GarbageCollectionRule.md) - - [GarbageCollectionRules](docs/GarbageCollectionRules.md) - - [Group](docs/Group.md) - - [GroupCreation](docs/GroupCreation.md) - - [GroupList](docs/GroupList.md) - - [HookRun](docs/HookRun.md) - - [HookRunList](docs/HookRunList.md) - - [ImportCreation](docs/ImportCreation.md) - - [ImportCreationResponse](docs/ImportCreationResponse.md) - - [ImportLocation](docs/ImportLocation.md) - - [ImportStatus](docs/ImportStatus.md) - - [InlineObject](docs/InlineObject.md) - - [InlineObject1](docs/InlineObject1.md) - - [InstallationUsageReport](docs/InstallationUsageReport.md) - - [LoginConfig](docs/LoginConfig.md) - - [LoginInformation](docs/LoginInformation.md) - - [Merge](docs/Merge.md) - - [MergeResult](docs/MergeResult.md) - - [MetaRangeCreation](docs/MetaRangeCreation.md) - - [MetaRangeCreationResponse](docs/MetaRangeCreationResponse.md) - - [ObjectCopyCreation](docs/ObjectCopyCreation.md) - - [ObjectError](docs/ObjectError.md) - - [ObjectErrorList](docs/ObjectErrorList.md) - - [ObjectStageCreation](docs/ObjectStageCreation.md) - - [ObjectStats](docs/ObjectStats.md) - - [ObjectStatsList](docs/ObjectStatsList.md) - - [ObjectUserMetadata](docs/ObjectUserMetadata.md) - - [Pagination](docs/Pagination.md) - - [PathList](docs/PathList.md) - - [Policy](docs/Policy.md) - - [PolicyList](docs/PolicyList.md) - - [PrepareGCUncommittedRequest](docs/PrepareGCUncommittedRequest.md) - - [PrepareGCUncommittedResponse](docs/PrepareGCUncommittedResponse.md) - - [PresignMultipartUpload](docs/PresignMultipartUpload.md) - - [PullRequest](docs/PullRequest.md) - - [PullRequestAllOf](docs/PullRequestAllOf.md) - - [PullRequestBasic](docs/PullRequestBasic.md) - - [PullRequestCreation](docs/PullRequestCreation.md) - - [PullRequestCreationResponse](docs/PullRequestCreationResponse.md) - - [PullRequestsList](docs/PullRequestsList.md) - - [RangeMetadata](docs/RangeMetadata.md) - - [Ref](docs/Ref.md) - - [RefList](docs/RefList.md) - - [RefsDump](docs/RefsDump.md) - - [RefsRestore](docs/RefsRestore.md) - - [Repository](docs/Repository.md) - - [RepositoryCreation](docs/RepositoryCreation.md) - - [RepositoryDumpStatus](docs/RepositoryDumpStatus.md) - - [RepositoryList](docs/RepositoryList.md) - - [RepositoryMetadata](docs/RepositoryMetadata.md) - - [RepositoryMetadataKeys](docs/RepositoryMetadataKeys.md) - - [RepositoryMetadataSet](docs/RepositoryMetadataSet.md) - - [RepositoryRestoreStatus](docs/RepositoryRestoreStatus.md) - - [ResetCreation](docs/ResetCreation.md) - - [RevertCreation](docs/RevertCreation.md) - - [Setup](docs/Setup.md) - - [SetupState](docs/SetupState.md) - - [StagingLocation](docs/StagingLocation.md) - - [StagingMetadata](docs/StagingMetadata.md) - - [Statement](docs/Statement.md) - - [StatsEvent](docs/StatsEvent.md) - - [StatsEventsList](docs/StatsEventsList.md) - - [StorageConfig](docs/StorageConfig.md) - - [StorageURI](docs/StorageURI.md) - - [StsAuthRequest](docs/StsAuthRequest.md) - - [TagCreation](docs/TagCreation.md) - - [TaskInfo](docs/TaskInfo.md) - - [UnderlyingObjectProperties](docs/UnderlyingObjectProperties.md) - - [UpdateObjectUserMetadata](docs/UpdateObjectUserMetadata.md) - - [UpdateToken](docs/UpdateToken.md) - - [UploadPart](docs/UploadPart.md) - - [UsageReport](docs/UsageReport.md) - - [User](docs/User.md) - - [UserCreation](docs/UserCreation.md) - - [UserList](docs/UserList.md) - - [VersionConfig](docs/VersionConfig.md) - - -## Documentation For Authorization - - -## basic_auth - -- **Type**: HTTP basic authentication - - -## cookie_auth - -- **Type**: API key -- **API key parameter name**: internal_auth_session -- **Location**: - - -## jwt_token - -- **Type**: Bearer authentication (JWT) - - -## oidc_auth - -- **Type**: API key -- **API key parameter name**: oidc_auth_session -- **Location**: - - -## saml_auth - -- **Type**: API key -- **API key parameter name**: saml_auth_session -- **Location**: - - -## Author - -services@treeverse.io - - -## Notes for Large OpenAPI documents -If the OpenAPI document is large, imports in lakefs_client.apis and lakefs_client.models may fail with a -RecursionError indicating the maximum recursion limit has been exceeded. In that case, there are a couple of solutions: - -Solution 1: -Use specific imports for apis and models like: -- `from lakefs_client.api.default_api import DefaultApi` -- `from lakefs_client.model.pet import Pet` - -Solution 2: -Before importing the package, adjust the maximum recursion limit as shown below: -``` -import sys -sys.setrecursionlimit(1500) -import lakefs_client -from lakefs_client.apis import * -from lakefs_client.models import * -``` - diff --git a/clients/python-legacy/_config.yml b/clients/python-legacy/_config.yml deleted file mode 100644 index 7e0ec8936bb..00000000000 --- a/clients/python-legacy/_config.yml +++ /dev/null @@ -1,17 +0,0 @@ -theme: jekyll-theme-slate -exclude: - - vendor - - Gemfile - - Gemfile.lock - - _config.yml - - build - - build-package.sh - - dist - - lakefs_client - - lakefs_client.egg-info - - requirements.txt - - setup.cfg - - setup.py - - test - - test-requirements.txt - - tox.ini diff --git a/clients/python-legacy/docs/ACL.md b/clients/python-legacy/docs/ACL.md deleted file mode 100644 index 6c32316c36b..00000000000 --- a/clients/python-legacy/docs/ACL.md +++ /dev/null @@ -1,12 +0,0 @@ -# ACL - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**permission** | **str** | Permission level to give this ACL. \"Read\", \"Write\", \"Super\" and \"Admin\" are all supported. | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/AbortPresignMultipartUpload.md b/clients/python-legacy/docs/AbortPresignMultipartUpload.md deleted file mode 100644 index 8b53457708b..00000000000 --- a/clients/python-legacy/docs/AbortPresignMultipartUpload.md +++ /dev/null @@ -1,12 +0,0 @@ -# AbortPresignMultipartUpload - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**physical_address** | **str** | | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/AccessKeyCredentials.md b/clients/python-legacy/docs/AccessKeyCredentials.md deleted file mode 100644 index 746f6c55300..00000000000 --- a/clients/python-legacy/docs/AccessKeyCredentials.md +++ /dev/null @@ -1,13 +0,0 @@ -# AccessKeyCredentials - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**access_key_id** | **str** | access key ID to set for user for use in integration testing. | -**secret_access_key** | **str** | secret access key to set for user for use in integration testing. | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/ActionRun.md b/clients/python-legacy/docs/ActionRun.md deleted file mode 100644 index 042130c448a..00000000000 --- a/clients/python-legacy/docs/ActionRun.md +++ /dev/null @@ -1,18 +0,0 @@ -# ActionRun - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**run_id** | **str** | | -**branch** | **str** | | -**start_time** | **datetime** | | -**event_type** | **str** | | -**status** | **str** | | -**commit_id** | **str** | | -**end_time** | **datetime** | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/ActionRunList.md b/clients/python-legacy/docs/ActionRunList.md deleted file mode 100644 index 7a865770eef..00000000000 --- a/clients/python-legacy/docs/ActionRunList.md +++ /dev/null @@ -1,13 +0,0 @@ -# ActionRunList - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**pagination** | [**Pagination**](Pagination.md) | | -**results** | [**[ActionRun]**](ActionRun.md) | | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/ActionsApi.md b/clients/python-legacy/docs/ActionsApi.md deleted file mode 100644 index d31d3f25d47..00000000000 --- a/clients/python-legacy/docs/ActionsApi.md +++ /dev/null @@ -1,481 +0,0 @@ -# lakefs_client.ActionsApi - -All URIs are relative to *http://localhost/api/v1* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**get_run**](ActionsApi.md#get_run) | **GET** /repositories/{repository}/actions/runs/{run_id} | get a run -[**get_run_hook_output**](ActionsApi.md#get_run_hook_output) | **GET** /repositories/{repository}/actions/runs/{run_id}/hooks/{hook_run_id}/output | get run hook output -[**list_repository_runs**](ActionsApi.md#list_repository_runs) | **GET** /repositories/{repository}/actions/runs | list runs -[**list_run_hooks**](ActionsApi.md#list_run_hooks) | **GET** /repositories/{repository}/actions/runs/{run_id}/hooks | list run hooks - - -# **get_run** -> ActionRun get_run(repository, run_id) - -get a run - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import actions_api -from lakefs_client.model.action_run import ActionRun -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = actions_api.ActionsApi(api_client) - repository = "repository_example" # str | - run_id = "run_id_example" # str | - - # example passing only required values which don't have defaults set - try: - # get a run - api_response = api_instance.get_run(repository, run_id) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling ActionsApi->get_run: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - **run_id** | **str**| | - -### Return type - -[**ActionRun**](ActionRun.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | action run result | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_run_hook_output** -> file_type get_run_hook_output(repository, run_id, hook_run_id) - -get run hook output - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import actions_api -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = actions_api.ActionsApi(api_client) - repository = "repository_example" # str | - run_id = "run_id_example" # str | - hook_run_id = "hook_run_id_example" # str | - - # example passing only required values which don't have defaults set - try: - # get run hook output - api_response = api_instance.get_run_hook_output(repository, run_id, hook_run_id) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling ActionsApi->get_run_hook_output: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - **run_id** | **str**| | - **hook_run_id** | **str**| | - -### Return type - -**file_type** - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/octet-stream, application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | run hook output | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_repository_runs** -> ActionRunList list_repository_runs(repository) - -list runs - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import actions_api -from lakefs_client.model.action_run_list import ActionRunList -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = actions_api.ActionsApi(api_client) - repository = "repository_example" # str | - after = "after_example" # str | return items after this value (optional) - amount = 100 # int | how many items to return (optional) if omitted the server will use the default value of 100 - branch = "branch_example" # str | (optional) - commit = "commit_example" # str | (optional) - - # example passing only required values which don't have defaults set - try: - # list runs - api_response = api_instance.list_repository_runs(repository) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling ActionsApi->list_repository_runs: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # list runs - api_response = api_instance.list_repository_runs(repository, after=after, amount=amount, branch=branch, commit=commit) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling ActionsApi->list_repository_runs: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - **after** | **str**| return items after this value | [optional] - **amount** | **int**| how many items to return | [optional] if omitted the server will use the default value of 100 - **branch** | **str**| | [optional] - **commit** | **str**| | [optional] - -### Return type - -[**ActionRunList**](ActionRunList.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | list action runs | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_run_hooks** -> HookRunList list_run_hooks(repository, run_id) - -list run hooks - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import actions_api -from lakefs_client.model.error import Error -from lakefs_client.model.hook_run_list import HookRunList -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = actions_api.ActionsApi(api_client) - repository = "repository_example" # str | - run_id = "run_id_example" # str | - after = "after_example" # str | return items after this value (optional) - amount = 100 # int | how many items to return (optional) if omitted the server will use the default value of 100 - - # example passing only required values which don't have defaults set - try: - # list run hooks - api_response = api_instance.list_run_hooks(repository, run_id) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling ActionsApi->list_run_hooks: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # list run hooks - api_response = api_instance.list_run_hooks(repository, run_id, after=after, amount=amount) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling ActionsApi->list_run_hooks: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - **run_id** | **str**| | - **after** | **str**| return items after this value | [optional] - **amount** | **int**| how many items to return | [optional] if omitted the server will use the default value of 100 - -### Return type - -[**HookRunList**](HookRunList.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | list specific run hooks | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/clients/python-legacy/docs/AuthApi.md b/clients/python-legacy/docs/AuthApi.md deleted file mode 100644 index c73a1b73998..00000000000 --- a/clients/python-legacy/docs/AuthApi.md +++ /dev/null @@ -1,4017 +0,0 @@ -# lakefs_client.AuthApi - -All URIs are relative to *http://localhost/api/v1* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**add_group_membership**](AuthApi.md#add_group_membership) | **PUT** /auth/groups/{groupId}/members/{userId} | add group membership -[**attach_policy_to_group**](AuthApi.md#attach_policy_to_group) | **PUT** /auth/groups/{groupId}/policies/{policyId} | attach policy to group -[**attach_policy_to_user**](AuthApi.md#attach_policy_to_user) | **PUT** /auth/users/{userId}/policies/{policyId} | attach policy to user -[**create_credentials**](AuthApi.md#create_credentials) | **POST** /auth/users/{userId}/credentials | create credentials -[**create_group**](AuthApi.md#create_group) | **POST** /auth/groups | create group -[**create_policy**](AuthApi.md#create_policy) | **POST** /auth/policies | create policy -[**create_user**](AuthApi.md#create_user) | **POST** /auth/users | create user -[**create_user_external_principal**](AuthApi.md#create_user_external_principal) | **POST** /auth/users/{userId}/external/principals | attach external principal to user -[**delete_credentials**](AuthApi.md#delete_credentials) | **DELETE** /auth/users/{userId}/credentials/{accessKeyId} | delete credentials -[**delete_group**](AuthApi.md#delete_group) | **DELETE** /auth/groups/{groupId} | delete group -[**delete_group_membership**](AuthApi.md#delete_group_membership) | **DELETE** /auth/groups/{groupId}/members/{userId} | delete group membership -[**delete_policy**](AuthApi.md#delete_policy) | **DELETE** /auth/policies/{policyId} | delete policy -[**delete_user**](AuthApi.md#delete_user) | **DELETE** /auth/users/{userId} | delete user -[**delete_user_external_principal**](AuthApi.md#delete_user_external_principal) | **DELETE** /auth/users/{userId}/external/principals | delete external principal from user -[**detach_policy_from_group**](AuthApi.md#detach_policy_from_group) | **DELETE** /auth/groups/{groupId}/policies/{policyId} | detach policy from group -[**detach_policy_from_user**](AuthApi.md#detach_policy_from_user) | **DELETE** /auth/users/{userId}/policies/{policyId} | detach policy from user -[**external_principal_login**](AuthApi.md#external_principal_login) | **POST** /auth/external/principal/login | perform a login using an external authenticator -[**get_credentials**](AuthApi.md#get_credentials) | **GET** /auth/users/{userId}/credentials/{accessKeyId} | get credentials -[**get_current_user**](AuthApi.md#get_current_user) | **GET** /user | get current user -[**get_external_principal**](AuthApi.md#get_external_principal) | **GET** /auth/external/principals | describe external principal by id -[**get_group**](AuthApi.md#get_group) | **GET** /auth/groups/{groupId} | get group -[**get_group_acl**](AuthApi.md#get_group_acl) | **GET** /auth/groups/{groupId}/acl | get ACL of group -[**get_policy**](AuthApi.md#get_policy) | **GET** /auth/policies/{policyId} | get policy -[**get_user**](AuthApi.md#get_user) | **GET** /auth/users/{userId} | get user -[**list_group_members**](AuthApi.md#list_group_members) | **GET** /auth/groups/{groupId}/members | list group members -[**list_group_policies**](AuthApi.md#list_group_policies) | **GET** /auth/groups/{groupId}/policies | list group policies -[**list_groups**](AuthApi.md#list_groups) | **GET** /auth/groups | list groups -[**list_policies**](AuthApi.md#list_policies) | **GET** /auth/policies | list policies -[**list_user_credentials**](AuthApi.md#list_user_credentials) | **GET** /auth/users/{userId}/credentials | list user credentials -[**list_user_external_principals**](AuthApi.md#list_user_external_principals) | **GET** /auth/users/{userId}/external/principals/ls | list user external policies attached to a user -[**list_user_groups**](AuthApi.md#list_user_groups) | **GET** /auth/users/{userId}/groups | list user groups -[**list_user_policies**](AuthApi.md#list_user_policies) | **GET** /auth/users/{userId}/policies | list user policies -[**list_users**](AuthApi.md#list_users) | **GET** /auth/users | list users -[**login**](AuthApi.md#login) | **POST** /auth/login | perform a login -[**set_group_acl**](AuthApi.md#set_group_acl) | **POST** /auth/groups/{groupId}/acl | set ACL of group -[**update_policy**](AuthApi.md#update_policy) | **PUT** /auth/policies/{policyId} | update policy - - -# **add_group_membership** -> add_group_membership(group_id, user_id) - -add group membership - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import auth_api -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = auth_api.AuthApi(api_client) - group_id = "groupId_example" # str | - user_id = "userId_example" # str | - - # example passing only required values which don't have defaults set - try: - # add group membership - api_instance.add_group_membership(group_id, user_id) - except lakefs_client.ApiException as e: - print("Exception when calling AuthApi->add_group_membership: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **group_id** | **str**| | - **user_id** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | membership added successfully | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **attach_policy_to_group** -> attach_policy_to_group(group_id, policy_id) - -attach policy to group - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import auth_api -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = auth_api.AuthApi(api_client) - group_id = "groupId_example" # str | - policy_id = "policyId_example" # str | - - # example passing only required values which don't have defaults set - try: - # attach policy to group - api_instance.attach_policy_to_group(group_id, policy_id) - except lakefs_client.ApiException as e: - print("Exception when calling AuthApi->attach_policy_to_group: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **group_id** | **str**| | - **policy_id** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | policy attached successfully | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **attach_policy_to_user** -> attach_policy_to_user(user_id, policy_id) - -attach policy to user - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import auth_api -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = auth_api.AuthApi(api_client) - user_id = "userId_example" # str | - policy_id = "policyId_example" # str | - - # example passing only required values which don't have defaults set - try: - # attach policy to user - api_instance.attach_policy_to_user(user_id, policy_id) - except lakefs_client.ApiException as e: - print("Exception when calling AuthApi->attach_policy_to_user: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **user_id** | **str**| | - **policy_id** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | policy attached successfully | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_credentials** -> CredentialsWithSecret create_credentials(user_id) - -create credentials - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import auth_api -from lakefs_client.model.credentials_with_secret import CredentialsWithSecret -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = auth_api.AuthApi(api_client) - user_id = "userId_example" # str | - - # example passing only required values which don't have defaults set - try: - # create credentials - api_response = api_instance.create_credentials(user_id) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling AuthApi->create_credentials: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **user_id** | **str**| | - -### Return type - -[**CredentialsWithSecret**](CredentialsWithSecret.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | credentials | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_group** -> Group create_group() - -create group - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import auth_api -from lakefs_client.model.group_creation import GroupCreation -from lakefs_client.model.error import Error -from lakefs_client.model.group import Group -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = auth_api.AuthApi(api_client) - group_creation = GroupCreation( - id="id_example", - ) # GroupCreation | (optional) - - # example passing only required values which don't have defaults set - # and optional values - try: - # create group - api_response = api_instance.create_group(group_creation=group_creation) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling AuthApi->create_group: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **group_creation** | [**GroupCreation**](GroupCreation.md)| | [optional] - -### Return type - -[**Group**](Group.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | group | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_policy** -> Policy create_policy(policy) - -create policy - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import auth_api -from lakefs_client.model.policy import Policy -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = auth_api.AuthApi(api_client) - policy = Policy( - id="id_example", - creation_date=1, - statement=[ - Statement( - effect="allow", - resource="resource_example", - action=[ - "action_example", - ], - ), - ], - ) # Policy | - - # example passing only required values which don't have defaults set - try: - # create policy - api_response = api_instance.create_policy(policy) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling AuthApi->create_policy: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **policy** | [**Policy**](Policy.md)| | - -### Return type - -[**Policy**](Policy.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | policy | - | -**400** | Validation Error | - | -**401** | Unauthorized | - | -**409** | Resource Conflicts With Target | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_user** -> User create_user() - -create user - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import auth_api -from lakefs_client.model.error import Error -from lakefs_client.model.user import User -from lakefs_client.model.user_creation import UserCreation -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = auth_api.AuthApi(api_client) - user_creation = UserCreation( - id="id_example", - invite_user=True, - ) # UserCreation | (optional) - - # example passing only required values which don't have defaults set - # and optional values - try: - # create user - api_response = api_instance.create_user(user_creation=user_creation) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling AuthApi->create_user: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **user_creation** | [**UserCreation**](UserCreation.md)| | [optional] - -### Return type - -[**User**](User.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | user | - | -**400** | validation error | - | -**401** | Unauthorized | - | -**409** | Resource Conflicts With Target | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_user_external_principal** -> create_user_external_principal(user_id, principal_id) - -attach external principal to user - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import auth_api -from lakefs_client.model.error import Error -from lakefs_client.model.external_principal_creation import ExternalPrincipalCreation -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = auth_api.AuthApi(api_client) - user_id = "userId_example" # str | - principal_id = "principalId_example" # str | - external_principal_creation = ExternalPrincipalCreation( - settings=[ - ExternalPrincipalSettings( - key="key_example", - ), - ], - ) # ExternalPrincipalCreation | (optional) - - # example passing only required values which don't have defaults set - try: - # attach external principal to user - api_instance.create_user_external_principal(user_id, principal_id) - except lakefs_client.ApiException as e: - print("Exception when calling AuthApi->create_user_external_principal: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # attach external principal to user - api_instance.create_user_external_principal(user_id, principal_id, external_principal_creation=external_principal_creation) - except lakefs_client.ApiException as e: - print("Exception when calling AuthApi->create_user_external_principal: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **user_id** | **str**| | - **principal_id** | **str**| | - **external_principal_creation** | [**ExternalPrincipalCreation**](ExternalPrincipalCreation.md)| | [optional] - -### Return type - -void (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | external principal attached successfully | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**409** | Resource Conflicts With Target | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_credentials** -> delete_credentials(user_id, access_key_id) - -delete credentials - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import auth_api -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = auth_api.AuthApi(api_client) - user_id = "userId_example" # str | - access_key_id = "accessKeyId_example" # str | - - # example passing only required values which don't have defaults set - try: - # delete credentials - api_instance.delete_credentials(user_id, access_key_id) - except lakefs_client.ApiException as e: - print("Exception when calling AuthApi->delete_credentials: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **user_id** | **str**| | - **access_key_id** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | credentials deleted successfully | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_group** -> delete_group(group_id) - -delete group - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import auth_api -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = auth_api.AuthApi(api_client) - group_id = "groupId_example" # str | - - # example passing only required values which don't have defaults set - try: - # delete group - api_instance.delete_group(group_id) - except lakefs_client.ApiException as e: - print("Exception when calling AuthApi->delete_group: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **group_id** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | group deleted successfully | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_group_membership** -> delete_group_membership(group_id, user_id) - -delete group membership - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import auth_api -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = auth_api.AuthApi(api_client) - group_id = "groupId_example" # str | - user_id = "userId_example" # str | - - # example passing only required values which don't have defaults set - try: - # delete group membership - api_instance.delete_group_membership(group_id, user_id) - except lakefs_client.ApiException as e: - print("Exception when calling AuthApi->delete_group_membership: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **group_id** | **str**| | - **user_id** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | membership deleted successfully | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_policy** -> delete_policy(policy_id) - -delete policy - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import auth_api -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = auth_api.AuthApi(api_client) - policy_id = "policyId_example" # str | - - # example passing only required values which don't have defaults set - try: - # delete policy - api_instance.delete_policy(policy_id) - except lakefs_client.ApiException as e: - print("Exception when calling AuthApi->delete_policy: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **policy_id** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | policy deleted successfully | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_user** -> delete_user(user_id) - -delete user - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import auth_api -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = auth_api.AuthApi(api_client) - user_id = "userId_example" # str | - - # example passing only required values which don't have defaults set - try: - # delete user - api_instance.delete_user(user_id) - except lakefs_client.ApiException as e: - print("Exception when calling AuthApi->delete_user: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **user_id** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | user deleted successfully | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_user_external_principal** -> delete_user_external_principal(user_id, principal_id) - -delete external principal from user - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import auth_api -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = auth_api.AuthApi(api_client) - user_id = "userId_example" # str | - principal_id = "principalId_example" # str | - - # example passing only required values which don't have defaults set - try: - # delete external principal from user - api_instance.delete_user_external_principal(user_id, principal_id) - except lakefs_client.ApiException as e: - print("Exception when calling AuthApi->delete_user_external_principal: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **user_id** | **str**| | - **principal_id** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | external principal detached successfully | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **detach_policy_from_group** -> detach_policy_from_group(group_id, policy_id) - -detach policy from group - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import auth_api -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = auth_api.AuthApi(api_client) - group_id = "groupId_example" # str | - policy_id = "policyId_example" # str | - - # example passing only required values which don't have defaults set - try: - # detach policy from group - api_instance.detach_policy_from_group(group_id, policy_id) - except lakefs_client.ApiException as e: - print("Exception when calling AuthApi->detach_policy_from_group: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **group_id** | **str**| | - **policy_id** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | policy detached successfully | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **detach_policy_from_user** -> detach_policy_from_user(user_id, policy_id) - -detach policy from user - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import auth_api -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = auth_api.AuthApi(api_client) - user_id = "userId_example" # str | - policy_id = "policyId_example" # str | - - # example passing only required values which don't have defaults set - try: - # detach policy from user - api_instance.detach_policy_from_user(user_id, policy_id) - except lakefs_client.ApiException as e: - print("Exception when calling AuthApi->detach_policy_from_user: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **user_id** | **str**| | - **policy_id** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | policy detached successfully | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **external_principal_login** -> AuthenticationToken external_principal_login() - -perform a login using an external authenticator - -### Example - - -```python -import time -import lakefs_client -from lakefs_client.api import auth_api -from lakefs_client.model.authentication_token import AuthenticationToken -from lakefs_client.model.external_login_information import ExternalLoginInformation -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient() as api_client: - # Create an instance of the API class - api_instance = auth_api.AuthApi(api_client) - external_login_information = ExternalLoginInformation( - token_expiration_duration=1, - identity_request={}, - ) # ExternalLoginInformation | (optional) - - # example passing only required values which don't have defaults set - # and optional values - try: - # perform a login using an external authenticator - api_response = api_instance.external_principal_login(external_login_information=external_login_information) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling AuthApi->external_principal_login: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **external_login_information** | [**ExternalLoginInformation**](ExternalLoginInformation.md)| | [optional] - -### Return type - -[**AuthenticationToken**](AuthenticationToken.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | successful external login | - | -**400** | Bad Request | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_credentials** -> Credentials get_credentials(user_id, access_key_id) - -get credentials - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import auth_api -from lakefs_client.model.credentials import Credentials -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = auth_api.AuthApi(api_client) - user_id = "userId_example" # str | - access_key_id = "accessKeyId_example" # str | - - # example passing only required values which don't have defaults set - try: - # get credentials - api_response = api_instance.get_credentials(user_id, access_key_id) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling AuthApi->get_credentials: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **user_id** | **str**| | - **access_key_id** | **str**| | - -### Return type - -[**Credentials**](Credentials.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | credentials | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_current_user** -> CurrentUser get_current_user() - -get current user - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import auth_api -from lakefs_client.model.current_user import CurrentUser -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = auth_api.AuthApi(api_client) - - # example, this endpoint has no required or optional parameters - try: - # get current user - api_response = api_instance.get_current_user() - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling AuthApi->get_current_user: %s\n" % e) -``` - - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**CurrentUser**](CurrentUser.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | user | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_external_principal** -> ExternalPrincipal get_external_principal(principal_id) - -describe external principal by id - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import auth_api -from lakefs_client.model.external_principal import ExternalPrincipal -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = auth_api.AuthApi(api_client) - principal_id = "principalId_example" # str | - - # example passing only required values which don't have defaults set - try: - # describe external principal by id - api_response = api_instance.get_external_principal(principal_id) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling AuthApi->get_external_principal: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **principal_id** | **str**| | - -### Return type - -[**ExternalPrincipal**](ExternalPrincipal.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | external principal | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_group** -> Group get_group(group_id) - -get group - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import auth_api -from lakefs_client.model.error import Error -from lakefs_client.model.group import Group -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = auth_api.AuthApi(api_client) - group_id = "groupId_example" # str | - - # example passing only required values which don't have defaults set - try: - # get group - api_response = api_instance.get_group(group_id) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling AuthApi->get_group: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **group_id** | **str**| | - -### Return type - -[**Group**](Group.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | group | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_group_acl** -> ACL get_group_acl(group_id) - -get ACL of group - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import auth_api -from lakefs_client.model.acl import ACL -from lakefs_client.model.error_no_acl import ErrorNoACL -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = auth_api.AuthApi(api_client) - group_id = "groupId_example" # str | - - # example passing only required values which don't have defaults set - try: - # get ACL of group - api_response = api_instance.get_group_acl(group_id) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling AuthApi->get_group_acl: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **group_id** | **str**| | - -### Return type - -[**ACL**](ACL.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | ACL of group | - | -**401** | Unauthorized | - | -**404** | Group not found, or group found but has no ACL | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_policy** -> Policy get_policy(policy_id) - -get policy - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import auth_api -from lakefs_client.model.policy import Policy -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = auth_api.AuthApi(api_client) - policy_id = "policyId_example" # str | - - # example passing only required values which don't have defaults set - try: - # get policy - api_response = api_instance.get_policy(policy_id) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling AuthApi->get_policy: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **policy_id** | **str**| | - -### Return type - -[**Policy**](Policy.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | policy | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_user** -> User get_user(user_id) - -get user - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import auth_api -from lakefs_client.model.error import Error -from lakefs_client.model.user import User -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = auth_api.AuthApi(api_client) - user_id = "userId_example" # str | - - # example passing only required values which don't have defaults set - try: - # get user - api_response = api_instance.get_user(user_id) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling AuthApi->get_user: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **user_id** | **str**| | - -### Return type - -[**User**](User.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | user | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_group_members** -> UserList list_group_members(group_id) - -list group members - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import auth_api -from lakefs_client.model.user_list import UserList -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = auth_api.AuthApi(api_client) - group_id = "groupId_example" # str | - prefix = "prefix_example" # str | return items prefixed with this value (optional) - after = "after_example" # str | return items after this value (optional) - amount = 100 # int | how many items to return (optional) if omitted the server will use the default value of 100 - - # example passing only required values which don't have defaults set - try: - # list group members - api_response = api_instance.list_group_members(group_id) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling AuthApi->list_group_members: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # list group members - api_response = api_instance.list_group_members(group_id, prefix=prefix, after=after, amount=amount) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling AuthApi->list_group_members: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **group_id** | **str**| | - **prefix** | **str**| return items prefixed with this value | [optional] - **after** | **str**| return items after this value | [optional] - **amount** | **int**| how many items to return | [optional] if omitted the server will use the default value of 100 - -### Return type - -[**UserList**](UserList.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | group member list | - | -**401** | Unauthorized | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_group_policies** -> PolicyList list_group_policies(group_id) - -list group policies - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import auth_api -from lakefs_client.model.policy_list import PolicyList -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = auth_api.AuthApi(api_client) - group_id = "groupId_example" # str | - prefix = "prefix_example" # str | return items prefixed with this value (optional) - after = "after_example" # str | return items after this value (optional) - amount = 100 # int | how many items to return (optional) if omitted the server will use the default value of 100 - - # example passing only required values which don't have defaults set - try: - # list group policies - api_response = api_instance.list_group_policies(group_id) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling AuthApi->list_group_policies: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # list group policies - api_response = api_instance.list_group_policies(group_id, prefix=prefix, after=after, amount=amount) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling AuthApi->list_group_policies: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **group_id** | **str**| | - **prefix** | **str**| return items prefixed with this value | [optional] - **after** | **str**| return items after this value | [optional] - **amount** | **int**| how many items to return | [optional] if omitted the server will use the default value of 100 - -### Return type - -[**PolicyList**](PolicyList.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | policy list | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_groups** -> GroupList list_groups() - -list groups - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import auth_api -from lakefs_client.model.group_list import GroupList -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = auth_api.AuthApi(api_client) - prefix = "prefix_example" # str | return items prefixed with this value (optional) - after = "after_example" # str | return items after this value (optional) - amount = 100 # int | how many items to return (optional) if omitted the server will use the default value of 100 - - # example passing only required values which don't have defaults set - # and optional values - try: - # list groups - api_response = api_instance.list_groups(prefix=prefix, after=after, amount=amount) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling AuthApi->list_groups: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **prefix** | **str**| return items prefixed with this value | [optional] - **after** | **str**| return items after this value | [optional] - **amount** | **int**| how many items to return | [optional] if omitted the server will use the default value of 100 - -### Return type - -[**GroupList**](GroupList.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | group list | - | -**401** | Unauthorized | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_policies** -> PolicyList list_policies() - -list policies - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import auth_api -from lakefs_client.model.policy_list import PolicyList -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = auth_api.AuthApi(api_client) - prefix = "prefix_example" # str | return items prefixed with this value (optional) - after = "after_example" # str | return items after this value (optional) - amount = 100 # int | how many items to return (optional) if omitted the server will use the default value of 100 - - # example passing only required values which don't have defaults set - # and optional values - try: - # list policies - api_response = api_instance.list_policies(prefix=prefix, after=after, amount=amount) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling AuthApi->list_policies: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **prefix** | **str**| return items prefixed with this value | [optional] - **after** | **str**| return items after this value | [optional] - **amount** | **int**| how many items to return | [optional] if omitted the server will use the default value of 100 - -### Return type - -[**PolicyList**](PolicyList.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | policy list | - | -**401** | Unauthorized | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_user_credentials** -> CredentialsList list_user_credentials(user_id) - -list user credentials - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import auth_api -from lakefs_client.model.error import Error -from lakefs_client.model.credentials_list import CredentialsList -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = auth_api.AuthApi(api_client) - user_id = "userId_example" # str | - prefix = "prefix_example" # str | return items prefixed with this value (optional) - after = "after_example" # str | return items after this value (optional) - amount = 100 # int | how many items to return (optional) if omitted the server will use the default value of 100 - - # example passing only required values which don't have defaults set - try: - # list user credentials - api_response = api_instance.list_user_credentials(user_id) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling AuthApi->list_user_credentials: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # list user credentials - api_response = api_instance.list_user_credentials(user_id, prefix=prefix, after=after, amount=amount) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling AuthApi->list_user_credentials: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **user_id** | **str**| | - **prefix** | **str**| return items prefixed with this value | [optional] - **after** | **str**| return items after this value | [optional] - **amount** | **int**| how many items to return | [optional] if omitted the server will use the default value of 100 - -### Return type - -[**CredentialsList**](CredentialsList.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | credential list | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_user_external_principals** -> ExternalPrincipalList list_user_external_principals(user_id) - -list user external policies attached to a user - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import auth_api -from lakefs_client.model.error import Error -from lakefs_client.model.external_principal_list import ExternalPrincipalList -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = auth_api.AuthApi(api_client) - user_id = "userId_example" # str | - prefix = "prefix_example" # str | return items prefixed with this value (optional) - after = "after_example" # str | return items after this value (optional) - amount = 100 # int | how many items to return (optional) if omitted the server will use the default value of 100 - - # example passing only required values which don't have defaults set - try: - # list user external policies attached to a user - api_response = api_instance.list_user_external_principals(user_id) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling AuthApi->list_user_external_principals: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # list user external policies attached to a user - api_response = api_instance.list_user_external_principals(user_id, prefix=prefix, after=after, amount=amount) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling AuthApi->list_user_external_principals: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **user_id** | **str**| | - **prefix** | **str**| return items prefixed with this value | [optional] - **after** | **str**| return items after this value | [optional] - **amount** | **int**| how many items to return | [optional] if omitted the server will use the default value of 100 - -### Return type - -[**ExternalPrincipalList**](ExternalPrincipalList.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | external principals list | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_user_groups** -> GroupList list_user_groups(user_id) - -list user groups - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import auth_api -from lakefs_client.model.group_list import GroupList -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = auth_api.AuthApi(api_client) - user_id = "userId_example" # str | - prefix = "prefix_example" # str | return items prefixed with this value (optional) - after = "after_example" # str | return items after this value (optional) - amount = 100 # int | how many items to return (optional) if omitted the server will use the default value of 100 - - # example passing only required values which don't have defaults set - try: - # list user groups - api_response = api_instance.list_user_groups(user_id) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling AuthApi->list_user_groups: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # list user groups - api_response = api_instance.list_user_groups(user_id, prefix=prefix, after=after, amount=amount) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling AuthApi->list_user_groups: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **user_id** | **str**| | - **prefix** | **str**| return items prefixed with this value | [optional] - **after** | **str**| return items after this value | [optional] - **amount** | **int**| how many items to return | [optional] if omitted the server will use the default value of 100 - -### Return type - -[**GroupList**](GroupList.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | group list | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_user_policies** -> PolicyList list_user_policies(user_id) - -list user policies - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import auth_api -from lakefs_client.model.policy_list import PolicyList -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = auth_api.AuthApi(api_client) - user_id = "userId_example" # str | - prefix = "prefix_example" # str | return items prefixed with this value (optional) - after = "after_example" # str | return items after this value (optional) - amount = 100 # int | how many items to return (optional) if omitted the server will use the default value of 100 - effective = False # bool | will return all distinct policies attached to the user or any of its groups (optional) if omitted the server will use the default value of False - - # example passing only required values which don't have defaults set - try: - # list user policies - api_response = api_instance.list_user_policies(user_id) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling AuthApi->list_user_policies: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # list user policies - api_response = api_instance.list_user_policies(user_id, prefix=prefix, after=after, amount=amount, effective=effective) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling AuthApi->list_user_policies: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **user_id** | **str**| | - **prefix** | **str**| return items prefixed with this value | [optional] - **after** | **str**| return items after this value | [optional] - **amount** | **int**| how many items to return | [optional] if omitted the server will use the default value of 100 - **effective** | **bool**| will return all distinct policies attached to the user or any of its groups | [optional] if omitted the server will use the default value of False - -### Return type - -[**PolicyList**](PolicyList.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | policy list | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_users** -> UserList list_users() - -list users - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import auth_api -from lakefs_client.model.user_list import UserList -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = auth_api.AuthApi(api_client) - prefix = "prefix_example" # str | return items prefixed with this value (optional) - after = "after_example" # str | return items after this value (optional) - amount = 100 # int | how many items to return (optional) if omitted the server will use the default value of 100 - - # example passing only required values which don't have defaults set - # and optional values - try: - # list users - api_response = api_instance.list_users(prefix=prefix, after=after, amount=amount) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling AuthApi->list_users: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **prefix** | **str**| return items prefixed with this value | [optional] - **after** | **str**| return items after this value | [optional] - **amount** | **int**| how many items to return | [optional] if omitted the server will use the default value of 100 - -### Return type - -[**UserList**](UserList.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | user list | - | -**401** | Unauthorized | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **login** -> AuthenticationToken login() - -perform a login - -### Example - - -```python -import time -import lakefs_client -from lakefs_client.api import auth_api -from lakefs_client.model.authentication_token import AuthenticationToken -from lakefs_client.model.login_information import LoginInformation -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient() as api_client: - # Create an instance of the API class - api_instance = auth_api.AuthApi(api_client) - login_information = LoginInformation( - access_key_id="access_key_id_example", - secret_access_key="secret_access_key_example", - ) # LoginInformation | (optional) - - # example passing only required values which don't have defaults set - # and optional values - try: - # perform a login - api_response = api_instance.login(login_information=login_information) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling AuthApi->login: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **login_information** | [**LoginInformation**](LoginInformation.md)| | [optional] - -### Return type - -[**AuthenticationToken**](AuthenticationToken.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | successful login | * Set-Cookie -
| -**401** | Unauthorized | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **set_group_acl** -> set_group_acl(group_id, acl) - -set ACL of group - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import auth_api -from lakefs_client.model.acl import ACL -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = auth_api.AuthApi(api_client) - group_id = "groupId_example" # str | - acl = ACL( - permission="permission_example", - ) # ACL | - - # example passing only required values which don't have defaults set - try: - # set ACL of group - api_instance.set_group_acl(group_id, acl) - except lakefs_client.ApiException as e: - print("Exception when calling AuthApi->set_group_acl: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **group_id** | **str**| | - **acl** | [**ACL**](ACL.md)| | - -### Return type - -void (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | ACL successfully changed | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **update_policy** -> Policy update_policy(policy_id, policy) - -update policy - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import auth_api -from lakefs_client.model.policy import Policy -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = auth_api.AuthApi(api_client) - policy_id = "policyId_example" # str | - policy = Policy( - id="id_example", - creation_date=1, - statement=[ - Statement( - effect="allow", - resource="resource_example", - action=[ - "action_example", - ], - ), - ], - ) # Policy | - - # example passing only required values which don't have defaults set - try: - # update policy - api_response = api_instance.update_policy(policy_id, policy) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling AuthApi->update_policy: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **policy_id** | **str**| | - **policy** | [**Policy**](Policy.md)| | - -### Return type - -[**Policy**](Policy.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | policy | - | -**400** | Validation Error | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/clients/python-legacy/docs/AuthCapabilities.md b/clients/python-legacy/docs/AuthCapabilities.md deleted file mode 100644 index c01ce77ed33..00000000000 --- a/clients/python-legacy/docs/AuthCapabilities.md +++ /dev/null @@ -1,13 +0,0 @@ -# AuthCapabilities - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**invite_user** | **bool** | | [optional] -**forgot_password** | **bool** | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/AuthenticationToken.md b/clients/python-legacy/docs/AuthenticationToken.md deleted file mode 100644 index 92b12f0f7de..00000000000 --- a/clients/python-legacy/docs/AuthenticationToken.md +++ /dev/null @@ -1,13 +0,0 @@ -# AuthenticationToken - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**token** | **str** | a JWT token that could be used to authenticate requests | -**token_expiration** | **int** | Unix Epoch in seconds | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/BranchCreation.md b/clients/python-legacy/docs/BranchCreation.md deleted file mode 100644 index 7af7f161dbb..00000000000 --- a/clients/python-legacy/docs/BranchCreation.md +++ /dev/null @@ -1,14 +0,0 @@ -# BranchCreation - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **str** | | -**source** | **str** | | -**force** | **bool** | | [optional] if omitted the server will use the default value of False -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/BranchProtectionRule.md b/clients/python-legacy/docs/BranchProtectionRule.md deleted file mode 100644 index 879494512a3..00000000000 --- a/clients/python-legacy/docs/BranchProtectionRule.md +++ /dev/null @@ -1,12 +0,0 @@ -# BranchProtectionRule - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**pattern** | **str** | fnmatch pattern for the branch name, supporting * and ? wildcards | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/BranchesApi.md b/clients/python-legacy/docs/BranchesApi.md deleted file mode 100644 index 24f4c8f7fcd..00000000000 --- a/clients/python-legacy/docs/BranchesApi.md +++ /dev/null @@ -1,980 +0,0 @@ -# lakefs_client.BranchesApi - -All URIs are relative to *http://localhost/api/v1* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**cherry_pick**](BranchesApi.md#cherry_pick) | **POST** /repositories/{repository}/branches/{branch}/cherry-pick | Replay the changes from the given commit on the branch -[**create_branch**](BranchesApi.md#create_branch) | **POST** /repositories/{repository}/branches | create branch -[**delete_branch**](BranchesApi.md#delete_branch) | **DELETE** /repositories/{repository}/branches/{branch} | delete branch -[**diff_branch**](BranchesApi.md#diff_branch) | **GET** /repositories/{repository}/branches/{branch}/diff | diff branch -[**get_branch**](BranchesApi.md#get_branch) | **GET** /repositories/{repository}/branches/{branch} | get branch -[**list_branches**](BranchesApi.md#list_branches) | **GET** /repositories/{repository}/branches | list branches -[**reset_branch**](BranchesApi.md#reset_branch) | **PUT** /repositories/{repository}/branches/{branch} | reset branch -[**revert_branch**](BranchesApi.md#revert_branch) | **POST** /repositories/{repository}/branches/{branch}/revert | revert - - -# **cherry_pick** -> Commit cherry_pick(repository, branch, cherry_pick_creation) - -Replay the changes from the given commit on the branch - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import branches_api -from lakefs_client.model.commit import Commit -from lakefs_client.model.error import Error -from lakefs_client.model.cherry_pick_creation import CherryPickCreation -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = branches_api.BranchesApi(api_client) - repository = "repository_example" # str | - branch = "branch_example" # str | - cherry_pick_creation = CherryPickCreation( - ref="ref_example", - parent_number=1, - commit_overrides=CommitOverrides( - message="message_example", - metadata={ - "key": "key_example", - }, - ), - force=False, - ) # CherryPickCreation | - - # example passing only required values which don't have defaults set - try: - # Replay the changes from the given commit on the branch - api_response = api_instance.cherry_pick(repository, branch, cherry_pick_creation) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling BranchesApi->cherry_pick: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - **branch** | **str**| | - **cherry_pick_creation** | [**CherryPickCreation**](CherryPickCreation.md)| | - -### Return type - -[**Commit**](Commit.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | the cherry-pick commit | - | -**400** | Validation Error | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Resource Not Found | - | -**409** | Conflict Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_branch** -> str create_branch(repository, branch_creation) - -create branch - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import branches_api -from lakefs_client.model.branch_creation import BranchCreation -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = branches_api.BranchesApi(api_client) - repository = "repository_example" # str | - branch_creation = BranchCreation( - name="name_example", - source="source_example", - force=False, - ) # BranchCreation | - - # example passing only required values which don't have defaults set - try: - # create branch - api_response = api_instance.create_branch(repository, branch_creation) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling BranchesApi->create_branch: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - **branch_creation** | [**BranchCreation**](BranchCreation.md)| | - -### Return type - -**str** - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: text/html, application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | reference | - | -**400** | Validation Error | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Resource Not Found | - | -**409** | Resource Conflicts With Target | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_branch** -> delete_branch(repository, branch) - -delete branch - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import branches_api -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = branches_api.BranchesApi(api_client) - repository = "repository_example" # str | - branch = "branch_example" # str | - force = False # bool | (optional) if omitted the server will use the default value of False - - # example passing only required values which don't have defaults set - try: - # delete branch - api_instance.delete_branch(repository, branch) - except lakefs_client.ApiException as e: - print("Exception when calling BranchesApi->delete_branch: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # delete branch - api_instance.delete_branch(repository, branch, force=force) - except lakefs_client.ApiException as e: - print("Exception when calling BranchesApi->delete_branch: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - **branch** | **str**| | - **force** | **bool**| | [optional] if omitted the server will use the default value of False - -### Return type - -void (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | branch deleted successfully | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **diff_branch** -> DiffList diff_branch(repository, branch) - -diff branch - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import branches_api -from lakefs_client.model.diff_list import DiffList -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = branches_api.BranchesApi(api_client) - repository = "repository_example" # str | - branch = "branch_example" # str | - after = "after_example" # str | return items after this value (optional) - amount = 100 # int | how many items to return (optional) if omitted the server will use the default value of 100 - prefix = "prefix_example" # str | return items prefixed with this value (optional) - delimiter = "delimiter_example" # str | delimiter used to group common prefixes by (optional) - - # example passing only required values which don't have defaults set - try: - # diff branch - api_response = api_instance.diff_branch(repository, branch) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling BranchesApi->diff_branch: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # diff branch - api_response = api_instance.diff_branch(repository, branch, after=after, amount=amount, prefix=prefix, delimiter=delimiter) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling BranchesApi->diff_branch: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - **branch** | **str**| | - **after** | **str**| return items after this value | [optional] - **amount** | **int**| how many items to return | [optional] if omitted the server will use the default value of 100 - **prefix** | **str**| return items prefixed with this value | [optional] - **delimiter** | **str**| delimiter used to group common prefixes by | [optional] - -### Return type - -[**DiffList**](DiffList.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | diff of branch uncommitted changes | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_branch** -> Ref get_branch(repository, branch) - -get branch - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import branches_api -from lakefs_client.model.error import Error -from lakefs_client.model.ref import Ref -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = branches_api.BranchesApi(api_client) - repository = "repository_example" # str | - branch = "branch_example" # str | - - # example passing only required values which don't have defaults set - try: - # get branch - api_response = api_instance.get_branch(repository, branch) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling BranchesApi->get_branch: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - **branch** | **str**| | - -### Return type - -[**Ref**](Ref.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | branch | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_branches** -> RefList list_branches(repository) - -list branches - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import branches_api -from lakefs_client.model.error import Error -from lakefs_client.model.ref_list import RefList -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = branches_api.BranchesApi(api_client) - repository = "repository_example" # str | - prefix = "prefix_example" # str | return items prefixed with this value (optional) - after = "after_example" # str | return items after this value (optional) - amount = 100 # int | how many items to return (optional) if omitted the server will use the default value of 100 - - # example passing only required values which don't have defaults set - try: - # list branches - api_response = api_instance.list_branches(repository) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling BranchesApi->list_branches: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # list branches - api_response = api_instance.list_branches(repository, prefix=prefix, after=after, amount=amount) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling BranchesApi->list_branches: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - **prefix** | **str**| return items prefixed with this value | [optional] - **after** | **str**| return items after this value | [optional] - **amount** | **int**| how many items to return | [optional] if omitted the server will use the default value of 100 - -### Return type - -[**RefList**](RefList.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | branch list | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **reset_branch** -> reset_branch(repository, branch, reset_creation) - -reset branch - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import branches_api -from lakefs_client.model.reset_creation import ResetCreation -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = branches_api.BranchesApi(api_client) - repository = "repository_example" # str | - branch = "branch_example" # str | - reset_creation = ResetCreation( - type="object", - path="path_example", - force=False, - ) # ResetCreation | - - # example passing only required values which don't have defaults set - try: - # reset branch - api_instance.reset_branch(repository, branch, reset_creation) - except lakefs_client.ApiException as e: - print("Exception when calling BranchesApi->reset_branch: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - **branch** | **str**| | - **reset_creation** | [**ResetCreation**](ResetCreation.md)| | - -### Return type - -void (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | reset successful | - | -**400** | Bad Request | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **revert_branch** -> revert_branch(repository, branch, revert_creation) - -revert - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import branches_api -from lakefs_client.model.revert_creation import RevertCreation -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = branches_api.BranchesApi(api_client) - repository = "repository_example" # str | - branch = "branch_example" # str | - revert_creation = RevertCreation( - ref="ref_example", - commit_overrides=CommitOverrides( - message="message_example", - metadata={ - "key": "key_example", - }, - ), - parent_number=1, - force=False, - allow_empty=False, - ) # RevertCreation | - - # example passing only required values which don't have defaults set - try: - # revert - api_instance.revert_branch(repository, branch, revert_creation) - except lakefs_client.ApiException as e: - print("Exception when calling BranchesApi->revert_branch: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - **branch** | **str**| | - **revert_creation** | [**RevertCreation**](RevertCreation.md)| | - -### Return type - -void (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | revert successful | - | -**400** | Validation Error | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Resource Not Found | - | -**409** | Conflict Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/clients/python-legacy/docs/CherryPickCreation.md b/clients/python-legacy/docs/CherryPickCreation.md deleted file mode 100644 index fc252aca4c2..00000000000 --- a/clients/python-legacy/docs/CherryPickCreation.md +++ /dev/null @@ -1,15 +0,0 @@ -# CherryPickCreation - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**ref** | **str** | the commit to cherry-pick, given by a ref | -**parent_number** | **int** | When cherry-picking a merge commit, the parent number (starting from 1) with which to perform the diff. The default branch is parent 1. | [optional] -**commit_overrides** | [**CommitOverrides**](CommitOverrides.md) | | [optional] -**force** | **bool** | | [optional] if omitted the server will use the default value of False -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/CommPrefsInput.md b/clients/python-legacy/docs/CommPrefsInput.md deleted file mode 100644 index 462c5edc2c5..00000000000 --- a/clients/python-legacy/docs/CommPrefsInput.md +++ /dev/null @@ -1,14 +0,0 @@ -# CommPrefsInput - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**feature_updates** | **bool** | user preference to receive feature updates | -**security_updates** | **bool** | user preference to receive security updates | -**email** | **str** | the provided email | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/Commit.md b/clients/python-legacy/docs/Commit.md deleted file mode 100644 index 8a7a8dfe067..00000000000 --- a/clients/python-legacy/docs/Commit.md +++ /dev/null @@ -1,20 +0,0 @@ -# Commit - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**parents** | **[str]** | | -**committer** | **str** | | -**message** | **str** | | -**creation_date** | **int** | Unix Epoch in seconds | -**meta_range_id** | **str** | | -**metadata** | **{str: (str,)}** | | [optional] -**generation** | **int** | | [optional] -**version** | **int** | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/CommitCreation.md b/clients/python-legacy/docs/CommitCreation.md deleted file mode 100644 index 8619ed6555d..00000000000 --- a/clients/python-legacy/docs/CommitCreation.md +++ /dev/null @@ -1,16 +0,0 @@ -# CommitCreation - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**message** | **str** | | -**metadata** | **{str: (str,)}** | | [optional] -**date** | **int** | set date to override creation date in the commit (Unix Epoch in seconds) | [optional] -**allow_empty** | **bool** | sets whether a commit can contain no changes | [optional] if omitted the server will use the default value of False -**force** | **bool** | | [optional] if omitted the server will use the default value of False -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/CommitList.md b/clients/python-legacy/docs/CommitList.md deleted file mode 100644 index 73541275be7..00000000000 --- a/clients/python-legacy/docs/CommitList.md +++ /dev/null @@ -1,13 +0,0 @@ -# CommitList - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**pagination** | [**Pagination**](Pagination.md) | | -**results** | [**[Commit]**](Commit.md) | | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/CommitOverrides.md b/clients/python-legacy/docs/CommitOverrides.md deleted file mode 100644 index a34a2f63fa9..00000000000 --- a/clients/python-legacy/docs/CommitOverrides.md +++ /dev/null @@ -1,13 +0,0 @@ -# CommitOverrides - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**message** | **str** | replace the commit message | [optional] -**metadata** | **{str: (str,)}** | replace the metadata of the commit | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/CommitRecordCreation.md b/clients/python-legacy/docs/CommitRecordCreation.md deleted file mode 100644 index c09dedf2adc..00000000000 --- a/clients/python-legacy/docs/CommitRecordCreation.md +++ /dev/null @@ -1,21 +0,0 @@ -# CommitRecordCreation - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**commit_id** | **str** | id of the commit record | -**version** | **int** | version of the commit record | -**committer** | **str** | committer of the commit record | -**message** | **str** | message of the commit record | -**metarange_id** | **str** | metarange_id of the commit record | -**creation_date** | **int** | Unix Epoch in seconds | -**parents** | **[str]** | parents of the commit record | -**generation** | **int** | generation of the commit record | -**metadata** | **{str: (str,)}** | metadata of the commit record | [optional] -**force** | **bool** | | [optional] if omitted the server will use the default value of False -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/CommitsApi.md b/clients/python-legacy/docs/CommitsApi.md deleted file mode 100644 index 85fa23f1a64..00000000000 --- a/clients/python-legacy/docs/CommitsApi.md +++ /dev/null @@ -1,256 +0,0 @@ -# lakefs_client.CommitsApi - -All URIs are relative to *http://localhost/api/v1* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**commit**](CommitsApi.md#commit) | **POST** /repositories/{repository}/branches/{branch}/commits | create commit -[**get_commit**](CommitsApi.md#get_commit) | **GET** /repositories/{repository}/commits/{commitId} | get commit - - -# **commit** -> Commit commit(repository, branch, commit_creation) - -create commit - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import commits_api -from lakefs_client.model.commit import Commit -from lakefs_client.model.commit_creation import CommitCreation -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = commits_api.CommitsApi(api_client) - repository = "repository_example" # str | - branch = "branch_example" # str | - commit_creation = CommitCreation( - message="message_example", - metadata={ - "key": "key_example", - }, - date=1, - allow_empty=False, - force=False, - ) # CommitCreation | - source_metarange = "source_metarange_example" # str | The source metarange to commit. Branch must not have uncommitted changes. (optional) - - # example passing only required values which don't have defaults set - try: - # create commit - api_response = api_instance.commit(repository, branch, commit_creation) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling CommitsApi->commit: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # create commit - api_response = api_instance.commit(repository, branch, commit_creation, source_metarange=source_metarange) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling CommitsApi->commit: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - **branch** | **str**| | - **commit_creation** | [**CommitCreation**](CommitCreation.md)| | - **source_metarange** | **str**| The source metarange to commit. Branch must not have uncommitted changes. | [optional] - -### Return type - -[**Commit**](Commit.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | commit | - | -**400** | Validation Error | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Resource Not Found | - | -**409** | Resource Conflicts With Target | - | -**412** | Precondition Failed (e.g. a pre-commit hook returned a failure) | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_commit** -> Commit get_commit(repository, commit_id) - -get commit - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import commits_api -from lakefs_client.model.commit import Commit -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = commits_api.CommitsApi(api_client) - repository = "repository_example" # str | - commit_id = "commitId_example" # str | - - # example passing only required values which don't have defaults set - try: - # get commit - api_response = api_instance.get_commit(repository, commit_id) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling CommitsApi->get_commit: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - **commit_id** | **str**| | - -### Return type - -[**Commit**](Commit.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | commit | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/clients/python-legacy/docs/CompletePresignMultipartUpload.md b/clients/python-legacy/docs/CompletePresignMultipartUpload.md deleted file mode 100644 index 415dfc9f369..00000000000 --- a/clients/python-legacy/docs/CompletePresignMultipartUpload.md +++ /dev/null @@ -1,15 +0,0 @@ -# CompletePresignMultipartUpload - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**physical_address** | **str** | | -**parts** | [**[UploadPart]**](UploadPart.md) | List of uploaded parts, should be ordered by ascending part number | -**user_metadata** | **{str: (str,)}** | | [optional] -**content_type** | **str** | Object media type | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/Config.md b/clients/python-legacy/docs/Config.md deleted file mode 100644 index fcf2ff181a3..00000000000 --- a/clients/python-legacy/docs/Config.md +++ /dev/null @@ -1,13 +0,0 @@ -# Config - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**version_config** | [**VersionConfig**](VersionConfig.md) | | [optional] -**storage_config** | [**StorageConfig**](StorageConfig.md) | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/ConfigApi.md b/clients/python-legacy/docs/ConfigApi.md deleted file mode 100644 index dd037b3ae89..00000000000 --- a/clients/python-legacy/docs/ConfigApi.md +++ /dev/null @@ -1,111 +0,0 @@ -# lakefs_client.ConfigApi - -All URIs are relative to *http://localhost/api/v1* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**get_config**](ConfigApi.md#get_config) | **GET** /config | - - -# **get_config** -> Config get_config() - - - -retrieve lakeFS configuration - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import config_api -from lakefs_client.model.config import Config -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = config_api.ConfigApi(api_client) - - # example, this endpoint has no required or optional parameters - try: - api_response = api_instance.get_config() - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling ConfigApi->get_config: %s\n" % e) -``` - - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**Config**](Config.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | lakeFS configuration | - | -**401** | Unauthorized | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/clients/python-legacy/docs/Credentials.md b/clients/python-legacy/docs/Credentials.md deleted file mode 100644 index 1312c83a031..00000000000 --- a/clients/python-legacy/docs/Credentials.md +++ /dev/null @@ -1,13 +0,0 @@ -# Credentials - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**access_key_id** | **str** | | -**creation_date** | **int** | Unix Epoch in seconds | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/CredentialsList.md b/clients/python-legacy/docs/CredentialsList.md deleted file mode 100644 index f96a413cda1..00000000000 --- a/clients/python-legacy/docs/CredentialsList.md +++ /dev/null @@ -1,13 +0,0 @@ -# CredentialsList - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**pagination** | [**Pagination**](Pagination.md) | | -**results** | [**[Credentials]**](Credentials.md) | | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/CredentialsWithSecret.md b/clients/python-legacy/docs/CredentialsWithSecret.md deleted file mode 100644 index bef0aed764c..00000000000 --- a/clients/python-legacy/docs/CredentialsWithSecret.md +++ /dev/null @@ -1,14 +0,0 @@ -# CredentialsWithSecret - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**access_key_id** | **str** | | -**secret_access_key** | **str** | | -**creation_date** | **int** | Unix Epoch in seconds | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/CurrentUser.md b/clients/python-legacy/docs/CurrentUser.md deleted file mode 100644 index 27560761bea..00000000000 --- a/clients/python-legacy/docs/CurrentUser.md +++ /dev/null @@ -1,12 +0,0 @@ -# CurrentUser - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**user** | [**User**](User.md) | | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/Diff.md b/clients/python-legacy/docs/Diff.md deleted file mode 100644 index 7247f664645..00000000000 --- a/clients/python-legacy/docs/Diff.md +++ /dev/null @@ -1,15 +0,0 @@ -# Diff - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**type** | **str** | | -**path** | **str** | | -**path_type** | **str** | | -**size_bytes** | **int** | represents the size of the added/changed/deleted entry | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/DiffList.md b/clients/python-legacy/docs/DiffList.md deleted file mode 100644 index 04d04562a30..00000000000 --- a/clients/python-legacy/docs/DiffList.md +++ /dev/null @@ -1,13 +0,0 @@ -# DiffList - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**pagination** | [**Pagination**](Pagination.md) | | -**results** | [**[Diff]**](Diff.md) | | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/Error.md b/clients/python-legacy/docs/Error.md deleted file mode 100644 index fb2e93baa58..00000000000 --- a/clients/python-legacy/docs/Error.md +++ /dev/null @@ -1,12 +0,0 @@ -# Error - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**message** | **str** | short message explaining the error | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/ErrorNoACL.md b/clients/python-legacy/docs/ErrorNoACL.md deleted file mode 100644 index 3e612e25780..00000000000 --- a/clients/python-legacy/docs/ErrorNoACL.md +++ /dev/null @@ -1,13 +0,0 @@ -# ErrorNoACL - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**message** | **str** | short message explaining the error | -**no_acl** | **bool** | true if the group exists but has no ACL | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/ExperimentalApi.md b/clients/python-legacy/docs/ExperimentalApi.md deleted file mode 100644 index 1745f3bd9b2..00000000000 --- a/clients/python-legacy/docs/ExperimentalApi.md +++ /dev/null @@ -1,1866 +0,0 @@ -# lakefs_client.ExperimentalApi - -All URIs are relative to *http://localhost/api/v1* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**abort_presign_multipart_upload**](ExperimentalApi.md#abort_presign_multipart_upload) | **DELETE** /repositories/{repository}/branches/{branch}/staging/pmpu/{uploadId} | Abort a presign multipart upload -[**complete_presign_multipart_upload**](ExperimentalApi.md#complete_presign_multipart_upload) | **PUT** /repositories/{repository}/branches/{branch}/staging/pmpu/{uploadId} | Complete a presign multipart upload request -[**create_presign_multipart_upload**](ExperimentalApi.md#create_presign_multipart_upload) | **POST** /repositories/{repository}/branches/{branch}/staging/pmpu | Initiate a multipart upload -[**create_pull_request**](ExperimentalApi.md#create_pull_request) | **POST** /repositories/{repository}/pulls | create pull request -[**create_user_external_principal**](ExperimentalApi.md#create_user_external_principal) | **POST** /auth/users/{userId}/external/principals | attach external principal to user -[**delete_user_external_principal**](ExperimentalApi.md#delete_user_external_principal) | **DELETE** /auth/users/{userId}/external/principals | delete external principal from user -[**external_principal_login**](ExperimentalApi.md#external_principal_login) | **POST** /auth/external/principal/login | perform a login using an external authenticator -[**get_external_principal**](ExperimentalApi.md#get_external_principal) | **GET** /auth/external/principals | describe external principal by id -[**get_pull_request**](ExperimentalApi.md#get_pull_request) | **GET** /repositories/{repository}/pulls/{pull_request} | get pull request -[**hard_reset_branch**](ExperimentalApi.md#hard_reset_branch) | **PUT** /repositories/{repository}/branches/{branch}/hard_reset | hard reset branch -[**list_pull_requests**](ExperimentalApi.md#list_pull_requests) | **GET** /repositories/{repository}/pulls | list pull requests -[**list_user_external_principals**](ExperimentalApi.md#list_user_external_principals) | **GET** /auth/users/{userId}/external/principals/ls | list user external policies attached to a user -[**merge_pull_request**](ExperimentalApi.md#merge_pull_request) | **PUT** /repositories/{repository}/pulls/{pull_request}/merge | merge pull request -[**sts_login**](ExperimentalApi.md#sts_login) | **POST** /sts/login | perform a login with STS -[**update_object_user_metadata**](ExperimentalApi.md#update_object_user_metadata) | **PUT** /repositories/{repository}/branches/{branch}/objects/stat/user_metadata | rewrite (all) object metadata -[**update_pull_request**](ExperimentalApi.md#update_pull_request) | **PATCH** /repositories/{repository}/pulls/{pull_request} | update pull request - - -# **abort_presign_multipart_upload** -> abort_presign_multipart_upload(repository, branch, upload_id, path) - -Abort a presign multipart upload - -Aborts a presign multipart upload. - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import experimental_api -from lakefs_client.model.abort_presign_multipart_upload import AbortPresignMultipartUpload -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = experimental_api.ExperimentalApi(api_client) - repository = "repository_example" # str | - branch = "branch_example" # str | - upload_id = "uploadId_example" # str | - path = "path_example" # str | relative to the branch - abort_presign_multipart_upload = AbortPresignMultipartUpload( - physical_address="physical_address_example", - ) # AbortPresignMultipartUpload | (optional) - - # example passing only required values which don't have defaults set - try: - # Abort a presign multipart upload - api_instance.abort_presign_multipart_upload(repository, branch, upload_id, path) - except lakefs_client.ApiException as e: - print("Exception when calling ExperimentalApi->abort_presign_multipart_upload: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Abort a presign multipart upload - api_instance.abort_presign_multipart_upload(repository, branch, upload_id, path, abort_presign_multipart_upload=abort_presign_multipart_upload) - except lakefs_client.ApiException as e: - print("Exception when calling ExperimentalApi->abort_presign_multipart_upload: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - **branch** | **str**| | - **upload_id** | **str**| | - **path** | **str**| relative to the branch | - **abort_presign_multipart_upload** | [**AbortPresignMultipartUpload**](AbortPresignMultipartUpload.md)| | [optional] - -### Return type - -void (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | Presign multipart upload aborted | - | -**400** | Bad Request | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **complete_presign_multipart_upload** -> ObjectStats complete_presign_multipart_upload(repository, branch, upload_id, path) - -Complete a presign multipart upload request - -Completes a presign multipart upload by assembling the uploaded parts. - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import experimental_api -from lakefs_client.model.staging_location import StagingLocation -from lakefs_client.model.complete_presign_multipart_upload import CompletePresignMultipartUpload -from lakefs_client.model.error import Error -from lakefs_client.model.object_stats import ObjectStats -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = experimental_api.ExperimentalApi(api_client) - repository = "repository_example" # str | - branch = "branch_example" # str | - upload_id = "uploadId_example" # str | - path = "path_example" # str | relative to the branch - complete_presign_multipart_upload = CompletePresignMultipartUpload( - physical_address="physical_address_example", - parts=[ - UploadPart( - part_number=1, - etag="etag_example", - ), - ], - user_metadata={ - "key": "key_example", - }, - content_type="content_type_example", - ) # CompletePresignMultipartUpload | (optional) - - # example passing only required values which don't have defaults set - try: - # Complete a presign multipart upload request - api_response = api_instance.complete_presign_multipart_upload(repository, branch, upload_id, path) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling ExperimentalApi->complete_presign_multipart_upload: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Complete a presign multipart upload request - api_response = api_instance.complete_presign_multipart_upload(repository, branch, upload_id, path, complete_presign_multipart_upload=complete_presign_multipart_upload) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling ExperimentalApi->complete_presign_multipart_upload: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - **branch** | **str**| | - **upload_id** | **str**| | - **path** | **str**| relative to the branch | - **complete_presign_multipart_upload** | [**CompletePresignMultipartUpload**](CompletePresignMultipartUpload.md)| | [optional] - -### Return type - -[**ObjectStats**](ObjectStats.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Presign multipart upload completed | - | -**400** | Bad Request | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**409** | conflict with a commit, try here | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_presign_multipart_upload** -> PresignMultipartUpload create_presign_multipart_upload(repository, branch, path) - -Initiate a multipart upload - -Initiates a multipart upload and returns an upload ID with presigned URLs for each part (optional). Part numbers starts with 1. Each part except the last one has minimum size depends on the underlying blockstore implementation. For example working with S3 blockstore, minimum size is 5MB (excluding the last part). - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import experimental_api -from lakefs_client.model.presign_multipart_upload import PresignMultipartUpload -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = experimental_api.ExperimentalApi(api_client) - repository = "repository_example" # str | - branch = "branch_example" # str | - path = "path_example" # str | relative to the branch - parts = 1 # int | number of presigned URL parts required to upload (optional) - - # example passing only required values which don't have defaults set - try: - # Initiate a multipart upload - api_response = api_instance.create_presign_multipart_upload(repository, branch, path) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling ExperimentalApi->create_presign_multipart_upload: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Initiate a multipart upload - api_response = api_instance.create_presign_multipart_upload(repository, branch, path, parts=parts) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling ExperimentalApi->create_presign_multipart_upload: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - **branch** | **str**| | - **path** | **str**| relative to the branch | - **parts** | **int**| number of presigned URL parts required to upload | [optional] - -### Return type - -[**PresignMultipartUpload**](PresignMultipartUpload.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | Presign multipart upload initiated | - | -**400** | Bad Request | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_pull_request** -> PullRequestCreationResponse create_pull_request(repository, pull_request_creation) - -create pull request - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import experimental_api -from lakefs_client.model.pull_request_creation_response import PullRequestCreationResponse -from lakefs_client.model.pull_request_creation import PullRequestCreation -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = experimental_api.ExperimentalApi(api_client) - repository = "repository_example" # str | - pull_request_creation = PullRequestCreation( - title="title_example", - description="description_example", - source_branch="source_branch_example", - destination_branch="destination_branch_example", - ) # PullRequestCreation | - - # example passing only required values which don't have defaults set - try: - # create pull request - api_response = api_instance.create_pull_request(repository, pull_request_creation) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling ExperimentalApi->create_pull_request: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - **pull_request_creation** | [**PullRequestCreation**](PullRequestCreation.md)| | - -### Return type - -[**PullRequestCreationResponse**](PullRequestCreationResponse.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | pull request created | - | -**400** | Validation Error | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Resource Not Found | - | -**409** | Resource Conflicts With Target | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_user_external_principal** -> create_user_external_principal(user_id, principal_id) - -attach external principal to user - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import experimental_api -from lakefs_client.model.error import Error -from lakefs_client.model.external_principal_creation import ExternalPrincipalCreation -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = experimental_api.ExperimentalApi(api_client) - user_id = "userId_example" # str | - principal_id = "principalId_example" # str | - external_principal_creation = ExternalPrincipalCreation( - settings=[ - ExternalPrincipalSettings( - key="key_example", - ), - ], - ) # ExternalPrincipalCreation | (optional) - - # example passing only required values which don't have defaults set - try: - # attach external principal to user - api_instance.create_user_external_principal(user_id, principal_id) - except lakefs_client.ApiException as e: - print("Exception when calling ExperimentalApi->create_user_external_principal: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # attach external principal to user - api_instance.create_user_external_principal(user_id, principal_id, external_principal_creation=external_principal_creation) - except lakefs_client.ApiException as e: - print("Exception when calling ExperimentalApi->create_user_external_principal: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **user_id** | **str**| | - **principal_id** | **str**| | - **external_principal_creation** | [**ExternalPrincipalCreation**](ExternalPrincipalCreation.md)| | [optional] - -### Return type - -void (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | external principal attached successfully | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**409** | Resource Conflicts With Target | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_user_external_principal** -> delete_user_external_principal(user_id, principal_id) - -delete external principal from user - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import experimental_api -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = experimental_api.ExperimentalApi(api_client) - user_id = "userId_example" # str | - principal_id = "principalId_example" # str | - - # example passing only required values which don't have defaults set - try: - # delete external principal from user - api_instance.delete_user_external_principal(user_id, principal_id) - except lakefs_client.ApiException as e: - print("Exception when calling ExperimentalApi->delete_user_external_principal: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **user_id** | **str**| | - **principal_id** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | external principal detached successfully | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **external_principal_login** -> AuthenticationToken external_principal_login() - -perform a login using an external authenticator - -### Example - - -```python -import time -import lakefs_client -from lakefs_client.api import experimental_api -from lakefs_client.model.authentication_token import AuthenticationToken -from lakefs_client.model.external_login_information import ExternalLoginInformation -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient() as api_client: - # Create an instance of the API class - api_instance = experimental_api.ExperimentalApi(api_client) - external_login_information = ExternalLoginInformation( - token_expiration_duration=1, - identity_request={}, - ) # ExternalLoginInformation | (optional) - - # example passing only required values which don't have defaults set - # and optional values - try: - # perform a login using an external authenticator - api_response = api_instance.external_principal_login(external_login_information=external_login_information) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling ExperimentalApi->external_principal_login: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **external_login_information** | [**ExternalLoginInformation**](ExternalLoginInformation.md)| | [optional] - -### Return type - -[**AuthenticationToken**](AuthenticationToken.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | successful external login | - | -**400** | Bad Request | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_external_principal** -> ExternalPrincipal get_external_principal(principal_id) - -describe external principal by id - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import experimental_api -from lakefs_client.model.external_principal import ExternalPrincipal -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = experimental_api.ExperimentalApi(api_client) - principal_id = "principalId_example" # str | - - # example passing only required values which don't have defaults set - try: - # describe external principal by id - api_response = api_instance.get_external_principal(principal_id) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling ExperimentalApi->get_external_principal: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **principal_id** | **str**| | - -### Return type - -[**ExternalPrincipal**](ExternalPrincipal.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | external principal | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_pull_request** -> PullRequest get_pull_request(repository, pull_request) - -get pull request - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import experimental_api -from lakefs_client.model.pull_request import PullRequest -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = experimental_api.ExperimentalApi(api_client) - repository = "repository_example" # str | - pull_request = "pull_request_example" # str | pull request id - - # example passing only required values which don't have defaults set - try: - # get pull request - api_response = api_instance.get_pull_request(repository, pull_request) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling ExperimentalApi->get_pull_request: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - **pull_request** | **str**| pull request id | - -### Return type - -[**PullRequest**](PullRequest.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | pull request | - | -**400** | Validation Error | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **hard_reset_branch** -> hard_reset_branch(repository, branch, ref) - -hard reset branch - -Relocate branch to refer to ref. Branch must not contain uncommitted data. - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import experimental_api -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = experimental_api.ExperimentalApi(api_client) - repository = "repository_example" # str | - branch = "branch_example" # str | - ref = "ref_example" # str | After reset, branch will point at this reference. - force = False # bool | (optional) if omitted the server will use the default value of False - - # example passing only required values which don't have defaults set - try: - # hard reset branch - api_instance.hard_reset_branch(repository, branch, ref) - except lakefs_client.ApiException as e: - print("Exception when calling ExperimentalApi->hard_reset_branch: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # hard reset branch - api_instance.hard_reset_branch(repository, branch, ref, force=force) - except lakefs_client.ApiException as e: - print("Exception when calling ExperimentalApi->hard_reset_branch: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - **branch** | **str**| | - **ref** | **str**| After reset, branch will point at this reference. | - **force** | **bool**| | [optional] if omitted the server will use the default value of False - -### Return type - -void (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | reset successful | - | -**400** | Bad Request | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_pull_requests** -> PullRequestsList list_pull_requests(repository) - -list pull requests - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import experimental_api -from lakefs_client.model.pull_requests_list import PullRequestsList -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = experimental_api.ExperimentalApi(api_client) - repository = "repository_example" # str | - prefix = "prefix_example" # str | return items prefixed with this value (optional) - after = "after_example" # str | return items after this value (optional) - amount = 100 # int | how many items to return (optional) if omitted the server will use the default value of 100 - status = "all" # str | (optional) if omitted the server will use the default value of "all" - - # example passing only required values which don't have defaults set - try: - # list pull requests - api_response = api_instance.list_pull_requests(repository) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling ExperimentalApi->list_pull_requests: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # list pull requests - api_response = api_instance.list_pull_requests(repository, prefix=prefix, after=after, amount=amount, status=status) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling ExperimentalApi->list_pull_requests: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - **prefix** | **str**| return items prefixed with this value | [optional] - **after** | **str**| return items after this value | [optional] - **amount** | **int**| how many items to return | [optional] if omitted the server will use the default value of 100 - **status** | **str**| | [optional] if omitted the server will use the default value of "all" - -### Return type - -[**PullRequestsList**](PullRequestsList.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | list of pull requests | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_user_external_principals** -> ExternalPrincipalList list_user_external_principals(user_id) - -list user external policies attached to a user - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import experimental_api -from lakefs_client.model.error import Error -from lakefs_client.model.external_principal_list import ExternalPrincipalList -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = experimental_api.ExperimentalApi(api_client) - user_id = "userId_example" # str | - prefix = "prefix_example" # str | return items prefixed with this value (optional) - after = "after_example" # str | return items after this value (optional) - amount = 100 # int | how many items to return (optional) if omitted the server will use the default value of 100 - - # example passing only required values which don't have defaults set - try: - # list user external policies attached to a user - api_response = api_instance.list_user_external_principals(user_id) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling ExperimentalApi->list_user_external_principals: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # list user external policies attached to a user - api_response = api_instance.list_user_external_principals(user_id, prefix=prefix, after=after, amount=amount) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling ExperimentalApi->list_user_external_principals: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **user_id** | **str**| | - **prefix** | **str**| return items prefixed with this value | [optional] - **after** | **str**| return items after this value | [optional] - **amount** | **int**| how many items to return | [optional] if omitted the server will use the default value of 100 - -### Return type - -[**ExternalPrincipalList**](ExternalPrincipalList.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | external principals list | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **merge_pull_request** -> MergeResult merge_pull_request(repository, pull_request) - -merge pull request - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import experimental_api -from lakefs_client.model.error import Error -from lakefs_client.model.merge_result import MergeResult -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = experimental_api.ExperimentalApi(api_client) - repository = "repository_example" # str | - pull_request = "pull_request_example" # str | pull request id - - # example passing only required values which don't have defaults set - try: - # merge pull request - api_response = api_instance.merge_pull_request(repository, pull_request) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling ExperimentalApi->merge_pull_request: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - **pull_request** | **str**| pull request id | - -### Return type - -[**MergeResult**](MergeResult.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | merge completed | - | -**400** | Validation Error | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Resource Not Found | - | -**409** | Conflict Deprecated: content schema will return Error format and not an empty MergeResult | - | -**412** | precondition failed (e.g. a pre-merge hook returned a failure) | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **sts_login** -> AuthenticationToken sts_login(sts_auth_request) - -perform a login with STS - -### Example - - -```python -import time -import lakefs_client -from lakefs_client.api import experimental_api -from lakefs_client.model.authentication_token import AuthenticationToken -from lakefs_client.model.error import Error -from lakefs_client.model.sts_auth_request import StsAuthRequest -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient() as api_client: - # Create an instance of the API class - api_instance = experimental_api.ExperimentalApi(api_client) - sts_auth_request = StsAuthRequest( - code="code_example", - state="state_example", - redirect_uri="redirect_uri_example", - ttl_seconds=1, - ) # StsAuthRequest | - - # example passing only required values which don't have defaults set - try: - # perform a login with STS - api_response = api_instance.sts_login(sts_auth_request) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling ExperimentalApi->sts_login: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **sts_auth_request** | [**StsAuthRequest**](StsAuthRequest.md)| | - -### Return type - -[**AuthenticationToken**](AuthenticationToken.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | successful STS login | - | -**401** | Unauthorized | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **update_object_user_metadata** -> update_object_user_metadata(repository, branch, path, update_object_user_metadata) - -rewrite (all) object metadata - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import experimental_api -from lakefs_client.model.error import Error -from lakefs_client.model.update_object_user_metadata import UpdateObjectUserMetadata -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = experimental_api.ExperimentalApi(api_client) - repository = "repository_example" # str | - branch = "branch_example" # str | branch to update - path = "path_example" # str | path to object relative to the branch - update_object_user_metadata = UpdateObjectUserMetadata( - set=ObjectUserMetadata( - key="key_example", - ), - ) # UpdateObjectUserMetadata | - - # example passing only required values which don't have defaults set - try: - # rewrite (all) object metadata - api_instance.update_object_user_metadata(repository, branch, path, update_object_user_metadata) - except lakefs_client.ApiException as e: - print("Exception when calling ExperimentalApi->update_object_user_metadata: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - **branch** | **str**| branch to update | - **path** | **str**| path to object relative to the branch | - **update_object_user_metadata** | [**UpdateObjectUserMetadata**](UpdateObjectUserMetadata.md)| | - -### Return type - -void (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | User metadata updated | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**400** | Bad Request | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **update_pull_request** -> update_pull_request(repository, pull_request, pull_request_basic) - -update pull request - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import experimental_api -from lakefs_client.model.error import Error -from lakefs_client.model.pull_request_basic import PullRequestBasic -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = experimental_api.ExperimentalApi(api_client) - repository = "repository_example" # str | - pull_request = "pull_request_example" # str | pull request id - pull_request_basic = PullRequestBasic( - status="open", - title="title_example", - description="description_example", - ) # PullRequestBasic | - - # example passing only required values which don't have defaults set - try: - # update pull request - api_instance.update_pull_request(repository, pull_request, pull_request_basic) - except lakefs_client.ApiException as e: - print("Exception when calling ExperimentalApi->update_pull_request: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - **pull_request** | **str**| pull request id | - **pull_request_basic** | [**PullRequestBasic**](PullRequestBasic.md)| | - -### Return type - -void (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | pull request updated successfully | - | -**400** | Validation Error | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/clients/python-legacy/docs/ExternalApi.md b/clients/python-legacy/docs/ExternalApi.md deleted file mode 100644 index 761f96d6897..00000000000 --- a/clients/python-legacy/docs/ExternalApi.md +++ /dev/null @@ -1,555 +0,0 @@ -# lakefs_client.ExternalApi - -All URIs are relative to *http://localhost/api/v1* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**create_user_external_principal**](ExternalApi.md#create_user_external_principal) | **POST** /auth/users/{userId}/external/principals | attach external principal to user -[**delete_user_external_principal**](ExternalApi.md#delete_user_external_principal) | **DELETE** /auth/users/{userId}/external/principals | delete external principal from user -[**external_principal_login**](ExternalApi.md#external_principal_login) | **POST** /auth/external/principal/login | perform a login using an external authenticator -[**get_external_principal**](ExternalApi.md#get_external_principal) | **GET** /auth/external/principals | describe external principal by id -[**list_user_external_principals**](ExternalApi.md#list_user_external_principals) | **GET** /auth/users/{userId}/external/principals/ls | list user external policies attached to a user - - -# **create_user_external_principal** -> create_user_external_principal(user_id, principal_id) - -attach external principal to user - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import external_api -from lakefs_client.model.error import Error -from lakefs_client.model.external_principal_creation import ExternalPrincipalCreation -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = external_api.ExternalApi(api_client) - user_id = "userId_example" # str | - principal_id = "principalId_example" # str | - external_principal_creation = ExternalPrincipalCreation( - settings=[ - ExternalPrincipalSettings( - key="key_example", - ), - ], - ) # ExternalPrincipalCreation | (optional) - - # example passing only required values which don't have defaults set - try: - # attach external principal to user - api_instance.create_user_external_principal(user_id, principal_id) - except lakefs_client.ApiException as e: - print("Exception when calling ExternalApi->create_user_external_principal: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # attach external principal to user - api_instance.create_user_external_principal(user_id, principal_id, external_principal_creation=external_principal_creation) - except lakefs_client.ApiException as e: - print("Exception when calling ExternalApi->create_user_external_principal: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **user_id** | **str**| | - **principal_id** | **str**| | - **external_principal_creation** | [**ExternalPrincipalCreation**](ExternalPrincipalCreation.md)| | [optional] - -### Return type - -void (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | external principal attached successfully | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**409** | Resource Conflicts With Target | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_user_external_principal** -> delete_user_external_principal(user_id, principal_id) - -delete external principal from user - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import external_api -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = external_api.ExternalApi(api_client) - user_id = "userId_example" # str | - principal_id = "principalId_example" # str | - - # example passing only required values which don't have defaults set - try: - # delete external principal from user - api_instance.delete_user_external_principal(user_id, principal_id) - except lakefs_client.ApiException as e: - print("Exception when calling ExternalApi->delete_user_external_principal: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **user_id** | **str**| | - **principal_id** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | external principal detached successfully | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **external_principal_login** -> AuthenticationToken external_principal_login() - -perform a login using an external authenticator - -### Example - - -```python -import time -import lakefs_client -from lakefs_client.api import external_api -from lakefs_client.model.authentication_token import AuthenticationToken -from lakefs_client.model.external_login_information import ExternalLoginInformation -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient() as api_client: - # Create an instance of the API class - api_instance = external_api.ExternalApi(api_client) - external_login_information = ExternalLoginInformation( - token_expiration_duration=1, - identity_request={}, - ) # ExternalLoginInformation | (optional) - - # example passing only required values which don't have defaults set - # and optional values - try: - # perform a login using an external authenticator - api_response = api_instance.external_principal_login(external_login_information=external_login_information) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling ExternalApi->external_principal_login: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **external_login_information** | [**ExternalLoginInformation**](ExternalLoginInformation.md)| | [optional] - -### Return type - -[**AuthenticationToken**](AuthenticationToken.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | successful external login | - | -**400** | Bad Request | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_external_principal** -> ExternalPrincipal get_external_principal(principal_id) - -describe external principal by id - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import external_api -from lakefs_client.model.external_principal import ExternalPrincipal -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = external_api.ExternalApi(api_client) - principal_id = "principalId_example" # str | - - # example passing only required values which don't have defaults set - try: - # describe external principal by id - api_response = api_instance.get_external_principal(principal_id) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling ExternalApi->get_external_principal: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **principal_id** | **str**| | - -### Return type - -[**ExternalPrincipal**](ExternalPrincipal.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | external principal | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_user_external_principals** -> ExternalPrincipalList list_user_external_principals(user_id) - -list user external policies attached to a user - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import external_api -from lakefs_client.model.error import Error -from lakefs_client.model.external_principal_list import ExternalPrincipalList -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = external_api.ExternalApi(api_client) - user_id = "userId_example" # str | - prefix = "prefix_example" # str | return items prefixed with this value (optional) - after = "after_example" # str | return items after this value (optional) - amount = 100 # int | how many items to return (optional) if omitted the server will use the default value of 100 - - # example passing only required values which don't have defaults set - try: - # list user external policies attached to a user - api_response = api_instance.list_user_external_principals(user_id) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling ExternalApi->list_user_external_principals: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # list user external policies attached to a user - api_response = api_instance.list_user_external_principals(user_id, prefix=prefix, after=after, amount=amount) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling ExternalApi->list_user_external_principals: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **user_id** | **str**| | - **prefix** | **str**| return items prefixed with this value | [optional] - **after** | **str**| return items after this value | [optional] - **amount** | **int**| how many items to return | [optional] if omitted the server will use the default value of 100 - -### Return type - -[**ExternalPrincipalList**](ExternalPrincipalList.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | external principals list | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/clients/python-legacy/docs/ExternalLoginInformation.md b/clients/python-legacy/docs/ExternalLoginInformation.md deleted file mode 100644 index 26410a639de..00000000000 --- a/clients/python-legacy/docs/ExternalLoginInformation.md +++ /dev/null @@ -1,13 +0,0 @@ -# ExternalLoginInformation - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**identity_request** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | | -**token_expiration_duration** | **int** | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/ExternalPrincipal.md b/clients/python-legacy/docs/ExternalPrincipal.md deleted file mode 100644 index 7e1c0b6f433..00000000000 --- a/clients/python-legacy/docs/ExternalPrincipal.md +++ /dev/null @@ -1,14 +0,0 @@ -# ExternalPrincipal - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | A unique identifier for the external principal i.e aws:sts::123:assumed-role/role-name | -**user_id** | **str** | lakeFS user ID to associate with an external principal. | -**settings** | [**[ExternalPrincipalSettings]**](ExternalPrincipalSettings.md) | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/ExternalPrincipalCreation.md b/clients/python-legacy/docs/ExternalPrincipalCreation.md deleted file mode 100644 index c287aa59503..00000000000 --- a/clients/python-legacy/docs/ExternalPrincipalCreation.md +++ /dev/null @@ -1,12 +0,0 @@ -# ExternalPrincipalCreation - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**settings** | [**[ExternalPrincipalSettings]**](ExternalPrincipalSettings.md) | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/ExternalPrincipalList.md b/clients/python-legacy/docs/ExternalPrincipalList.md deleted file mode 100644 index 7c3ea05c971..00000000000 --- a/clients/python-legacy/docs/ExternalPrincipalList.md +++ /dev/null @@ -1,13 +0,0 @@ -# ExternalPrincipalList - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**pagination** | [**Pagination**](Pagination.md) | | -**results** | [**[ExternalPrincipal]**](ExternalPrincipal.md) | | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/ExternalPrincipalSettings.md b/clients/python-legacy/docs/ExternalPrincipalSettings.md deleted file mode 100644 index 3a2101dc8a8..00000000000 --- a/clients/python-legacy/docs/ExternalPrincipalSettings.md +++ /dev/null @@ -1,12 +0,0 @@ -# ExternalPrincipalSettings - -Additional settings to be consumed by the remote authenticator - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**any string name** | **str** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/FindMergeBaseResult.md b/clients/python-legacy/docs/FindMergeBaseResult.md deleted file mode 100644 index 7789f05aa44..00000000000 --- a/clients/python-legacy/docs/FindMergeBaseResult.md +++ /dev/null @@ -1,14 +0,0 @@ -# FindMergeBaseResult - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**source_commit_id** | **str** | The commit ID of the merge source | -**destination_commit_id** | **str** | The commit ID of the merge destination | -**base_commit_id** | **str** | The commit ID of the merge base | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/GarbageCollectionConfig.md b/clients/python-legacy/docs/GarbageCollectionConfig.md deleted file mode 100644 index ebf33ddca7b..00000000000 --- a/clients/python-legacy/docs/GarbageCollectionConfig.md +++ /dev/null @@ -1,12 +0,0 @@ -# GarbageCollectionConfig - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**grace_period** | **int** | Duration in seconds. Objects created in the recent grace_period will not be collected. | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/GarbageCollectionPrepareResponse.md b/clients/python-legacy/docs/GarbageCollectionPrepareResponse.md deleted file mode 100644 index d2463229362..00000000000 --- a/clients/python-legacy/docs/GarbageCollectionPrepareResponse.md +++ /dev/null @@ -1,15 +0,0 @@ -# GarbageCollectionPrepareResponse - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**run_id** | **str** | a unique identifier generated for this GC job | -**gc_commits_location** | **str** | location of the resulting commits csv table (partitioned by run_id) | -**gc_addresses_location** | **str** | location to use for expired addresses parquet table (partitioned by run_id) | -**gc_commits_presigned_url** | **str** | a presigned url to download the commits csv | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/GarbageCollectionRule.md b/clients/python-legacy/docs/GarbageCollectionRule.md deleted file mode 100644 index ee3b946ee29..00000000000 --- a/clients/python-legacy/docs/GarbageCollectionRule.md +++ /dev/null @@ -1,13 +0,0 @@ -# GarbageCollectionRule - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**branch_id** | **str** | | -**retention_days** | **int** | | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/GarbageCollectionRules.md b/clients/python-legacy/docs/GarbageCollectionRules.md deleted file mode 100644 index c0dbed3548b..00000000000 --- a/clients/python-legacy/docs/GarbageCollectionRules.md +++ /dev/null @@ -1,13 +0,0 @@ -# GarbageCollectionRules - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**default_retention_days** | **int** | | -**branches** | [**[GarbageCollectionRule]**](GarbageCollectionRule.md) | | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/Group.md b/clients/python-legacy/docs/Group.md deleted file mode 100644 index adef615a0d1..00000000000 --- a/clients/python-legacy/docs/Group.md +++ /dev/null @@ -1,14 +0,0 @@ -# Group - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**creation_date** | **int** | Unix Epoch in seconds | -**name** | **str** | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/GroupCreation.md b/clients/python-legacy/docs/GroupCreation.md deleted file mode 100644 index d95d37a85bd..00000000000 --- a/clients/python-legacy/docs/GroupCreation.md +++ /dev/null @@ -1,12 +0,0 @@ -# GroupCreation - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/GroupList.md b/clients/python-legacy/docs/GroupList.md deleted file mode 100644 index d9cfdd71c4f..00000000000 --- a/clients/python-legacy/docs/GroupList.md +++ /dev/null @@ -1,13 +0,0 @@ -# GroupList - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**pagination** | [**Pagination**](Pagination.md) | | -**results** | [**[Group]**](Group.md) | | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/HealthCheckApi.md b/clients/python-legacy/docs/HealthCheckApi.md deleted file mode 100644 index 2313e1fd40d..00000000000 --- a/clients/python-legacy/docs/HealthCheckApi.md +++ /dev/null @@ -1,69 +0,0 @@ -# lakefs_client.HealthCheckApi - -All URIs are relative to *http://localhost/api/v1* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**health_check**](HealthCheckApi.md#health_check) | **GET** /healthcheck | - - -# **health_check** -> health_check() - - - -check that the API server is up and running - -### Example - - -```python -import time -import lakefs_client -from lakefs_client.api import health_check_api -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient() as api_client: - # Create an instance of the API class - api_instance = health_check_api.HealthCheckApi(api_client) - - # example, this endpoint has no required or optional parameters - try: - api_instance.health_check() - except lakefs_client.ApiException as e: - print("Exception when calling HealthCheckApi->health_check: %s\n" % e) -``` - - -### Parameters -This endpoint does not need any parameter. - -### Return type - -void (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | NoContent | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/clients/python-legacy/docs/HookRun.md b/clients/python-legacy/docs/HookRun.md deleted file mode 100644 index ce53b9b7558..00000000000 --- a/clients/python-legacy/docs/HookRun.md +++ /dev/null @@ -1,17 +0,0 @@ -# HookRun - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**hook_run_id** | **str** | | -**action** | **str** | | -**hook_id** | **str** | | -**start_time** | **datetime** | | -**status** | **str** | | -**end_time** | **datetime** | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/HookRunList.md b/clients/python-legacy/docs/HookRunList.md deleted file mode 100644 index 70021ae470e..00000000000 --- a/clients/python-legacy/docs/HookRunList.md +++ /dev/null @@ -1,13 +0,0 @@ -# HookRunList - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**pagination** | [**Pagination**](Pagination.md) | | -**results** | [**[HookRun]**](HookRun.md) | | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/ImportApi.md b/clients/python-legacy/docs/ImportApi.md deleted file mode 100644 index 8e693aa4e4a..00000000000 --- a/clients/python-legacy/docs/ImportApi.md +++ /dev/null @@ -1,368 +0,0 @@ -# lakefs_client.ImportApi - -All URIs are relative to *http://localhost/api/v1* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**import_cancel**](ImportApi.md#import_cancel) | **DELETE** /repositories/{repository}/branches/{branch}/import | cancel ongoing import -[**import_start**](ImportApi.md#import_start) | **POST** /repositories/{repository}/branches/{branch}/import | import data from object store -[**import_status**](ImportApi.md#import_status) | **GET** /repositories/{repository}/branches/{branch}/import | get import status - - -# **import_cancel** -> import_cancel(repository, branch, id) - -cancel ongoing import - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import import_api -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = import_api.ImportApi(api_client) - repository = "repository_example" # str | - branch = "branch_example" # str | - id = "id_example" # str | Unique identifier of the import process - - # example passing only required values which don't have defaults set - try: - # cancel ongoing import - api_instance.import_cancel(repository, branch, id) - except lakefs_client.ApiException as e: - print("Exception when calling ImportApi->import_cancel: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - **branch** | **str**| | - **id** | **str**| Unique identifier of the import process | - -### Return type - -void (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | import canceled successfully | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Resource Not Found | - | -**409** | Resource Conflicts With Target | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **import_start** -> ImportCreationResponse import_start(repository, branch, import_creation) - -import data from object store - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import import_api -from lakefs_client.model.import_creation import ImportCreation -from lakefs_client.model.error import Error -from lakefs_client.model.import_creation_response import ImportCreationResponse -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = import_api.ImportApi(api_client) - repository = "repository_example" # str | - branch = "branch_example" # str | - import_creation = ImportCreation( - paths=[ - ImportLocation( - type="common_prefix", - path="s3://my-bucket/production/collections/", - destination="collections/", - ), - ], - commit=CommitCreation( - message="message_example", - metadata={ - "key": "key_example", - }, - date=1, - allow_empty=False, - force=False, - ), - force=False, - ) # ImportCreation | - - # example passing only required values which don't have defaults set - try: - # import data from object store - api_response = api_instance.import_start(repository, branch, import_creation) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling ImportApi->import_start: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - **branch** | **str**| | - **import_creation** | [**ImportCreation**](ImportCreation.md)| | - -### Return type - -[**ImportCreationResponse**](ImportCreationResponse.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**202** | Import started | - | -**400** | Validation Error | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **import_status** -> ImportStatus import_status(repository, branch, id) - -get import status - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import import_api -from lakefs_client.model.import_status import ImportStatus -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = import_api.ImportApi(api_client) - repository = "repository_example" # str | - branch = "branch_example" # str | - id = "id_example" # str | Unique identifier of the import process - - # example passing only required values which don't have defaults set - try: - # get import status - api_response = api_instance.import_status(repository, branch, id) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling ImportApi->import_status: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - **branch** | **str**| | - **id** | **str**| Unique identifier of the import process | - -### Return type - -[**ImportStatus**](ImportStatus.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | import status | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/clients/python-legacy/docs/ImportCreation.md b/clients/python-legacy/docs/ImportCreation.md deleted file mode 100644 index 2a067b4f543..00000000000 --- a/clients/python-legacy/docs/ImportCreation.md +++ /dev/null @@ -1,14 +0,0 @@ -# ImportCreation - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**paths** | [**[ImportLocation]**](ImportLocation.md) | | -**commit** | [**CommitCreation**](CommitCreation.md) | | -**force** | **bool** | | [optional] if omitted the server will use the default value of False -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/ImportCreationResponse.md b/clients/python-legacy/docs/ImportCreationResponse.md deleted file mode 100644 index 61c0a194f4c..00000000000 --- a/clients/python-legacy/docs/ImportCreationResponse.md +++ /dev/null @@ -1,12 +0,0 @@ -# ImportCreationResponse - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | The id of the import process | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/ImportLocation.md b/clients/python-legacy/docs/ImportLocation.md deleted file mode 100644 index 683e29ec418..00000000000 --- a/clients/python-legacy/docs/ImportLocation.md +++ /dev/null @@ -1,14 +0,0 @@ -# ImportLocation - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**type** | **str** | Path type, can either be 'common_prefix' or 'object' | -**path** | **str** | A source location to a 'common_prefix' or to a single object. Must match the lakeFS installation blockstore type. | -**destination** | **str** | Destination for the imported objects on the branch. Must be a relative path to the branch. If the type is an 'object', the destination is the exact object name under the branch. If the type is a 'common_prefix', the destination is the prefix under the branch. | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/ImportStatus.md b/clients/python-legacy/docs/ImportStatus.md deleted file mode 100644 index 6d4daaa15e2..00000000000 --- a/clients/python-legacy/docs/ImportStatus.md +++ /dev/null @@ -1,17 +0,0 @@ -# ImportStatus - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**completed** | **bool** | | -**update_time** | **datetime** | | -**ingested_objects** | **int** | Number of objects processed so far | [optional] -**metarange_id** | **str** | | [optional] -**commit** | [**Commit**](Commit.md) | | [optional] -**error** | [**Error**](Error.md) | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/InlineObject.md b/clients/python-legacy/docs/InlineObject.md deleted file mode 100644 index 09b9f82b365..00000000000 --- a/clients/python-legacy/docs/InlineObject.md +++ /dev/null @@ -1,12 +0,0 @@ -# InlineObject - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**content** | **file_type** | Only a single file per upload which must be named \"content\". | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/InlineObject1.md b/clients/python-legacy/docs/InlineObject1.md deleted file mode 100644 index 4c2a7dc74f0..00000000000 --- a/clients/python-legacy/docs/InlineObject1.md +++ /dev/null @@ -1,12 +0,0 @@ -# InlineObject1 - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**pattern** | **str** | | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/InstallationUsageReport.md b/clients/python-legacy/docs/InstallationUsageReport.md deleted file mode 100644 index 944bb18a856..00000000000 --- a/clients/python-legacy/docs/InstallationUsageReport.md +++ /dev/null @@ -1,13 +0,0 @@ -# InstallationUsageReport - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**installation_id** | **str** | | -**reports** | [**[UsageReport]**](UsageReport.md) | | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/InternalApi.md b/clients/python-legacy/docs/InternalApi.md deleted file mode 100644 index 7e7653eff7c..00000000000 --- a/clients/python-legacy/docs/InternalApi.md +++ /dev/null @@ -1,3000 +0,0 @@ -# lakefs_client.InternalApi - -All URIs are relative to *http://localhost/api/v1* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**create_branch_protection_rule_preflight**](InternalApi.md#create_branch_protection_rule_preflight) | **GET** /repositories/{repository}/branch_protection/set_allowed | -[**create_commit_record**](InternalApi.md#create_commit_record) | **POST** /repositories/{repository}/commits | create commit record -[**create_symlink_file**](InternalApi.md#create_symlink_file) | **POST** /repositories/{repository}/refs/{branch}/symlink | creates symlink files corresponding to the given directory -[**delete_repository_metadata**](InternalApi.md#delete_repository_metadata) | **DELETE** /repositories/{repository}/metadata | delete repository metadata -[**dump_refs**](InternalApi.md#dump_refs) | **PUT** /repositories/{repository}/refs/dump | Dump repository refs (tags, commits, branches) to object store Deprecated: a new API will introduce long running operations -[**get_auth_capabilities**](InternalApi.md#get_auth_capabilities) | **GET** /auth/capabilities | list authentication capabilities supported -[**get_garbage_collection_config**](InternalApi.md#get_garbage_collection_config) | **GET** /config/garbage-collection | -[**get_lake_fs_version**](InternalApi.md#get_lake_fs_version) | **GET** /config/version | -[**get_metadata_object**](InternalApi.md#get_metadata_object) | **GET** /repositories/{repository}/metadata/object/{type}/{object_id} | return a lakeFS metadata object by ID -[**get_setup_state**](InternalApi.md#get_setup_state) | **GET** /setup_lakefs | check if the lakeFS installation is already set up -[**get_storage_config**](InternalApi.md#get_storage_config) | **GET** /config/storage | -[**get_usage_report_summary**](InternalApi.md#get_usage_report_summary) | **GET** /usage-report/summary | get usage report summary -[**internal_create_branch_protection_rule**](InternalApi.md#internal_create_branch_protection_rule) | **POST** /repositories/{repository}/branch_protection | -[**internal_delete_branch_protection_rule**](InternalApi.md#internal_delete_branch_protection_rule) | **DELETE** /repositories/{repository}/branch_protection | -[**internal_delete_garbage_collection_rules**](InternalApi.md#internal_delete_garbage_collection_rules) | **DELETE** /repositories/{repository}/gc/rules | -[**internal_get_branch_protection_rules**](InternalApi.md#internal_get_branch_protection_rules) | **GET** /repositories/{repository}/branch_protection | get branch protection rules -[**internal_get_garbage_collection_rules**](InternalApi.md#internal_get_garbage_collection_rules) | **GET** /repositories/{repository}/gc/rules | -[**internal_set_garbage_collection_rules**](InternalApi.md#internal_set_garbage_collection_rules) | **POST** /repositories/{repository}/gc/rules | -[**post_stats_events**](InternalApi.md#post_stats_events) | **POST** /statistics | post stats events, this endpoint is meant for internal use only -[**prepare_garbage_collection_commits**](InternalApi.md#prepare_garbage_collection_commits) | **POST** /repositories/{repository}/gc/prepare_commits | save lists of active commits for garbage collection -[**prepare_garbage_collection_uncommitted**](InternalApi.md#prepare_garbage_collection_uncommitted) | **POST** /repositories/{repository}/gc/prepare_uncommited | save repository uncommitted metadata for garbage collection -[**restore_refs**](InternalApi.md#restore_refs) | **PUT** /repositories/{repository}/refs/restore | Restore repository refs (tags, commits, branches) from object store. Deprecated: a new API will introduce long running operations -[**set_garbage_collection_rules_preflight**](InternalApi.md#set_garbage_collection_rules_preflight) | **GET** /repositories/{repository}/gc/rules/set_allowed | -[**set_repository_metadata**](InternalApi.md#set_repository_metadata) | **POST** /repositories/{repository}/metadata | set repository metadata -[**setup**](InternalApi.md#setup) | **POST** /setup_lakefs | setup lakeFS and create a first user -[**setup_comm_prefs**](InternalApi.md#setup_comm_prefs) | **POST** /setup_comm_prefs | setup communications preferences -[**stage_object**](InternalApi.md#stage_object) | **PUT** /repositories/{repository}/branches/{branch}/objects | stage an object's metadata for the given branch -[**upload_object_preflight**](InternalApi.md#upload_object_preflight) | **GET** /repositories/{repository}/branches/{branch}/objects/stage_allowed | - - -# **create_branch_protection_rule_preflight** -> create_branch_protection_rule_preflight(repository) - - - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import internal_api -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = internal_api.InternalApi(api_client) - repository = "repository_example" # str | - - # example passing only required values which don't have defaults set - try: - api_instance.create_branch_protection_rule_preflight(repository) - except lakefs_client.ApiException as e: - print("Exception when calling InternalApi->create_branch_protection_rule_preflight: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | User has permissions to create a branch protection rule in this repository | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**409** | Resource Conflicts With Target | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_commit_record** -> create_commit_record(repository, commit_record_creation) - -create commit record - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import internal_api -from lakefs_client.model.commit_record_creation import CommitRecordCreation -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = internal_api.InternalApi(api_client) - repository = "repository_example" # str | - commit_record_creation = CommitRecordCreation( - commit_id="commit_id_example", - version=0, - committer="committer_example", - message="message_example", - metarange_id="metarange_id_example", - creation_date=1, - parents=[ - "parents_example", - ], - metadata={ - "key": "key_example", - }, - generation=1, - force=False, - ) # CommitRecordCreation | - - # example passing only required values which don't have defaults set - try: - # create commit record - api_instance.create_commit_record(repository, commit_record_creation) - except lakefs_client.ApiException as e: - print("Exception when calling InternalApi->create_commit_record: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - **commit_record_creation** | [**CommitRecordCreation**](CommitRecordCreation.md)| | - -### Return type - -void (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | commit record created | - | -**400** | Validation Error | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **create_symlink_file** -> StorageURI create_symlink_file(repository, branch) - -creates symlink files corresponding to the given directory - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import internal_api -from lakefs_client.model.error import Error -from lakefs_client.model.storage_uri import StorageURI -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = internal_api.InternalApi(api_client) - repository = "repository_example" # str | - branch = "branch_example" # str | - location = "location_example" # str | path to the table data (optional) - - # example passing only required values which don't have defaults set - try: - # creates symlink files corresponding to the given directory - api_response = api_instance.create_symlink_file(repository, branch) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling InternalApi->create_symlink_file: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # creates symlink files corresponding to the given directory - api_response = api_instance.create_symlink_file(repository, branch, location=location) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling InternalApi->create_symlink_file: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - **branch** | **str**| | - **location** | **str**| path to the table data | [optional] - -### Return type - -[**StorageURI**](StorageURI.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | location created | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_repository_metadata** -> delete_repository_metadata(repository, repository_metadata_keys) - -delete repository metadata - -Delete specified keys from the repository's metadata. - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import internal_api -from lakefs_client.model.repository_metadata_keys import RepositoryMetadataKeys -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = internal_api.InternalApi(api_client) - repository = "repository_example" # str | - repository_metadata_keys = RepositoryMetadataKeys( - keys=[ - "keys_example", - ], - ) # RepositoryMetadataKeys | - - # example passing only required values which don't have defaults set - try: - # delete repository metadata - api_instance.delete_repository_metadata(repository, repository_metadata_keys) - except lakefs_client.ApiException as e: - print("Exception when calling InternalApi->delete_repository_metadata: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - **repository_metadata_keys** | [**RepositoryMetadataKeys**](RepositoryMetadataKeys.md)| | - -### Return type - -void (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | repository metadata keys deleted successfully | - | -**401** | Unauthorized | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **dump_refs** -> RefsDump dump_refs(repository) - -Dump repository refs (tags, commits, branches) to object store Deprecated: a new API will introduce long running operations - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import internal_api -from lakefs_client.model.refs_dump import RefsDump -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = internal_api.InternalApi(api_client) - repository = "repository_example" # str | - - # example passing only required values which don't have defaults set - try: - # Dump repository refs (tags, commits, branches) to object store Deprecated: a new API will introduce long running operations - api_response = api_instance.dump_refs(repository) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling InternalApi->dump_refs: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - -### Return type - -[**RefsDump**](RefsDump.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | refs dump | - | -**400** | Validation Error | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_auth_capabilities** -> AuthCapabilities get_auth_capabilities() - -list authentication capabilities supported - -### Example - - -```python -import time -import lakefs_client -from lakefs_client.api import internal_api -from lakefs_client.model.error import Error -from lakefs_client.model.auth_capabilities import AuthCapabilities -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient() as api_client: - # Create an instance of the API class - api_instance = internal_api.InternalApi(api_client) - - # example, this endpoint has no required or optional parameters - try: - # list authentication capabilities supported - api_response = api_instance.get_auth_capabilities() - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling InternalApi->get_auth_capabilities: %s\n" % e) -``` - - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**AuthCapabilities**](AuthCapabilities.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | auth capabilities | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_garbage_collection_config** -> GarbageCollectionConfig get_garbage_collection_config() - - - -get information of gc settings - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import internal_api -from lakefs_client.model.garbage_collection_config import GarbageCollectionConfig -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = internal_api.InternalApi(api_client) - - # example, this endpoint has no required or optional parameters - try: - api_response = api_instance.get_garbage_collection_config() - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling InternalApi->get_garbage_collection_config: %s\n" % e) -``` - - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**GarbageCollectionConfig**](GarbageCollectionConfig.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | lakeFS garbage collection config | - | -**401** | Unauthorized | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_lake_fs_version** -> VersionConfig get_lake_fs_version() - - - -get version of lakeFS server - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import internal_api -from lakefs_client.model.version_config import VersionConfig -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = internal_api.InternalApi(api_client) - - # example, this endpoint has no required or optional parameters - try: - api_response = api_instance.get_lake_fs_version() - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling InternalApi->get_lake_fs_version: %s\n" % e) -``` - - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**VersionConfig**](VersionConfig.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | lakeFS version | - | -**401** | Unauthorized | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_metadata_object** -> file_type get_metadata_object(repository, object_id, type) - -return a lakeFS metadata object by ID - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import internal_api -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = internal_api.InternalApi(api_client) - repository = "repository_example" # str | - object_id = "object_id_example" # str | - type = "range" # str | - presign = True # bool | (optional) - - # example passing only required values which don't have defaults set - try: - # return a lakeFS metadata object by ID - api_response = api_instance.get_metadata_object(repository, object_id, type) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling InternalApi->get_metadata_object: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # return a lakeFS metadata object by ID - api_response = api_instance.get_metadata_object(repository, object_id, type, presign=presign) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling InternalApi->get_metadata_object: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - **object_id** | **str**| | - **type** | **str**| | - **presign** | **bool**| | [optional] - -### Return type - -**file_type** - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/octet-stream, application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | object content | * Content-Length -
| -**302** | Redirect to a pre-signed URL for the object | * Location - redirect to S3
| -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_setup_state** -> SetupState get_setup_state() - -check if the lakeFS installation is already set up - -### Example - - -```python -import time -import lakefs_client -from lakefs_client.api import internal_api -from lakefs_client.model.error import Error -from lakefs_client.model.setup_state import SetupState -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient() as api_client: - # Create an instance of the API class - api_instance = internal_api.InternalApi(api_client) - - # example, this endpoint has no required or optional parameters - try: - # check if the lakeFS installation is already set up - api_response = api_instance.get_setup_state() - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling InternalApi->get_setup_state: %s\n" % e) -``` - - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**SetupState**](SetupState.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | lakeFS setup state | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_storage_config** -> StorageConfig get_storage_config() - - - -retrieve lakeFS storage configuration - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import internal_api -from lakefs_client.model.error import Error -from lakefs_client.model.storage_config import StorageConfig -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = internal_api.InternalApi(api_client) - - # example, this endpoint has no required or optional parameters - try: - api_response = api_instance.get_storage_config() - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling InternalApi->get_storage_config: %s\n" % e) -``` - - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**StorageConfig**](StorageConfig.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | lakeFS storage configuration | - | -**401** | Unauthorized | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_usage_report_summary** -> InstallationUsageReport get_usage_report_summary() - -get usage report summary - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import internal_api -from lakefs_client.model.installation_usage_report import InstallationUsageReport -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = internal_api.InternalApi(api_client) - - # example, this endpoint has no required or optional parameters - try: - # get usage report summary - api_response = api_instance.get_usage_report_summary() - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling InternalApi->get_usage_report_summary: %s\n" % e) -``` - - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**InstallationUsageReport**](InstallationUsageReport.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json, application/text - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Usage report | - | -**400** | Bad Request | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **internal_create_branch_protection_rule** -> internal_create_branch_protection_rule(repository, branch_protection_rule) - - - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import internal_api -from lakefs_client.model.error import Error -from lakefs_client.model.branch_protection_rule import BranchProtectionRule -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = internal_api.InternalApi(api_client) - repository = "repository_example" # str | - branch_protection_rule = BranchProtectionRule( - pattern="stable_*", - ) # BranchProtectionRule | - - # example passing only required values which don't have defaults set - try: - api_instance.internal_create_branch_protection_rule(repository, branch_protection_rule) - except lakefs_client.ApiException as e: - print("Exception when calling InternalApi->internal_create_branch_protection_rule: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - **branch_protection_rule** | [**BranchProtectionRule**](BranchProtectionRule.md)| | - -### Return type - -void (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | branch protection rule created successfully | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **internal_delete_branch_protection_rule** -> internal_delete_branch_protection_rule(repository, inline_object1) - - - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import internal_api -from lakefs_client.model.error import Error -from lakefs_client.model.inline_object1 import InlineObject1 -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = internal_api.InternalApi(api_client) - repository = "repository_example" # str | - inline_object1 = InlineObject1( - pattern="pattern_example", - ) # InlineObject1 | - - # example passing only required values which don't have defaults set - try: - api_instance.internal_delete_branch_protection_rule(repository, inline_object1) - except lakefs_client.ApiException as e: - print("Exception when calling InternalApi->internal_delete_branch_protection_rule: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - **inline_object1** | [**InlineObject1**](InlineObject1.md)| | - -### Return type - -void (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | branch protection rule deleted successfully | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **internal_delete_garbage_collection_rules** -> internal_delete_garbage_collection_rules(repository) - - - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import internal_api -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = internal_api.InternalApi(api_client) - repository = "repository_example" # str | - - # example passing only required values which don't have defaults set - try: - api_instance.internal_delete_garbage_collection_rules(repository) - except lakefs_client.ApiException as e: - print("Exception when calling InternalApi->internal_delete_garbage_collection_rules: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | deleted garbage collection rules successfully | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **internal_get_branch_protection_rules** -> [BranchProtectionRule] internal_get_branch_protection_rules(repository) - -get branch protection rules - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import internal_api -from lakefs_client.model.error import Error -from lakefs_client.model.branch_protection_rule import BranchProtectionRule -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = internal_api.InternalApi(api_client) - repository = "repository_example" # str | - - # example passing only required values which don't have defaults set - try: - # get branch protection rules - api_response = api_instance.internal_get_branch_protection_rules(repository) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling InternalApi->internal_get_branch_protection_rules: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - -### Return type - -[**[BranchProtectionRule]**](BranchProtectionRule.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | branch protection rules | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **internal_get_garbage_collection_rules** -> GarbageCollectionRules internal_get_garbage_collection_rules(repository) - - - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import internal_api -from lakefs_client.model.garbage_collection_rules import GarbageCollectionRules -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = internal_api.InternalApi(api_client) - repository = "repository_example" # str | - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.internal_get_garbage_collection_rules(repository) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling InternalApi->internal_get_garbage_collection_rules: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - -### Return type - -[**GarbageCollectionRules**](GarbageCollectionRules.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | gc rule list | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **internal_set_garbage_collection_rules** -> internal_set_garbage_collection_rules(repository, garbage_collection_rules) - - - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import internal_api -from lakefs_client.model.garbage_collection_rules import GarbageCollectionRules -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = internal_api.InternalApi(api_client) - repository = "repository_example" # str | - garbage_collection_rules = GarbageCollectionRules( - default_retention_days=1, - branches=[ - GarbageCollectionRule( - branch_id="branch_id_example", - retention_days=1, - ), - ], - ) # GarbageCollectionRules | - - # example passing only required values which don't have defaults set - try: - api_instance.internal_set_garbage_collection_rules(repository, garbage_collection_rules) - except lakefs_client.ApiException as e: - print("Exception when calling InternalApi->internal_set_garbage_collection_rules: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - **garbage_collection_rules** | [**GarbageCollectionRules**](GarbageCollectionRules.md)| | - -### Return type - -void (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | set garbage collection rules successfully | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **post_stats_events** -> post_stats_events(stats_events_list) - -post stats events, this endpoint is meant for internal use only - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import internal_api -from lakefs_client.model.error import Error -from lakefs_client.model.stats_events_list import StatsEventsList -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = internal_api.InternalApi(api_client) - stats_events_list = StatsEventsList( - events=[ - StatsEvent( - _class="_class_example", - name="name_example", - count=1, - ), - ], - ) # StatsEventsList | - - # example passing only required values which don't have defaults set - try: - # post stats events, this endpoint is meant for internal use only - api_instance.post_stats_events(stats_events_list) - except lakefs_client.ApiException as e: - print("Exception when calling InternalApi->post_stats_events: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **stats_events_list** | [**StatsEventsList**](StatsEventsList.md)| | - -### Return type - -void (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | reported successfully | - | -**400** | Bad Request | - | -**401** | Unauthorized | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **prepare_garbage_collection_commits** -> GarbageCollectionPrepareResponse prepare_garbage_collection_commits(repository) - -save lists of active commits for garbage collection - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import internal_api -from lakefs_client.model.error import Error -from lakefs_client.model.garbage_collection_prepare_response import GarbageCollectionPrepareResponse -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = internal_api.InternalApi(api_client) - repository = "repository_example" # str | - - # example passing only required values which don't have defaults set - try: - # save lists of active commits for garbage collection - api_response = api_instance.prepare_garbage_collection_commits(repository) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling InternalApi->prepare_garbage_collection_commits: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - -### Return type - -[**GarbageCollectionPrepareResponse**](GarbageCollectionPrepareResponse.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | paths to commit dataset | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **prepare_garbage_collection_uncommitted** -> PrepareGCUncommittedResponse prepare_garbage_collection_uncommitted(repository) - -save repository uncommitted metadata for garbage collection - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import internal_api -from lakefs_client.model.prepare_gc_uncommitted_response import PrepareGCUncommittedResponse -from lakefs_client.model.prepare_gc_uncommitted_request import PrepareGCUncommittedRequest -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = internal_api.InternalApi(api_client) - repository = "repository_example" # str | - prepare_gc_uncommitted_request = PrepareGCUncommittedRequest( - continuation_token="continuation_token_example", - ) # PrepareGCUncommittedRequest | (optional) - - # example passing only required values which don't have defaults set - try: - # save repository uncommitted metadata for garbage collection - api_response = api_instance.prepare_garbage_collection_uncommitted(repository) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling InternalApi->prepare_garbage_collection_uncommitted: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # save repository uncommitted metadata for garbage collection - api_response = api_instance.prepare_garbage_collection_uncommitted(repository, prepare_gc_uncommitted_request=prepare_gc_uncommitted_request) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling InternalApi->prepare_garbage_collection_uncommitted: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - **prepare_gc_uncommitted_request** | [**PrepareGCUncommittedRequest**](PrepareGCUncommittedRequest.md)| | [optional] - -### Return type - -[**PrepareGCUncommittedResponse**](PrepareGCUncommittedResponse.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | paths to commit dataset | - | -**400** | Validation Error | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **restore_refs** -> restore_refs(repository, refs_restore) - -Restore repository refs (tags, commits, branches) from object store. Deprecated: a new API will introduce long running operations - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import internal_api -from lakefs_client.model.refs_restore import RefsRestore -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = internal_api.InternalApi(api_client) - repository = "repository_example" # str | - refs_restore = RefsRestore( - commits_meta_range_id="commits_meta_range_id_example", - tags_meta_range_id="tags_meta_range_id_example", - branches_meta_range_id="branches_meta_range_id_example", - force=False, - ) # RefsRestore | - - # example passing only required values which don't have defaults set - try: - # Restore repository refs (tags, commits, branches) from object store. Deprecated: a new API will introduce long running operations - api_instance.restore_refs(repository, refs_restore) - except lakefs_client.ApiException as e: - print("Exception when calling InternalApi->restore_refs: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - **refs_restore** | [**RefsRestore**](RefsRestore.md)| | - -### Return type - -void (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | refs successfully loaded | - | -**400** | Validation Error | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **set_garbage_collection_rules_preflight** -> set_garbage_collection_rules_preflight(repository) - - - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import internal_api -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = internal_api.InternalApi(api_client) - repository = "repository_example" # str | - - # example passing only required values which don't have defaults set - try: - api_instance.set_garbage_collection_rules_preflight(repository) - except lakefs_client.ApiException as e: - print("Exception when calling InternalApi->set_garbage_collection_rules_preflight: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | User has permissions to set garbage collection rules on this repository | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **set_repository_metadata** -> set_repository_metadata(repository, repository_metadata_set) - -set repository metadata - -Set repository metadata. This will only add or update the provided keys, and will not remove any existing keys. - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import internal_api -from lakefs_client.model.repository_metadata_set import RepositoryMetadataSet -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = internal_api.InternalApi(api_client) - repository = "repository_example" # str | - repository_metadata_set = RepositoryMetadataSet( - metadata={ - "key": "key_example", - }, - ) # RepositoryMetadataSet | - - # example passing only required values which don't have defaults set - try: - # set repository metadata - api_instance.set_repository_metadata(repository, repository_metadata_set) - except lakefs_client.ApiException as e: - print("Exception when calling InternalApi->set_repository_metadata: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - **repository_metadata_set** | [**RepositoryMetadataSet**](RepositoryMetadataSet.md)| | - -### Return type - -void (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | repository metadata set successfully | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **setup** -> CredentialsWithSecret setup(setup) - -setup lakeFS and create a first user - -### Example - - -```python -import time -import lakefs_client -from lakefs_client.api import internal_api -from lakefs_client.model.credentials_with_secret import CredentialsWithSecret -from lakefs_client.model.setup import Setup -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient() as api_client: - # Create an instance of the API class - api_instance = internal_api.InternalApi(api_client) - setup = Setup( - username="username_example", - key=AccessKeyCredentials( - access_key_id="AKIAIOSFODNN7EXAMPLE", - secret_access_key="wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY", - ), - ) # Setup | - - # example passing only required values which don't have defaults set - try: - # setup lakeFS and create a first user - api_response = api_instance.setup(setup) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling InternalApi->setup: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **setup** | [**Setup**](Setup.md)| | - -### Return type - -[**CredentialsWithSecret**](CredentialsWithSecret.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | user created successfully | - | -**400** | Bad Request | - | -**409** | setup was already called | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **setup_comm_prefs** -> setup_comm_prefs(comm_prefs_input) - -setup communications preferences - -### Example - - -```python -import time -import lakefs_client -from lakefs_client.api import internal_api -from lakefs_client.model.comm_prefs_input import CommPrefsInput -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient() as api_client: - # Create an instance of the API class - api_instance = internal_api.InternalApi(api_client) - comm_prefs_input = CommPrefsInput( - email="email_example", - feature_updates=True, - security_updates=True, - ) # CommPrefsInput | - - # example passing only required values which don't have defaults set - try: - # setup communications preferences - api_instance.setup_comm_prefs(comm_prefs_input) - except lakefs_client.ApiException as e: - print("Exception when calling InternalApi->setup_comm_prefs: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **comm_prefs_input** | [**CommPrefsInput**](CommPrefsInput.md)| | - -### Return type - -void (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | communication preferences saved successfully | - | -**409** | setup was already completed | - | -**412** | wrong setup state for this operation | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **stage_object** -> ObjectStats stage_object(repository, branch, path, object_stage_creation) - -stage an object's metadata for the given branch - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import internal_api -from lakefs_client.model.object_stage_creation import ObjectStageCreation -from lakefs_client.model.error import Error -from lakefs_client.model.object_stats import ObjectStats -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = internal_api.InternalApi(api_client) - repository = "repository_example" # str | - branch = "branch_example" # str | - path = "path_example" # str | relative to the branch - object_stage_creation = ObjectStageCreation( - physical_address="physical_address_example", - checksum="checksum_example", - size_bytes=1, - mtime=1, - metadata=ObjectUserMetadata( - key="key_example", - ), - content_type="content_type_example", - force=False, - ) # ObjectStageCreation | - - # example passing only required values which don't have defaults set - try: - # stage an object's metadata for the given branch - api_response = api_instance.stage_object(repository, branch, path, object_stage_creation) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling InternalApi->stage_object: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - **branch** | **str**| | - **path** | **str**| relative to the branch | - **object_stage_creation** | [**ObjectStageCreation**](ObjectStageCreation.md)| | - -### Return type - -[**ObjectStats**](ObjectStats.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | object metadata | - | -**400** | Validation Error | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **upload_object_preflight** -> upload_object_preflight(repository, branch, path) - - - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import internal_api -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = internal_api.InternalApi(api_client) - repository = "repository_example" # str | - branch = "branch_example" # str | - path = "path_example" # str | relative to the branch - - # example passing only required values which don't have defaults set - try: - api_instance.upload_object_preflight(repository, branch, path) - except lakefs_client.ApiException as e: - print("Exception when calling InternalApi->upload_object_preflight: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - **branch** | **str**| | - **path** | **str**| relative to the branch | - -### Return type - -void (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | User has permissions to upload this object. This does not guarantee that the upload will be successful or even possible. It indicates only the permission at the time of calling this endpoint | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/clients/python-legacy/docs/LoginConfig.md b/clients/python-legacy/docs/LoginConfig.md deleted file mode 100644 index 300a544db44..00000000000 --- a/clients/python-legacy/docs/LoginConfig.md +++ /dev/null @@ -1,18 +0,0 @@ -# LoginConfig - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**login_url** | **str** | primary URL to use for login. | -**login_cookie_names** | **[str]** | cookie names used to store JWT | -**logout_url** | **str** | URL to use for logging out. | -**rbac** | **str** | RBAC will remain enabled on GUI if \"external\". That only works with an external auth service. | [optional] -**login_failed_message** | **str** | message to display to users who fail to login; a full sentence that is rendered in HTML and may contain a link to a secondary login method | [optional] -**fallback_login_url** | **str** | secondary URL to offer users to use for login. | [optional] -**fallback_login_label** | **str** | label to place on fallback_login_url. | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/LoginInformation.md b/clients/python-legacy/docs/LoginInformation.md deleted file mode 100644 index 41d915f08eb..00000000000 --- a/clients/python-legacy/docs/LoginInformation.md +++ /dev/null @@ -1,13 +0,0 @@ -# LoginInformation - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**access_key_id** | **str** | | -**secret_access_key** | **str** | | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/Merge.md b/clients/python-legacy/docs/Merge.md deleted file mode 100644 index 157875ad2ef..00000000000 --- a/clients/python-legacy/docs/Merge.md +++ /dev/null @@ -1,16 +0,0 @@ -# Merge - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**message** | **str** | | [optional] -**metadata** | **{str: (str,)}** | | [optional] -**strategy** | **str** | In case of a merge conflict, this option will force the merge process to automatically favor changes from the dest branch ('dest-wins') or from the source branch('source-wins'). In case no selection is made, the merge process will fail in case of a conflict | [optional] -**force** | **bool** | Allow merge into a read-only branch or into a branch with the same content | [optional] if omitted the server will use the default value of False -**allow_empty** | **bool** | Allow merge when the branches have the same content | [optional] if omitted the server will use the default value of False -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/MergeResult.md b/clients/python-legacy/docs/MergeResult.md deleted file mode 100644 index 0dc0933d271..00000000000 --- a/clients/python-legacy/docs/MergeResult.md +++ /dev/null @@ -1,12 +0,0 @@ -# MergeResult - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**reference** | **str** | | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/MetaRangeCreation.md b/clients/python-legacy/docs/MetaRangeCreation.md deleted file mode 100644 index 16b819dc0f7..00000000000 --- a/clients/python-legacy/docs/MetaRangeCreation.md +++ /dev/null @@ -1,12 +0,0 @@ -# MetaRangeCreation - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**ranges** | [**[RangeMetadata]**](RangeMetadata.md) | | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/MetaRangeCreationResponse.md b/clients/python-legacy/docs/MetaRangeCreationResponse.md deleted file mode 100644 index ff9dd851f80..00000000000 --- a/clients/python-legacy/docs/MetaRangeCreationResponse.md +++ /dev/null @@ -1,12 +0,0 @@ -# MetaRangeCreationResponse - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | The id of the created metarange | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/MetadataApi.md b/clients/python-legacy/docs/MetadataApi.md deleted file mode 100644 index 9b443620338..00000000000 --- a/clients/python-legacy/docs/MetadataApi.md +++ /dev/null @@ -1,230 +0,0 @@ -# lakefs_client.MetadataApi - -All URIs are relative to *http://localhost/api/v1* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**get_meta_range**](MetadataApi.md#get_meta_range) | **GET** /repositories/{repository}/metadata/meta_range/{meta_range} | return URI to a meta-range file -[**get_range**](MetadataApi.md#get_range) | **GET** /repositories/{repository}/metadata/range/{range} | return URI to a range file - - -# **get_meta_range** -> StorageURI get_meta_range(repository, meta_range) - -return URI to a meta-range file - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import metadata_api -from lakefs_client.model.error import Error -from lakefs_client.model.storage_uri import StorageURI -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = metadata_api.MetadataApi(api_client) - repository = "repository_example" # str | - meta_range = "meta_range_example" # str | - - # example passing only required values which don't have defaults set - try: - # return URI to a meta-range file - api_response = api_instance.get_meta_range(repository, meta_range) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling MetadataApi->get_meta_range: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - **meta_range** | **str**| | - -### Return type - -[**StorageURI**](StorageURI.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | meta-range URI | * Location - redirect to S3
| -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_range** -> StorageURI get_range(repository, range) - -return URI to a range file - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import metadata_api -from lakefs_client.model.error import Error -from lakefs_client.model.storage_uri import StorageURI -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = metadata_api.MetadataApi(api_client) - repository = "repository_example" # str | - range = "range_example" # str | - - # example passing only required values which don't have defaults set - try: - # return URI to a range file - api_response = api_instance.get_range(repository, range) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling MetadataApi->get_range: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - **range** | **str**| | - -### Return type - -[**StorageURI**](StorageURI.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | range URI | * Location - redirect to S3
| -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/clients/python-legacy/docs/ObjectCopyCreation.md b/clients/python-legacy/docs/ObjectCopyCreation.md deleted file mode 100644 index 0b678247eca..00000000000 --- a/clients/python-legacy/docs/ObjectCopyCreation.md +++ /dev/null @@ -1,14 +0,0 @@ -# ObjectCopyCreation - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**src_path** | **str** | path of the copied object relative to the ref | -**src_ref** | **str** | a reference, if empty uses the provided branch as ref | [optional] -**force** | **bool** | | [optional] if omitted the server will use the default value of False -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/ObjectError.md b/clients/python-legacy/docs/ObjectError.md deleted file mode 100644 index 816796959f5..00000000000 --- a/clients/python-legacy/docs/ObjectError.md +++ /dev/null @@ -1,14 +0,0 @@ -# ObjectError - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status_code** | **int** | HTTP status code associated for operation on path | -**message** | **str** | short message explaining status_code | -**path** | **str** | affected path | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/ObjectErrorList.md b/clients/python-legacy/docs/ObjectErrorList.md deleted file mode 100644 index 5d05052a02d..00000000000 --- a/clients/python-legacy/docs/ObjectErrorList.md +++ /dev/null @@ -1,12 +0,0 @@ -# ObjectErrorList - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**errors** | [**[ObjectError]**](ObjectError.md) | | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/ObjectStageCreation.md b/clients/python-legacy/docs/ObjectStageCreation.md deleted file mode 100644 index 647a6f38b10..00000000000 --- a/clients/python-legacy/docs/ObjectStageCreation.md +++ /dev/null @@ -1,18 +0,0 @@ -# ObjectStageCreation - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**physical_address** | **str** | | -**checksum** | **str** | | -**size_bytes** | **int** | | -**mtime** | **int** | Unix Epoch in seconds | [optional] -**metadata** | [**ObjectUserMetadata**](ObjectUserMetadata.md) | | [optional] -**content_type** | **str** | Object media type | [optional] -**force** | **bool** | | [optional] if omitted the server will use the default value of False -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/ObjectStats.md b/clients/python-legacy/docs/ObjectStats.md deleted file mode 100644 index 4568b937c7a..00000000000 --- a/clients/python-legacy/docs/ObjectStats.md +++ /dev/null @@ -1,20 +0,0 @@ -# ObjectStats - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**path** | **str** | | -**path_type** | **str** | | -**physical_address** | **str** | The location of the object on the underlying object store. Formatted as a native URI with the object store type as scheme (\"s3://...\", \"gs://...\", etc.) Or, in the case of presign=true, will be an HTTP URL to be consumed via regular HTTP GET | -**checksum** | **str** | | -**mtime** | **int** | Unix Epoch in seconds | -**physical_address_expiry** | **int** | If present and nonzero, physical_address is a pre-signed URL and will expire at this Unix Epoch time. This will be shorter than the pre-signed URL lifetime if an authentication token is about to expire. This field is *optional*. | [optional] -**size_bytes** | **int** | The number of bytes in the object. lakeFS always populates this field when returning ObjectStats. This field is optional _for the client_ to supply, for instance on upload. | [optional] -**metadata** | [**ObjectUserMetadata**](ObjectUserMetadata.md) | | [optional] -**content_type** | **str** | Object media type | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/ObjectStatsList.md b/clients/python-legacy/docs/ObjectStatsList.md deleted file mode 100644 index 4a7663eab5e..00000000000 --- a/clients/python-legacy/docs/ObjectStatsList.md +++ /dev/null @@ -1,13 +0,0 @@ -# ObjectStatsList - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**pagination** | [**Pagination**](Pagination.md) | | -**results** | [**[ObjectStats]**](ObjectStats.md) | | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/ObjectUserMetadata.md b/clients/python-legacy/docs/ObjectUserMetadata.md deleted file mode 100644 index 879e0591251..00000000000 --- a/clients/python-legacy/docs/ObjectUserMetadata.md +++ /dev/null @@ -1,11 +0,0 @@ -# ObjectUserMetadata - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**any string name** | **str** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/ObjectsApi.md b/clients/python-legacy/docs/ObjectsApi.md deleted file mode 100644 index 359fc089674..00000000000 --- a/clients/python-legacy/docs/ObjectsApi.md +++ /dev/null @@ -1,1260 +0,0 @@ -# lakefs_client.ObjectsApi - -All URIs are relative to *http://localhost/api/v1* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**copy_object**](ObjectsApi.md#copy_object) | **POST** /repositories/{repository}/branches/{branch}/objects/copy | create a copy of an object -[**delete_object**](ObjectsApi.md#delete_object) | **DELETE** /repositories/{repository}/branches/{branch}/objects | delete object. Missing objects will not return a NotFound error. -[**delete_objects**](ObjectsApi.md#delete_objects) | **POST** /repositories/{repository}/branches/{branch}/objects/delete | delete objects. Missing objects will not return a NotFound error. -[**get_object**](ObjectsApi.md#get_object) | **GET** /repositories/{repository}/refs/{ref}/objects | get object content -[**get_underlying_properties**](ObjectsApi.md#get_underlying_properties) | **GET** /repositories/{repository}/refs/{ref}/objects/underlyingProperties | get object properties on underlying storage -[**head_object**](ObjectsApi.md#head_object) | **HEAD** /repositories/{repository}/refs/{ref}/objects | check if object exists -[**list_objects**](ObjectsApi.md#list_objects) | **GET** /repositories/{repository}/refs/{ref}/objects/ls | list objects under a given prefix -[**stat_object**](ObjectsApi.md#stat_object) | **GET** /repositories/{repository}/refs/{ref}/objects/stat | get object metadata -[**update_object_user_metadata**](ObjectsApi.md#update_object_user_metadata) | **PUT** /repositories/{repository}/branches/{branch}/objects/stat/user_metadata | rewrite (all) object metadata -[**upload_object**](ObjectsApi.md#upload_object) | **POST** /repositories/{repository}/branches/{branch}/objects | - - -# **copy_object** -> ObjectStats copy_object(repository, branch, dest_path, object_copy_creation) - -create a copy of an object - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import objects_api -from lakefs_client.model.object_copy_creation import ObjectCopyCreation -from lakefs_client.model.error import Error -from lakefs_client.model.object_stats import ObjectStats -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = objects_api.ObjectsApi(api_client) - repository = "repository_example" # str | - branch = "branch_example" # str | destination branch for the copy - dest_path = "dest_path_example" # str | destination path relative to the branch - object_copy_creation = ObjectCopyCreation( - src_path="src_path_example", - src_ref="src_ref_example", - force=False, - ) # ObjectCopyCreation | - - # example passing only required values which don't have defaults set - try: - # create a copy of an object - api_response = api_instance.copy_object(repository, branch, dest_path, object_copy_creation) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling ObjectsApi->copy_object: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - **branch** | **str**| destination branch for the copy | - **dest_path** | **str**| destination path relative to the branch | - **object_copy_creation** | [**ObjectCopyCreation**](ObjectCopyCreation.md)| | - -### Return type - -[**ObjectStats**](ObjectStats.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | Copy object response | - | -**400** | Validation Error | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_object** -> delete_object(repository, branch, path) - -delete object. Missing objects will not return a NotFound error. - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import objects_api -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = objects_api.ObjectsApi(api_client) - repository = "repository_example" # str | - branch = "branch_example" # str | - path = "path_example" # str | relative to the branch - force = False # bool | (optional) if omitted the server will use the default value of False - - # example passing only required values which don't have defaults set - try: - # delete object. Missing objects will not return a NotFound error. - api_instance.delete_object(repository, branch, path) - except lakefs_client.ApiException as e: - print("Exception when calling ObjectsApi->delete_object: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # delete object. Missing objects will not return a NotFound error. - api_instance.delete_object(repository, branch, path, force=force) - except lakefs_client.ApiException as e: - print("Exception when calling ObjectsApi->delete_object: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - **branch** | **str**| | - **path** | **str**| relative to the branch | - **force** | **bool**| | [optional] if omitted the server will use the default value of False - -### Return type - -void (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | object deleted successfully | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_objects** -> ObjectErrorList delete_objects(repository, branch, path_list) - -delete objects. Missing objects will not return a NotFound error. - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import objects_api -from lakefs_client.model.object_error_list import ObjectErrorList -from lakefs_client.model.error import Error -from lakefs_client.model.path_list import PathList -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = objects_api.ObjectsApi(api_client) - repository = "repository_example" # str | - branch = "branch_example" # str | - path_list = PathList( - paths=[ - "paths_example", - ], - ) # PathList | - force = False # bool | (optional) if omitted the server will use the default value of False - - # example passing only required values which don't have defaults set - try: - # delete objects. Missing objects will not return a NotFound error. - api_response = api_instance.delete_objects(repository, branch, path_list) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling ObjectsApi->delete_objects: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # delete objects. Missing objects will not return a NotFound error. - api_response = api_instance.delete_objects(repository, branch, path_list, force=force) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling ObjectsApi->delete_objects: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - **branch** | **str**| | - **path_list** | [**PathList**](PathList.md)| | - **force** | **bool**| | [optional] if omitted the server will use the default value of False - -### Return type - -[**ObjectErrorList**](ObjectErrorList.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Delete objects response | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_object** -> file_type get_object(repository, ref, path) - -get object content - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import objects_api -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = objects_api.ObjectsApi(api_client) - repository = "repository_example" # str | - ref = "ref_example" # str | a reference (could be either a branch or a commit ID) - path = "path_example" # str | relative to the ref - range = "bytes=0-1023" # str | Byte range to retrieve (optional) - if_none_match = "33a64df551425fcc55e4d42a148795d9f25f89d4" # str | Returns response only if the object does not have a matching ETag (optional) - presign = True # bool | (optional) - - # example passing only required values which don't have defaults set - try: - # get object content - api_response = api_instance.get_object(repository, ref, path) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling ObjectsApi->get_object: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # get object content - api_response = api_instance.get_object(repository, ref, path, range=range, if_none_match=if_none_match, presign=presign) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling ObjectsApi->get_object: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - **ref** | **str**| a reference (could be either a branch or a commit ID) | - **path** | **str**| relative to the ref | - **range** | **str**| Byte range to retrieve | [optional] - **if_none_match** | **str**| Returns response only if the object does not have a matching ETag | [optional] - **presign** | **bool**| | [optional] - -### Return type - -**file_type** - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/octet-stream, application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | object content | * Content-Length -
* Last-Modified -
* ETag -
| -**206** | partial object content | * Content-Length -
* Content-Range -
* Last-Modified -
* ETag -
| -**302** | Redirect to a pre-signed URL for the object | * Location - redirect to S3
| -**304** | Content not modified | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**410** | object expired | - | -**416** | Requested Range Not Satisfiable | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_underlying_properties** -> UnderlyingObjectProperties get_underlying_properties(repository, ref, path) - -get object properties on underlying storage - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import objects_api -from lakefs_client.model.underlying_object_properties import UnderlyingObjectProperties -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = objects_api.ObjectsApi(api_client) - repository = "repository_example" # str | - ref = "ref_example" # str | a reference (could be either a branch or a commit ID) - path = "path_example" # str | relative to the branch - - # example passing only required values which don't have defaults set - try: - # get object properties on underlying storage - api_response = api_instance.get_underlying_properties(repository, ref, path) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling ObjectsApi->get_underlying_properties: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - **ref** | **str**| a reference (could be either a branch or a commit ID) | - **path** | **str**| relative to the branch | - -### Return type - -[**UnderlyingObjectProperties**](UnderlyingObjectProperties.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | object metadata on underlying storage | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **head_object** -> head_object(repository, ref, path) - -check if object exists - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import objects_api -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = objects_api.ObjectsApi(api_client) - repository = "repository_example" # str | - ref = "ref_example" # str | a reference (could be either a branch or a commit ID) - path = "path_example" # str | relative to the ref - range = "bytes=0-1023" # str | Byte range to retrieve (optional) - - # example passing only required values which don't have defaults set - try: - # check if object exists - api_instance.head_object(repository, ref, path) - except lakefs_client.ApiException as e: - print("Exception when calling ObjectsApi->head_object: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # check if object exists - api_instance.head_object(repository, ref, path, range=range) - except lakefs_client.ApiException as e: - print("Exception when calling ObjectsApi->head_object: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - **ref** | **str**| a reference (could be either a branch or a commit ID) | - **path** | **str**| relative to the ref | - **range** | **str**| Byte range to retrieve | [optional] - -### Return type - -void (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | object exists | * Content-Length -
* Last-Modified -
* ETag -
| -**206** | partial object content info | * Content-Length -
* Content-Range -
* Last-Modified -
* ETag -
| -**401** | Unauthorized | - | -**404** | object not found | - | -**410** | object expired | - | -**416** | Requested Range Not Satisfiable | - | -**420** | too many requests | - | -**0** | internal server error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_objects** -> ObjectStatsList list_objects(repository, ref) - -list objects under a given prefix - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import objects_api -from lakefs_client.model.object_stats_list import ObjectStatsList -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = objects_api.ObjectsApi(api_client) - repository = "repository_example" # str | - ref = "ref_example" # str | a reference (could be either a branch or a commit ID) - user_metadata = True # bool | (optional) if omitted the server will use the default value of True - presign = True # bool | (optional) - after = "after_example" # str | return items after this value (optional) - amount = 100 # int | how many items to return (optional) if omitted the server will use the default value of 100 - delimiter = "delimiter_example" # str | delimiter used to group common prefixes by (optional) - prefix = "prefix_example" # str | return items prefixed with this value (optional) - - # example passing only required values which don't have defaults set - try: - # list objects under a given prefix - api_response = api_instance.list_objects(repository, ref) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling ObjectsApi->list_objects: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # list objects under a given prefix - api_response = api_instance.list_objects(repository, ref, user_metadata=user_metadata, presign=presign, after=after, amount=amount, delimiter=delimiter, prefix=prefix) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling ObjectsApi->list_objects: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - **ref** | **str**| a reference (could be either a branch or a commit ID) | - **user_metadata** | **bool**| | [optional] if omitted the server will use the default value of True - **presign** | **bool**| | [optional] - **after** | **str**| return items after this value | [optional] - **amount** | **int**| how many items to return | [optional] if omitted the server will use the default value of 100 - **delimiter** | **str**| delimiter used to group common prefixes by | [optional] - **prefix** | **str**| return items prefixed with this value | [optional] - -### Return type - -[**ObjectStatsList**](ObjectStatsList.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | object listing | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **stat_object** -> ObjectStats stat_object(repository, ref, path) - -get object metadata - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import objects_api -from lakefs_client.model.error import Error -from lakefs_client.model.object_stats import ObjectStats -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = objects_api.ObjectsApi(api_client) - repository = "repository_example" # str | - ref = "ref_example" # str | a reference (could be either a branch or a commit ID) - path = "path_example" # str | relative to the branch - user_metadata = True # bool | (optional) if omitted the server will use the default value of True - presign = True # bool | (optional) - - # example passing only required values which don't have defaults set - try: - # get object metadata - api_response = api_instance.stat_object(repository, ref, path) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling ObjectsApi->stat_object: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # get object metadata - api_response = api_instance.stat_object(repository, ref, path, user_metadata=user_metadata, presign=presign) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling ObjectsApi->stat_object: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - **ref** | **str**| a reference (could be either a branch or a commit ID) | - **path** | **str**| relative to the branch | - **user_metadata** | **bool**| | [optional] if omitted the server will use the default value of True - **presign** | **bool**| | [optional] - -### Return type - -[**ObjectStats**](ObjectStats.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | object metadata | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**400** | Bad Request | - | -**410** | object gone (but partial metadata may be available) | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **update_object_user_metadata** -> update_object_user_metadata(repository, branch, path, update_object_user_metadata) - -rewrite (all) object metadata - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import objects_api -from lakefs_client.model.error import Error -from lakefs_client.model.update_object_user_metadata import UpdateObjectUserMetadata -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = objects_api.ObjectsApi(api_client) - repository = "repository_example" # str | - branch = "branch_example" # str | branch to update - path = "path_example" # str | path to object relative to the branch - update_object_user_metadata = UpdateObjectUserMetadata( - set=ObjectUserMetadata( - key="key_example", - ), - ) # UpdateObjectUserMetadata | - - # example passing only required values which don't have defaults set - try: - # rewrite (all) object metadata - api_instance.update_object_user_metadata(repository, branch, path, update_object_user_metadata) - except lakefs_client.ApiException as e: - print("Exception when calling ObjectsApi->update_object_user_metadata: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - **branch** | **str**| branch to update | - **path** | **str**| path to object relative to the branch | - **update_object_user_metadata** | [**UpdateObjectUserMetadata**](UpdateObjectUserMetadata.md)| | - -### Return type - -void (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | User metadata updated | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**400** | Bad Request | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **upload_object** -> ObjectStats upload_object(repository, branch, path) - - - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import objects_api -from lakefs_client.model.error import Error -from lakefs_client.model.object_stats import ObjectStats -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = objects_api.ObjectsApi(api_client) - repository = "repository_example" # str | - branch = "branch_example" # str | - path = "path_example" # str | relative to the branch - if_none_match = "*" # str | Set to \"*\" to atomically allow the upload only if the key has no object yet. Other values are not supported. (optional) - storage_class = "storageClass_example" # str | Deprecated, this capability will not be supported in future releases. (optional) - force = False # bool | (optional) if omitted the server will use the default value of False - content = open('/path/to/file', 'rb') # file_type | Only a single file per upload which must be named \\\"content\\\". (optional) - - # example passing only required values which don't have defaults set - try: - api_response = api_instance.upload_object(repository, branch, path) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling ObjectsApi->upload_object: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_response = api_instance.upload_object(repository, branch, path, if_none_match=if_none_match, storage_class=storage_class, force=force, content=content) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling ObjectsApi->upload_object: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - **branch** | **str**| | - **path** | **str**| relative to the branch | - **if_none_match** | **str**| Set to \"*\" to atomically allow the upload only if the key has no object yet. Other values are not supported. | [optional] - **storage_class** | **str**| Deprecated, this capability will not be supported in future releases. | [optional] - **force** | **bool**| | [optional] if omitted the server will use the default value of False - **content** | **file_type**| Only a single file per upload which must be named \\\"content\\\". | [optional] - -### Return type - -[**ObjectStats**](ObjectStats.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: multipart/form-data, application/octet-stream - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | object metadata | - | -**400** | Validation Error | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Resource Not Found | - | -**412** | Precondition Failed | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/clients/python-legacy/docs/Pagination.md b/clients/python-legacy/docs/Pagination.md deleted file mode 100644 index d559ce2b288..00000000000 --- a/clients/python-legacy/docs/Pagination.md +++ /dev/null @@ -1,15 +0,0 @@ -# Pagination - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**has_more** | **bool** | Next page is available | -**next_offset** | **str** | Token used to retrieve the next page | -**results** | **int** | Number of values found in the results | -**max_per_page** | **int** | Maximal number of entries per page | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/PathList.md b/clients/python-legacy/docs/PathList.md deleted file mode 100644 index 1b208a6c191..00000000000 --- a/clients/python-legacy/docs/PathList.md +++ /dev/null @@ -1,12 +0,0 @@ -# PathList - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**paths** | **[str]** | | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/Policy.md b/clients/python-legacy/docs/Policy.md deleted file mode 100644 index 8a943039cd8..00000000000 --- a/clients/python-legacy/docs/Policy.md +++ /dev/null @@ -1,14 +0,0 @@ -# Policy - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**statement** | [**[Statement]**](Statement.md) | | -**creation_date** | **int** | Unix Epoch in seconds | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/PolicyList.md b/clients/python-legacy/docs/PolicyList.md deleted file mode 100644 index 6c9fd4f207d..00000000000 --- a/clients/python-legacy/docs/PolicyList.md +++ /dev/null @@ -1,13 +0,0 @@ -# PolicyList - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**pagination** | [**Pagination**](Pagination.md) | | -**results** | [**[Policy]**](Policy.md) | | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/PrepareGCUncommittedRequest.md b/clients/python-legacy/docs/PrepareGCUncommittedRequest.md deleted file mode 100644 index 7508fd4b002..00000000000 --- a/clients/python-legacy/docs/PrepareGCUncommittedRequest.md +++ /dev/null @@ -1,12 +0,0 @@ -# PrepareGCUncommittedRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**continuation_token** | **str** | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/PrepareGCUncommittedResponse.md b/clients/python-legacy/docs/PrepareGCUncommittedResponse.md deleted file mode 100644 index 4fe9c9741c5..00000000000 --- a/clients/python-legacy/docs/PrepareGCUncommittedResponse.md +++ /dev/null @@ -1,14 +0,0 @@ -# PrepareGCUncommittedResponse - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**run_id** | **str** | | -**gc_uncommitted_location** | **str** | location of uncommitted information data | -**continuation_token** | **str** | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/PresignMultipartUpload.md b/clients/python-legacy/docs/PresignMultipartUpload.md deleted file mode 100644 index 4b9c18b5065..00000000000 --- a/clients/python-legacy/docs/PresignMultipartUpload.md +++ /dev/null @@ -1,14 +0,0 @@ -# PresignMultipartUpload - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**upload_id** | **str** | | -**physical_address** | **str** | | -**presigned_urls** | **[str]** | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/PullRequest.md b/clients/python-legacy/docs/PullRequest.md deleted file mode 100644 index 1dbb9b128c2..00000000000 --- a/clients/python-legacy/docs/PullRequest.md +++ /dev/null @@ -1,21 +0,0 @@ -# PullRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | **str** | | -**title** | **str** | | -**description** | **str** | | -**id** | **str** | | -**creation_date** | **datetime** | | -**author** | **str** | | -**source_branch** | **str** | | -**destination_branch** | **str** | | -**merged_commit_id** | **str** | the commit id of merged PRs | [optional] -**closed_date** | **datetime** | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/PullRequestAllOf.md b/clients/python-legacy/docs/PullRequestAllOf.md deleted file mode 100644 index c64d44a0130..00000000000 --- a/clients/python-legacy/docs/PullRequestAllOf.md +++ /dev/null @@ -1,18 +0,0 @@ -# PullRequestAllOf - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**creation_date** | **datetime** | | -**author** | **str** | | -**source_branch** | **str** | | -**destination_branch** | **str** | | -**merged_commit_id** | **str** | the commit id of merged PRs | [optional] -**closed_date** | **datetime** | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/PullRequestBasic.md b/clients/python-legacy/docs/PullRequestBasic.md deleted file mode 100644 index 0b60180d616..00000000000 --- a/clients/python-legacy/docs/PullRequestBasic.md +++ /dev/null @@ -1,14 +0,0 @@ -# PullRequestBasic - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | **str** | | [optional] -**title** | **str** | | [optional] -**description** | **str** | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/PullRequestCreation.md b/clients/python-legacy/docs/PullRequestCreation.md deleted file mode 100644 index 86c5387f3d4..00000000000 --- a/clients/python-legacy/docs/PullRequestCreation.md +++ /dev/null @@ -1,15 +0,0 @@ -# PullRequestCreation - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**title** | **str** | | -**source_branch** | **str** | | -**destination_branch** | **str** | | -**description** | **str** | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/PullRequestCreationResponse.md b/clients/python-legacy/docs/PullRequestCreationResponse.md deleted file mode 100644 index 5d8d19f9cfa..00000000000 --- a/clients/python-legacy/docs/PullRequestCreationResponse.md +++ /dev/null @@ -1,12 +0,0 @@ -# PullRequestCreationResponse - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | ID of the pull request | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/PullRequestsList.md b/clients/python-legacy/docs/PullRequestsList.md deleted file mode 100644 index eb78a898c6d..00000000000 --- a/clients/python-legacy/docs/PullRequestsList.md +++ /dev/null @@ -1,13 +0,0 @@ -# PullRequestsList - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**pagination** | [**Pagination**](Pagination.md) | | -**results** | [**[PullRequest]**](PullRequest.md) | | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/PullsApi.md b/clients/python-legacy/docs/PullsApi.md deleted file mode 100644 index 06ba8fe2eaa..00000000000 --- a/clients/python-legacy/docs/PullsApi.md +++ /dev/null @@ -1,599 +0,0 @@ -# lakefs_client.PullsApi - -All URIs are relative to *http://localhost/api/v1* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**create_pull_request**](PullsApi.md#create_pull_request) | **POST** /repositories/{repository}/pulls | create pull request -[**get_pull_request**](PullsApi.md#get_pull_request) | **GET** /repositories/{repository}/pulls/{pull_request} | get pull request -[**list_pull_requests**](PullsApi.md#list_pull_requests) | **GET** /repositories/{repository}/pulls | list pull requests -[**merge_pull_request**](PullsApi.md#merge_pull_request) | **PUT** /repositories/{repository}/pulls/{pull_request}/merge | merge pull request -[**update_pull_request**](PullsApi.md#update_pull_request) | **PATCH** /repositories/{repository}/pulls/{pull_request} | update pull request - - -# **create_pull_request** -> PullRequestCreationResponse create_pull_request(repository, pull_request_creation) - -create pull request - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import pulls_api -from lakefs_client.model.pull_request_creation_response import PullRequestCreationResponse -from lakefs_client.model.pull_request_creation import PullRequestCreation -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = pulls_api.PullsApi(api_client) - repository = "repository_example" # str | - pull_request_creation = PullRequestCreation( - title="title_example", - description="description_example", - source_branch="source_branch_example", - destination_branch="destination_branch_example", - ) # PullRequestCreation | - - # example passing only required values which don't have defaults set - try: - # create pull request - api_response = api_instance.create_pull_request(repository, pull_request_creation) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling PullsApi->create_pull_request: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - **pull_request_creation** | [**PullRequestCreation**](PullRequestCreation.md)| | - -### Return type - -[**PullRequestCreationResponse**](PullRequestCreationResponse.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | pull request created | - | -**400** | Validation Error | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Resource Not Found | - | -**409** | Resource Conflicts With Target | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_pull_request** -> PullRequest get_pull_request(repository, pull_request) - -get pull request - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import pulls_api -from lakefs_client.model.pull_request import PullRequest -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = pulls_api.PullsApi(api_client) - repository = "repository_example" # str | - pull_request = "pull_request_example" # str | pull request id - - # example passing only required values which don't have defaults set - try: - # get pull request - api_response = api_instance.get_pull_request(repository, pull_request) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling PullsApi->get_pull_request: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - **pull_request** | **str**| pull request id | - -### Return type - -[**PullRequest**](PullRequest.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | pull request | - | -**400** | Validation Error | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_pull_requests** -> PullRequestsList list_pull_requests(repository) - -list pull requests - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import pulls_api -from lakefs_client.model.pull_requests_list import PullRequestsList -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = pulls_api.PullsApi(api_client) - repository = "repository_example" # str | - prefix = "prefix_example" # str | return items prefixed with this value (optional) - after = "after_example" # str | return items after this value (optional) - amount = 100 # int | how many items to return (optional) if omitted the server will use the default value of 100 - status = "all" # str | (optional) if omitted the server will use the default value of "all" - - # example passing only required values which don't have defaults set - try: - # list pull requests - api_response = api_instance.list_pull_requests(repository) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling PullsApi->list_pull_requests: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # list pull requests - api_response = api_instance.list_pull_requests(repository, prefix=prefix, after=after, amount=amount, status=status) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling PullsApi->list_pull_requests: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - **prefix** | **str**| return items prefixed with this value | [optional] - **after** | **str**| return items after this value | [optional] - **amount** | **int**| how many items to return | [optional] if omitted the server will use the default value of 100 - **status** | **str**| | [optional] if omitted the server will use the default value of "all" - -### Return type - -[**PullRequestsList**](PullRequestsList.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | list of pull requests | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **merge_pull_request** -> MergeResult merge_pull_request(repository, pull_request) - -merge pull request - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import pulls_api -from lakefs_client.model.error import Error -from lakefs_client.model.merge_result import MergeResult -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = pulls_api.PullsApi(api_client) - repository = "repository_example" # str | - pull_request = "pull_request_example" # str | pull request id - - # example passing only required values which don't have defaults set - try: - # merge pull request - api_response = api_instance.merge_pull_request(repository, pull_request) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling PullsApi->merge_pull_request: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - **pull_request** | **str**| pull request id | - -### Return type - -[**MergeResult**](MergeResult.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | merge completed | - | -**400** | Validation Error | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Resource Not Found | - | -**409** | Conflict Deprecated: content schema will return Error format and not an empty MergeResult | - | -**412** | precondition failed (e.g. a pre-merge hook returned a failure) | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **update_pull_request** -> update_pull_request(repository, pull_request, pull_request_basic) - -update pull request - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import pulls_api -from lakefs_client.model.error import Error -from lakefs_client.model.pull_request_basic import PullRequestBasic -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = pulls_api.PullsApi(api_client) - repository = "repository_example" # str | - pull_request = "pull_request_example" # str | pull request id - pull_request_basic = PullRequestBasic( - status="open", - title="title_example", - description="description_example", - ) # PullRequestBasic | - - # example passing only required values which don't have defaults set - try: - # update pull request - api_instance.update_pull_request(repository, pull_request, pull_request_basic) - except lakefs_client.ApiException as e: - print("Exception when calling PullsApi->update_pull_request: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - **pull_request** | **str**| pull request id | - **pull_request_basic** | [**PullRequestBasic**](PullRequestBasic.md)| | - -### Return type - -void (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | pull request updated successfully | - | -**400** | Validation Error | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/clients/python-legacy/docs/RangeMetadata.md b/clients/python-legacy/docs/RangeMetadata.md deleted file mode 100644 index 828547b9d03..00000000000 --- a/clients/python-legacy/docs/RangeMetadata.md +++ /dev/null @@ -1,16 +0,0 @@ -# RangeMetadata - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | ID of the range. | -**min_key** | **str** | First key in the range. | -**max_key** | **str** | Last key in the range. | -**count** | **int** | Number of records in the range. | -**estimated_size** | **int** | Estimated size of the range in bytes | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/Ref.md b/clients/python-legacy/docs/Ref.md deleted file mode 100644 index 9f449bf96fd..00000000000 --- a/clients/python-legacy/docs/Ref.md +++ /dev/null @@ -1,13 +0,0 @@ -# Ref - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**commit_id** | **str** | | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/RefList.md b/clients/python-legacy/docs/RefList.md deleted file mode 100644 index ae2784f41a9..00000000000 --- a/clients/python-legacy/docs/RefList.md +++ /dev/null @@ -1,13 +0,0 @@ -# RefList - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**pagination** | [**Pagination**](Pagination.md) | | -**results** | [**[Ref]**](Ref.md) | | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/RefsApi.md b/clients/python-legacy/docs/RefsApi.md deleted file mode 100644 index 01a832dddf7..00000000000 --- a/clients/python-legacy/docs/RefsApi.md +++ /dev/null @@ -1,531 +0,0 @@ -# lakefs_client.RefsApi - -All URIs are relative to *http://localhost/api/v1* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**diff_refs**](RefsApi.md#diff_refs) | **GET** /repositories/{repository}/refs/{leftRef}/diff/{rightRef} | diff references -[**find_merge_base**](RefsApi.md#find_merge_base) | **GET** /repositories/{repository}/refs/{sourceRef}/merge/{destinationBranch} | find the merge base for 2 references -[**log_commits**](RefsApi.md#log_commits) | **GET** /repositories/{repository}/refs/{ref}/commits | get commit log from ref. If both objects and prefixes are empty, return all commits. -[**merge_into_branch**](RefsApi.md#merge_into_branch) | **POST** /repositories/{repository}/refs/{sourceRef}/merge/{destinationBranch} | merge references - - -# **diff_refs** -> DiffList diff_refs(repository, left_ref, right_ref) - -diff references - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import refs_api -from lakefs_client.model.diff_list import DiffList -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = refs_api.RefsApi(api_client) - repository = "repository_example" # str | - left_ref = "leftRef_example" # str | a reference (could be either a branch or a commit ID) - right_ref = "rightRef_example" # str | a reference (could be either a branch or a commit ID) to compare against - after = "after_example" # str | return items after this value (optional) - amount = 100 # int | how many items to return (optional) if omitted the server will use the default value of 100 - prefix = "prefix_example" # str | return items prefixed with this value (optional) - delimiter = "delimiter_example" # str | delimiter used to group common prefixes by (optional) - type = "three_dot" # str | (optional) if omitted the server will use the default value of "three_dot" - - # example passing only required values which don't have defaults set - try: - # diff references - api_response = api_instance.diff_refs(repository, left_ref, right_ref) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling RefsApi->diff_refs: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # diff references - api_response = api_instance.diff_refs(repository, left_ref, right_ref, after=after, amount=amount, prefix=prefix, delimiter=delimiter, type=type) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling RefsApi->diff_refs: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - **left_ref** | **str**| a reference (could be either a branch or a commit ID) | - **right_ref** | **str**| a reference (could be either a branch or a commit ID) to compare against | - **after** | **str**| return items after this value | [optional] - **amount** | **int**| how many items to return | [optional] if omitted the server will use the default value of 100 - **prefix** | **str**| return items prefixed with this value | [optional] - **delimiter** | **str**| delimiter used to group common prefixes by | [optional] - **type** | **str**| | [optional] if omitted the server will use the default value of "three_dot" - -### Return type - -[**DiffList**](DiffList.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | diff between refs | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **find_merge_base** -> FindMergeBaseResult find_merge_base(repository, source_ref, destination_branch) - -find the merge base for 2 references - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import refs_api -from lakefs_client.model.find_merge_base_result import FindMergeBaseResult -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = refs_api.RefsApi(api_client) - repository = "repository_example" # str | - source_ref = "sourceRef_example" # str | source ref - destination_branch = "destinationBranch_example" # str | destination branch name - - # example passing only required values which don't have defaults set - try: - # find the merge base for 2 references - api_response = api_instance.find_merge_base(repository, source_ref, destination_branch) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling RefsApi->find_merge_base: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - **source_ref** | **str**| source ref | - **destination_branch** | **str**| destination branch name | - -### Return type - -[**FindMergeBaseResult**](FindMergeBaseResult.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Found the merge base | - | -**400** | Validation Error | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **log_commits** -> CommitList log_commits(repository, ref) - -get commit log from ref. If both objects and prefixes are empty, return all commits. - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import refs_api -from lakefs_client.model.commit_list import CommitList -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = refs_api.RefsApi(api_client) - repository = "repository_example" # str | - ref = "ref_example" # str | - after = "after_example" # str | return items after this value (optional) - amount = 100 # int | how many items to return (optional) if omitted the server will use the default value of 100 - objects = [ - "objects_example", - ] # [str] | list of paths, each element is a path of a specific object (optional) - prefixes = [ - "prefixes_example", - ] # [str] | list of paths, each element is a path of a prefix (optional) - limit = True # bool | limit the number of items in return to 'amount'. Without further indication on actual number of items. (optional) - first_parent = True # bool | if set to true, follow only the first parent upon reaching a merge commit (optional) - since = dateutil_parser('1970-01-01T00:00:00.00Z') # datetime | Show commits more recent than a specific date-time. In case used with stop_at parameter, will stop at the first commit that meets any of the conditions. (optional) - stop_at = "stop_at_example" # str | A reference to stop at. In case used with since parameter, will stop at the first commit that meets any of the conditions. (optional) - - # example passing only required values which don't have defaults set - try: - # get commit log from ref. If both objects and prefixes are empty, return all commits. - api_response = api_instance.log_commits(repository, ref) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling RefsApi->log_commits: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # get commit log from ref. If both objects and prefixes are empty, return all commits. - api_response = api_instance.log_commits(repository, ref, after=after, amount=amount, objects=objects, prefixes=prefixes, limit=limit, first_parent=first_parent, since=since, stop_at=stop_at) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling RefsApi->log_commits: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - **ref** | **str**| | - **after** | **str**| return items after this value | [optional] - **amount** | **int**| how many items to return | [optional] if omitted the server will use the default value of 100 - **objects** | **[str]**| list of paths, each element is a path of a specific object | [optional] - **prefixes** | **[str]**| list of paths, each element is a path of a prefix | [optional] - **limit** | **bool**| limit the number of items in return to 'amount'. Without further indication on actual number of items. | [optional] - **first_parent** | **bool**| if set to true, follow only the first parent upon reaching a merge commit | [optional] - **since** | **datetime**| Show commits more recent than a specific date-time. In case used with stop_at parameter, will stop at the first commit that meets any of the conditions. | [optional] - **stop_at** | **str**| A reference to stop at. In case used with since parameter, will stop at the first commit that meets any of the conditions. | [optional] - -### Return type - -[**CommitList**](CommitList.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | commit log | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **merge_into_branch** -> MergeResult merge_into_branch(repository, source_ref, destination_branch) - -merge references - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import refs_api -from lakefs_client.model.merge import Merge -from lakefs_client.model.error import Error -from lakefs_client.model.merge_result import MergeResult -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = refs_api.RefsApi(api_client) - repository = "repository_example" # str | - source_ref = "sourceRef_example" # str | source ref - destination_branch = "destinationBranch_example" # str | destination branch name - merge = Merge( - message="message_example", - metadata={ - "key": "key_example", - }, - strategy="strategy_example", - force=False, - allow_empty=False, - ) # Merge | (optional) - - # example passing only required values which don't have defaults set - try: - # merge references - api_response = api_instance.merge_into_branch(repository, source_ref, destination_branch) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling RefsApi->merge_into_branch: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # merge references - api_response = api_instance.merge_into_branch(repository, source_ref, destination_branch, merge=merge) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling RefsApi->merge_into_branch: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - **source_ref** | **str**| source ref | - **destination_branch** | **str**| destination branch name | - **merge** | [**Merge**](Merge.md)| | [optional] - -### Return type - -[**MergeResult**](MergeResult.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | merge completed | - | -**400** | Validation Error | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Resource Not Found | - | -**409** | Conflict Deprecated: content schema will return Error format and not an empty MergeResult | - | -**412** | precondition failed (e.g. a pre-merge hook returned a failure) | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/clients/python-legacy/docs/RefsDump.md b/clients/python-legacy/docs/RefsDump.md deleted file mode 100644 index a1e0df47286..00000000000 --- a/clients/python-legacy/docs/RefsDump.md +++ /dev/null @@ -1,14 +0,0 @@ -# RefsDump - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**commits_meta_range_id** | **str** | | -**tags_meta_range_id** | **str** | | -**branches_meta_range_id** | **str** | | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/RefsRestore.md b/clients/python-legacy/docs/RefsRestore.md deleted file mode 100644 index 5eeb609fea1..00000000000 --- a/clients/python-legacy/docs/RefsRestore.md +++ /dev/null @@ -1,15 +0,0 @@ -# RefsRestore - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**commits_meta_range_id** | **str** | | -**tags_meta_range_id** | **str** | | -**branches_meta_range_id** | **str** | | -**force** | **bool** | | [optional] if omitted the server will use the default value of False -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/RepositoriesApi.md b/clients/python-legacy/docs/RepositoriesApi.md deleted file mode 100644 index 55c47f970df..00000000000 --- a/clients/python-legacy/docs/RepositoriesApi.md +++ /dev/null @@ -1,1603 +0,0 @@ -# lakefs_client.RepositoriesApi - -All URIs are relative to *http://localhost/api/v1* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**create_repository**](RepositoriesApi.md#create_repository) | **POST** /repositories | create repository -[**delete_gc_rules**](RepositoriesApi.md#delete_gc_rules) | **DELETE** /repositories/{repository}/settings/gc_rules | -[**delete_repository**](RepositoriesApi.md#delete_repository) | **DELETE** /repositories/{repository} | delete repository -[**dump_status**](RepositoriesApi.md#dump_status) | **GET** /repositories/{repository}/dump | Status of a repository dump task -[**dump_submit**](RepositoriesApi.md#dump_submit) | **POST** /repositories/{repository}/dump | Backup the repository metadata (tags, commits, branches) and save the backup to the object store. -[**get_branch_protection_rules**](RepositoriesApi.md#get_branch_protection_rules) | **GET** /repositories/{repository}/settings/branch_protection | get branch protection rules -[**get_gc_rules**](RepositoriesApi.md#get_gc_rules) | **GET** /repositories/{repository}/settings/gc_rules | get repository GC rules -[**get_repository**](RepositoriesApi.md#get_repository) | **GET** /repositories/{repository} | get repository -[**get_repository_metadata**](RepositoriesApi.md#get_repository_metadata) | **GET** /repositories/{repository}/metadata | get repository metadata -[**list_repositories**](RepositoriesApi.md#list_repositories) | **GET** /repositories | list repositories -[**restore_status**](RepositoriesApi.md#restore_status) | **GET** /repositories/{repository}/restore | Status of a restore request -[**restore_submit**](RepositoriesApi.md#restore_submit) | **POST** /repositories/{repository}/restore | Restore repository from a dump in the object store -[**set_branch_protection_rules**](RepositoriesApi.md#set_branch_protection_rules) | **PUT** /repositories/{repository}/settings/branch_protection | -[**set_gc_rules**](RepositoriesApi.md#set_gc_rules) | **PUT** /repositories/{repository}/settings/gc_rules | - - -# **create_repository** -> Repository create_repository(repository_creation) - -create repository - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import repositories_api -from lakefs_client.model.repository import Repository -from lakefs_client.model.error import Error -from lakefs_client.model.repository_creation import RepositoryCreation -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = repositories_api.RepositoriesApi(api_client) - repository_creation = RepositoryCreation( - name="wr1c2v7s6djuy1zmeto", - storage_namespace="s3://example-bucket/", - default_branch="main", - sample_data=True, - read_only=True, - ) # RepositoryCreation | - bare = False # bool | If true, create a bare repository with no initial commit and branch (optional) if omitted the server will use the default value of False - - # example passing only required values which don't have defaults set - try: - # create repository - api_response = api_instance.create_repository(repository_creation) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling RepositoriesApi->create_repository: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # create repository - api_response = api_instance.create_repository(repository_creation, bare=bare) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling RepositoriesApi->create_repository: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository_creation** | [**RepositoryCreation**](RepositoryCreation.md)| | - **bare** | **bool**| If true, create a bare repository with no initial commit and branch | [optional] if omitted the server will use the default value of False - -### Return type - -[**Repository**](Repository.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | repository | - | -**400** | Validation Error | - | -**401** | Unauthorized | - | -**409** | Resource Conflicts With Target | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_gc_rules** -> delete_gc_rules(repository) - - - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import repositories_api -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = repositories_api.RepositoriesApi(api_client) - repository = "repository_example" # str | - - # example passing only required values which don't have defaults set - try: - api_instance.delete_gc_rules(repository) - except lakefs_client.ApiException as e: - print("Exception when calling RepositoriesApi->delete_gc_rules: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - -### Return type - -void (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | deleted garbage collection rules successfully | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_repository** -> delete_repository(repository) - -delete repository - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import repositories_api -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = repositories_api.RepositoriesApi(api_client) - repository = "repository_example" # str | - force = False # bool | Bypass read-only protection and delete the repository (optional) if omitted the server will use the default value of False - - # example passing only required values which don't have defaults set - try: - # delete repository - api_instance.delete_repository(repository) - except lakefs_client.ApiException as e: - print("Exception when calling RepositoriesApi->delete_repository: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # delete repository - api_instance.delete_repository(repository, force=force) - except lakefs_client.ApiException as e: - print("Exception when calling RepositoriesApi->delete_repository: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - **force** | **bool**| Bypass read-only protection and delete the repository | [optional] if omitted the server will use the default value of False - -### Return type - -void (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | repository deleted successfully | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **dump_status** -> RepositoryDumpStatus dump_status(repository, task_id) - -Status of a repository dump task - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import repositories_api -from lakefs_client.model.repository_dump_status import RepositoryDumpStatus -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = repositories_api.RepositoriesApi(api_client) - repository = "repository_example" # str | - task_id = "task_id_example" # str | - - # example passing only required values which don't have defaults set - try: - # Status of a repository dump task - api_response = api_instance.dump_status(repository, task_id) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling RepositoriesApi->dump_status: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - **task_id** | **str**| | - -### Return type - -[**RepositoryDumpStatus**](RepositoryDumpStatus.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | dump task status | - | -**400** | Validation Error | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **dump_submit** -> TaskInfo dump_submit(repository) - -Backup the repository metadata (tags, commits, branches) and save the backup to the object store. - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import repositories_api -from lakefs_client.model.error import Error -from lakefs_client.model.task_info import TaskInfo -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = repositories_api.RepositoriesApi(api_client) - repository = "repository_example" # str | - - # example passing only required values which don't have defaults set - try: - # Backup the repository metadata (tags, commits, branches) and save the backup to the object store. - api_response = api_instance.dump_submit(repository) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling RepositoriesApi->dump_submit: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - -### Return type - -[**TaskInfo**](TaskInfo.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**202** | dump task information | - | -**400** | Validation Error | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_branch_protection_rules** -> [BranchProtectionRule] get_branch_protection_rules(repository) - -get branch protection rules - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import repositories_api -from lakefs_client.model.error import Error -from lakefs_client.model.branch_protection_rule import BranchProtectionRule -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = repositories_api.RepositoriesApi(api_client) - repository = "repository_example" # str | - - # example passing only required values which don't have defaults set - try: - # get branch protection rules - api_response = api_instance.get_branch_protection_rules(repository) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling RepositoriesApi->get_branch_protection_rules: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - -### Return type - -[**[BranchProtectionRule]**](BranchProtectionRule.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | branch protection rules | * ETag -
| -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_gc_rules** -> GarbageCollectionRules get_gc_rules(repository) - -get repository GC rules - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import repositories_api -from lakefs_client.model.garbage_collection_rules import GarbageCollectionRules -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = repositories_api.RepositoriesApi(api_client) - repository = "repository_example" # str | - - # example passing only required values which don't have defaults set - try: - # get repository GC rules - api_response = api_instance.get_gc_rules(repository) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling RepositoriesApi->get_gc_rules: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - -### Return type - -[**GarbageCollectionRules**](GarbageCollectionRules.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | repository GC rules | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_repository** -> Repository get_repository(repository) - -get repository - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import repositories_api -from lakefs_client.model.repository import Repository -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = repositories_api.RepositoriesApi(api_client) - repository = "repository_example" # str | - - # example passing only required values which don't have defaults set - try: - # get repository - api_response = api_instance.get_repository(repository) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling RepositoriesApi->get_repository: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - -### Return type - -[**Repository**](Repository.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | repository | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_repository_metadata** -> RepositoryMetadata get_repository_metadata(repository) - -get repository metadata - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import repositories_api -from lakefs_client.model.repository_metadata import RepositoryMetadata -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = repositories_api.RepositoriesApi(api_client) - repository = "repository_example" # str | - - # example passing only required values which don't have defaults set - try: - # get repository metadata - api_response = api_instance.get_repository_metadata(repository) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling RepositoriesApi->get_repository_metadata: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - -### Return type - -[**RepositoryMetadata**](RepositoryMetadata.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | repository metadata | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_repositories** -> RepositoryList list_repositories() - -list repositories - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import repositories_api -from lakefs_client.model.repository_list import RepositoryList -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = repositories_api.RepositoriesApi(api_client) - prefix = "prefix_example" # str | return items prefixed with this value (optional) - after = "after_example" # str | return items after this value (optional) - amount = 100 # int | how many items to return (optional) if omitted the server will use the default value of 100 - - # example passing only required values which don't have defaults set - # and optional values - try: - # list repositories - api_response = api_instance.list_repositories(prefix=prefix, after=after, amount=amount) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling RepositoriesApi->list_repositories: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **prefix** | **str**| return items prefixed with this value | [optional] - **after** | **str**| return items after this value | [optional] - **amount** | **int**| how many items to return | [optional] if omitted the server will use the default value of 100 - -### Return type - -[**RepositoryList**](RepositoryList.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | repository list | - | -**401** | Unauthorized | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **restore_status** -> RepositoryRestoreStatus restore_status(repository, task_id) - -Status of a restore request - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import repositories_api -from lakefs_client.model.repository_restore_status import RepositoryRestoreStatus -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = repositories_api.RepositoriesApi(api_client) - repository = "repository_example" # str | - task_id = "task_id_example" # str | - - # example passing only required values which don't have defaults set - try: - # Status of a restore request - api_response = api_instance.restore_status(repository, task_id) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling RepositoriesApi->restore_status: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - **task_id** | **str**| | - -### Return type - -[**RepositoryRestoreStatus**](RepositoryRestoreStatus.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | restore task status | - | -**400** | Validation Error | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **restore_submit** -> TaskInfo restore_submit(repository, refs_restore) - -Restore repository from a dump in the object store - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import repositories_api -from lakefs_client.model.refs_restore import RefsRestore -from lakefs_client.model.error import Error -from lakefs_client.model.task_info import TaskInfo -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = repositories_api.RepositoriesApi(api_client) - repository = "repository_example" # str | - refs_restore = RefsRestore( - commits_meta_range_id="commits_meta_range_id_example", - tags_meta_range_id="tags_meta_range_id_example", - branches_meta_range_id="branches_meta_range_id_example", - force=False, - ) # RefsRestore | - - # example passing only required values which don't have defaults set - try: - # Restore repository from a dump in the object store - api_response = api_instance.restore_submit(repository, refs_restore) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling RepositoriesApi->restore_submit: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - **refs_restore** | [**RefsRestore**](RefsRestore.md)| | - -### Return type - -[**TaskInfo**](TaskInfo.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**202** | restore task created | - | -**400** | Validation Error | - | -**403** | Forbidden | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **set_branch_protection_rules** -> set_branch_protection_rules(repository, branch_protection_rule) - - - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import repositories_api -from lakefs_client.model.error import Error -from lakefs_client.model.branch_protection_rule import BranchProtectionRule -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = repositories_api.RepositoriesApi(api_client) - repository = "repository_example" # str | - branch_protection_rule = [ - BranchProtectionRule( - pattern="stable_*", - ), - ] # [BranchProtectionRule] | - if_match = "If-Match_example" # str | if provided, the branch protection rules will be updated only if the current ETag match the provided value (optional) - - # example passing only required values which don't have defaults set - try: - api_instance.set_branch_protection_rules(repository, branch_protection_rule) - except lakefs_client.ApiException as e: - print("Exception when calling RepositoriesApi->set_branch_protection_rules: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - api_instance.set_branch_protection_rules(repository, branch_protection_rule, if_match=if_match) - except lakefs_client.ApiException as e: - print("Exception when calling RepositoriesApi->set_branch_protection_rules: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - **branch_protection_rule** | [**[BranchProtectionRule]**](BranchProtectionRule.md)| | - **if_match** | **str**| if provided, the branch protection rules will be updated only if the current ETag match the provided value | [optional] - -### Return type - -void (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | branch protection rule created successfully | - | -**400** | Bad Request | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Resource Not Found | - | -**412** | Precondition Failed | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **set_gc_rules** -> set_gc_rules(repository, garbage_collection_rules) - - - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import repositories_api -from lakefs_client.model.garbage_collection_rules import GarbageCollectionRules -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = repositories_api.RepositoriesApi(api_client) - repository = "repository_example" # str | - garbage_collection_rules = GarbageCollectionRules( - default_retention_days=1, - branches=[ - GarbageCollectionRule( - branch_id="branch_id_example", - retention_days=1, - ), - ], - ) # GarbageCollectionRules | - - # example passing only required values which don't have defaults set - try: - api_instance.set_gc_rules(repository, garbage_collection_rules) - except lakefs_client.ApiException as e: - print("Exception when calling RepositoriesApi->set_gc_rules: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - **garbage_collection_rules** | [**GarbageCollectionRules**](GarbageCollectionRules.md)| | - -### Return type - -void (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | set garbage collection rules successfully | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/clients/python-legacy/docs/Repository.md b/clients/python-legacy/docs/Repository.md deleted file mode 100644 index 2301a0f20e6..00000000000 --- a/clients/python-legacy/docs/Repository.md +++ /dev/null @@ -1,16 +0,0 @@ -# Repository - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | | -**creation_date** | **int** | Unix Epoch in seconds | -**default_branch** | **str** | | -**storage_namespace** | **str** | Filesystem URI to store the underlying data in (e.g. \"s3://my-bucket/some/path/\") | -**read_only** | **bool** | Whether the repository is a read-only repository- not relevant for bare repositories | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/RepositoryCreation.md b/clients/python-legacy/docs/RepositoryCreation.md deleted file mode 100644 index 1ba662a60ce..00000000000 --- a/clients/python-legacy/docs/RepositoryCreation.md +++ /dev/null @@ -1,16 +0,0 @@ -# RepositoryCreation - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **str** | | -**storage_namespace** | **str** | Filesystem URI to store the underlying data in (e.g. \"s3://my-bucket/some/path/\") | -**default_branch** | **str** | | [optional] -**sample_data** | **bool** | | [optional] if omitted the server will use the default value of False -**read_only** | **bool** | | [optional] if omitted the server will use the default value of False -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/RepositoryDumpStatus.md b/clients/python-legacy/docs/RepositoryDumpStatus.md deleted file mode 100644 index ea0ea95a90f..00000000000 --- a/clients/python-legacy/docs/RepositoryDumpStatus.md +++ /dev/null @@ -1,16 +0,0 @@ -# RepositoryDumpStatus - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | ID of the task | -**done** | **bool** | | -**update_time** | **datetime** | | -**error** | **str** | | [optional] -**refs** | [**RefsDump**](RefsDump.md) | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/RepositoryList.md b/clients/python-legacy/docs/RepositoryList.md deleted file mode 100644 index a492d43daf8..00000000000 --- a/clients/python-legacy/docs/RepositoryList.md +++ /dev/null @@ -1,13 +0,0 @@ -# RepositoryList - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**pagination** | [**Pagination**](Pagination.md) | | -**results** | [**[Repository]**](Repository.md) | | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/RepositoryMetadata.md b/clients/python-legacy/docs/RepositoryMetadata.md deleted file mode 100644 index cf81b9252cd..00000000000 --- a/clients/python-legacy/docs/RepositoryMetadata.md +++ /dev/null @@ -1,11 +0,0 @@ -# RepositoryMetadata - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**any string name** | **str** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/RepositoryMetadataKeys.md b/clients/python-legacy/docs/RepositoryMetadataKeys.md deleted file mode 100644 index c6539533378..00000000000 --- a/clients/python-legacy/docs/RepositoryMetadataKeys.md +++ /dev/null @@ -1,12 +0,0 @@ -# RepositoryMetadataKeys - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**keys** | **[str]** | | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/RepositoryMetadataSet.md b/clients/python-legacy/docs/RepositoryMetadataSet.md deleted file mode 100644 index ed470afd794..00000000000 --- a/clients/python-legacy/docs/RepositoryMetadataSet.md +++ /dev/null @@ -1,12 +0,0 @@ -# RepositoryMetadataSet - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**metadata** | **{str: (str,)}** | | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/RepositoryRestoreStatus.md b/clients/python-legacy/docs/RepositoryRestoreStatus.md deleted file mode 100644 index e05e5f1dbb3..00000000000 --- a/clients/python-legacy/docs/RepositoryRestoreStatus.md +++ /dev/null @@ -1,15 +0,0 @@ -# RepositoryRestoreStatus - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | ID of the task | -**done** | **bool** | | -**update_time** | **datetime** | | -**error** | **str** | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/ResetCreation.md b/clients/python-legacy/docs/ResetCreation.md deleted file mode 100644 index cc21688295d..00000000000 --- a/clients/python-legacy/docs/ResetCreation.md +++ /dev/null @@ -1,14 +0,0 @@ -# ResetCreation - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**type** | **str** | What to reset according to path. | -**path** | **str** | | [optional] -**force** | **bool** | | [optional] if omitted the server will use the default value of False -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/RevertCreation.md b/clients/python-legacy/docs/RevertCreation.md deleted file mode 100644 index 8a724caaa49..00000000000 --- a/clients/python-legacy/docs/RevertCreation.md +++ /dev/null @@ -1,16 +0,0 @@ -# RevertCreation - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**ref** | **str** | the commit to revert, given by a ref | -**parent_number** | **int** | when reverting a merge commit, the parent number (starting from 1) relative to which to perform the revert. | -**commit_overrides** | [**CommitOverrides**](CommitOverrides.md) | | [optional] -**force** | **bool** | | [optional] if omitted the server will use the default value of False -**allow_empty** | **bool** | allow empty commit (revert without changes) | [optional] if omitted the server will use the default value of False -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/Setup.md b/clients/python-legacy/docs/Setup.md deleted file mode 100644 index e90ffd04a7f..00000000000 --- a/clients/python-legacy/docs/Setup.md +++ /dev/null @@ -1,13 +0,0 @@ -# Setup - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**username** | **str** | an identifier for the user (e.g. jane.doe) | -**key** | [**AccessKeyCredentials**](AccessKeyCredentials.md) | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/SetupState.md b/clients/python-legacy/docs/SetupState.md deleted file mode 100644 index 44eb509cb6d..00000000000 --- a/clients/python-legacy/docs/SetupState.md +++ /dev/null @@ -1,14 +0,0 @@ -# SetupState - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**state** | **str** | | [optional] -**comm_prefs_missing** | **bool** | true if the comm prefs are missing. | [optional] -**login_config** | [**LoginConfig**](LoginConfig.md) | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/StagingApi.md b/clients/python-legacy/docs/StagingApi.md deleted file mode 100644 index 476f32be4d5..00000000000 --- a/clients/python-legacy/docs/StagingApi.md +++ /dev/null @@ -1,280 +0,0 @@ -# lakefs_client.StagingApi - -All URIs are relative to *http://localhost/api/v1* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**get_physical_address**](StagingApi.md#get_physical_address) | **GET** /repositories/{repository}/branches/{branch}/staging/backing | generate an address to which the client can upload an object -[**link_physical_address**](StagingApi.md#link_physical_address) | **PUT** /repositories/{repository}/branches/{branch}/staging/backing | associate staging on this physical address with a path - - -# **get_physical_address** -> StagingLocation get_physical_address(repository, branch, path) - -generate an address to which the client can upload an object - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import staging_api -from lakefs_client.model.staging_location import StagingLocation -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = staging_api.StagingApi(api_client) - repository = "repository_example" # str | - branch = "branch_example" # str | - path = "path_example" # str | relative to the branch - presign = True # bool | (optional) - - # example passing only required values which don't have defaults set - try: - # generate an address to which the client can upload an object - api_response = api_instance.get_physical_address(repository, branch, path) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling StagingApi->get_physical_address: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # generate an address to which the client can upload an object - api_response = api_instance.get_physical_address(repository, branch, path, presign=presign) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling StagingApi->get_physical_address: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - **branch** | **str**| | - **path** | **str**| relative to the branch | - **presign** | **bool**| | [optional] - -### Return type - -[**StagingLocation**](StagingLocation.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | physical address for staging area | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **link_physical_address** -> ObjectStats link_physical_address(repository, branch, path, staging_metadata) - -associate staging on this physical address with a path - -Link the physical address with the path in lakeFS, creating an uncommitted change. The given address can be one generated by getPhysicalAddress, or an address outside the repository's storage namespace. - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import staging_api -from lakefs_client.model.staging_location import StagingLocation -from lakefs_client.model.error import Error -from lakefs_client.model.object_stats import ObjectStats -from lakefs_client.model.staging_metadata import StagingMetadata -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = staging_api.StagingApi(api_client) - repository = "repository_example" # str | - branch = "branch_example" # str | - path = "path_example" # str | relative to the branch - staging_metadata = StagingMetadata( - staging=StagingLocation( - physical_address="physical_address_example", - presigned_url="presigned_url_example", - presigned_url_expiry=1, - ), - checksum="checksum_example", - size_bytes=1, - user_metadata={ - "key": "key_example", - }, - content_type="content_type_example", - mtime=1, - force=False, - ) # StagingMetadata | - if_none_match = "*" # str | Set to \"*\" to atomically allow the upload only if the key has no object yet. Other values are not supported. (optional) - - # example passing only required values which don't have defaults set - try: - # associate staging on this physical address with a path - api_response = api_instance.link_physical_address(repository, branch, path, staging_metadata) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling StagingApi->link_physical_address: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # associate staging on this physical address with a path - api_response = api_instance.link_physical_address(repository, branch, path, staging_metadata, if_none_match=if_none_match) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling StagingApi->link_physical_address: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - **branch** | **str**| | - **path** | **str**| relative to the branch | - **staging_metadata** | [**StagingMetadata**](StagingMetadata.md)| | - **if_none_match** | **str**| Set to \"*\" to atomically allow the upload only if the key has no object yet. Other values are not supported. | [optional] - -### Return type - -[**ObjectStats**](ObjectStats.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | object metadata | - | -**400** | Validation Error | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Internal Server Error | - | -**409** | conflict with a commit, try here | - | -**412** | Precondition Failed | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/clients/python-legacy/docs/StagingLocation.md b/clients/python-legacy/docs/StagingLocation.md deleted file mode 100644 index c4e713d4d79..00000000000 --- a/clients/python-legacy/docs/StagingLocation.md +++ /dev/null @@ -1,15 +0,0 @@ -# StagingLocation - -location for placing an object when staging it - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**physical_address** | **str** | | [optional] -**presigned_url** | **str, none_type** | if presign=true is passed in the request, this field will contain a pre-signed URL to use when uploading | [optional] -**presigned_url_expiry** | **int** | If present and nonzero, physical_address is a pre-signed URL and will expire at this Unix Epoch time. This will be shorter than the pre-signed URL lifetime if an authentication token is about to expire. This field is *optional*. | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/StagingMetadata.md b/clients/python-legacy/docs/StagingMetadata.md deleted file mode 100644 index 6b9c35c11c5..00000000000 --- a/clients/python-legacy/docs/StagingMetadata.md +++ /dev/null @@ -1,19 +0,0 @@ -# StagingMetadata - -information about uploaded object - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**staging** | [**StagingLocation**](StagingLocation.md) | | -**checksum** | **str** | unique identifier of object content on backing store (typically ETag) | -**size_bytes** | **int** | | -**user_metadata** | **{str: (str,)}** | | [optional] -**content_type** | **str** | Object media type | [optional] -**mtime** | **int** | Unix Epoch in seconds. May be ignored by server. | [optional] -**force** | **bool** | | [optional] if omitted the server will use the default value of False -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/Statement.md b/clients/python-legacy/docs/Statement.md deleted file mode 100644 index a7f0bd35174..00000000000 --- a/clients/python-legacy/docs/Statement.md +++ /dev/null @@ -1,14 +0,0 @@ -# Statement - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**effect** | **str** | | -**resource** | **str** | | -**action** | **[str]** | | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/StatsEvent.md b/clients/python-legacy/docs/StatsEvent.md deleted file mode 100644 index 2f313005d4a..00000000000 --- a/clients/python-legacy/docs/StatsEvent.md +++ /dev/null @@ -1,14 +0,0 @@ -# StatsEvent - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**_class** | **str** | stats event class (e.g. \"s3_gateway\", \"openapi_request\", \"experimental-feature\", \"ui-event\") | -**name** | **str** | stats event name (e.g. \"put_object\", \"create_repository\", \"<experimental-feature-name>\") | -**count** | **int** | number of events of the class and name | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/StatsEventsList.md b/clients/python-legacy/docs/StatsEventsList.md deleted file mode 100644 index 3f5a230b766..00000000000 --- a/clients/python-legacy/docs/StatsEventsList.md +++ /dev/null @@ -1,12 +0,0 @@ -# StatsEventsList - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**events** | [**[StatsEvent]**](StatsEvent.md) | | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/StorageConfig.md b/clients/python-legacy/docs/StorageConfig.md deleted file mode 100644 index 0c492341815..00000000000 --- a/clients/python-legacy/docs/StorageConfig.md +++ /dev/null @@ -1,20 +0,0 @@ -# StorageConfig - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**blockstore_type** | **str** | | -**blockstore_namespace_example** | **str** | | -**blockstore_namespace_validity_regex** | **str** | | -**pre_sign_support** | **bool** | | -**pre_sign_support_ui** | **bool** | | -**import_support** | **bool** | | -**import_validity_regex** | **str** | | -**default_namespace_prefix** | **str** | | [optional] -**pre_sign_multipart_upload** | **bool** | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/StorageURI.md b/clients/python-legacy/docs/StorageURI.md deleted file mode 100644 index b8a0b829ce5..00000000000 --- a/clients/python-legacy/docs/StorageURI.md +++ /dev/null @@ -1,13 +0,0 @@ -# StorageURI - -URI to a path in a storage provider (e.g. \"s3://bucket1/path/to/object\") - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**location** | **str** | | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/StsAuthRequest.md b/clients/python-legacy/docs/StsAuthRequest.md deleted file mode 100644 index 3ed7faaa7a9..00000000000 --- a/clients/python-legacy/docs/StsAuthRequest.md +++ /dev/null @@ -1,15 +0,0 @@ -# StsAuthRequest - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**code** | **str** | | -**state** | **str** | | -**redirect_uri** | **str** | | -**ttl_seconds** | **int** | The time-to-live for the generated token in seconds. The default value is 3600 seconds (1 hour) maximum time allowed is 12 hours. | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/TagCreation.md b/clients/python-legacy/docs/TagCreation.md deleted file mode 100644 index e4b5d634c87..00000000000 --- a/clients/python-legacy/docs/TagCreation.md +++ /dev/null @@ -1,15 +0,0 @@ -# TagCreation - -Make tag ID point at this REF. - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | ID of tag to create | -**ref** | **str** | the commit to tag | -**force** | **bool** | | [optional] if omitted the server will use the default value of False -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/TagsApi.md b/clients/python-legacy/docs/TagsApi.md deleted file mode 100644 index 35dcada5852..00000000000 --- a/clients/python-legacy/docs/TagsApi.md +++ /dev/null @@ -1,482 +0,0 @@ -# lakefs_client.TagsApi - -All URIs are relative to *http://localhost/api/v1* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**create_tag**](TagsApi.md#create_tag) | **POST** /repositories/{repository}/tags | create tag -[**delete_tag**](TagsApi.md#delete_tag) | **DELETE** /repositories/{repository}/tags/{tag} | delete tag -[**get_tag**](TagsApi.md#get_tag) | **GET** /repositories/{repository}/tags/{tag} | get tag -[**list_tags**](TagsApi.md#list_tags) | **GET** /repositories/{repository}/tags | list tags - - -# **create_tag** -> Ref create_tag(repository, tag_creation) - -create tag - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import tags_api -from lakefs_client.model.tag_creation import TagCreation -from lakefs_client.model.error import Error -from lakefs_client.model.ref import Ref -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = tags_api.TagsApi(api_client) - repository = "repository_example" # str | - tag_creation = TagCreation( - id="id_example", - ref="ref_example", - force=False, - ) # TagCreation | - - # example passing only required values which don't have defaults set - try: - # create tag - api_response = api_instance.create_tag(repository, tag_creation) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling TagsApi->create_tag: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - **tag_creation** | [**TagCreation**](TagCreation.md)| | - -### Return type - -[**Ref**](Ref.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**201** | tag | - | -**400** | Validation Error | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Resource Not Found | - | -**409** | Resource Conflicts With Target | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **delete_tag** -> delete_tag(repository, tag) - -delete tag - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import tags_api -from lakefs_client.model.error import Error -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = tags_api.TagsApi(api_client) - repository = "repository_example" # str | - tag = "tag_example" # str | - force = True # bool | (optional) - - # example passing only required values which don't have defaults set - try: - # delete tag - api_instance.delete_tag(repository, tag) - except lakefs_client.ApiException as e: - print("Exception when calling TagsApi->delete_tag: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # delete tag - api_instance.delete_tag(repository, tag, force=force) - except lakefs_client.ApiException as e: - print("Exception when calling TagsApi->delete_tag: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - **tag** | **str**| | - **force** | **bool**| | [optional] - -### Return type - -void (empty response body) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | tag deleted successfully | - | -**401** | Unauthorized | - | -**403** | Forbidden | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **get_tag** -> Ref get_tag(repository, tag) - -get tag - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import tags_api -from lakefs_client.model.error import Error -from lakefs_client.model.ref import Ref -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = tags_api.TagsApi(api_client) - repository = "repository_example" # str | - tag = "tag_example" # str | - - # example passing only required values which don't have defaults set - try: - # get tag - api_response = api_instance.get_tag(repository, tag) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling TagsApi->get_tag: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - **tag** | **str**| | - -### Return type - -[**Ref**](Ref.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | tag | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **list_tags** -> RefList list_tags(repository) - -list tags - -### Example - -* Basic Authentication (basic_auth): -* Api Key Authentication (cookie_auth): -* Bearer (JWT) Authentication (jwt_token): -* Api Key Authentication (oidc_auth): -* Api Key Authentication (saml_auth): - -```python -import time -import lakefs_client -from lakefs_client.api import tags_api -from lakefs_client.model.error import Error -from lakefs_client.model.ref_list import RefList -from pprint import pprint -# Defining the host is optional and defaults to http://localhost/api/v1 -# See configuration.py for a list of all supported configuration parameters. -configuration = lakefs_client.Configuration( - host = "http://localhost/api/v1" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure HTTP basic authorization: basic_auth -configuration = lakefs_client.Configuration( - username = 'YOUR_USERNAME', - password = 'YOUR_PASSWORD' -) - -# Configure API key authorization: cookie_auth -configuration.api_key['cookie_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['cookie_auth'] = 'Bearer' - -# Configure Bearer authorization (JWT): jwt_token -configuration = lakefs_client.Configuration( - access_token = 'YOUR_BEARER_TOKEN' -) - -# Configure API key authorization: oidc_auth -configuration.api_key['oidc_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['oidc_auth'] = 'Bearer' - -# Configure API key authorization: saml_auth -configuration.api_key['saml_auth'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['saml_auth'] = 'Bearer' - -# Enter a context with an instance of the API client -with lakefs_client.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = tags_api.TagsApi(api_client) - repository = "repository_example" # str | - prefix = "prefix_example" # str | return items prefixed with this value (optional) - after = "after_example" # str | return items after this value (optional) - amount = 100 # int | how many items to return (optional) if omitted the server will use the default value of 100 - - # example passing only required values which don't have defaults set - try: - # list tags - api_response = api_instance.list_tags(repository) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling TagsApi->list_tags: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # list tags - api_response = api_instance.list_tags(repository, prefix=prefix, after=after, amount=amount) - pprint(api_response) - except lakefs_client.ApiException as e: - print("Exception when calling TagsApi->list_tags: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **repository** | **str**| | - **prefix** | **str**| return items prefixed with this value | [optional] - **after** | **str**| return items after this value | [optional] - **amount** | **int**| how many items to return | [optional] if omitted the server will use the default value of 100 - -### Return type - -[**RefList**](RefList.md) - -### Authorization - -[basic_auth](../README.md#basic_auth), [cookie_auth](../README.md#cookie_auth), [jwt_token](../README.md#jwt_token), [oidc_auth](../README.md#oidc_auth), [saml_auth](../README.md#saml_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | tag list | - | -**401** | Unauthorized | - | -**404** | Resource Not Found | - | -**420** | too many requests | - | -**0** | Internal Server Error | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/clients/python-legacy/docs/TaskInfo.md b/clients/python-legacy/docs/TaskInfo.md deleted file mode 100644 index 50d9cce2106..00000000000 --- a/clients/python-legacy/docs/TaskInfo.md +++ /dev/null @@ -1,12 +0,0 @@ -# TaskInfo - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | ID of the task | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/UnderlyingObjectProperties.md b/clients/python-legacy/docs/UnderlyingObjectProperties.md deleted file mode 100644 index 8212e96bb19..00000000000 --- a/clients/python-legacy/docs/UnderlyingObjectProperties.md +++ /dev/null @@ -1,12 +0,0 @@ -# UnderlyingObjectProperties - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**storage_class** | **str, none_type** | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/UpdateObjectUserMetadata.md b/clients/python-legacy/docs/UpdateObjectUserMetadata.md deleted file mode 100644 index 9c8964f7541..00000000000 --- a/clients/python-legacy/docs/UpdateObjectUserMetadata.md +++ /dev/null @@ -1,12 +0,0 @@ -# UpdateObjectUserMetadata - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**set** | [**ObjectUserMetadata**](ObjectUserMetadata.md) | | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/UpdateToken.md b/clients/python-legacy/docs/UpdateToken.md deleted file mode 100644 index 330a786e0f4..00000000000 --- a/clients/python-legacy/docs/UpdateToken.md +++ /dev/null @@ -1,12 +0,0 @@ -# UpdateToken - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**staging_token** | **str** | | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/UploadPart.md b/clients/python-legacy/docs/UploadPart.md deleted file mode 100644 index 92fbd984319..00000000000 --- a/clients/python-legacy/docs/UploadPart.md +++ /dev/null @@ -1,13 +0,0 @@ -# UploadPart - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**part_number** | **int** | | -**etag** | **str** | | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/UsageReport.md b/clients/python-legacy/docs/UsageReport.md deleted file mode 100644 index ac12feb9e9f..00000000000 --- a/clients/python-legacy/docs/UsageReport.md +++ /dev/null @@ -1,14 +0,0 @@ -# UsageReport - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**year** | **int** | | -**month** | **int** | | -**count** | **int** | | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/User.md b/clients/python-legacy/docs/User.md deleted file mode 100644 index 908cdb96d0e..00000000000 --- a/clients/python-legacy/docs/User.md +++ /dev/null @@ -1,15 +0,0 @@ -# User - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | A unique identifier for the user. Cannot be edited. | -**creation_date** | **int** | Unix Epoch in seconds | -**friendly_name** | **str** | A shorter name for the user than the id. Unlike id it does not identify the user (it might not be unique). Used in some places in the UI. | [optional] -**email** | **str** | The email address of the user. If API authentication is enabled, this field is mandatory and will be invited to login. If API authentication is disabled, this field will be ignored. All current APIAuthenticators require the email to be lowercase and unique, although custom authenticators may not enforce this. | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/UserCreation.md b/clients/python-legacy/docs/UserCreation.md deleted file mode 100644 index c3a70a16228..00000000000 --- a/clients/python-legacy/docs/UserCreation.md +++ /dev/null @@ -1,13 +0,0 @@ -# UserCreation - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | a unique identifier for the user. | -**invite_user** | **bool** | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/UserList.md b/clients/python-legacy/docs/UserList.md deleted file mode 100644 index 36f49a3c2dc..00000000000 --- a/clients/python-legacy/docs/UserList.md +++ /dev/null @@ -1,13 +0,0 @@ -# UserList - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**pagination** | [**Pagination**](Pagination.md) | | -**results** | [**[User]**](User.md) | | -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/docs/VersionConfig.md b/clients/python-legacy/docs/VersionConfig.md deleted file mode 100644 index 5521f930ba9..00000000000 --- a/clients/python-legacy/docs/VersionConfig.md +++ /dev/null @@ -1,15 +0,0 @@ -# VersionConfig - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**version** | **str** | | [optional] -**latest_version** | **str** | | [optional] -**upgrade_recommended** | **bool** | | [optional] -**upgrade_url** | **str** | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/clients/python-legacy/git_push.sh b/clients/python-legacy/git_push.sh deleted file mode 100644 index 6b5bd1a28f4..00000000000 --- a/clients/python-legacy/git_push.sh +++ /dev/null @@ -1,57 +0,0 @@ -#!/bin/sh -# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/ -# -# Usage example: /bin/sh ./git_push.sh wing328 openapi-petstore-perl "minor update" "gitlab.com" - -git_user_id=$1 -git_repo_id=$2 -release_note=$3 -git_host=$4 - -if [ "$git_host" = "" ]; then - git_host="github.com" - echo "[INFO] No command line input provided. Set \$git_host to $git_host" -fi - -if [ "$git_user_id" = "" ]; then - git_user_id="treeverse" - echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id" -fi - -if [ "$git_repo_id" = "" ]; then - git_repo_id="lakeFS" - echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id" -fi - -if [ "$release_note" = "" ]; then - release_note="Minor update" - echo "[INFO] No command line input provided. Set \$release_note to $release_note" -fi - -# Initialize the local directory as a Git repository -git init - -# Adds the files in the local repository and stages them for commit. -git add . - -# Commits the tracked changes and prepares them to be pushed to a remote repository. -git commit -m "$release_note" - -# Sets the new remote -git_remote=$(git remote) -if [ "$git_remote" = "" ]; then # git remote not defined - - if [ "$GIT_TOKEN" = "" ]; then - echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment." - git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git - else - git remote add origin https://${git_user_id}:"${GIT_TOKEN}"@${git_host}/${git_user_id}/${git_repo_id}.git - fi - -fi - -git pull origin master - -# Pushes (Forces) the changes in the local repository up to the remote repository -echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git" -git push origin master 2>&1 | grep -v 'To https' diff --git a/clients/python-legacy/lakefs_client/__init__.py b/clients/python-legacy/lakefs_client/__init__.py deleted file mode 100644 index cae7e8c42e4..00000000000 --- a/clients/python-legacy/lakefs_client/__init__.py +++ /dev/null @@ -1,28 +0,0 @@ -# flake8: noqa - -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -__version__ = "0.1.0-SNAPSHOT" - -# import ApiClient -from lakefs_client.api_client import ApiClient - -# import Configuration -from lakefs_client.configuration import Configuration - -# import exceptions -from lakefs_client.exceptions import OpenApiException -from lakefs_client.exceptions import ApiAttributeError -from lakefs_client.exceptions import ApiTypeError -from lakefs_client.exceptions import ApiValueError -from lakefs_client.exceptions import ApiKeyError -from lakefs_client.exceptions import ApiException diff --git a/clients/python-legacy/lakefs_client/api/__init__.py b/clients/python-legacy/lakefs_client/api/__init__.py deleted file mode 100644 index c0745e4b103..00000000000 --- a/clients/python-legacy/lakefs_client/api/__init__.py +++ /dev/null @@ -1,3 +0,0 @@ -# do not import all apis into this module because that uses a lot of memory and stack frames -# if you need the ability to import all apis from one package, import them with -# from lakefs_client.apis import ActionsApi diff --git a/clients/python-legacy/lakefs_client/api/actions_api.py b/clients/python-legacy/lakefs_client/api/actions_api.py deleted file mode 100644 index 1d64126e2fd..00000000000 --- a/clients/python-legacy/lakefs_client/api/actions_api.py +++ /dev/null @@ -1,611 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.api_client import ApiClient, Endpoint as _Endpoint -from lakefs_client.model_utils import ( # noqa: F401 - check_allowed_values, - check_validations, - date, - datetime, - file_type, - none_type, - validate_and_convert_types -) -from lakefs_client.model.action_run import ActionRun -from lakefs_client.model.action_run_list import ActionRunList -from lakefs_client.model.error import Error -from lakefs_client.model.hook_run_list import HookRunList - - -class ActionsApi(object): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - self.get_run_endpoint = _Endpoint( - settings={ - 'response_type': (ActionRun,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/actions/runs/{run_id}', - 'operation_id': 'get_run', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - 'run_id', - ], - 'required': [ - 'repository', - 'run_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - 'run_id': - (str,), - }, - 'attribute_map': { - 'repository': 'repository', - 'run_id': 'run_id', - }, - 'location_map': { - 'repository': 'path', - 'run_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_run_hook_output_endpoint = _Endpoint( - settings={ - 'response_type': (file_type,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/actions/runs/{run_id}/hooks/{hook_run_id}/output', - 'operation_id': 'get_run_hook_output', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - 'run_id', - 'hook_run_id', - ], - 'required': [ - 'repository', - 'run_id', - 'hook_run_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - 'run_id': - (str,), - 'hook_run_id': - (str,), - }, - 'attribute_map': { - 'repository': 'repository', - 'run_id': 'run_id', - 'hook_run_id': 'hook_run_id', - }, - 'location_map': { - 'repository': 'path', - 'run_id': 'path', - 'hook_run_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/octet-stream', - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.list_repository_runs_endpoint = _Endpoint( - settings={ - 'response_type': (ActionRunList,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/actions/runs', - 'operation_id': 'list_repository_runs', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - 'after', - 'amount', - 'branch', - 'commit', - ], - 'required': [ - 'repository', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'amount', - ] - }, - root_map={ - 'validations': { - ('amount',): { - - 'inclusive_maximum': 1000, - 'inclusive_minimum': -1, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - 'after': - (str,), - 'amount': - (int,), - 'branch': - (str,), - 'commit': - (str,), - }, - 'attribute_map': { - 'repository': 'repository', - 'after': 'after', - 'amount': 'amount', - 'branch': 'branch', - 'commit': 'commit', - }, - 'location_map': { - 'repository': 'path', - 'after': 'query', - 'amount': 'query', - 'branch': 'query', - 'commit': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.list_run_hooks_endpoint = _Endpoint( - settings={ - 'response_type': (HookRunList,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/actions/runs/{run_id}/hooks', - 'operation_id': 'list_run_hooks', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - 'run_id', - 'after', - 'amount', - ], - 'required': [ - 'repository', - 'run_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'amount', - ] - }, - root_map={ - 'validations': { - ('amount',): { - - 'inclusive_maximum': 1000, - 'inclusive_minimum': -1, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - 'run_id': - (str,), - 'after': - (str,), - 'amount': - (int,), - }, - 'attribute_map': { - 'repository': 'repository', - 'run_id': 'run_id', - 'after': 'after', - 'amount': 'amount', - }, - 'location_map': { - 'repository': 'path', - 'run_id': 'path', - 'after': 'query', - 'amount': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - - def get_run( - self, - repository, - run_id, - **kwargs - ): - """get a run # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_run(repository, run_id, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - run_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - ActionRun - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - kwargs['run_id'] = \ - run_id - return self.get_run_endpoint.call_with_http_info(**kwargs) - - def get_run_hook_output( - self, - repository, - run_id, - hook_run_id, - **kwargs - ): - """get run hook output # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_run_hook_output(repository, run_id, hook_run_id, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - run_id (str): - hook_run_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - file_type - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - kwargs['run_id'] = \ - run_id - kwargs['hook_run_id'] = \ - hook_run_id - return self.get_run_hook_output_endpoint.call_with_http_info(**kwargs) - - def list_repository_runs( - self, - repository, - **kwargs - ): - """list runs # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.list_repository_runs(repository, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - - Keyword Args: - after (str): return items after this value. [optional] - amount (int): how many items to return. [optional] if omitted the server will use the default value of 100 - branch (str): [optional] - commit (str): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - ActionRunList - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - return self.list_repository_runs_endpoint.call_with_http_info(**kwargs) - - def list_run_hooks( - self, - repository, - run_id, - **kwargs - ): - """list run hooks # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.list_run_hooks(repository, run_id, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - run_id (str): - - Keyword Args: - after (str): return items after this value. [optional] - amount (int): how many items to return. [optional] if omitted the server will use the default value of 100 - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - HookRunList - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - kwargs['run_id'] = \ - run_id - return self.list_run_hooks_endpoint.call_with_http_info(**kwargs) - diff --git a/clients/python-legacy/lakefs_client/api/auth_api.py b/clients/python-legacy/lakefs_client/api/auth_api.py deleted file mode 100644 index 81990d1319f..00000000000 --- a/clients/python-legacy/lakefs_client/api/auth_api.py +++ /dev/null @@ -1,4651 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.api_client import ApiClient, Endpoint as _Endpoint -from lakefs_client.model_utils import ( # noqa: F401 - check_allowed_values, - check_validations, - date, - datetime, - file_type, - none_type, - validate_and_convert_types -) -from lakefs_client.model.acl import ACL -from lakefs_client.model.authentication_token import AuthenticationToken -from lakefs_client.model.credentials import Credentials -from lakefs_client.model.credentials_list import CredentialsList -from lakefs_client.model.credentials_with_secret import CredentialsWithSecret -from lakefs_client.model.current_user import CurrentUser -from lakefs_client.model.error import Error -from lakefs_client.model.error_no_acl import ErrorNoACL -from lakefs_client.model.external_login_information import ExternalLoginInformation -from lakefs_client.model.external_principal import ExternalPrincipal -from lakefs_client.model.external_principal_creation import ExternalPrincipalCreation -from lakefs_client.model.external_principal_list import ExternalPrincipalList -from lakefs_client.model.group import Group -from lakefs_client.model.group_creation import GroupCreation -from lakefs_client.model.group_list import GroupList -from lakefs_client.model.login_information import LoginInformation -from lakefs_client.model.policy import Policy -from lakefs_client.model.policy_list import PolicyList -from lakefs_client.model.user import User -from lakefs_client.model.user_creation import UserCreation -from lakefs_client.model.user_list import UserList - - -class AuthApi(object): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - self.add_group_membership_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/auth/groups/{groupId}/members/{userId}', - 'operation_id': 'add_group_membership', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'group_id', - 'user_id', - ], - 'required': [ - 'group_id', - 'user_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'group_id': - (str,), - 'user_id': - (str,), - }, - 'attribute_map': { - 'group_id': 'groupId', - 'user_id': 'userId', - }, - 'location_map': { - 'group_id': 'path', - 'user_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.attach_policy_to_group_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/auth/groups/{groupId}/policies/{policyId}', - 'operation_id': 'attach_policy_to_group', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'group_id', - 'policy_id', - ], - 'required': [ - 'group_id', - 'policy_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'group_id': - (str,), - 'policy_id': - (str,), - }, - 'attribute_map': { - 'group_id': 'groupId', - 'policy_id': 'policyId', - }, - 'location_map': { - 'group_id': 'path', - 'policy_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.attach_policy_to_user_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/auth/users/{userId}/policies/{policyId}', - 'operation_id': 'attach_policy_to_user', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'user_id', - 'policy_id', - ], - 'required': [ - 'user_id', - 'policy_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'user_id': - (str,), - 'policy_id': - (str,), - }, - 'attribute_map': { - 'user_id': 'userId', - 'policy_id': 'policyId', - }, - 'location_map': { - 'user_id': 'path', - 'policy_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.create_credentials_endpoint = _Endpoint( - settings={ - 'response_type': (CredentialsWithSecret,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/auth/users/{userId}/credentials', - 'operation_id': 'create_credentials', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'user_id', - ], - 'required': [ - 'user_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'user_id': - (str,), - }, - 'attribute_map': { - 'user_id': 'userId', - }, - 'location_map': { - 'user_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.create_group_endpoint = _Endpoint( - settings={ - 'response_type': (Group,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/auth/groups', - 'operation_id': 'create_group', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'group_creation', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'group_creation': - (GroupCreation,), - }, - 'attribute_map': { - }, - 'location_map': { - 'group_creation': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.create_policy_endpoint = _Endpoint( - settings={ - 'response_type': (Policy,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/auth/policies', - 'operation_id': 'create_policy', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'policy', - ], - 'required': [ - 'policy', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'policy': - (Policy,), - }, - 'attribute_map': { - }, - 'location_map': { - 'policy': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.create_user_endpoint = _Endpoint( - settings={ - 'response_type': (User,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/auth/users', - 'operation_id': 'create_user', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'user_creation', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'user_creation': - (UserCreation,), - }, - 'attribute_map': { - }, - 'location_map': { - 'user_creation': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.create_user_external_principal_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/auth/users/{userId}/external/principals', - 'operation_id': 'create_user_external_principal', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'user_id', - 'principal_id', - 'external_principal_creation', - ], - 'required': [ - 'user_id', - 'principal_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'user_id': - (str,), - 'principal_id': - (str,), - 'external_principal_creation': - (ExternalPrincipalCreation,), - }, - 'attribute_map': { - 'user_id': 'userId', - 'principal_id': 'principalId', - }, - 'location_map': { - 'user_id': 'path', - 'principal_id': 'query', - 'external_principal_creation': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.delete_credentials_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/auth/users/{userId}/credentials/{accessKeyId}', - 'operation_id': 'delete_credentials', - 'http_method': 'DELETE', - 'servers': None, - }, - params_map={ - 'all': [ - 'user_id', - 'access_key_id', - ], - 'required': [ - 'user_id', - 'access_key_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'user_id': - (str,), - 'access_key_id': - (str,), - }, - 'attribute_map': { - 'user_id': 'userId', - 'access_key_id': 'accessKeyId', - }, - 'location_map': { - 'user_id': 'path', - 'access_key_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.delete_group_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/auth/groups/{groupId}', - 'operation_id': 'delete_group', - 'http_method': 'DELETE', - 'servers': None, - }, - params_map={ - 'all': [ - 'group_id', - ], - 'required': [ - 'group_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'group_id': - (str,), - }, - 'attribute_map': { - 'group_id': 'groupId', - }, - 'location_map': { - 'group_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.delete_group_membership_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/auth/groups/{groupId}/members/{userId}', - 'operation_id': 'delete_group_membership', - 'http_method': 'DELETE', - 'servers': None, - }, - params_map={ - 'all': [ - 'group_id', - 'user_id', - ], - 'required': [ - 'group_id', - 'user_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'group_id': - (str,), - 'user_id': - (str,), - }, - 'attribute_map': { - 'group_id': 'groupId', - 'user_id': 'userId', - }, - 'location_map': { - 'group_id': 'path', - 'user_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.delete_policy_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/auth/policies/{policyId}', - 'operation_id': 'delete_policy', - 'http_method': 'DELETE', - 'servers': None, - }, - params_map={ - 'all': [ - 'policy_id', - ], - 'required': [ - 'policy_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'policy_id': - (str,), - }, - 'attribute_map': { - 'policy_id': 'policyId', - }, - 'location_map': { - 'policy_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.delete_user_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/auth/users/{userId}', - 'operation_id': 'delete_user', - 'http_method': 'DELETE', - 'servers': None, - }, - params_map={ - 'all': [ - 'user_id', - ], - 'required': [ - 'user_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'user_id': - (str,), - }, - 'attribute_map': { - 'user_id': 'userId', - }, - 'location_map': { - 'user_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.delete_user_external_principal_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/auth/users/{userId}/external/principals', - 'operation_id': 'delete_user_external_principal', - 'http_method': 'DELETE', - 'servers': None, - }, - params_map={ - 'all': [ - 'user_id', - 'principal_id', - ], - 'required': [ - 'user_id', - 'principal_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'user_id': - (str,), - 'principal_id': - (str,), - }, - 'attribute_map': { - 'user_id': 'userId', - 'principal_id': 'principalId', - }, - 'location_map': { - 'user_id': 'path', - 'principal_id': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.detach_policy_from_group_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/auth/groups/{groupId}/policies/{policyId}', - 'operation_id': 'detach_policy_from_group', - 'http_method': 'DELETE', - 'servers': None, - }, - params_map={ - 'all': [ - 'group_id', - 'policy_id', - ], - 'required': [ - 'group_id', - 'policy_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'group_id': - (str,), - 'policy_id': - (str,), - }, - 'attribute_map': { - 'group_id': 'groupId', - 'policy_id': 'policyId', - }, - 'location_map': { - 'group_id': 'path', - 'policy_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.detach_policy_from_user_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/auth/users/{userId}/policies/{policyId}', - 'operation_id': 'detach_policy_from_user', - 'http_method': 'DELETE', - 'servers': None, - }, - params_map={ - 'all': [ - 'user_id', - 'policy_id', - ], - 'required': [ - 'user_id', - 'policy_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'user_id': - (str,), - 'policy_id': - (str,), - }, - 'attribute_map': { - 'user_id': 'userId', - 'policy_id': 'policyId', - }, - 'location_map': { - 'user_id': 'path', - 'policy_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.external_principal_login_endpoint = _Endpoint( - settings={ - 'response_type': (AuthenticationToken,), - 'auth': [], - 'endpoint_path': '/auth/external/principal/login', - 'operation_id': 'external_principal_login', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'external_login_information', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'external_login_information': - (ExternalLoginInformation,), - }, - 'attribute_map': { - }, - 'location_map': { - 'external_login_information': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.get_credentials_endpoint = _Endpoint( - settings={ - 'response_type': (Credentials,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/auth/users/{userId}/credentials/{accessKeyId}', - 'operation_id': 'get_credentials', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'user_id', - 'access_key_id', - ], - 'required': [ - 'user_id', - 'access_key_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'user_id': - (str,), - 'access_key_id': - (str,), - }, - 'attribute_map': { - 'user_id': 'userId', - 'access_key_id': 'accessKeyId', - }, - 'location_map': { - 'user_id': 'path', - 'access_key_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_current_user_endpoint = _Endpoint( - settings={ - 'response_type': (CurrentUser,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/user', - 'operation_id': 'get_current_user', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - }, - 'attribute_map': { - }, - 'location_map': { - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_external_principal_endpoint = _Endpoint( - settings={ - 'response_type': (ExternalPrincipal,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/auth/external/principals', - 'operation_id': 'get_external_principal', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'principal_id', - ], - 'required': [ - 'principal_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'principal_id': - (str,), - }, - 'attribute_map': { - 'principal_id': 'principalId', - }, - 'location_map': { - 'principal_id': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_group_endpoint = _Endpoint( - settings={ - 'response_type': (Group,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/auth/groups/{groupId}', - 'operation_id': 'get_group', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'group_id', - ], - 'required': [ - 'group_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'group_id': - (str,), - }, - 'attribute_map': { - 'group_id': 'groupId', - }, - 'location_map': { - 'group_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_group_acl_endpoint = _Endpoint( - settings={ - 'response_type': (ACL,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/auth/groups/{groupId}/acl', - 'operation_id': 'get_group_acl', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'group_id', - ], - 'required': [ - 'group_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'group_id': - (str,), - }, - 'attribute_map': { - 'group_id': 'groupId', - }, - 'location_map': { - 'group_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_policy_endpoint = _Endpoint( - settings={ - 'response_type': (Policy,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/auth/policies/{policyId}', - 'operation_id': 'get_policy', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'policy_id', - ], - 'required': [ - 'policy_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'policy_id': - (str,), - }, - 'attribute_map': { - 'policy_id': 'policyId', - }, - 'location_map': { - 'policy_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_user_endpoint = _Endpoint( - settings={ - 'response_type': (User,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/auth/users/{userId}', - 'operation_id': 'get_user', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'user_id', - ], - 'required': [ - 'user_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'user_id': - (str,), - }, - 'attribute_map': { - 'user_id': 'userId', - }, - 'location_map': { - 'user_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.list_group_members_endpoint = _Endpoint( - settings={ - 'response_type': (UserList,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/auth/groups/{groupId}/members', - 'operation_id': 'list_group_members', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'group_id', - 'prefix', - 'after', - 'amount', - ], - 'required': [ - 'group_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'amount', - ] - }, - root_map={ - 'validations': { - ('amount',): { - - 'inclusive_maximum': 1000, - 'inclusive_minimum': -1, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'group_id': - (str,), - 'prefix': - (str,), - 'after': - (str,), - 'amount': - (int,), - }, - 'attribute_map': { - 'group_id': 'groupId', - 'prefix': 'prefix', - 'after': 'after', - 'amount': 'amount', - }, - 'location_map': { - 'group_id': 'path', - 'prefix': 'query', - 'after': 'query', - 'amount': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.list_group_policies_endpoint = _Endpoint( - settings={ - 'response_type': (PolicyList,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/auth/groups/{groupId}/policies', - 'operation_id': 'list_group_policies', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'group_id', - 'prefix', - 'after', - 'amount', - ], - 'required': [ - 'group_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'amount', - ] - }, - root_map={ - 'validations': { - ('amount',): { - - 'inclusive_maximum': 1000, - 'inclusive_minimum': -1, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'group_id': - (str,), - 'prefix': - (str,), - 'after': - (str,), - 'amount': - (int,), - }, - 'attribute_map': { - 'group_id': 'groupId', - 'prefix': 'prefix', - 'after': 'after', - 'amount': 'amount', - }, - 'location_map': { - 'group_id': 'path', - 'prefix': 'query', - 'after': 'query', - 'amount': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.list_groups_endpoint = _Endpoint( - settings={ - 'response_type': (GroupList,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/auth/groups', - 'operation_id': 'list_groups', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'prefix', - 'after', - 'amount', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'amount', - ] - }, - root_map={ - 'validations': { - ('amount',): { - - 'inclusive_maximum': 1000, - 'inclusive_minimum': -1, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'prefix': - (str,), - 'after': - (str,), - 'amount': - (int,), - }, - 'attribute_map': { - 'prefix': 'prefix', - 'after': 'after', - 'amount': 'amount', - }, - 'location_map': { - 'prefix': 'query', - 'after': 'query', - 'amount': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.list_policies_endpoint = _Endpoint( - settings={ - 'response_type': (PolicyList,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/auth/policies', - 'operation_id': 'list_policies', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'prefix', - 'after', - 'amount', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'amount', - ] - }, - root_map={ - 'validations': { - ('amount',): { - - 'inclusive_maximum': 1000, - 'inclusive_minimum': -1, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'prefix': - (str,), - 'after': - (str,), - 'amount': - (int,), - }, - 'attribute_map': { - 'prefix': 'prefix', - 'after': 'after', - 'amount': 'amount', - }, - 'location_map': { - 'prefix': 'query', - 'after': 'query', - 'amount': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.list_user_credentials_endpoint = _Endpoint( - settings={ - 'response_type': (CredentialsList,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/auth/users/{userId}/credentials', - 'operation_id': 'list_user_credentials', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'user_id', - 'prefix', - 'after', - 'amount', - ], - 'required': [ - 'user_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'amount', - ] - }, - root_map={ - 'validations': { - ('amount',): { - - 'inclusive_maximum': 1000, - 'inclusive_minimum': -1, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'user_id': - (str,), - 'prefix': - (str,), - 'after': - (str,), - 'amount': - (int,), - }, - 'attribute_map': { - 'user_id': 'userId', - 'prefix': 'prefix', - 'after': 'after', - 'amount': 'amount', - }, - 'location_map': { - 'user_id': 'path', - 'prefix': 'query', - 'after': 'query', - 'amount': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.list_user_external_principals_endpoint = _Endpoint( - settings={ - 'response_type': (ExternalPrincipalList,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/auth/users/{userId}/external/principals/ls', - 'operation_id': 'list_user_external_principals', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'user_id', - 'prefix', - 'after', - 'amount', - ], - 'required': [ - 'user_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'amount', - ] - }, - root_map={ - 'validations': { - ('amount',): { - - 'inclusive_maximum': 1000, - 'inclusive_minimum': -1, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'user_id': - (str,), - 'prefix': - (str,), - 'after': - (str,), - 'amount': - (int,), - }, - 'attribute_map': { - 'user_id': 'userId', - 'prefix': 'prefix', - 'after': 'after', - 'amount': 'amount', - }, - 'location_map': { - 'user_id': 'path', - 'prefix': 'query', - 'after': 'query', - 'amount': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.list_user_groups_endpoint = _Endpoint( - settings={ - 'response_type': (GroupList,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/auth/users/{userId}/groups', - 'operation_id': 'list_user_groups', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'user_id', - 'prefix', - 'after', - 'amount', - ], - 'required': [ - 'user_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'amount', - ] - }, - root_map={ - 'validations': { - ('amount',): { - - 'inclusive_maximum': 1000, - 'inclusive_minimum': -1, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'user_id': - (str,), - 'prefix': - (str,), - 'after': - (str,), - 'amount': - (int,), - }, - 'attribute_map': { - 'user_id': 'userId', - 'prefix': 'prefix', - 'after': 'after', - 'amount': 'amount', - }, - 'location_map': { - 'user_id': 'path', - 'prefix': 'query', - 'after': 'query', - 'amount': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.list_user_policies_endpoint = _Endpoint( - settings={ - 'response_type': (PolicyList,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/auth/users/{userId}/policies', - 'operation_id': 'list_user_policies', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'user_id', - 'prefix', - 'after', - 'amount', - 'effective', - ], - 'required': [ - 'user_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'amount', - ] - }, - root_map={ - 'validations': { - ('amount',): { - - 'inclusive_maximum': 1000, - 'inclusive_minimum': -1, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'user_id': - (str,), - 'prefix': - (str,), - 'after': - (str,), - 'amount': - (int,), - 'effective': - (bool,), - }, - 'attribute_map': { - 'user_id': 'userId', - 'prefix': 'prefix', - 'after': 'after', - 'amount': 'amount', - 'effective': 'effective', - }, - 'location_map': { - 'user_id': 'path', - 'prefix': 'query', - 'after': 'query', - 'amount': 'query', - 'effective': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.list_users_endpoint = _Endpoint( - settings={ - 'response_type': (UserList,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/auth/users', - 'operation_id': 'list_users', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'prefix', - 'after', - 'amount', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'amount', - ] - }, - root_map={ - 'validations': { - ('amount',): { - - 'inclusive_maximum': 1000, - 'inclusive_minimum': -1, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'prefix': - (str,), - 'after': - (str,), - 'amount': - (int,), - }, - 'attribute_map': { - 'prefix': 'prefix', - 'after': 'after', - 'amount': 'amount', - }, - 'location_map': { - 'prefix': 'query', - 'after': 'query', - 'amount': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.login_endpoint = _Endpoint( - settings={ - 'response_type': (AuthenticationToken,), - 'auth': [], - 'endpoint_path': '/auth/login', - 'operation_id': 'login', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'login_information', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'login_information': - (LoginInformation,), - }, - 'attribute_map': { - }, - 'location_map': { - 'login_information': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.set_group_acl_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/auth/groups/{groupId}/acl', - 'operation_id': 'set_group_acl', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'group_id', - 'acl', - ], - 'required': [ - 'group_id', - 'acl', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'group_id': - (str,), - 'acl': - (ACL,), - }, - 'attribute_map': { - 'group_id': 'groupId', - }, - 'location_map': { - 'group_id': 'path', - 'acl': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.update_policy_endpoint = _Endpoint( - settings={ - 'response_type': (Policy,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/auth/policies/{policyId}', - 'operation_id': 'update_policy', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'policy_id', - 'policy', - ], - 'required': [ - 'policy_id', - 'policy', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'policy_id': - (str,), - 'policy': - (Policy,), - }, - 'attribute_map': { - 'policy_id': 'policyId', - }, - 'location_map': { - 'policy_id': 'path', - 'policy': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - - def add_group_membership( - self, - group_id, - user_id, - **kwargs - ): - """add group membership # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.add_group_membership(group_id, user_id, async_req=True) - >>> result = thread.get() - - Args: - group_id (str): - user_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['group_id'] = \ - group_id - kwargs['user_id'] = \ - user_id - return self.add_group_membership_endpoint.call_with_http_info(**kwargs) - - def attach_policy_to_group( - self, - group_id, - policy_id, - **kwargs - ): - """attach policy to group # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.attach_policy_to_group(group_id, policy_id, async_req=True) - >>> result = thread.get() - - Args: - group_id (str): - policy_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['group_id'] = \ - group_id - kwargs['policy_id'] = \ - policy_id - return self.attach_policy_to_group_endpoint.call_with_http_info(**kwargs) - - def attach_policy_to_user( - self, - user_id, - policy_id, - **kwargs - ): - """attach policy to user # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.attach_policy_to_user(user_id, policy_id, async_req=True) - >>> result = thread.get() - - Args: - user_id (str): - policy_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['user_id'] = \ - user_id - kwargs['policy_id'] = \ - policy_id - return self.attach_policy_to_user_endpoint.call_with_http_info(**kwargs) - - def create_credentials( - self, - user_id, - **kwargs - ): - """create credentials # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.create_credentials(user_id, async_req=True) - >>> result = thread.get() - - Args: - user_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - CredentialsWithSecret - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['user_id'] = \ - user_id - return self.create_credentials_endpoint.call_with_http_info(**kwargs) - - def create_group( - self, - **kwargs - ): - """create group # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.create_group(async_req=True) - >>> result = thread.get() - - - Keyword Args: - group_creation (GroupCreation): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - Group - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - return self.create_group_endpoint.call_with_http_info(**kwargs) - - def create_policy( - self, - policy, - **kwargs - ): - """create policy # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.create_policy(policy, async_req=True) - >>> result = thread.get() - - Args: - policy (Policy): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - Policy - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['policy'] = \ - policy - return self.create_policy_endpoint.call_with_http_info(**kwargs) - - def create_user( - self, - **kwargs - ): - """create user # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.create_user(async_req=True) - >>> result = thread.get() - - - Keyword Args: - user_creation (UserCreation): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - User - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - return self.create_user_endpoint.call_with_http_info(**kwargs) - - def create_user_external_principal( - self, - user_id, - principal_id, - **kwargs - ): - """attach external principal to user # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.create_user_external_principal(user_id, principal_id, async_req=True) - >>> result = thread.get() - - Args: - user_id (str): - principal_id (str): - - Keyword Args: - external_principal_creation (ExternalPrincipalCreation): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['user_id'] = \ - user_id - kwargs['principal_id'] = \ - principal_id - return self.create_user_external_principal_endpoint.call_with_http_info(**kwargs) - - def delete_credentials( - self, - user_id, - access_key_id, - **kwargs - ): - """delete credentials # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.delete_credentials(user_id, access_key_id, async_req=True) - >>> result = thread.get() - - Args: - user_id (str): - access_key_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['user_id'] = \ - user_id - kwargs['access_key_id'] = \ - access_key_id - return self.delete_credentials_endpoint.call_with_http_info(**kwargs) - - def delete_group( - self, - group_id, - **kwargs - ): - """delete group # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.delete_group(group_id, async_req=True) - >>> result = thread.get() - - Args: - group_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['group_id'] = \ - group_id - return self.delete_group_endpoint.call_with_http_info(**kwargs) - - def delete_group_membership( - self, - group_id, - user_id, - **kwargs - ): - """delete group membership # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.delete_group_membership(group_id, user_id, async_req=True) - >>> result = thread.get() - - Args: - group_id (str): - user_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['group_id'] = \ - group_id - kwargs['user_id'] = \ - user_id - return self.delete_group_membership_endpoint.call_with_http_info(**kwargs) - - def delete_policy( - self, - policy_id, - **kwargs - ): - """delete policy # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.delete_policy(policy_id, async_req=True) - >>> result = thread.get() - - Args: - policy_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['policy_id'] = \ - policy_id - return self.delete_policy_endpoint.call_with_http_info(**kwargs) - - def delete_user( - self, - user_id, - **kwargs - ): - """delete user # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.delete_user(user_id, async_req=True) - >>> result = thread.get() - - Args: - user_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['user_id'] = \ - user_id - return self.delete_user_endpoint.call_with_http_info(**kwargs) - - def delete_user_external_principal( - self, - user_id, - principal_id, - **kwargs - ): - """delete external principal from user # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.delete_user_external_principal(user_id, principal_id, async_req=True) - >>> result = thread.get() - - Args: - user_id (str): - principal_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['user_id'] = \ - user_id - kwargs['principal_id'] = \ - principal_id - return self.delete_user_external_principal_endpoint.call_with_http_info(**kwargs) - - def detach_policy_from_group( - self, - group_id, - policy_id, - **kwargs - ): - """detach policy from group # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.detach_policy_from_group(group_id, policy_id, async_req=True) - >>> result = thread.get() - - Args: - group_id (str): - policy_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['group_id'] = \ - group_id - kwargs['policy_id'] = \ - policy_id - return self.detach_policy_from_group_endpoint.call_with_http_info(**kwargs) - - def detach_policy_from_user( - self, - user_id, - policy_id, - **kwargs - ): - """detach policy from user # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.detach_policy_from_user(user_id, policy_id, async_req=True) - >>> result = thread.get() - - Args: - user_id (str): - policy_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['user_id'] = \ - user_id - kwargs['policy_id'] = \ - policy_id - return self.detach_policy_from_user_endpoint.call_with_http_info(**kwargs) - - def external_principal_login( - self, - **kwargs - ): - """perform a login using an external authenticator # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.external_principal_login(async_req=True) - >>> result = thread.get() - - - Keyword Args: - external_login_information (ExternalLoginInformation): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - AuthenticationToken - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - return self.external_principal_login_endpoint.call_with_http_info(**kwargs) - - def get_credentials( - self, - user_id, - access_key_id, - **kwargs - ): - """get credentials # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_credentials(user_id, access_key_id, async_req=True) - >>> result = thread.get() - - Args: - user_id (str): - access_key_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - Credentials - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['user_id'] = \ - user_id - kwargs['access_key_id'] = \ - access_key_id - return self.get_credentials_endpoint.call_with_http_info(**kwargs) - - def get_current_user( - self, - **kwargs - ): - """get current user # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_current_user(async_req=True) - >>> result = thread.get() - - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - CurrentUser - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - return self.get_current_user_endpoint.call_with_http_info(**kwargs) - - def get_external_principal( - self, - principal_id, - **kwargs - ): - """describe external principal by id # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_external_principal(principal_id, async_req=True) - >>> result = thread.get() - - Args: - principal_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - ExternalPrincipal - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['principal_id'] = \ - principal_id - return self.get_external_principal_endpoint.call_with_http_info(**kwargs) - - def get_group( - self, - group_id, - **kwargs - ): - """get group # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_group(group_id, async_req=True) - >>> result = thread.get() - - Args: - group_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - Group - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['group_id'] = \ - group_id - return self.get_group_endpoint.call_with_http_info(**kwargs) - - def get_group_acl( - self, - group_id, - **kwargs - ): - """get ACL of group # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_group_acl(group_id, async_req=True) - >>> result = thread.get() - - Args: - group_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - ACL - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['group_id'] = \ - group_id - return self.get_group_acl_endpoint.call_with_http_info(**kwargs) - - def get_policy( - self, - policy_id, - **kwargs - ): - """get policy # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_policy(policy_id, async_req=True) - >>> result = thread.get() - - Args: - policy_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - Policy - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['policy_id'] = \ - policy_id - return self.get_policy_endpoint.call_with_http_info(**kwargs) - - def get_user( - self, - user_id, - **kwargs - ): - """get user # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_user(user_id, async_req=True) - >>> result = thread.get() - - Args: - user_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - User - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['user_id'] = \ - user_id - return self.get_user_endpoint.call_with_http_info(**kwargs) - - def list_group_members( - self, - group_id, - **kwargs - ): - """list group members # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.list_group_members(group_id, async_req=True) - >>> result = thread.get() - - Args: - group_id (str): - - Keyword Args: - prefix (str): return items prefixed with this value. [optional] - after (str): return items after this value. [optional] - amount (int): how many items to return. [optional] if omitted the server will use the default value of 100 - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - UserList - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['group_id'] = \ - group_id - return self.list_group_members_endpoint.call_with_http_info(**kwargs) - - def list_group_policies( - self, - group_id, - **kwargs - ): - """list group policies # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.list_group_policies(group_id, async_req=True) - >>> result = thread.get() - - Args: - group_id (str): - - Keyword Args: - prefix (str): return items prefixed with this value. [optional] - after (str): return items after this value. [optional] - amount (int): how many items to return. [optional] if omitted the server will use the default value of 100 - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - PolicyList - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['group_id'] = \ - group_id - return self.list_group_policies_endpoint.call_with_http_info(**kwargs) - - def list_groups( - self, - **kwargs - ): - """list groups # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.list_groups(async_req=True) - >>> result = thread.get() - - - Keyword Args: - prefix (str): return items prefixed with this value. [optional] - after (str): return items after this value. [optional] - amount (int): how many items to return. [optional] if omitted the server will use the default value of 100 - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - GroupList - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - return self.list_groups_endpoint.call_with_http_info(**kwargs) - - def list_policies( - self, - **kwargs - ): - """list policies # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.list_policies(async_req=True) - >>> result = thread.get() - - - Keyword Args: - prefix (str): return items prefixed with this value. [optional] - after (str): return items after this value. [optional] - amount (int): how many items to return. [optional] if omitted the server will use the default value of 100 - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - PolicyList - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - return self.list_policies_endpoint.call_with_http_info(**kwargs) - - def list_user_credentials( - self, - user_id, - **kwargs - ): - """list user credentials # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.list_user_credentials(user_id, async_req=True) - >>> result = thread.get() - - Args: - user_id (str): - - Keyword Args: - prefix (str): return items prefixed with this value. [optional] - after (str): return items after this value. [optional] - amount (int): how many items to return. [optional] if omitted the server will use the default value of 100 - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - CredentialsList - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['user_id'] = \ - user_id - return self.list_user_credentials_endpoint.call_with_http_info(**kwargs) - - def list_user_external_principals( - self, - user_id, - **kwargs - ): - """list user external policies attached to a user # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.list_user_external_principals(user_id, async_req=True) - >>> result = thread.get() - - Args: - user_id (str): - - Keyword Args: - prefix (str): return items prefixed with this value. [optional] - after (str): return items after this value. [optional] - amount (int): how many items to return. [optional] if omitted the server will use the default value of 100 - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - ExternalPrincipalList - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['user_id'] = \ - user_id - return self.list_user_external_principals_endpoint.call_with_http_info(**kwargs) - - def list_user_groups( - self, - user_id, - **kwargs - ): - """list user groups # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.list_user_groups(user_id, async_req=True) - >>> result = thread.get() - - Args: - user_id (str): - - Keyword Args: - prefix (str): return items prefixed with this value. [optional] - after (str): return items after this value. [optional] - amount (int): how many items to return. [optional] if omitted the server will use the default value of 100 - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - GroupList - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['user_id'] = \ - user_id - return self.list_user_groups_endpoint.call_with_http_info(**kwargs) - - def list_user_policies( - self, - user_id, - **kwargs - ): - """list user policies # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.list_user_policies(user_id, async_req=True) - >>> result = thread.get() - - Args: - user_id (str): - - Keyword Args: - prefix (str): return items prefixed with this value. [optional] - after (str): return items after this value. [optional] - amount (int): how many items to return. [optional] if omitted the server will use the default value of 100 - effective (bool): will return all distinct policies attached to the user or any of its groups. [optional] if omitted the server will use the default value of False - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - PolicyList - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['user_id'] = \ - user_id - return self.list_user_policies_endpoint.call_with_http_info(**kwargs) - - def list_users( - self, - **kwargs - ): - """list users # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.list_users(async_req=True) - >>> result = thread.get() - - - Keyword Args: - prefix (str): return items prefixed with this value. [optional] - after (str): return items after this value. [optional] - amount (int): how many items to return. [optional] if omitted the server will use the default value of 100 - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - UserList - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - return self.list_users_endpoint.call_with_http_info(**kwargs) - - def login( - self, - **kwargs - ): - """perform a login # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.login(async_req=True) - >>> result = thread.get() - - - Keyword Args: - login_information (LoginInformation): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - AuthenticationToken - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - return self.login_endpoint.call_with_http_info(**kwargs) - - def set_group_acl( - self, - group_id, - acl, - **kwargs - ): - """set ACL of group # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.set_group_acl(group_id, acl, async_req=True) - >>> result = thread.get() - - Args: - group_id (str): - acl (ACL): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['group_id'] = \ - group_id - kwargs['acl'] = \ - acl - return self.set_group_acl_endpoint.call_with_http_info(**kwargs) - - def update_policy( - self, - policy_id, - policy, - **kwargs - ): - """update policy # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.update_policy(policy_id, policy, async_req=True) - >>> result = thread.get() - - Args: - policy_id (str): - policy (Policy): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - Policy - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['policy_id'] = \ - policy_id - kwargs['policy'] = \ - policy - return self.update_policy_endpoint.call_with_http_info(**kwargs) - diff --git a/clients/python-legacy/lakefs_client/api/branches_api.py b/clients/python-legacy/lakefs_client/api/branches_api.py deleted file mode 100644 index aa2a208efd5..00000000000 --- a/clients/python-legacy/lakefs_client/api/branches_api.py +++ /dev/null @@ -1,1172 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.api_client import ApiClient, Endpoint as _Endpoint -from lakefs_client.model_utils import ( # noqa: F401 - check_allowed_values, - check_validations, - date, - datetime, - file_type, - none_type, - validate_and_convert_types -) -from lakefs_client.model.branch_creation import BranchCreation -from lakefs_client.model.cherry_pick_creation import CherryPickCreation -from lakefs_client.model.commit import Commit -from lakefs_client.model.diff_list import DiffList -from lakefs_client.model.error import Error -from lakefs_client.model.ref import Ref -from lakefs_client.model.ref_list import RefList -from lakefs_client.model.reset_creation import ResetCreation -from lakefs_client.model.revert_creation import RevertCreation - - -class BranchesApi(object): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - self.cherry_pick_endpoint = _Endpoint( - settings={ - 'response_type': (Commit,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/branches/{branch}/cherry-pick', - 'operation_id': 'cherry_pick', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - 'branch', - 'cherry_pick_creation', - ], - 'required': [ - 'repository', - 'branch', - 'cherry_pick_creation', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - 'branch': - (str,), - 'cherry_pick_creation': - (CherryPickCreation,), - }, - 'attribute_map': { - 'repository': 'repository', - 'branch': 'branch', - }, - 'location_map': { - 'repository': 'path', - 'branch': 'path', - 'cherry_pick_creation': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.create_branch_endpoint = _Endpoint( - settings={ - 'response_type': (str,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/branches', - 'operation_id': 'create_branch', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - 'branch_creation', - ], - 'required': [ - 'repository', - 'branch_creation', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - 'branch_creation': - (BranchCreation,), - }, - 'attribute_map': { - 'repository': 'repository', - }, - 'location_map': { - 'repository': 'path', - 'branch_creation': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'text/html', - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.delete_branch_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/branches/{branch}', - 'operation_id': 'delete_branch', - 'http_method': 'DELETE', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - 'branch', - 'force', - ], - 'required': [ - 'repository', - 'branch', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - 'branch': - (str,), - 'force': - (bool,), - }, - 'attribute_map': { - 'repository': 'repository', - 'branch': 'branch', - 'force': 'force', - }, - 'location_map': { - 'repository': 'path', - 'branch': 'path', - 'force': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.diff_branch_endpoint = _Endpoint( - settings={ - 'response_type': (DiffList,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/branches/{branch}/diff', - 'operation_id': 'diff_branch', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - 'branch', - 'after', - 'amount', - 'prefix', - 'delimiter', - ], - 'required': [ - 'repository', - 'branch', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'amount', - ] - }, - root_map={ - 'validations': { - ('amount',): { - - 'inclusive_maximum': 1000, - 'inclusive_minimum': -1, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - 'branch': - (str,), - 'after': - (str,), - 'amount': - (int,), - 'prefix': - (str,), - 'delimiter': - (str,), - }, - 'attribute_map': { - 'repository': 'repository', - 'branch': 'branch', - 'after': 'after', - 'amount': 'amount', - 'prefix': 'prefix', - 'delimiter': 'delimiter', - }, - 'location_map': { - 'repository': 'path', - 'branch': 'path', - 'after': 'query', - 'amount': 'query', - 'prefix': 'query', - 'delimiter': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_branch_endpoint = _Endpoint( - settings={ - 'response_type': (Ref,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/branches/{branch}', - 'operation_id': 'get_branch', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - 'branch', - ], - 'required': [ - 'repository', - 'branch', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - 'branch': - (str,), - }, - 'attribute_map': { - 'repository': 'repository', - 'branch': 'branch', - }, - 'location_map': { - 'repository': 'path', - 'branch': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.list_branches_endpoint = _Endpoint( - settings={ - 'response_type': (RefList,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/branches', - 'operation_id': 'list_branches', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - 'prefix', - 'after', - 'amount', - ], - 'required': [ - 'repository', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'amount', - ] - }, - root_map={ - 'validations': { - ('amount',): { - - 'inclusive_maximum': 1000, - 'inclusive_minimum': -1, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - 'prefix': - (str,), - 'after': - (str,), - 'amount': - (int,), - }, - 'attribute_map': { - 'repository': 'repository', - 'prefix': 'prefix', - 'after': 'after', - 'amount': 'amount', - }, - 'location_map': { - 'repository': 'path', - 'prefix': 'query', - 'after': 'query', - 'amount': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.reset_branch_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/branches/{branch}', - 'operation_id': 'reset_branch', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - 'branch', - 'reset_creation', - ], - 'required': [ - 'repository', - 'branch', - 'reset_creation', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - 'branch': - (str,), - 'reset_creation': - (ResetCreation,), - }, - 'attribute_map': { - 'repository': 'repository', - 'branch': 'branch', - }, - 'location_map': { - 'repository': 'path', - 'branch': 'path', - 'reset_creation': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.revert_branch_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/branches/{branch}/revert', - 'operation_id': 'revert_branch', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - 'branch', - 'revert_creation', - ], - 'required': [ - 'repository', - 'branch', - 'revert_creation', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - 'branch': - (str,), - 'revert_creation': - (RevertCreation,), - }, - 'attribute_map': { - 'repository': 'repository', - 'branch': 'branch', - }, - 'location_map': { - 'repository': 'path', - 'branch': 'path', - 'revert_creation': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - - def cherry_pick( - self, - repository, - branch, - cherry_pick_creation, - **kwargs - ): - """Replay the changes from the given commit on the branch # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.cherry_pick(repository, branch, cherry_pick_creation, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - branch (str): - cherry_pick_creation (CherryPickCreation): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - Commit - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - kwargs['branch'] = \ - branch - kwargs['cherry_pick_creation'] = \ - cherry_pick_creation - return self.cherry_pick_endpoint.call_with_http_info(**kwargs) - - def create_branch( - self, - repository, - branch_creation, - **kwargs - ): - """create branch # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.create_branch(repository, branch_creation, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - branch_creation (BranchCreation): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - str - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - kwargs['branch_creation'] = \ - branch_creation - return self.create_branch_endpoint.call_with_http_info(**kwargs) - - def delete_branch( - self, - repository, - branch, - **kwargs - ): - """delete branch # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.delete_branch(repository, branch, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - branch (str): - - Keyword Args: - force (bool): [optional] if omitted the server will use the default value of False - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - kwargs['branch'] = \ - branch - return self.delete_branch_endpoint.call_with_http_info(**kwargs) - - def diff_branch( - self, - repository, - branch, - **kwargs - ): - """diff branch # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.diff_branch(repository, branch, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - branch (str): - - Keyword Args: - after (str): return items after this value. [optional] - amount (int): how many items to return. [optional] if omitted the server will use the default value of 100 - prefix (str): return items prefixed with this value. [optional] - delimiter (str): delimiter used to group common prefixes by. [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - DiffList - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - kwargs['branch'] = \ - branch - return self.diff_branch_endpoint.call_with_http_info(**kwargs) - - def get_branch( - self, - repository, - branch, - **kwargs - ): - """get branch # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_branch(repository, branch, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - branch (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - Ref - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - kwargs['branch'] = \ - branch - return self.get_branch_endpoint.call_with_http_info(**kwargs) - - def list_branches( - self, - repository, - **kwargs - ): - """list branches # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.list_branches(repository, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - - Keyword Args: - prefix (str): return items prefixed with this value. [optional] - after (str): return items after this value. [optional] - amount (int): how many items to return. [optional] if omitted the server will use the default value of 100 - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - RefList - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - return self.list_branches_endpoint.call_with_http_info(**kwargs) - - def reset_branch( - self, - repository, - branch, - reset_creation, - **kwargs - ): - """reset branch # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.reset_branch(repository, branch, reset_creation, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - branch (str): - reset_creation (ResetCreation): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - kwargs['branch'] = \ - branch - kwargs['reset_creation'] = \ - reset_creation - return self.reset_branch_endpoint.call_with_http_info(**kwargs) - - def revert_branch( - self, - repository, - branch, - revert_creation, - **kwargs - ): - """revert # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.revert_branch(repository, branch, revert_creation, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - branch (str): - revert_creation (RevertCreation): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - kwargs['branch'] = \ - branch - kwargs['revert_creation'] = \ - revert_creation - return self.revert_branch_endpoint.call_with_http_info(**kwargs) - diff --git a/clients/python-legacy/lakefs_client/api/commits_api.py b/clients/python-legacy/lakefs_client/api/commits_api.py deleted file mode 100644 index 25012848d0b..00000000000 --- a/clients/python-legacy/lakefs_client/api/commits_api.py +++ /dev/null @@ -1,318 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.api_client import ApiClient, Endpoint as _Endpoint -from lakefs_client.model_utils import ( # noqa: F401 - check_allowed_values, - check_validations, - date, - datetime, - file_type, - none_type, - validate_and_convert_types -) -from lakefs_client.model.commit import Commit -from lakefs_client.model.commit_creation import CommitCreation -from lakefs_client.model.error import Error - - -class CommitsApi(object): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - self.commit_endpoint = _Endpoint( - settings={ - 'response_type': (Commit,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/branches/{branch}/commits', - 'operation_id': 'commit', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - 'branch', - 'commit_creation', - 'source_metarange', - ], - 'required': [ - 'repository', - 'branch', - 'commit_creation', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - 'branch': - (str,), - 'commit_creation': - (CommitCreation,), - 'source_metarange': - (str,), - }, - 'attribute_map': { - 'repository': 'repository', - 'branch': 'branch', - 'source_metarange': 'source_metarange', - }, - 'location_map': { - 'repository': 'path', - 'branch': 'path', - 'commit_creation': 'body', - 'source_metarange': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.get_commit_endpoint = _Endpoint( - settings={ - 'response_type': (Commit,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/commits/{commitId}', - 'operation_id': 'get_commit', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - 'commit_id', - ], - 'required': [ - 'repository', - 'commit_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - 'commit_id': - (str,), - }, - 'attribute_map': { - 'repository': 'repository', - 'commit_id': 'commitId', - }, - 'location_map': { - 'repository': 'path', - 'commit_id': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - - def commit( - self, - repository, - branch, - commit_creation, - **kwargs - ): - """create commit # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.commit(repository, branch, commit_creation, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - branch (str): - commit_creation (CommitCreation): - - Keyword Args: - source_metarange (str): The source metarange to commit. Branch must not have uncommitted changes.. [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - Commit - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - kwargs['branch'] = \ - branch - kwargs['commit_creation'] = \ - commit_creation - return self.commit_endpoint.call_with_http_info(**kwargs) - - def get_commit( - self, - repository, - commit_id, - **kwargs - ): - """get commit # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_commit(repository, commit_id, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - commit_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - Commit - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - kwargs['commit_id'] = \ - commit_id - return self.get_commit_endpoint.call_with_http_info(**kwargs) - diff --git a/clients/python-legacy/lakefs_client/api/config_api.py b/clients/python-legacy/lakefs_client/api/config_api.py deleted file mode 100644 index 5fd9bfc6eaa..00000000000 --- a/clients/python-legacy/lakefs_client/api/config_api.py +++ /dev/null @@ -1,149 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.api_client import ApiClient, Endpoint as _Endpoint -from lakefs_client.model_utils import ( # noqa: F401 - check_allowed_values, - check_validations, - date, - datetime, - file_type, - none_type, - validate_and_convert_types -) -from lakefs_client.model.config import Config -from lakefs_client.model.error import Error - - -class ConfigApi(object): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - self.get_config_endpoint = _Endpoint( - settings={ - 'response_type': (Config,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/config', - 'operation_id': 'get_config', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - }, - 'attribute_map': { - }, - 'location_map': { - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - - def get_config( - self, - **kwargs - ): - """get_config # noqa: E501 - - retrieve lakeFS configuration # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_config(async_req=True) - >>> result = thread.get() - - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - Config - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - return self.get_config_endpoint.call_with_http_info(**kwargs) - diff --git a/clients/python-legacy/lakefs_client/api/experimental_api.py b/clients/python-legacy/lakefs_client/api/experimental_api.py deleted file mode 100644 index 30d3d94f30c..00000000000 --- a/clients/python-legacy/lakefs_client/api/experimental_api.py +++ /dev/null @@ -1,2262 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.api_client import ApiClient, Endpoint as _Endpoint -from lakefs_client.model_utils import ( # noqa: F401 - check_allowed_values, - check_validations, - date, - datetime, - file_type, - none_type, - validate_and_convert_types -) -from lakefs_client.model.abort_presign_multipart_upload import AbortPresignMultipartUpload -from lakefs_client.model.authentication_token import AuthenticationToken -from lakefs_client.model.complete_presign_multipart_upload import CompletePresignMultipartUpload -from lakefs_client.model.error import Error -from lakefs_client.model.external_login_information import ExternalLoginInformation -from lakefs_client.model.external_principal import ExternalPrincipal -from lakefs_client.model.external_principal_creation import ExternalPrincipalCreation -from lakefs_client.model.external_principal_list import ExternalPrincipalList -from lakefs_client.model.merge_result import MergeResult -from lakefs_client.model.object_stats import ObjectStats -from lakefs_client.model.presign_multipart_upload import PresignMultipartUpload -from lakefs_client.model.pull_request import PullRequest -from lakefs_client.model.pull_request_basic import PullRequestBasic -from lakefs_client.model.pull_request_creation import PullRequestCreation -from lakefs_client.model.pull_request_creation_response import PullRequestCreationResponse -from lakefs_client.model.pull_requests_list import PullRequestsList -from lakefs_client.model.staging_location import StagingLocation -from lakefs_client.model.sts_auth_request import StsAuthRequest -from lakefs_client.model.update_object_user_metadata import UpdateObjectUserMetadata - - -class ExperimentalApi(object): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - self.abort_presign_multipart_upload_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/branches/{branch}/staging/pmpu/{uploadId}', - 'operation_id': 'abort_presign_multipart_upload', - 'http_method': 'DELETE', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - 'branch', - 'upload_id', - 'path', - 'abort_presign_multipart_upload', - ], - 'required': [ - 'repository', - 'branch', - 'upload_id', - 'path', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - 'branch': - (str,), - 'upload_id': - (str,), - 'path': - (str,), - 'abort_presign_multipart_upload': - (AbortPresignMultipartUpload,), - }, - 'attribute_map': { - 'repository': 'repository', - 'branch': 'branch', - 'upload_id': 'uploadId', - 'path': 'path', - }, - 'location_map': { - 'repository': 'path', - 'branch': 'path', - 'upload_id': 'path', - 'path': 'query', - 'abort_presign_multipart_upload': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.complete_presign_multipart_upload_endpoint = _Endpoint( - settings={ - 'response_type': (ObjectStats,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/branches/{branch}/staging/pmpu/{uploadId}', - 'operation_id': 'complete_presign_multipart_upload', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - 'branch', - 'upload_id', - 'path', - 'complete_presign_multipart_upload', - ], - 'required': [ - 'repository', - 'branch', - 'upload_id', - 'path', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - 'branch': - (str,), - 'upload_id': - (str,), - 'path': - (str,), - 'complete_presign_multipart_upload': - (CompletePresignMultipartUpload,), - }, - 'attribute_map': { - 'repository': 'repository', - 'branch': 'branch', - 'upload_id': 'uploadId', - 'path': 'path', - }, - 'location_map': { - 'repository': 'path', - 'branch': 'path', - 'upload_id': 'path', - 'path': 'query', - 'complete_presign_multipart_upload': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.create_presign_multipart_upload_endpoint = _Endpoint( - settings={ - 'response_type': (PresignMultipartUpload,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/branches/{branch}/staging/pmpu', - 'operation_id': 'create_presign_multipart_upload', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - 'branch', - 'path', - 'parts', - ], - 'required': [ - 'repository', - 'branch', - 'path', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - 'branch': - (str,), - 'path': - (str,), - 'parts': - (int,), - }, - 'attribute_map': { - 'repository': 'repository', - 'branch': 'branch', - 'path': 'path', - 'parts': 'parts', - }, - 'location_map': { - 'repository': 'path', - 'branch': 'path', - 'path': 'query', - 'parts': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.create_pull_request_endpoint = _Endpoint( - settings={ - 'response_type': (PullRequestCreationResponse,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/pulls', - 'operation_id': 'create_pull_request', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - 'pull_request_creation', - ], - 'required': [ - 'repository', - 'pull_request_creation', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - 'pull_request_creation': - (PullRequestCreation,), - }, - 'attribute_map': { - 'repository': 'repository', - }, - 'location_map': { - 'repository': 'path', - 'pull_request_creation': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.create_user_external_principal_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/auth/users/{userId}/external/principals', - 'operation_id': 'create_user_external_principal', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'user_id', - 'principal_id', - 'external_principal_creation', - ], - 'required': [ - 'user_id', - 'principal_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'user_id': - (str,), - 'principal_id': - (str,), - 'external_principal_creation': - (ExternalPrincipalCreation,), - }, - 'attribute_map': { - 'user_id': 'userId', - 'principal_id': 'principalId', - }, - 'location_map': { - 'user_id': 'path', - 'principal_id': 'query', - 'external_principal_creation': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.delete_user_external_principal_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/auth/users/{userId}/external/principals', - 'operation_id': 'delete_user_external_principal', - 'http_method': 'DELETE', - 'servers': None, - }, - params_map={ - 'all': [ - 'user_id', - 'principal_id', - ], - 'required': [ - 'user_id', - 'principal_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'user_id': - (str,), - 'principal_id': - (str,), - }, - 'attribute_map': { - 'user_id': 'userId', - 'principal_id': 'principalId', - }, - 'location_map': { - 'user_id': 'path', - 'principal_id': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.external_principal_login_endpoint = _Endpoint( - settings={ - 'response_type': (AuthenticationToken,), - 'auth': [], - 'endpoint_path': '/auth/external/principal/login', - 'operation_id': 'external_principal_login', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'external_login_information', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'external_login_information': - (ExternalLoginInformation,), - }, - 'attribute_map': { - }, - 'location_map': { - 'external_login_information': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.get_external_principal_endpoint = _Endpoint( - settings={ - 'response_type': (ExternalPrincipal,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/auth/external/principals', - 'operation_id': 'get_external_principal', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'principal_id', - ], - 'required': [ - 'principal_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'principal_id': - (str,), - }, - 'attribute_map': { - 'principal_id': 'principalId', - }, - 'location_map': { - 'principal_id': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_pull_request_endpoint = _Endpoint( - settings={ - 'response_type': (PullRequest,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/pulls/{pull_request}', - 'operation_id': 'get_pull_request', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - 'pull_request', - ], - 'required': [ - 'repository', - 'pull_request', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - 'pull_request': - (str,), - }, - 'attribute_map': { - 'repository': 'repository', - 'pull_request': 'pull_request', - }, - 'location_map': { - 'repository': 'path', - 'pull_request': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.hard_reset_branch_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/branches/{branch}/hard_reset', - 'operation_id': 'hard_reset_branch', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - 'branch', - 'ref', - 'force', - ], - 'required': [ - 'repository', - 'branch', - 'ref', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - 'branch': - (str,), - 'ref': - (str,), - 'force': - (bool,), - }, - 'attribute_map': { - 'repository': 'repository', - 'branch': 'branch', - 'ref': 'ref', - 'force': 'force', - }, - 'location_map': { - 'repository': 'path', - 'branch': 'path', - 'ref': 'query', - 'force': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.list_pull_requests_endpoint = _Endpoint( - settings={ - 'response_type': (PullRequestsList,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/pulls', - 'operation_id': 'list_pull_requests', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - 'prefix', - 'after', - 'amount', - 'status', - ], - 'required': [ - 'repository', - ], - 'nullable': [ - ], - 'enum': [ - 'status', - ], - 'validation': [ - 'amount', - ] - }, - root_map={ - 'validations': { - ('amount',): { - - 'inclusive_maximum': 1000, - 'inclusive_minimum': -1, - }, - }, - 'allowed_values': { - ('status',): { - - "OPEN": "open", - "CLOSED": "closed", - "ALL": "all" - }, - }, - 'openapi_types': { - 'repository': - (str,), - 'prefix': - (str,), - 'after': - (str,), - 'amount': - (int,), - 'status': - (str,), - }, - 'attribute_map': { - 'repository': 'repository', - 'prefix': 'prefix', - 'after': 'after', - 'amount': 'amount', - 'status': 'status', - }, - 'location_map': { - 'repository': 'path', - 'prefix': 'query', - 'after': 'query', - 'amount': 'query', - 'status': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.list_user_external_principals_endpoint = _Endpoint( - settings={ - 'response_type': (ExternalPrincipalList,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/auth/users/{userId}/external/principals/ls', - 'operation_id': 'list_user_external_principals', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'user_id', - 'prefix', - 'after', - 'amount', - ], - 'required': [ - 'user_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'amount', - ] - }, - root_map={ - 'validations': { - ('amount',): { - - 'inclusive_maximum': 1000, - 'inclusive_minimum': -1, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'user_id': - (str,), - 'prefix': - (str,), - 'after': - (str,), - 'amount': - (int,), - }, - 'attribute_map': { - 'user_id': 'userId', - 'prefix': 'prefix', - 'after': 'after', - 'amount': 'amount', - }, - 'location_map': { - 'user_id': 'path', - 'prefix': 'query', - 'after': 'query', - 'amount': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.merge_pull_request_endpoint = _Endpoint( - settings={ - 'response_type': (MergeResult,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/pulls/{pull_request}/merge', - 'operation_id': 'merge_pull_request', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - 'pull_request', - ], - 'required': [ - 'repository', - 'pull_request', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - 'pull_request': - (str,), - }, - 'attribute_map': { - 'repository': 'repository', - 'pull_request': 'pull_request', - }, - 'location_map': { - 'repository': 'path', - 'pull_request': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.sts_login_endpoint = _Endpoint( - settings={ - 'response_type': (AuthenticationToken,), - 'auth': [], - 'endpoint_path': '/sts/login', - 'operation_id': 'sts_login', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'sts_auth_request', - ], - 'required': [ - 'sts_auth_request', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'sts_auth_request': - (StsAuthRequest,), - }, - 'attribute_map': { - }, - 'location_map': { - 'sts_auth_request': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.update_object_user_metadata_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/branches/{branch}/objects/stat/user_metadata', - 'operation_id': 'update_object_user_metadata', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - 'branch', - 'path', - 'update_object_user_metadata', - ], - 'required': [ - 'repository', - 'branch', - 'path', - 'update_object_user_metadata', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - 'branch': - (str,), - 'path': - (str,), - 'update_object_user_metadata': - (UpdateObjectUserMetadata,), - }, - 'attribute_map': { - 'repository': 'repository', - 'branch': 'branch', - 'path': 'path', - }, - 'location_map': { - 'repository': 'path', - 'branch': 'path', - 'path': 'query', - 'update_object_user_metadata': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.update_pull_request_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/pulls/{pull_request}', - 'operation_id': 'update_pull_request', - 'http_method': 'PATCH', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - 'pull_request', - 'pull_request_basic', - ], - 'required': [ - 'repository', - 'pull_request', - 'pull_request_basic', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - 'pull_request': - (str,), - 'pull_request_basic': - (PullRequestBasic,), - }, - 'attribute_map': { - 'repository': 'repository', - 'pull_request': 'pull_request', - }, - 'location_map': { - 'repository': 'path', - 'pull_request': 'path', - 'pull_request_basic': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - - def abort_presign_multipart_upload( - self, - repository, - branch, - upload_id, - path, - **kwargs - ): - """Abort a presign multipart upload # noqa: E501 - - Aborts a presign multipart upload. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.abort_presign_multipart_upload(repository, branch, upload_id, path, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - branch (str): - upload_id (str): - path (str): relative to the branch - - Keyword Args: - abort_presign_multipart_upload (AbortPresignMultipartUpload): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - kwargs['branch'] = \ - branch - kwargs['upload_id'] = \ - upload_id - kwargs['path'] = \ - path - return self.abort_presign_multipart_upload_endpoint.call_with_http_info(**kwargs) - - def complete_presign_multipart_upload( - self, - repository, - branch, - upload_id, - path, - **kwargs - ): - """Complete a presign multipart upload request # noqa: E501 - - Completes a presign multipart upload by assembling the uploaded parts. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.complete_presign_multipart_upload(repository, branch, upload_id, path, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - branch (str): - upload_id (str): - path (str): relative to the branch - - Keyword Args: - complete_presign_multipart_upload (CompletePresignMultipartUpload): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - ObjectStats - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - kwargs['branch'] = \ - branch - kwargs['upload_id'] = \ - upload_id - kwargs['path'] = \ - path - return self.complete_presign_multipart_upload_endpoint.call_with_http_info(**kwargs) - - def create_presign_multipart_upload( - self, - repository, - branch, - path, - **kwargs - ): - """Initiate a multipart upload # noqa: E501 - - Initiates a multipart upload and returns an upload ID with presigned URLs for each part (optional). Part numbers starts with 1. Each part except the last one has minimum size depends on the underlying blockstore implementation. For example working with S3 blockstore, minimum size is 5MB (excluding the last part). # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.create_presign_multipart_upload(repository, branch, path, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - branch (str): - path (str): relative to the branch - - Keyword Args: - parts (int): number of presigned URL parts required to upload. [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - PresignMultipartUpload - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - kwargs['branch'] = \ - branch - kwargs['path'] = \ - path - return self.create_presign_multipart_upload_endpoint.call_with_http_info(**kwargs) - - def create_pull_request( - self, - repository, - pull_request_creation, - **kwargs - ): - """create pull request # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.create_pull_request(repository, pull_request_creation, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - pull_request_creation (PullRequestCreation): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - PullRequestCreationResponse - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - kwargs['pull_request_creation'] = \ - pull_request_creation - return self.create_pull_request_endpoint.call_with_http_info(**kwargs) - - def create_user_external_principal( - self, - user_id, - principal_id, - **kwargs - ): - """attach external principal to user # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.create_user_external_principal(user_id, principal_id, async_req=True) - >>> result = thread.get() - - Args: - user_id (str): - principal_id (str): - - Keyword Args: - external_principal_creation (ExternalPrincipalCreation): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['user_id'] = \ - user_id - kwargs['principal_id'] = \ - principal_id - return self.create_user_external_principal_endpoint.call_with_http_info(**kwargs) - - def delete_user_external_principal( - self, - user_id, - principal_id, - **kwargs - ): - """delete external principal from user # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.delete_user_external_principal(user_id, principal_id, async_req=True) - >>> result = thread.get() - - Args: - user_id (str): - principal_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['user_id'] = \ - user_id - kwargs['principal_id'] = \ - principal_id - return self.delete_user_external_principal_endpoint.call_with_http_info(**kwargs) - - def external_principal_login( - self, - **kwargs - ): - """perform a login using an external authenticator # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.external_principal_login(async_req=True) - >>> result = thread.get() - - - Keyword Args: - external_login_information (ExternalLoginInformation): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - AuthenticationToken - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - return self.external_principal_login_endpoint.call_with_http_info(**kwargs) - - def get_external_principal( - self, - principal_id, - **kwargs - ): - """describe external principal by id # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_external_principal(principal_id, async_req=True) - >>> result = thread.get() - - Args: - principal_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - ExternalPrincipal - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['principal_id'] = \ - principal_id - return self.get_external_principal_endpoint.call_with_http_info(**kwargs) - - def get_pull_request( - self, - repository, - pull_request, - **kwargs - ): - """get pull request # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_pull_request(repository, pull_request, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - pull_request (str): pull request id - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - PullRequest - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - kwargs['pull_request'] = \ - pull_request - return self.get_pull_request_endpoint.call_with_http_info(**kwargs) - - def hard_reset_branch( - self, - repository, - branch, - ref, - **kwargs - ): - """hard reset branch # noqa: E501 - - Relocate branch to refer to ref. Branch must not contain uncommitted data. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.hard_reset_branch(repository, branch, ref, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - branch (str): - ref (str): After reset, branch will point at this reference. - - Keyword Args: - force (bool): [optional] if omitted the server will use the default value of False - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - kwargs['branch'] = \ - branch - kwargs['ref'] = \ - ref - return self.hard_reset_branch_endpoint.call_with_http_info(**kwargs) - - def list_pull_requests( - self, - repository, - **kwargs - ): - """list pull requests # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.list_pull_requests(repository, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - - Keyword Args: - prefix (str): return items prefixed with this value. [optional] - after (str): return items after this value. [optional] - amount (int): how many items to return. [optional] if omitted the server will use the default value of 100 - status (str): [optional] if omitted the server will use the default value of "all" - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - PullRequestsList - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - return self.list_pull_requests_endpoint.call_with_http_info(**kwargs) - - def list_user_external_principals( - self, - user_id, - **kwargs - ): - """list user external policies attached to a user # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.list_user_external_principals(user_id, async_req=True) - >>> result = thread.get() - - Args: - user_id (str): - - Keyword Args: - prefix (str): return items prefixed with this value. [optional] - after (str): return items after this value. [optional] - amount (int): how many items to return. [optional] if omitted the server will use the default value of 100 - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - ExternalPrincipalList - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['user_id'] = \ - user_id - return self.list_user_external_principals_endpoint.call_with_http_info(**kwargs) - - def merge_pull_request( - self, - repository, - pull_request, - **kwargs - ): - """merge pull request # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.merge_pull_request(repository, pull_request, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - pull_request (str): pull request id - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - MergeResult - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - kwargs['pull_request'] = \ - pull_request - return self.merge_pull_request_endpoint.call_with_http_info(**kwargs) - - def sts_login( - self, - sts_auth_request, - **kwargs - ): - """perform a login with STS # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.sts_login(sts_auth_request, async_req=True) - >>> result = thread.get() - - Args: - sts_auth_request (StsAuthRequest): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - AuthenticationToken - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['sts_auth_request'] = \ - sts_auth_request - return self.sts_login_endpoint.call_with_http_info(**kwargs) - - def update_object_user_metadata( - self, - repository, - branch, - path, - update_object_user_metadata, - **kwargs - ): - """rewrite (all) object metadata # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.update_object_user_metadata(repository, branch, path, update_object_user_metadata, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - branch (str): branch to update - path (str): path to object relative to the branch - update_object_user_metadata (UpdateObjectUserMetadata): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - kwargs['branch'] = \ - branch - kwargs['path'] = \ - path - kwargs['update_object_user_metadata'] = \ - update_object_user_metadata - return self.update_object_user_metadata_endpoint.call_with_http_info(**kwargs) - - def update_pull_request( - self, - repository, - pull_request, - pull_request_basic, - **kwargs - ): - """update pull request # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.update_pull_request(repository, pull_request, pull_request_basic, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - pull_request (str): pull request id - pull_request_basic (PullRequestBasic): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - kwargs['pull_request'] = \ - pull_request - kwargs['pull_request_basic'] = \ - pull_request_basic - return self.update_pull_request_endpoint.call_with_http_info(**kwargs) - diff --git a/clients/python-legacy/lakefs_client/api/external_api.py b/clients/python-legacy/lakefs_client/api/external_api.py deleted file mode 100644 index fe4328a3570..00000000000 --- a/clients/python-legacy/lakefs_client/api/external_api.py +++ /dev/null @@ -1,684 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.api_client import ApiClient, Endpoint as _Endpoint -from lakefs_client.model_utils import ( # noqa: F401 - check_allowed_values, - check_validations, - date, - datetime, - file_type, - none_type, - validate_and_convert_types -) -from lakefs_client.model.authentication_token import AuthenticationToken -from lakefs_client.model.error import Error -from lakefs_client.model.external_login_information import ExternalLoginInformation -from lakefs_client.model.external_principal import ExternalPrincipal -from lakefs_client.model.external_principal_creation import ExternalPrincipalCreation -from lakefs_client.model.external_principal_list import ExternalPrincipalList - - -class ExternalApi(object): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - self.create_user_external_principal_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/auth/users/{userId}/external/principals', - 'operation_id': 'create_user_external_principal', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'user_id', - 'principal_id', - 'external_principal_creation', - ], - 'required': [ - 'user_id', - 'principal_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'user_id': - (str,), - 'principal_id': - (str,), - 'external_principal_creation': - (ExternalPrincipalCreation,), - }, - 'attribute_map': { - 'user_id': 'userId', - 'principal_id': 'principalId', - }, - 'location_map': { - 'user_id': 'path', - 'principal_id': 'query', - 'external_principal_creation': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.delete_user_external_principal_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/auth/users/{userId}/external/principals', - 'operation_id': 'delete_user_external_principal', - 'http_method': 'DELETE', - 'servers': None, - }, - params_map={ - 'all': [ - 'user_id', - 'principal_id', - ], - 'required': [ - 'user_id', - 'principal_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'user_id': - (str,), - 'principal_id': - (str,), - }, - 'attribute_map': { - 'user_id': 'userId', - 'principal_id': 'principalId', - }, - 'location_map': { - 'user_id': 'path', - 'principal_id': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.external_principal_login_endpoint = _Endpoint( - settings={ - 'response_type': (AuthenticationToken,), - 'auth': [], - 'endpoint_path': '/auth/external/principal/login', - 'operation_id': 'external_principal_login', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'external_login_information', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'external_login_information': - (ExternalLoginInformation,), - }, - 'attribute_map': { - }, - 'location_map': { - 'external_login_information': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.get_external_principal_endpoint = _Endpoint( - settings={ - 'response_type': (ExternalPrincipal,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/auth/external/principals', - 'operation_id': 'get_external_principal', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'principal_id', - ], - 'required': [ - 'principal_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'principal_id': - (str,), - }, - 'attribute_map': { - 'principal_id': 'principalId', - }, - 'location_map': { - 'principal_id': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.list_user_external_principals_endpoint = _Endpoint( - settings={ - 'response_type': (ExternalPrincipalList,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/auth/users/{userId}/external/principals/ls', - 'operation_id': 'list_user_external_principals', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'user_id', - 'prefix', - 'after', - 'amount', - ], - 'required': [ - 'user_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'amount', - ] - }, - root_map={ - 'validations': { - ('amount',): { - - 'inclusive_maximum': 1000, - 'inclusive_minimum': -1, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'user_id': - (str,), - 'prefix': - (str,), - 'after': - (str,), - 'amount': - (int,), - }, - 'attribute_map': { - 'user_id': 'userId', - 'prefix': 'prefix', - 'after': 'after', - 'amount': 'amount', - }, - 'location_map': { - 'user_id': 'path', - 'prefix': 'query', - 'after': 'query', - 'amount': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - - def create_user_external_principal( - self, - user_id, - principal_id, - **kwargs - ): - """attach external principal to user # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.create_user_external_principal(user_id, principal_id, async_req=True) - >>> result = thread.get() - - Args: - user_id (str): - principal_id (str): - - Keyword Args: - external_principal_creation (ExternalPrincipalCreation): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['user_id'] = \ - user_id - kwargs['principal_id'] = \ - principal_id - return self.create_user_external_principal_endpoint.call_with_http_info(**kwargs) - - def delete_user_external_principal( - self, - user_id, - principal_id, - **kwargs - ): - """delete external principal from user # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.delete_user_external_principal(user_id, principal_id, async_req=True) - >>> result = thread.get() - - Args: - user_id (str): - principal_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['user_id'] = \ - user_id - kwargs['principal_id'] = \ - principal_id - return self.delete_user_external_principal_endpoint.call_with_http_info(**kwargs) - - def external_principal_login( - self, - **kwargs - ): - """perform a login using an external authenticator # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.external_principal_login(async_req=True) - >>> result = thread.get() - - - Keyword Args: - external_login_information (ExternalLoginInformation): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - AuthenticationToken - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - return self.external_principal_login_endpoint.call_with_http_info(**kwargs) - - def get_external_principal( - self, - principal_id, - **kwargs - ): - """describe external principal by id # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_external_principal(principal_id, async_req=True) - >>> result = thread.get() - - Args: - principal_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - ExternalPrincipal - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['principal_id'] = \ - principal_id - return self.get_external_principal_endpoint.call_with_http_info(**kwargs) - - def list_user_external_principals( - self, - user_id, - **kwargs - ): - """list user external policies attached to a user # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.list_user_external_principals(user_id, async_req=True) - >>> result = thread.get() - - Args: - user_id (str): - - Keyword Args: - prefix (str): return items prefixed with this value. [optional] - after (str): return items after this value. [optional] - amount (int): how many items to return. [optional] if omitted the server will use the default value of 100 - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - ExternalPrincipalList - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['user_id'] = \ - user_id - return self.list_user_external_principals_endpoint.call_with_http_info(**kwargs) - diff --git a/clients/python-legacy/lakefs_client/api/health_check_api.py b/clients/python-legacy/lakefs_client/api/health_check_api.py deleted file mode 100644 index 0847714e320..00000000000 --- a/clients/python-legacy/lakefs_client/api/health_check_api.py +++ /dev/null @@ -1,139 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.api_client import ApiClient, Endpoint as _Endpoint -from lakefs_client.model_utils import ( # noqa: F401 - check_allowed_values, - check_validations, - date, - datetime, - file_type, - none_type, - validate_and_convert_types -) - - -class HealthCheckApi(object): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - self.health_check_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [], - 'endpoint_path': '/healthcheck', - 'operation_id': 'health_check', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - }, - 'attribute_map': { - }, - 'location_map': { - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [], - 'content_type': [], - }, - api_client=api_client - ) - - def health_check( - self, - **kwargs - ): - """health_check # noqa: E501 - - check that the API server is up and running # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.health_check(async_req=True) - >>> result = thread.get() - - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - return self.health_check_endpoint.call_with_http_info(**kwargs) - diff --git a/clients/python-legacy/lakefs_client/api/import_api.py b/clients/python-legacy/lakefs_client/api/import_api.py deleted file mode 100644 index e53cc50f152..00000000000 --- a/clients/python-legacy/lakefs_client/api/import_api.py +++ /dev/null @@ -1,463 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.api_client import ApiClient, Endpoint as _Endpoint -from lakefs_client.model_utils import ( # noqa: F401 - check_allowed_values, - check_validations, - date, - datetime, - file_type, - none_type, - validate_and_convert_types -) -from lakefs_client.model.error import Error -from lakefs_client.model.import_creation import ImportCreation -from lakefs_client.model.import_creation_response import ImportCreationResponse -from lakefs_client.model.import_status import ImportStatus - - -class ImportApi(object): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - self.import_cancel_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/branches/{branch}/import', - 'operation_id': 'import_cancel', - 'http_method': 'DELETE', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - 'branch', - 'id', - ], - 'required': [ - 'repository', - 'branch', - 'id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - 'branch': - (str,), - 'id': - (str,), - }, - 'attribute_map': { - 'repository': 'repository', - 'branch': 'branch', - 'id': 'id', - }, - 'location_map': { - 'repository': 'path', - 'branch': 'path', - 'id': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.import_start_endpoint = _Endpoint( - settings={ - 'response_type': (ImportCreationResponse,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/branches/{branch}/import', - 'operation_id': 'import_start', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - 'branch', - 'import_creation', - ], - 'required': [ - 'repository', - 'branch', - 'import_creation', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - 'branch': - (str,), - 'import_creation': - (ImportCreation,), - }, - 'attribute_map': { - 'repository': 'repository', - 'branch': 'branch', - }, - 'location_map': { - 'repository': 'path', - 'branch': 'path', - 'import_creation': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.import_status_endpoint = _Endpoint( - settings={ - 'response_type': (ImportStatus,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/branches/{branch}/import', - 'operation_id': 'import_status', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - 'branch', - 'id', - ], - 'required': [ - 'repository', - 'branch', - 'id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - 'branch': - (str,), - 'id': - (str,), - }, - 'attribute_map': { - 'repository': 'repository', - 'branch': 'branch', - 'id': 'id', - }, - 'location_map': { - 'repository': 'path', - 'branch': 'path', - 'id': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - - def import_cancel( - self, - repository, - branch, - id, - **kwargs - ): - """cancel ongoing import # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.import_cancel(repository, branch, id, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - branch (str): - id (str): Unique identifier of the import process - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - kwargs['branch'] = \ - branch - kwargs['id'] = \ - id - return self.import_cancel_endpoint.call_with_http_info(**kwargs) - - def import_start( - self, - repository, - branch, - import_creation, - **kwargs - ): - """import data from object store # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.import_start(repository, branch, import_creation, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - branch (str): - import_creation (ImportCreation): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - ImportCreationResponse - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - kwargs['branch'] = \ - branch - kwargs['import_creation'] = \ - import_creation - return self.import_start_endpoint.call_with_http_info(**kwargs) - - def import_status( - self, - repository, - branch, - id, - **kwargs - ): - """get import status # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.import_status(repository, branch, id, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - branch (str): - id (str): Unique identifier of the import process - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - ImportStatus - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - kwargs['branch'] = \ - branch - kwargs['id'] = \ - id - return self.import_status_endpoint.call_with_http_info(**kwargs) - diff --git a/clients/python-legacy/lakefs_client/api/internal_api.py b/clients/python-legacy/lakefs_client/api/internal_api.py deleted file mode 100644 index 351dd9042a0..00000000000 --- a/clients/python-legacy/lakefs_client/api/internal_api.py +++ /dev/null @@ -1,3520 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.api_client import ApiClient, Endpoint as _Endpoint -from lakefs_client.model_utils import ( # noqa: F401 - check_allowed_values, - check_validations, - date, - datetime, - file_type, - none_type, - validate_and_convert_types -) -from lakefs_client.model.auth_capabilities import AuthCapabilities -from lakefs_client.model.branch_protection_rule import BranchProtectionRule -from lakefs_client.model.comm_prefs_input import CommPrefsInput -from lakefs_client.model.commit_record_creation import CommitRecordCreation -from lakefs_client.model.credentials_with_secret import CredentialsWithSecret -from lakefs_client.model.error import Error -from lakefs_client.model.garbage_collection_config import GarbageCollectionConfig -from lakefs_client.model.garbage_collection_prepare_response import GarbageCollectionPrepareResponse -from lakefs_client.model.garbage_collection_rules import GarbageCollectionRules -from lakefs_client.model.inline_object1 import InlineObject1 -from lakefs_client.model.installation_usage_report import InstallationUsageReport -from lakefs_client.model.object_stage_creation import ObjectStageCreation -from lakefs_client.model.object_stats import ObjectStats -from lakefs_client.model.prepare_gc_uncommitted_request import PrepareGCUncommittedRequest -from lakefs_client.model.prepare_gc_uncommitted_response import PrepareGCUncommittedResponse -from lakefs_client.model.refs_dump import RefsDump -from lakefs_client.model.refs_restore import RefsRestore -from lakefs_client.model.repository_metadata_keys import RepositoryMetadataKeys -from lakefs_client.model.repository_metadata_set import RepositoryMetadataSet -from lakefs_client.model.setup import Setup -from lakefs_client.model.setup_state import SetupState -from lakefs_client.model.stats_events_list import StatsEventsList -from lakefs_client.model.storage_config import StorageConfig -from lakefs_client.model.storage_uri import StorageURI -from lakefs_client.model.version_config import VersionConfig - - -class InternalApi(object): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - self.create_branch_protection_rule_preflight_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/branch_protection/set_allowed', - 'operation_id': 'create_branch_protection_rule_preflight', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - ], - 'required': [ - 'repository', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - }, - 'attribute_map': { - 'repository': 'repository', - }, - 'location_map': { - 'repository': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.create_commit_record_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/commits', - 'operation_id': 'create_commit_record', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - 'commit_record_creation', - ], - 'required': [ - 'repository', - 'commit_record_creation', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - 'commit_record_creation': - (CommitRecordCreation,), - }, - 'attribute_map': { - 'repository': 'repository', - }, - 'location_map': { - 'repository': 'path', - 'commit_record_creation': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.create_symlink_file_endpoint = _Endpoint( - settings={ - 'response_type': (StorageURI,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/refs/{branch}/symlink', - 'operation_id': 'create_symlink_file', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - 'branch', - 'location', - ], - 'required': [ - 'repository', - 'branch', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - 'branch': - (str,), - 'location': - (str,), - }, - 'attribute_map': { - 'repository': 'repository', - 'branch': 'branch', - 'location': 'location', - }, - 'location_map': { - 'repository': 'path', - 'branch': 'path', - 'location': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.delete_repository_metadata_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/metadata', - 'operation_id': 'delete_repository_metadata', - 'http_method': 'DELETE', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - 'repository_metadata_keys', - ], - 'required': [ - 'repository', - 'repository_metadata_keys', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - 'repository_metadata_keys': - (RepositoryMetadataKeys,), - }, - 'attribute_map': { - 'repository': 'repository', - }, - 'location_map': { - 'repository': 'path', - 'repository_metadata_keys': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.dump_refs_endpoint = _Endpoint( - settings={ - 'response_type': (RefsDump,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/refs/dump', - 'operation_id': 'dump_refs', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - ], - 'required': [ - 'repository', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - }, - 'attribute_map': { - 'repository': 'repository', - }, - 'location_map': { - 'repository': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_auth_capabilities_endpoint = _Endpoint( - settings={ - 'response_type': (AuthCapabilities,), - 'auth': [], - 'endpoint_path': '/auth/capabilities', - 'operation_id': 'get_auth_capabilities', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - }, - 'attribute_map': { - }, - 'location_map': { - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_garbage_collection_config_endpoint = _Endpoint( - settings={ - 'response_type': (GarbageCollectionConfig,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/config/garbage-collection', - 'operation_id': 'get_garbage_collection_config', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - }, - 'attribute_map': { - }, - 'location_map': { - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_lake_fs_version_endpoint = _Endpoint( - settings={ - 'response_type': (VersionConfig,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/config/version', - 'operation_id': 'get_lake_fs_version', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - }, - 'attribute_map': { - }, - 'location_map': { - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_metadata_object_endpoint = _Endpoint( - settings={ - 'response_type': (file_type,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/metadata/object/{type}/{object_id}', - 'operation_id': 'get_metadata_object', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - 'object_id', - 'type', - 'presign', - ], - 'required': [ - 'repository', - 'object_id', - 'type', - ], - 'nullable': [ - ], - 'enum': [ - 'type', - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - ('type',): { - - "RANGE": "range", - "META_RANGE": "meta_range" - }, - }, - 'openapi_types': { - 'repository': - (str,), - 'object_id': - (str,), - 'type': - (str,), - 'presign': - (bool,), - }, - 'attribute_map': { - 'repository': 'repository', - 'object_id': 'object_id', - 'type': 'type', - 'presign': 'presign', - }, - 'location_map': { - 'repository': 'path', - 'object_id': 'path', - 'type': 'path', - 'presign': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/octet-stream', - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_setup_state_endpoint = _Endpoint( - settings={ - 'response_type': (SetupState,), - 'auth': [], - 'endpoint_path': '/setup_lakefs', - 'operation_id': 'get_setup_state', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - }, - 'attribute_map': { - }, - 'location_map': { - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_storage_config_endpoint = _Endpoint( - settings={ - 'response_type': (StorageConfig,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/config/storage', - 'operation_id': 'get_storage_config', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - }, - 'attribute_map': { - }, - 'location_map': { - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_usage_report_summary_endpoint = _Endpoint( - settings={ - 'response_type': (InstallationUsageReport,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/usage-report/summary', - 'operation_id': 'get_usage_report_summary', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - }, - 'attribute_map': { - }, - 'location_map': { - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json', - 'application/text' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.internal_create_branch_protection_rule_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/branch_protection', - 'operation_id': 'internal_create_branch_protection_rule', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - 'branch_protection_rule', - ], - 'required': [ - 'repository', - 'branch_protection_rule', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - 'branch_protection_rule': - (BranchProtectionRule,), - }, - 'attribute_map': { - 'repository': 'repository', - }, - 'location_map': { - 'repository': 'path', - 'branch_protection_rule': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.internal_delete_branch_protection_rule_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/branch_protection', - 'operation_id': 'internal_delete_branch_protection_rule', - 'http_method': 'DELETE', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - 'inline_object1', - ], - 'required': [ - 'repository', - 'inline_object1', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - 'inline_object1': - (InlineObject1,), - }, - 'attribute_map': { - 'repository': 'repository', - }, - 'location_map': { - 'repository': 'path', - 'inline_object1': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.internal_delete_garbage_collection_rules_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/gc/rules', - 'operation_id': 'internal_delete_garbage_collection_rules', - 'http_method': 'DELETE', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - ], - 'required': [ - 'repository', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - }, - 'attribute_map': { - 'repository': 'repository', - }, - 'location_map': { - 'repository': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.internal_get_branch_protection_rules_endpoint = _Endpoint( - settings={ - 'response_type': ([BranchProtectionRule],), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/branch_protection', - 'operation_id': 'internal_get_branch_protection_rules', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - ], - 'required': [ - 'repository', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - }, - 'attribute_map': { - 'repository': 'repository', - }, - 'location_map': { - 'repository': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.internal_get_garbage_collection_rules_endpoint = _Endpoint( - settings={ - 'response_type': (GarbageCollectionRules,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/gc/rules', - 'operation_id': 'internal_get_garbage_collection_rules', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - ], - 'required': [ - 'repository', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - }, - 'attribute_map': { - 'repository': 'repository', - }, - 'location_map': { - 'repository': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.internal_set_garbage_collection_rules_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/gc/rules', - 'operation_id': 'internal_set_garbage_collection_rules', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - 'garbage_collection_rules', - ], - 'required': [ - 'repository', - 'garbage_collection_rules', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - 'garbage_collection_rules': - (GarbageCollectionRules,), - }, - 'attribute_map': { - 'repository': 'repository', - }, - 'location_map': { - 'repository': 'path', - 'garbage_collection_rules': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.post_stats_events_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/statistics', - 'operation_id': 'post_stats_events', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'stats_events_list', - ], - 'required': [ - 'stats_events_list', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'stats_events_list': - (StatsEventsList,), - }, - 'attribute_map': { - }, - 'location_map': { - 'stats_events_list': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.prepare_garbage_collection_commits_endpoint = _Endpoint( - settings={ - 'response_type': (GarbageCollectionPrepareResponse,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/gc/prepare_commits', - 'operation_id': 'prepare_garbage_collection_commits', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - ], - 'required': [ - 'repository', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - }, - 'attribute_map': { - 'repository': 'repository', - }, - 'location_map': { - 'repository': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.prepare_garbage_collection_uncommitted_endpoint = _Endpoint( - settings={ - 'response_type': (PrepareGCUncommittedResponse,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/gc/prepare_uncommited', - 'operation_id': 'prepare_garbage_collection_uncommitted', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - 'prepare_gc_uncommitted_request', - ], - 'required': [ - 'repository', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - 'prepare_gc_uncommitted_request': - (PrepareGCUncommittedRequest,), - }, - 'attribute_map': { - 'repository': 'repository', - }, - 'location_map': { - 'repository': 'path', - 'prepare_gc_uncommitted_request': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.restore_refs_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/refs/restore', - 'operation_id': 'restore_refs', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - 'refs_restore', - ], - 'required': [ - 'repository', - 'refs_restore', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - 'refs_restore': - (RefsRestore,), - }, - 'attribute_map': { - 'repository': 'repository', - }, - 'location_map': { - 'repository': 'path', - 'refs_restore': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.set_garbage_collection_rules_preflight_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/gc/rules/set_allowed', - 'operation_id': 'set_garbage_collection_rules_preflight', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - ], - 'required': [ - 'repository', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - }, - 'attribute_map': { - 'repository': 'repository', - }, - 'location_map': { - 'repository': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.set_repository_metadata_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/metadata', - 'operation_id': 'set_repository_metadata', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - 'repository_metadata_set', - ], - 'required': [ - 'repository', - 'repository_metadata_set', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - 'repository_metadata_set': - (RepositoryMetadataSet,), - }, - 'attribute_map': { - 'repository': 'repository', - }, - 'location_map': { - 'repository': 'path', - 'repository_metadata_set': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.setup_endpoint = _Endpoint( - settings={ - 'response_type': (CredentialsWithSecret,), - 'auth': [], - 'endpoint_path': '/setup_lakefs', - 'operation_id': 'setup', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'setup', - ], - 'required': [ - 'setup', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'setup': - (Setup,), - }, - 'attribute_map': { - }, - 'location_map': { - 'setup': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.setup_comm_prefs_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [], - 'endpoint_path': '/setup_comm_prefs', - 'operation_id': 'setup_comm_prefs', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'comm_prefs_input', - ], - 'required': [ - 'comm_prefs_input', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'comm_prefs_input': - (CommPrefsInput,), - }, - 'attribute_map': { - }, - 'location_map': { - 'comm_prefs_input': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.stage_object_endpoint = _Endpoint( - settings={ - 'response_type': (ObjectStats,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/branches/{branch}/objects', - 'operation_id': 'stage_object', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - 'branch', - 'path', - 'object_stage_creation', - ], - 'required': [ - 'repository', - 'branch', - 'path', - 'object_stage_creation', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - 'branch': - (str,), - 'path': - (str,), - 'object_stage_creation': - (ObjectStageCreation,), - }, - 'attribute_map': { - 'repository': 'repository', - 'branch': 'branch', - 'path': 'path', - }, - 'location_map': { - 'repository': 'path', - 'branch': 'path', - 'path': 'query', - 'object_stage_creation': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.upload_object_preflight_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/branches/{branch}/objects/stage_allowed', - 'operation_id': 'upload_object_preflight', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - 'branch', - 'path', - ], - 'required': [ - 'repository', - 'branch', - 'path', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - 'branch': - (str,), - 'path': - (str,), - }, - 'attribute_map': { - 'repository': 'repository', - 'branch': 'branch', - 'path': 'path', - }, - 'location_map': { - 'repository': 'path', - 'branch': 'path', - 'path': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - - def create_branch_protection_rule_preflight( - self, - repository, - **kwargs - ): - """create_branch_protection_rule_preflight # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.create_branch_protection_rule_preflight(repository, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - return self.create_branch_protection_rule_preflight_endpoint.call_with_http_info(**kwargs) - - def create_commit_record( - self, - repository, - commit_record_creation, - **kwargs - ): - """create commit record # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.create_commit_record(repository, commit_record_creation, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - commit_record_creation (CommitRecordCreation): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - kwargs['commit_record_creation'] = \ - commit_record_creation - return self.create_commit_record_endpoint.call_with_http_info(**kwargs) - - def create_symlink_file( - self, - repository, - branch, - **kwargs - ): - """creates symlink files corresponding to the given directory # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.create_symlink_file(repository, branch, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - branch (str): - - Keyword Args: - location (str): path to the table data. [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - StorageURI - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - kwargs['branch'] = \ - branch - return self.create_symlink_file_endpoint.call_with_http_info(**kwargs) - - def delete_repository_metadata( - self, - repository, - repository_metadata_keys, - **kwargs - ): - """delete repository metadata # noqa: E501 - - Delete specified keys from the repository's metadata. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.delete_repository_metadata(repository, repository_metadata_keys, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - repository_metadata_keys (RepositoryMetadataKeys): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - kwargs['repository_metadata_keys'] = \ - repository_metadata_keys - return self.delete_repository_metadata_endpoint.call_with_http_info(**kwargs) - - def dump_refs( - self, - repository, - **kwargs - ): - """Dump repository refs (tags, commits, branches) to object store Deprecated: a new API will introduce long running operations # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.dump_refs(repository, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - RefsDump - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - return self.dump_refs_endpoint.call_with_http_info(**kwargs) - - def get_auth_capabilities( - self, - **kwargs - ): - """list authentication capabilities supported # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_auth_capabilities(async_req=True) - >>> result = thread.get() - - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - AuthCapabilities - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - return self.get_auth_capabilities_endpoint.call_with_http_info(**kwargs) - - def get_garbage_collection_config( - self, - **kwargs - ): - """get_garbage_collection_config # noqa: E501 - - get information of gc settings # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_garbage_collection_config(async_req=True) - >>> result = thread.get() - - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - GarbageCollectionConfig - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - return self.get_garbage_collection_config_endpoint.call_with_http_info(**kwargs) - - def get_lake_fs_version( - self, - **kwargs - ): - """get_lake_fs_version # noqa: E501 - - get version of lakeFS server # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_lake_fs_version(async_req=True) - >>> result = thread.get() - - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - VersionConfig - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - return self.get_lake_fs_version_endpoint.call_with_http_info(**kwargs) - - def get_metadata_object( - self, - repository, - object_id, - type, - **kwargs - ): - """return a lakeFS metadata object by ID # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_metadata_object(repository, object_id, type, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - object_id (str): - type (str): - - Keyword Args: - presign (bool): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - file_type - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - kwargs['object_id'] = \ - object_id - kwargs['type'] = \ - type - return self.get_metadata_object_endpoint.call_with_http_info(**kwargs) - - def get_setup_state( - self, - **kwargs - ): - """check if the lakeFS installation is already set up # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_setup_state(async_req=True) - >>> result = thread.get() - - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - SetupState - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - return self.get_setup_state_endpoint.call_with_http_info(**kwargs) - - def get_storage_config( - self, - **kwargs - ): - """get_storage_config # noqa: E501 - - retrieve lakeFS storage configuration # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_storage_config(async_req=True) - >>> result = thread.get() - - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - StorageConfig - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - return self.get_storage_config_endpoint.call_with_http_info(**kwargs) - - def get_usage_report_summary( - self, - **kwargs - ): - """get usage report summary # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_usage_report_summary(async_req=True) - >>> result = thread.get() - - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - InstallationUsageReport - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - return self.get_usage_report_summary_endpoint.call_with_http_info(**kwargs) - - def internal_create_branch_protection_rule( - self, - repository, - branch_protection_rule, - **kwargs - ): - """internal_create_branch_protection_rule # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.internal_create_branch_protection_rule(repository, branch_protection_rule, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - branch_protection_rule (BranchProtectionRule): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - kwargs['branch_protection_rule'] = \ - branch_protection_rule - return self.internal_create_branch_protection_rule_endpoint.call_with_http_info(**kwargs) - - def internal_delete_branch_protection_rule( - self, - repository, - inline_object1, - **kwargs - ): - """internal_delete_branch_protection_rule # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.internal_delete_branch_protection_rule(repository, inline_object1, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - inline_object1 (InlineObject1): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - kwargs['inline_object1'] = \ - inline_object1 - return self.internal_delete_branch_protection_rule_endpoint.call_with_http_info(**kwargs) - - def internal_delete_garbage_collection_rules( - self, - repository, - **kwargs - ): - """internal_delete_garbage_collection_rules # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.internal_delete_garbage_collection_rules(repository, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - return self.internal_delete_garbage_collection_rules_endpoint.call_with_http_info(**kwargs) - - def internal_get_branch_protection_rules( - self, - repository, - **kwargs - ): - """get branch protection rules # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.internal_get_branch_protection_rules(repository, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - [BranchProtectionRule] - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - return self.internal_get_branch_protection_rules_endpoint.call_with_http_info(**kwargs) - - def internal_get_garbage_collection_rules( - self, - repository, - **kwargs - ): - """internal_get_garbage_collection_rules # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.internal_get_garbage_collection_rules(repository, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - GarbageCollectionRules - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - return self.internal_get_garbage_collection_rules_endpoint.call_with_http_info(**kwargs) - - def internal_set_garbage_collection_rules( - self, - repository, - garbage_collection_rules, - **kwargs - ): - """internal_set_garbage_collection_rules # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.internal_set_garbage_collection_rules(repository, garbage_collection_rules, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - garbage_collection_rules (GarbageCollectionRules): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - kwargs['garbage_collection_rules'] = \ - garbage_collection_rules - return self.internal_set_garbage_collection_rules_endpoint.call_with_http_info(**kwargs) - - def post_stats_events( - self, - stats_events_list, - **kwargs - ): - """post stats events, this endpoint is meant for internal use only # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.post_stats_events(stats_events_list, async_req=True) - >>> result = thread.get() - - Args: - stats_events_list (StatsEventsList): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['stats_events_list'] = \ - stats_events_list - return self.post_stats_events_endpoint.call_with_http_info(**kwargs) - - def prepare_garbage_collection_commits( - self, - repository, - **kwargs - ): - """save lists of active commits for garbage collection # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.prepare_garbage_collection_commits(repository, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - GarbageCollectionPrepareResponse - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - return self.prepare_garbage_collection_commits_endpoint.call_with_http_info(**kwargs) - - def prepare_garbage_collection_uncommitted( - self, - repository, - **kwargs - ): - """save repository uncommitted metadata for garbage collection # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.prepare_garbage_collection_uncommitted(repository, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - - Keyword Args: - prepare_gc_uncommitted_request (PrepareGCUncommittedRequest): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - PrepareGCUncommittedResponse - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - return self.prepare_garbage_collection_uncommitted_endpoint.call_with_http_info(**kwargs) - - def restore_refs( - self, - repository, - refs_restore, - **kwargs - ): - """Restore repository refs (tags, commits, branches) from object store. Deprecated: a new API will introduce long running operations # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.restore_refs(repository, refs_restore, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - refs_restore (RefsRestore): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - kwargs['refs_restore'] = \ - refs_restore - return self.restore_refs_endpoint.call_with_http_info(**kwargs) - - def set_garbage_collection_rules_preflight( - self, - repository, - **kwargs - ): - """set_garbage_collection_rules_preflight # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.set_garbage_collection_rules_preflight(repository, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - return self.set_garbage_collection_rules_preflight_endpoint.call_with_http_info(**kwargs) - - def set_repository_metadata( - self, - repository, - repository_metadata_set, - **kwargs - ): - """set repository metadata # noqa: E501 - - Set repository metadata. This will only add or update the provided keys, and will not remove any existing keys. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.set_repository_metadata(repository, repository_metadata_set, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - repository_metadata_set (RepositoryMetadataSet): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - kwargs['repository_metadata_set'] = \ - repository_metadata_set - return self.set_repository_metadata_endpoint.call_with_http_info(**kwargs) - - def setup( - self, - setup, - **kwargs - ): - """setup lakeFS and create a first user # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.setup(setup, async_req=True) - >>> result = thread.get() - - Args: - setup (Setup): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - CredentialsWithSecret - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['setup'] = \ - setup - return self.setup_endpoint.call_with_http_info(**kwargs) - - def setup_comm_prefs( - self, - comm_prefs_input, - **kwargs - ): - """setup communications preferences # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.setup_comm_prefs(comm_prefs_input, async_req=True) - >>> result = thread.get() - - Args: - comm_prefs_input (CommPrefsInput): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['comm_prefs_input'] = \ - comm_prefs_input - return self.setup_comm_prefs_endpoint.call_with_http_info(**kwargs) - - def stage_object( - self, - repository, - branch, - path, - object_stage_creation, - **kwargs - ): - """stage an object's metadata for the given branch # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.stage_object(repository, branch, path, object_stage_creation, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - branch (str): - path (str): relative to the branch - object_stage_creation (ObjectStageCreation): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - ObjectStats - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - kwargs['branch'] = \ - branch - kwargs['path'] = \ - path - kwargs['object_stage_creation'] = \ - object_stage_creation - return self.stage_object_endpoint.call_with_http_info(**kwargs) - - def upload_object_preflight( - self, - repository, - branch, - path, - **kwargs - ): - """upload_object_preflight # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.upload_object_preflight(repository, branch, path, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - branch (str): - path (str): relative to the branch - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - kwargs['branch'] = \ - branch - kwargs['path'] = \ - path - return self.upload_object_preflight_endpoint.call_with_http_info(**kwargs) - diff --git a/clients/python-legacy/lakefs_client/api/metadata_api.py b/clients/python-legacy/lakefs_client/api/metadata_api.py deleted file mode 100644 index 849c5493623..00000000000 --- a/clients/python-legacy/lakefs_client/api/metadata_api.py +++ /dev/null @@ -1,300 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.api_client import ApiClient, Endpoint as _Endpoint -from lakefs_client.model_utils import ( # noqa: F401 - check_allowed_values, - check_validations, - date, - datetime, - file_type, - none_type, - validate_and_convert_types -) -from lakefs_client.model.error import Error -from lakefs_client.model.storage_uri import StorageURI - - -class MetadataApi(object): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - self.get_meta_range_endpoint = _Endpoint( - settings={ - 'response_type': (StorageURI,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/metadata/meta_range/{meta_range}', - 'operation_id': 'get_meta_range', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - 'meta_range', - ], - 'required': [ - 'repository', - 'meta_range', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - 'meta_range': - (str,), - }, - 'attribute_map': { - 'repository': 'repository', - 'meta_range': 'meta_range', - }, - 'location_map': { - 'repository': 'path', - 'meta_range': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_range_endpoint = _Endpoint( - settings={ - 'response_type': (StorageURI,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/metadata/range/{range}', - 'operation_id': 'get_range', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - 'range', - ], - 'required': [ - 'repository', - 'range', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - 'range': - (str,), - }, - 'attribute_map': { - 'repository': 'repository', - 'range': 'range', - }, - 'location_map': { - 'repository': 'path', - 'range': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - - def get_meta_range( - self, - repository, - meta_range, - **kwargs - ): - """return URI to a meta-range file # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_meta_range(repository, meta_range, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - meta_range (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - StorageURI - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - kwargs['meta_range'] = \ - meta_range - return self.get_meta_range_endpoint.call_with_http_info(**kwargs) - - def get_range( - self, - repository, - range, - **kwargs - ): - """return URI to a range file # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_range(repository, range, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - range (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - StorageURI - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - kwargs['range'] = \ - range - return self.get_range_endpoint.call_with_http_info(**kwargs) - diff --git a/clients/python-legacy/lakefs_client/api/objects_api.py b/clients/python-legacy/lakefs_client/api/objects_api.py deleted file mode 100644 index 18b36f6f287..00000000000 --- a/clients/python-legacy/lakefs_client/api/objects_api.py +++ /dev/null @@ -1,1589 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.api_client import ApiClient, Endpoint as _Endpoint -from lakefs_client.model_utils import ( # noqa: F401 - check_allowed_values, - check_validations, - date, - datetime, - file_type, - none_type, - validate_and_convert_types -) -from lakefs_client.model.error import Error -from lakefs_client.model.object_copy_creation import ObjectCopyCreation -from lakefs_client.model.object_error_list import ObjectErrorList -from lakefs_client.model.object_stats import ObjectStats -from lakefs_client.model.object_stats_list import ObjectStatsList -from lakefs_client.model.path_list import PathList -from lakefs_client.model.underlying_object_properties import UnderlyingObjectProperties -from lakefs_client.model.update_object_user_metadata import UpdateObjectUserMetadata - - -class ObjectsApi(object): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - self.copy_object_endpoint = _Endpoint( - settings={ - 'response_type': (ObjectStats,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/branches/{branch}/objects/copy', - 'operation_id': 'copy_object', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - 'branch', - 'dest_path', - 'object_copy_creation', - ], - 'required': [ - 'repository', - 'branch', - 'dest_path', - 'object_copy_creation', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - 'branch': - (str,), - 'dest_path': - (str,), - 'object_copy_creation': - (ObjectCopyCreation,), - }, - 'attribute_map': { - 'repository': 'repository', - 'branch': 'branch', - 'dest_path': 'dest_path', - }, - 'location_map': { - 'repository': 'path', - 'branch': 'path', - 'dest_path': 'query', - 'object_copy_creation': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.delete_object_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/branches/{branch}/objects', - 'operation_id': 'delete_object', - 'http_method': 'DELETE', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - 'branch', - 'path', - 'force', - ], - 'required': [ - 'repository', - 'branch', - 'path', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - 'branch': - (str,), - 'path': - (str,), - 'force': - (bool,), - }, - 'attribute_map': { - 'repository': 'repository', - 'branch': 'branch', - 'path': 'path', - 'force': 'force', - }, - 'location_map': { - 'repository': 'path', - 'branch': 'path', - 'path': 'query', - 'force': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.delete_objects_endpoint = _Endpoint( - settings={ - 'response_type': (ObjectErrorList,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/branches/{branch}/objects/delete', - 'operation_id': 'delete_objects', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - 'branch', - 'path_list', - 'force', - ], - 'required': [ - 'repository', - 'branch', - 'path_list', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - 'branch': - (str,), - 'path_list': - (PathList,), - 'force': - (bool,), - }, - 'attribute_map': { - 'repository': 'repository', - 'branch': 'branch', - 'force': 'force', - }, - 'location_map': { - 'repository': 'path', - 'branch': 'path', - 'path_list': 'body', - 'force': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.get_object_endpoint = _Endpoint( - settings={ - 'response_type': (file_type,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/refs/{ref}/objects', - 'operation_id': 'get_object', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - 'ref', - 'path', - 'range', - 'if_none_match', - 'presign', - ], - 'required': [ - 'repository', - 'ref', - 'path', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'range', - ] - }, - root_map={ - 'validations': { - ('range',): { - - 'regex': { - 'pattern': r'^bytes=((\d*-\d*,? ?)+)$', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - 'ref': - (str,), - 'path': - (str,), - 'range': - (str,), - 'if_none_match': - (str,), - 'presign': - (bool,), - }, - 'attribute_map': { - 'repository': 'repository', - 'ref': 'ref', - 'path': 'path', - 'range': 'Range', - 'if_none_match': 'If-None-Match', - 'presign': 'presign', - }, - 'location_map': { - 'repository': 'path', - 'ref': 'path', - 'path': 'query', - 'range': 'header', - 'if_none_match': 'header', - 'presign': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/octet-stream', - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_underlying_properties_endpoint = _Endpoint( - settings={ - 'response_type': (UnderlyingObjectProperties,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/refs/{ref}/objects/underlyingProperties', - 'operation_id': 'get_underlying_properties', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - 'ref', - 'path', - ], - 'required': [ - 'repository', - 'ref', - 'path', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - 'ref': - (str,), - 'path': - (str,), - }, - 'attribute_map': { - 'repository': 'repository', - 'ref': 'ref', - 'path': 'path', - }, - 'location_map': { - 'repository': 'path', - 'ref': 'path', - 'path': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.head_object_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/refs/{ref}/objects', - 'operation_id': 'head_object', - 'http_method': 'HEAD', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - 'ref', - 'path', - 'range', - ], - 'required': [ - 'repository', - 'ref', - 'path', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'range', - ] - }, - root_map={ - 'validations': { - ('range',): { - - 'regex': { - 'pattern': r'^bytes=((\d*-\d*,? ?)+)$', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - 'ref': - (str,), - 'path': - (str,), - 'range': - (str,), - }, - 'attribute_map': { - 'repository': 'repository', - 'ref': 'ref', - 'path': 'path', - 'range': 'Range', - }, - 'location_map': { - 'repository': 'path', - 'ref': 'path', - 'path': 'query', - 'range': 'header', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [], - 'content_type': [], - }, - api_client=api_client - ) - self.list_objects_endpoint = _Endpoint( - settings={ - 'response_type': (ObjectStatsList,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/refs/{ref}/objects/ls', - 'operation_id': 'list_objects', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - 'ref', - 'user_metadata', - 'presign', - 'after', - 'amount', - 'delimiter', - 'prefix', - ], - 'required': [ - 'repository', - 'ref', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'amount', - ] - }, - root_map={ - 'validations': { - ('amount',): { - - 'inclusive_maximum': 1000, - 'inclusive_minimum': -1, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - 'ref': - (str,), - 'user_metadata': - (bool,), - 'presign': - (bool,), - 'after': - (str,), - 'amount': - (int,), - 'delimiter': - (str,), - 'prefix': - (str,), - }, - 'attribute_map': { - 'repository': 'repository', - 'ref': 'ref', - 'user_metadata': 'user_metadata', - 'presign': 'presign', - 'after': 'after', - 'amount': 'amount', - 'delimiter': 'delimiter', - 'prefix': 'prefix', - }, - 'location_map': { - 'repository': 'path', - 'ref': 'path', - 'user_metadata': 'query', - 'presign': 'query', - 'after': 'query', - 'amount': 'query', - 'delimiter': 'query', - 'prefix': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.stat_object_endpoint = _Endpoint( - settings={ - 'response_type': (ObjectStats,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/refs/{ref}/objects/stat', - 'operation_id': 'stat_object', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - 'ref', - 'path', - 'user_metadata', - 'presign', - ], - 'required': [ - 'repository', - 'ref', - 'path', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - 'ref': - (str,), - 'path': - (str,), - 'user_metadata': - (bool,), - 'presign': - (bool,), - }, - 'attribute_map': { - 'repository': 'repository', - 'ref': 'ref', - 'path': 'path', - 'user_metadata': 'user_metadata', - 'presign': 'presign', - }, - 'location_map': { - 'repository': 'path', - 'ref': 'path', - 'path': 'query', - 'user_metadata': 'query', - 'presign': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.update_object_user_metadata_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/branches/{branch}/objects/stat/user_metadata', - 'operation_id': 'update_object_user_metadata', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - 'branch', - 'path', - 'update_object_user_metadata', - ], - 'required': [ - 'repository', - 'branch', - 'path', - 'update_object_user_metadata', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - 'branch': - (str,), - 'path': - (str,), - 'update_object_user_metadata': - (UpdateObjectUserMetadata,), - }, - 'attribute_map': { - 'repository': 'repository', - 'branch': 'branch', - 'path': 'path', - }, - 'location_map': { - 'repository': 'path', - 'branch': 'path', - 'path': 'query', - 'update_object_user_metadata': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.upload_object_endpoint = _Endpoint( - settings={ - 'response_type': (ObjectStats,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/branches/{branch}/objects', - 'operation_id': 'upload_object', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - 'branch', - 'path', - 'if_none_match', - 'storage_class', - 'force', - 'content', - ], - 'required': [ - 'repository', - 'branch', - 'path', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - 'branch': - (str,), - 'path': - (str,), - 'if_none_match': - (str,), - 'storage_class': - (str,), - 'force': - (bool,), - 'content': - (file_type,), - }, - 'attribute_map': { - 'repository': 'repository', - 'branch': 'branch', - 'path': 'path', - 'if_none_match': 'If-None-Match', - 'storage_class': 'storageClass', - 'force': 'force', - 'content': 'content', - }, - 'location_map': { - 'repository': 'path', - 'branch': 'path', - 'path': 'query', - 'if_none_match': 'header', - 'storage_class': 'query', - 'force': 'query', - 'content': 'form', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'multipart/form-data', - 'application/octet-stream' - ] - }, - api_client=api_client - ) - - def copy_object( - self, - repository, - branch, - dest_path, - object_copy_creation, - **kwargs - ): - """create a copy of an object # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.copy_object(repository, branch, dest_path, object_copy_creation, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - branch (str): destination branch for the copy - dest_path (str): destination path relative to the branch - object_copy_creation (ObjectCopyCreation): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - ObjectStats - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - kwargs['branch'] = \ - branch - kwargs['dest_path'] = \ - dest_path - kwargs['object_copy_creation'] = \ - object_copy_creation - return self.copy_object_endpoint.call_with_http_info(**kwargs) - - def delete_object( - self, - repository, - branch, - path, - **kwargs - ): - """delete object. Missing objects will not return a NotFound error. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.delete_object(repository, branch, path, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - branch (str): - path (str): relative to the branch - - Keyword Args: - force (bool): [optional] if omitted the server will use the default value of False - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - kwargs['branch'] = \ - branch - kwargs['path'] = \ - path - return self.delete_object_endpoint.call_with_http_info(**kwargs) - - def delete_objects( - self, - repository, - branch, - path_list, - **kwargs - ): - """delete objects. Missing objects will not return a NotFound error. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.delete_objects(repository, branch, path_list, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - branch (str): - path_list (PathList): - - Keyword Args: - force (bool): [optional] if omitted the server will use the default value of False - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - ObjectErrorList - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - kwargs['branch'] = \ - branch - kwargs['path_list'] = \ - path_list - return self.delete_objects_endpoint.call_with_http_info(**kwargs) - - def get_object( - self, - repository, - ref, - path, - **kwargs - ): - """get object content # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_object(repository, ref, path, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - ref (str): a reference (could be either a branch or a commit ID) - path (str): relative to the ref - - Keyword Args: - range (str): Byte range to retrieve. [optional] - if_none_match (str): Returns response only if the object does not have a matching ETag. [optional] - presign (bool): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - file_type - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - kwargs['ref'] = \ - ref - kwargs['path'] = \ - path - return self.get_object_endpoint.call_with_http_info(**kwargs) - - def get_underlying_properties( - self, - repository, - ref, - path, - **kwargs - ): - """get object properties on underlying storage # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_underlying_properties(repository, ref, path, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - ref (str): a reference (could be either a branch or a commit ID) - path (str): relative to the branch - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - UnderlyingObjectProperties - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - kwargs['ref'] = \ - ref - kwargs['path'] = \ - path - return self.get_underlying_properties_endpoint.call_with_http_info(**kwargs) - - def head_object( - self, - repository, - ref, - path, - **kwargs - ): - """check if object exists # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.head_object(repository, ref, path, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - ref (str): a reference (could be either a branch or a commit ID) - path (str): relative to the ref - - Keyword Args: - range (str): Byte range to retrieve. [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - kwargs['ref'] = \ - ref - kwargs['path'] = \ - path - return self.head_object_endpoint.call_with_http_info(**kwargs) - - def list_objects( - self, - repository, - ref, - **kwargs - ): - """list objects under a given prefix # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.list_objects(repository, ref, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - ref (str): a reference (could be either a branch or a commit ID) - - Keyword Args: - user_metadata (bool): [optional] if omitted the server will use the default value of True - presign (bool): [optional] - after (str): return items after this value. [optional] - amount (int): how many items to return. [optional] if omitted the server will use the default value of 100 - delimiter (str): delimiter used to group common prefixes by. [optional] - prefix (str): return items prefixed with this value. [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - ObjectStatsList - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - kwargs['ref'] = \ - ref - return self.list_objects_endpoint.call_with_http_info(**kwargs) - - def stat_object( - self, - repository, - ref, - path, - **kwargs - ): - """get object metadata # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.stat_object(repository, ref, path, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - ref (str): a reference (could be either a branch or a commit ID) - path (str): relative to the branch - - Keyword Args: - user_metadata (bool): [optional] if omitted the server will use the default value of True - presign (bool): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - ObjectStats - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - kwargs['ref'] = \ - ref - kwargs['path'] = \ - path - return self.stat_object_endpoint.call_with_http_info(**kwargs) - - def update_object_user_metadata( - self, - repository, - branch, - path, - update_object_user_metadata, - **kwargs - ): - """rewrite (all) object metadata # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.update_object_user_metadata(repository, branch, path, update_object_user_metadata, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - branch (str): branch to update - path (str): path to object relative to the branch - update_object_user_metadata (UpdateObjectUserMetadata): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - kwargs['branch'] = \ - branch - kwargs['path'] = \ - path - kwargs['update_object_user_metadata'] = \ - update_object_user_metadata - return self.update_object_user_metadata_endpoint.call_with_http_info(**kwargs) - - def upload_object( - self, - repository, - branch, - path, - **kwargs - ): - """upload_object # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.upload_object(repository, branch, path, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - branch (str): - path (str): relative to the branch - - Keyword Args: - if_none_match (str): Set to \"*\" to atomically allow the upload only if the key has no object yet. Other values are not supported.. [optional] - storage_class (str): Deprecated, this capability will not be supported in future releases.. [optional] - force (bool): [optional] if omitted the server will use the default value of False - content (file_type): Only a single file per upload which must be named \\\"content\\\".. [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - ObjectStats - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - kwargs['branch'] = \ - branch - kwargs['path'] = \ - path - return self.upload_object_endpoint.call_with_http_info(**kwargs) - diff --git a/clients/python-legacy/lakefs_client/api/pulls_api.py b/clients/python-legacy/lakefs_client/api/pulls_api.py deleted file mode 100644 index 878797d0744..00000000000 --- a/clients/python-legacy/lakefs_client/api/pulls_api.py +++ /dev/null @@ -1,734 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.api_client import ApiClient, Endpoint as _Endpoint -from lakefs_client.model_utils import ( # noqa: F401 - check_allowed_values, - check_validations, - date, - datetime, - file_type, - none_type, - validate_and_convert_types -) -from lakefs_client.model.error import Error -from lakefs_client.model.merge_result import MergeResult -from lakefs_client.model.pull_request import PullRequest -from lakefs_client.model.pull_request_basic import PullRequestBasic -from lakefs_client.model.pull_request_creation import PullRequestCreation -from lakefs_client.model.pull_request_creation_response import PullRequestCreationResponse -from lakefs_client.model.pull_requests_list import PullRequestsList - - -class PullsApi(object): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - self.create_pull_request_endpoint = _Endpoint( - settings={ - 'response_type': (PullRequestCreationResponse,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/pulls', - 'operation_id': 'create_pull_request', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - 'pull_request_creation', - ], - 'required': [ - 'repository', - 'pull_request_creation', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - 'pull_request_creation': - (PullRequestCreation,), - }, - 'attribute_map': { - 'repository': 'repository', - }, - 'location_map': { - 'repository': 'path', - 'pull_request_creation': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.get_pull_request_endpoint = _Endpoint( - settings={ - 'response_type': (PullRequest,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/pulls/{pull_request}', - 'operation_id': 'get_pull_request', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - 'pull_request', - ], - 'required': [ - 'repository', - 'pull_request', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - 'pull_request': - (str,), - }, - 'attribute_map': { - 'repository': 'repository', - 'pull_request': 'pull_request', - }, - 'location_map': { - 'repository': 'path', - 'pull_request': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.list_pull_requests_endpoint = _Endpoint( - settings={ - 'response_type': (PullRequestsList,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/pulls', - 'operation_id': 'list_pull_requests', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - 'prefix', - 'after', - 'amount', - 'status', - ], - 'required': [ - 'repository', - ], - 'nullable': [ - ], - 'enum': [ - 'status', - ], - 'validation': [ - 'amount', - ] - }, - root_map={ - 'validations': { - ('amount',): { - - 'inclusive_maximum': 1000, - 'inclusive_minimum': -1, - }, - }, - 'allowed_values': { - ('status',): { - - "OPEN": "open", - "CLOSED": "closed", - "ALL": "all" - }, - }, - 'openapi_types': { - 'repository': - (str,), - 'prefix': - (str,), - 'after': - (str,), - 'amount': - (int,), - 'status': - (str,), - }, - 'attribute_map': { - 'repository': 'repository', - 'prefix': 'prefix', - 'after': 'after', - 'amount': 'amount', - 'status': 'status', - }, - 'location_map': { - 'repository': 'path', - 'prefix': 'query', - 'after': 'query', - 'amount': 'query', - 'status': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.merge_pull_request_endpoint = _Endpoint( - settings={ - 'response_type': (MergeResult,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/pulls/{pull_request}/merge', - 'operation_id': 'merge_pull_request', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - 'pull_request', - ], - 'required': [ - 'repository', - 'pull_request', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - 'pull_request': - (str,), - }, - 'attribute_map': { - 'repository': 'repository', - 'pull_request': 'pull_request', - }, - 'location_map': { - 'repository': 'path', - 'pull_request': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.update_pull_request_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/pulls/{pull_request}', - 'operation_id': 'update_pull_request', - 'http_method': 'PATCH', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - 'pull_request', - 'pull_request_basic', - ], - 'required': [ - 'repository', - 'pull_request', - 'pull_request_basic', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - 'pull_request': - (str,), - 'pull_request_basic': - (PullRequestBasic,), - }, - 'attribute_map': { - 'repository': 'repository', - 'pull_request': 'pull_request', - }, - 'location_map': { - 'repository': 'path', - 'pull_request': 'path', - 'pull_request_basic': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - - def create_pull_request( - self, - repository, - pull_request_creation, - **kwargs - ): - """create pull request # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.create_pull_request(repository, pull_request_creation, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - pull_request_creation (PullRequestCreation): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - PullRequestCreationResponse - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - kwargs['pull_request_creation'] = \ - pull_request_creation - return self.create_pull_request_endpoint.call_with_http_info(**kwargs) - - def get_pull_request( - self, - repository, - pull_request, - **kwargs - ): - """get pull request # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_pull_request(repository, pull_request, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - pull_request (str): pull request id - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - PullRequest - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - kwargs['pull_request'] = \ - pull_request - return self.get_pull_request_endpoint.call_with_http_info(**kwargs) - - def list_pull_requests( - self, - repository, - **kwargs - ): - """list pull requests # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.list_pull_requests(repository, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - - Keyword Args: - prefix (str): return items prefixed with this value. [optional] - after (str): return items after this value. [optional] - amount (int): how many items to return. [optional] if omitted the server will use the default value of 100 - status (str): [optional] if omitted the server will use the default value of "all" - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - PullRequestsList - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - return self.list_pull_requests_endpoint.call_with_http_info(**kwargs) - - def merge_pull_request( - self, - repository, - pull_request, - **kwargs - ): - """merge pull request # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.merge_pull_request(repository, pull_request, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - pull_request (str): pull request id - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - MergeResult - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - kwargs['pull_request'] = \ - pull_request - return self.merge_pull_request_endpoint.call_with_http_info(**kwargs) - - def update_pull_request( - self, - repository, - pull_request, - pull_request_basic, - **kwargs - ): - """update pull request # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.update_pull_request(repository, pull_request, pull_request_basic, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - pull_request (str): pull request id - pull_request_basic (PullRequestBasic): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - kwargs['pull_request'] = \ - pull_request - kwargs['pull_request_basic'] = \ - pull_request_basic - return self.update_pull_request_endpoint.call_with_http_info(**kwargs) - diff --git a/clients/python-legacy/lakefs_client/api/refs_api.py b/clients/python-legacy/lakefs_client/api/refs_api.py deleted file mode 100644 index 1b6549c4c77..00000000000 --- a/clients/python-legacy/lakefs_client/api/refs_api.py +++ /dev/null @@ -1,699 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.api_client import ApiClient, Endpoint as _Endpoint -from lakefs_client.model_utils import ( # noqa: F401 - check_allowed_values, - check_validations, - date, - datetime, - file_type, - none_type, - validate_and_convert_types -) -from lakefs_client.model.commit_list import CommitList -from lakefs_client.model.diff_list import DiffList -from lakefs_client.model.error import Error -from lakefs_client.model.find_merge_base_result import FindMergeBaseResult -from lakefs_client.model.merge import Merge -from lakefs_client.model.merge_result import MergeResult - - -class RefsApi(object): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - self.diff_refs_endpoint = _Endpoint( - settings={ - 'response_type': (DiffList,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/refs/{leftRef}/diff/{rightRef}', - 'operation_id': 'diff_refs', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - 'left_ref', - 'right_ref', - 'after', - 'amount', - 'prefix', - 'delimiter', - 'type', - ], - 'required': [ - 'repository', - 'left_ref', - 'right_ref', - ], - 'nullable': [ - ], - 'enum': [ - 'type', - ], - 'validation': [ - 'amount', - ] - }, - root_map={ - 'validations': { - ('amount',): { - - 'inclusive_maximum': 1000, - 'inclusive_minimum': -1, - }, - }, - 'allowed_values': { - ('type',): { - - "TWO_DOT": "two_dot", - "THREE_DOT": "three_dot" - }, - }, - 'openapi_types': { - 'repository': - (str,), - 'left_ref': - (str,), - 'right_ref': - (str,), - 'after': - (str,), - 'amount': - (int,), - 'prefix': - (str,), - 'delimiter': - (str,), - 'type': - (str,), - }, - 'attribute_map': { - 'repository': 'repository', - 'left_ref': 'leftRef', - 'right_ref': 'rightRef', - 'after': 'after', - 'amount': 'amount', - 'prefix': 'prefix', - 'delimiter': 'delimiter', - 'type': 'type', - }, - 'location_map': { - 'repository': 'path', - 'left_ref': 'path', - 'right_ref': 'path', - 'after': 'query', - 'amount': 'query', - 'prefix': 'query', - 'delimiter': 'query', - 'type': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.find_merge_base_endpoint = _Endpoint( - settings={ - 'response_type': (FindMergeBaseResult,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/refs/{sourceRef}/merge/{destinationBranch}', - 'operation_id': 'find_merge_base', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - 'source_ref', - 'destination_branch', - ], - 'required': [ - 'repository', - 'source_ref', - 'destination_branch', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - 'source_ref': - (str,), - 'destination_branch': - (str,), - }, - 'attribute_map': { - 'repository': 'repository', - 'source_ref': 'sourceRef', - 'destination_branch': 'destinationBranch', - }, - 'location_map': { - 'repository': 'path', - 'source_ref': 'path', - 'destination_branch': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.log_commits_endpoint = _Endpoint( - settings={ - 'response_type': (CommitList,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/refs/{ref}/commits', - 'operation_id': 'log_commits', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - 'ref', - 'after', - 'amount', - 'objects', - 'prefixes', - 'limit', - 'first_parent', - 'since', - 'stop_at', - ], - 'required': [ - 'repository', - 'ref', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'amount', - ] - }, - root_map={ - 'validations': { - ('amount',): { - - 'inclusive_maximum': 1000, - 'inclusive_minimum': -1, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - 'ref': - (str,), - 'after': - (str,), - 'amount': - (int,), - 'objects': - ([str],), - 'prefixes': - ([str],), - 'limit': - (bool,), - 'first_parent': - (bool,), - 'since': - (datetime,), - 'stop_at': - (str,), - }, - 'attribute_map': { - 'repository': 'repository', - 'ref': 'ref', - 'after': 'after', - 'amount': 'amount', - 'objects': 'objects', - 'prefixes': 'prefixes', - 'limit': 'limit', - 'first_parent': 'first_parent', - 'since': 'since', - 'stop_at': 'stop_at', - }, - 'location_map': { - 'repository': 'path', - 'ref': 'path', - 'after': 'query', - 'amount': 'query', - 'objects': 'query', - 'prefixes': 'query', - 'limit': 'query', - 'first_parent': 'query', - 'since': 'query', - 'stop_at': 'query', - }, - 'collection_format_map': { - 'objects': 'multi', - 'prefixes': 'multi', - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.merge_into_branch_endpoint = _Endpoint( - settings={ - 'response_type': (MergeResult,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/refs/{sourceRef}/merge/{destinationBranch}', - 'operation_id': 'merge_into_branch', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - 'source_ref', - 'destination_branch', - 'merge', - ], - 'required': [ - 'repository', - 'source_ref', - 'destination_branch', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - 'source_ref': - (str,), - 'destination_branch': - (str,), - 'merge': - (Merge,), - }, - 'attribute_map': { - 'repository': 'repository', - 'source_ref': 'sourceRef', - 'destination_branch': 'destinationBranch', - }, - 'location_map': { - 'repository': 'path', - 'source_ref': 'path', - 'destination_branch': 'path', - 'merge': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - - def diff_refs( - self, - repository, - left_ref, - right_ref, - **kwargs - ): - """diff references # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.diff_refs(repository, left_ref, right_ref, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - left_ref (str): a reference (could be either a branch or a commit ID) - right_ref (str): a reference (could be either a branch or a commit ID) to compare against - - Keyword Args: - after (str): return items after this value. [optional] - amount (int): how many items to return. [optional] if omitted the server will use the default value of 100 - prefix (str): return items prefixed with this value. [optional] - delimiter (str): delimiter used to group common prefixes by. [optional] - type (str): [optional] if omitted the server will use the default value of "three_dot" - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - DiffList - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - kwargs['left_ref'] = \ - left_ref - kwargs['right_ref'] = \ - right_ref - return self.diff_refs_endpoint.call_with_http_info(**kwargs) - - def find_merge_base( - self, - repository, - source_ref, - destination_branch, - **kwargs - ): - """find the merge base for 2 references # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.find_merge_base(repository, source_ref, destination_branch, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - source_ref (str): source ref - destination_branch (str): destination branch name - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - FindMergeBaseResult - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - kwargs['source_ref'] = \ - source_ref - kwargs['destination_branch'] = \ - destination_branch - return self.find_merge_base_endpoint.call_with_http_info(**kwargs) - - def log_commits( - self, - repository, - ref, - **kwargs - ): - """get commit log from ref. If both objects and prefixes are empty, return all commits. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.log_commits(repository, ref, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - ref (str): - - Keyword Args: - after (str): return items after this value. [optional] - amount (int): how many items to return. [optional] if omitted the server will use the default value of 100 - objects ([str]): list of paths, each element is a path of a specific object. [optional] - prefixes ([str]): list of paths, each element is a path of a prefix. [optional] - limit (bool): limit the number of items in return to 'amount'. Without further indication on actual number of items.. [optional] - first_parent (bool): if set to true, follow only the first parent upon reaching a merge commit. [optional] - since (datetime): Show commits more recent than a specific date-time. In case used with stop_at parameter, will stop at the first commit that meets any of the conditions.. [optional] - stop_at (str): A reference to stop at. In case used with since parameter, will stop at the first commit that meets any of the conditions.. [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - CommitList - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - kwargs['ref'] = \ - ref - return self.log_commits_endpoint.call_with_http_info(**kwargs) - - def merge_into_branch( - self, - repository, - source_ref, - destination_branch, - **kwargs - ): - """merge references # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.merge_into_branch(repository, source_ref, destination_branch, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - source_ref (str): source ref - destination_branch (str): destination branch name - - Keyword Args: - merge (Merge): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - MergeResult - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - kwargs['source_ref'] = \ - source_ref - kwargs['destination_branch'] = \ - destination_branch - return self.merge_into_branch_endpoint.call_with_http_info(**kwargs) - diff --git a/clients/python-legacy/lakefs_client/api/repositories_api.py b/clients/python-legacy/lakefs_client/api/repositories_api.py deleted file mode 100644 index 0f8b582acdd..00000000000 --- a/clients/python-legacy/lakefs_client/api/repositories_api.py +++ /dev/null @@ -1,1813 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.api_client import ApiClient, Endpoint as _Endpoint -from lakefs_client.model_utils import ( # noqa: F401 - check_allowed_values, - check_validations, - date, - datetime, - file_type, - none_type, - validate_and_convert_types -) -from lakefs_client.model.branch_protection_rule import BranchProtectionRule -from lakefs_client.model.error import Error -from lakefs_client.model.garbage_collection_rules import GarbageCollectionRules -from lakefs_client.model.refs_restore import RefsRestore -from lakefs_client.model.repository import Repository -from lakefs_client.model.repository_creation import RepositoryCreation -from lakefs_client.model.repository_dump_status import RepositoryDumpStatus -from lakefs_client.model.repository_list import RepositoryList -from lakefs_client.model.repository_metadata import RepositoryMetadata -from lakefs_client.model.repository_restore_status import RepositoryRestoreStatus -from lakefs_client.model.task_info import TaskInfo - - -class RepositoriesApi(object): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - self.create_repository_endpoint = _Endpoint( - settings={ - 'response_type': (Repository,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories', - 'operation_id': 'create_repository', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository_creation', - 'bare', - ], - 'required': [ - 'repository_creation', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository_creation': - (RepositoryCreation,), - 'bare': - (bool,), - }, - 'attribute_map': { - 'bare': 'bare', - }, - 'location_map': { - 'repository_creation': 'body', - 'bare': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.delete_gc_rules_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/settings/gc_rules', - 'operation_id': 'delete_gc_rules', - 'http_method': 'DELETE', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - ], - 'required': [ - 'repository', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - }, - 'attribute_map': { - 'repository': 'repository', - }, - 'location_map': { - 'repository': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.delete_repository_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}', - 'operation_id': 'delete_repository', - 'http_method': 'DELETE', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - 'force', - ], - 'required': [ - 'repository', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - 'force': - (bool,), - }, - 'attribute_map': { - 'repository': 'repository', - 'force': 'force', - }, - 'location_map': { - 'repository': 'path', - 'force': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.dump_status_endpoint = _Endpoint( - settings={ - 'response_type': (RepositoryDumpStatus,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/dump', - 'operation_id': 'dump_status', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - 'task_id', - ], - 'required': [ - 'repository', - 'task_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - 'task_id': - (str,), - }, - 'attribute_map': { - 'repository': 'repository', - 'task_id': 'task_id', - }, - 'location_map': { - 'repository': 'path', - 'task_id': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.dump_submit_endpoint = _Endpoint( - settings={ - 'response_type': (TaskInfo,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/dump', - 'operation_id': 'dump_submit', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - ], - 'required': [ - 'repository', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - }, - 'attribute_map': { - 'repository': 'repository', - }, - 'location_map': { - 'repository': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_branch_protection_rules_endpoint = _Endpoint( - settings={ - 'response_type': ([BranchProtectionRule],), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/settings/branch_protection', - 'operation_id': 'get_branch_protection_rules', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - ], - 'required': [ - 'repository', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - }, - 'attribute_map': { - 'repository': 'repository', - }, - 'location_map': { - 'repository': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_gc_rules_endpoint = _Endpoint( - settings={ - 'response_type': (GarbageCollectionRules,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/settings/gc_rules', - 'operation_id': 'get_gc_rules', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - ], - 'required': [ - 'repository', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - }, - 'attribute_map': { - 'repository': 'repository', - }, - 'location_map': { - 'repository': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_repository_endpoint = _Endpoint( - settings={ - 'response_type': (Repository,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}', - 'operation_id': 'get_repository', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - ], - 'required': [ - 'repository', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - }, - 'attribute_map': { - 'repository': 'repository', - }, - 'location_map': { - 'repository': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_repository_metadata_endpoint = _Endpoint( - settings={ - 'response_type': (RepositoryMetadata,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/metadata', - 'operation_id': 'get_repository_metadata', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - ], - 'required': [ - 'repository', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - }, - 'attribute_map': { - 'repository': 'repository', - }, - 'location_map': { - 'repository': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.list_repositories_endpoint = _Endpoint( - settings={ - 'response_type': (RepositoryList,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories', - 'operation_id': 'list_repositories', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'prefix', - 'after', - 'amount', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'amount', - ] - }, - root_map={ - 'validations': { - ('amount',): { - - 'inclusive_maximum': 1000, - 'inclusive_minimum': -1, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'prefix': - (str,), - 'after': - (str,), - 'amount': - (int,), - }, - 'attribute_map': { - 'prefix': 'prefix', - 'after': 'after', - 'amount': 'amount', - }, - 'location_map': { - 'prefix': 'query', - 'after': 'query', - 'amount': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.restore_status_endpoint = _Endpoint( - settings={ - 'response_type': (RepositoryRestoreStatus,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/restore', - 'operation_id': 'restore_status', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - 'task_id', - ], - 'required': [ - 'repository', - 'task_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - 'task_id': - (str,), - }, - 'attribute_map': { - 'repository': 'repository', - 'task_id': 'task_id', - }, - 'location_map': { - 'repository': 'path', - 'task_id': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.restore_submit_endpoint = _Endpoint( - settings={ - 'response_type': (TaskInfo,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/restore', - 'operation_id': 'restore_submit', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - 'refs_restore', - ], - 'required': [ - 'repository', - 'refs_restore', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - 'refs_restore': - (RefsRestore,), - }, - 'attribute_map': { - 'repository': 'repository', - }, - 'location_map': { - 'repository': 'path', - 'refs_restore': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.set_branch_protection_rules_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/settings/branch_protection', - 'operation_id': 'set_branch_protection_rules', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - 'branch_protection_rule', - 'if_match', - ], - 'required': [ - 'repository', - 'branch_protection_rule', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - 'branch_protection_rule': - ([BranchProtectionRule],), - 'if_match': - (str,), - }, - 'attribute_map': { - 'repository': 'repository', - 'if_match': 'If-Match', - }, - 'location_map': { - 'repository': 'path', - 'branch_protection_rule': 'body', - 'if_match': 'header', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.set_gc_rules_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/settings/gc_rules', - 'operation_id': 'set_gc_rules', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - 'garbage_collection_rules', - ], - 'required': [ - 'repository', - 'garbage_collection_rules', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - 'garbage_collection_rules': - (GarbageCollectionRules,), - }, - 'attribute_map': { - 'repository': 'repository', - }, - 'location_map': { - 'repository': 'path', - 'garbage_collection_rules': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - - def create_repository( - self, - repository_creation, - **kwargs - ): - """create repository # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.create_repository(repository_creation, async_req=True) - >>> result = thread.get() - - Args: - repository_creation (RepositoryCreation): - - Keyword Args: - bare (bool): If true, create a bare repository with no initial commit and branch. [optional] if omitted the server will use the default value of False - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - Repository - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository_creation'] = \ - repository_creation - return self.create_repository_endpoint.call_with_http_info(**kwargs) - - def delete_gc_rules( - self, - repository, - **kwargs - ): - """delete_gc_rules # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.delete_gc_rules(repository, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - return self.delete_gc_rules_endpoint.call_with_http_info(**kwargs) - - def delete_repository( - self, - repository, - **kwargs - ): - """delete repository # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.delete_repository(repository, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - - Keyword Args: - force (bool): Bypass read-only protection and delete the repository. [optional] if omitted the server will use the default value of False - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - return self.delete_repository_endpoint.call_with_http_info(**kwargs) - - def dump_status( - self, - repository, - task_id, - **kwargs - ): - """Status of a repository dump task # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.dump_status(repository, task_id, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - task_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - RepositoryDumpStatus - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - kwargs['task_id'] = \ - task_id - return self.dump_status_endpoint.call_with_http_info(**kwargs) - - def dump_submit( - self, - repository, - **kwargs - ): - """Backup the repository metadata (tags, commits, branches) and save the backup to the object store. # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.dump_submit(repository, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - TaskInfo - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - return self.dump_submit_endpoint.call_with_http_info(**kwargs) - - def get_branch_protection_rules( - self, - repository, - **kwargs - ): - """get branch protection rules # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_branch_protection_rules(repository, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - [BranchProtectionRule] - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - return self.get_branch_protection_rules_endpoint.call_with_http_info(**kwargs) - - def get_gc_rules( - self, - repository, - **kwargs - ): - """get repository GC rules # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_gc_rules(repository, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - GarbageCollectionRules - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - return self.get_gc_rules_endpoint.call_with_http_info(**kwargs) - - def get_repository( - self, - repository, - **kwargs - ): - """get repository # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_repository(repository, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - Repository - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - return self.get_repository_endpoint.call_with_http_info(**kwargs) - - def get_repository_metadata( - self, - repository, - **kwargs - ): - """get repository metadata # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_repository_metadata(repository, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - RepositoryMetadata - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - return self.get_repository_metadata_endpoint.call_with_http_info(**kwargs) - - def list_repositories( - self, - **kwargs - ): - """list repositories # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.list_repositories(async_req=True) - >>> result = thread.get() - - - Keyword Args: - prefix (str): return items prefixed with this value. [optional] - after (str): return items after this value. [optional] - amount (int): how many items to return. [optional] if omitted the server will use the default value of 100 - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - RepositoryList - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - return self.list_repositories_endpoint.call_with_http_info(**kwargs) - - def restore_status( - self, - repository, - task_id, - **kwargs - ): - """Status of a restore request # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.restore_status(repository, task_id, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - task_id (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - RepositoryRestoreStatus - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - kwargs['task_id'] = \ - task_id - return self.restore_status_endpoint.call_with_http_info(**kwargs) - - def restore_submit( - self, - repository, - refs_restore, - **kwargs - ): - """Restore repository from a dump in the object store # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.restore_submit(repository, refs_restore, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - refs_restore (RefsRestore): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - TaskInfo - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - kwargs['refs_restore'] = \ - refs_restore - return self.restore_submit_endpoint.call_with_http_info(**kwargs) - - def set_branch_protection_rules( - self, - repository, - branch_protection_rule, - **kwargs - ): - """set_branch_protection_rules # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.set_branch_protection_rules(repository, branch_protection_rule, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - branch_protection_rule ([BranchProtectionRule]): - - Keyword Args: - if_match (str): if provided, the branch protection rules will be updated only if the current ETag match the provided value. [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - kwargs['branch_protection_rule'] = \ - branch_protection_rule - return self.set_branch_protection_rules_endpoint.call_with_http_info(**kwargs) - - def set_gc_rules( - self, - repository, - garbage_collection_rules, - **kwargs - ): - """set_gc_rules # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.set_gc_rules(repository, garbage_collection_rules, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - garbage_collection_rules (GarbageCollectionRules): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - kwargs['garbage_collection_rules'] = \ - garbage_collection_rules - return self.set_gc_rules_endpoint.call_with_http_info(**kwargs) - diff --git a/clients/python-legacy/lakefs_client/api/staging_api.py b/clients/python-legacy/lakefs_client/api/staging_api.py deleted file mode 100644 index f2e3e3c4d51..00000000000 --- a/clients/python-legacy/lakefs_client/api/staging_api.py +++ /dev/null @@ -1,346 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.api_client import ApiClient, Endpoint as _Endpoint -from lakefs_client.model_utils import ( # noqa: F401 - check_allowed_values, - check_validations, - date, - datetime, - file_type, - none_type, - validate_and_convert_types -) -from lakefs_client.model.error import Error -from lakefs_client.model.object_stats import ObjectStats -from lakefs_client.model.staging_location import StagingLocation -from lakefs_client.model.staging_metadata import StagingMetadata - - -class StagingApi(object): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - self.get_physical_address_endpoint = _Endpoint( - settings={ - 'response_type': (StagingLocation,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/branches/{branch}/staging/backing', - 'operation_id': 'get_physical_address', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - 'branch', - 'path', - 'presign', - ], - 'required': [ - 'repository', - 'branch', - 'path', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - 'branch': - (str,), - 'path': - (str,), - 'presign': - (bool,), - }, - 'attribute_map': { - 'repository': 'repository', - 'branch': 'branch', - 'path': 'path', - 'presign': 'presign', - }, - 'location_map': { - 'repository': 'path', - 'branch': 'path', - 'path': 'query', - 'presign': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.link_physical_address_endpoint = _Endpoint( - settings={ - 'response_type': (ObjectStats,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/branches/{branch}/staging/backing', - 'operation_id': 'link_physical_address', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - 'branch', - 'path', - 'staging_metadata', - 'if_none_match', - ], - 'required': [ - 'repository', - 'branch', - 'path', - 'staging_metadata', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - 'branch': - (str,), - 'path': - (str,), - 'staging_metadata': - (StagingMetadata,), - 'if_none_match': - (str,), - }, - 'attribute_map': { - 'repository': 'repository', - 'branch': 'branch', - 'path': 'path', - 'if_none_match': 'If-None-Match', - }, - 'location_map': { - 'repository': 'path', - 'branch': 'path', - 'path': 'query', - 'staging_metadata': 'body', - 'if_none_match': 'header', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - - def get_physical_address( - self, - repository, - branch, - path, - **kwargs - ): - """generate an address to which the client can upload an object # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_physical_address(repository, branch, path, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - branch (str): - path (str): relative to the branch - - Keyword Args: - presign (bool): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - StagingLocation - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - kwargs['branch'] = \ - branch - kwargs['path'] = \ - path - return self.get_physical_address_endpoint.call_with_http_info(**kwargs) - - def link_physical_address( - self, - repository, - branch, - path, - staging_metadata, - **kwargs - ): - """associate staging on this physical address with a path # noqa: E501 - - Link the physical address with the path in lakeFS, creating an uncommitted change. The given address can be one generated by getPhysicalAddress, or an address outside the repository's storage namespace. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.link_physical_address(repository, branch, path, staging_metadata, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - branch (str): - path (str): relative to the branch - staging_metadata (StagingMetadata): - - Keyword Args: - if_none_match (str): Set to \"*\" to atomically allow the upload only if the key has no object yet. Other values are not supported.. [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - ObjectStats - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - kwargs['branch'] = \ - branch - kwargs['path'] = \ - path - kwargs['staging_metadata'] = \ - staging_metadata - return self.link_physical_address_endpoint.call_with_http_info(**kwargs) - diff --git a/clients/python-legacy/lakefs_client/api/tags_api.py b/clients/python-legacy/lakefs_client/api/tags_api.py deleted file mode 100644 index 3ef623ce6e8..00000000000 --- a/clients/python-legacy/lakefs_client/api/tags_api.py +++ /dev/null @@ -1,583 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.api_client import ApiClient, Endpoint as _Endpoint -from lakefs_client.model_utils import ( # noqa: F401 - check_allowed_values, - check_validations, - date, - datetime, - file_type, - none_type, - validate_and_convert_types -) -from lakefs_client.model.error import Error -from lakefs_client.model.ref import Ref -from lakefs_client.model.ref_list import RefList -from lakefs_client.model.tag_creation import TagCreation - - -class TagsApi(object): - """NOTE: This class is auto generated by OpenAPI Generator - Ref: https://openapi-generator.tech - - Do not edit the class manually. - """ - - def __init__(self, api_client=None): - if api_client is None: - api_client = ApiClient() - self.api_client = api_client - self.create_tag_endpoint = _Endpoint( - settings={ - 'response_type': (Ref,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/tags', - 'operation_id': 'create_tag', - 'http_method': 'POST', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - 'tag_creation', - ], - 'required': [ - 'repository', - 'tag_creation', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - 'tag_creation': - (TagCreation,), - }, - 'attribute_map': { - 'repository': 'repository', - }, - 'location_map': { - 'repository': 'path', - 'tag_creation': 'body', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [ - 'application/json' - ] - }, - api_client=api_client - ) - self.delete_tag_endpoint = _Endpoint( - settings={ - 'response_type': None, - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/tags/{tag}', - 'operation_id': 'delete_tag', - 'http_method': 'DELETE', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - 'tag', - 'force', - ], - 'required': [ - 'repository', - 'tag', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - 'tag': - (str,), - 'force': - (bool,), - }, - 'attribute_map': { - 'repository': 'repository', - 'tag': 'tag', - 'force': 'force', - }, - 'location_map': { - 'repository': 'path', - 'tag': 'path', - 'force': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.get_tag_endpoint = _Endpoint( - settings={ - 'response_type': (Ref,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/tags/{tag}', - 'operation_id': 'get_tag', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - 'tag', - ], - 'required': [ - 'repository', - 'tag', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - 'tag': - (str,), - }, - 'attribute_map': { - 'repository': 'repository', - 'tag': 'tag', - }, - 'location_map': { - 'repository': 'path', - 'tag': 'path', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.list_tags_endpoint = _Endpoint( - settings={ - 'response_type': (RefList,), - 'auth': [ - 'basic_auth', - 'cookie_auth', - 'jwt_token', - 'oidc_auth', - 'saml_auth' - ], - 'endpoint_path': '/repositories/{repository}/tags', - 'operation_id': 'list_tags', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'repository', - 'prefix', - 'after', - 'amount', - ], - 'required': [ - 'repository', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'amount', - ] - }, - root_map={ - 'validations': { - ('amount',): { - - 'inclusive_maximum': 1000, - 'inclusive_minimum': -1, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'repository': - (str,), - 'prefix': - (str,), - 'after': - (str,), - 'amount': - (int,), - }, - 'attribute_map': { - 'repository': 'repository', - 'prefix': 'prefix', - 'after': 'after', - 'amount': 'amount', - }, - 'location_map': { - 'repository': 'path', - 'prefix': 'query', - 'after': 'query', - 'amount': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - - def create_tag( - self, - repository, - tag_creation, - **kwargs - ): - """create tag # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.create_tag(repository, tag_creation, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - tag_creation (TagCreation): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - Ref - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - kwargs['tag_creation'] = \ - tag_creation - return self.create_tag_endpoint.call_with_http_info(**kwargs) - - def delete_tag( - self, - repository, - tag, - **kwargs - ): - """delete tag # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.delete_tag(repository, tag, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - tag (str): - - Keyword Args: - force (bool): [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - None - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - kwargs['tag'] = \ - tag - return self.delete_tag_endpoint.call_with_http_info(**kwargs) - - def get_tag( - self, - repository, - tag, - **kwargs - ): - """get tag # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.get_tag(repository, tag, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - tag (str): - - Keyword Args: - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - Ref - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - kwargs['tag'] = \ - tag - return self.get_tag_endpoint.call_with_http_info(**kwargs) - - def list_tags( - self, - repository, - **kwargs - ): - """list tags # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.list_tags(repository, async_req=True) - >>> result = thread.get() - - Args: - repository (str): - - Keyword Args: - prefix (str): return items prefixed with this value. [optional] - after (str): return items after this value. [optional] - amount (int): how many items to return. [optional] if omitted the server will use the default value of 100 - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - RefList - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['repository'] = \ - repository - return self.list_tags_endpoint.call_with_http_info(**kwargs) - diff --git a/clients/python-legacy/lakefs_client/api_client.py b/clients/python-legacy/lakefs_client/api_client.py deleted file mode 100644 index c53cd78c86b..00000000000 --- a/clients/python-legacy/lakefs_client/api_client.py +++ /dev/null @@ -1,851 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import json -import atexit -import mimetypes -from multiprocessing.pool import ThreadPool -import io -import os -import re -import typing -from urllib.parse import quote -from urllib3.fields import RequestField - - -from lakefs_client import rest -from lakefs_client.configuration import Configuration -from lakefs_client.exceptions import ApiTypeError, ApiValueError, ApiException -from lakefs_client.model_utils import ( - ModelNormal, - ModelSimple, - ModelComposed, - check_allowed_values, - check_validations, - date, - datetime, - deserialize_file, - file_type, - model_to_dict, - none_type, - validate_and_convert_types -) - - -class ApiClient(object): - """Generic API client for OpenAPI client library builds. - - OpenAPI generic API client. This client handles the client- - server communication, and is invariant across implementations. Specifics of - the methods and models for each application are generated from the OpenAPI - templates. - - NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - Do not edit the class manually. - - :param configuration: .Configuration object for this client - :param header_name: a header to pass when making calls to the API. - :param header_value: a header value to pass when making calls to - the API. - :param cookie: a cookie to include in the header when making calls - to the API - :param pool_threads: The number of threads to use for async requests - to the API. More threads means more concurrent API requests. - """ - - _pool = None - - def __init__(self, configuration=None, header_name=None, header_value=None, - cookie=None, pool_threads=1): - if configuration is None: - configuration = Configuration.get_default_copy() - self.configuration = configuration - self.pool_threads = pool_threads - - self.rest_client = rest.RESTClientObject(configuration) - self.default_headers = {} - if header_name is not None: - self.default_headers[header_name] = header_value - self.cookie = cookie - # Set default User-Agent. - self.user_agent = 'lakefs-python-sdk/0.1.0-SNAPSHOT-legacy' - - def __enter__(self): - return self - - def __exit__(self, exc_type, exc_value, traceback): - self.close() - - def close(self): - if self._pool: - self._pool.close() - self._pool.join() - self._pool = None - if hasattr(atexit, 'unregister'): - atexit.unregister(self.close) - - @property - def pool(self): - """Create thread pool on first request - avoids instantiating unused threadpool for blocking clients. - """ - if self._pool is None: - atexit.register(self.close) - self._pool = ThreadPool(self.pool_threads) - return self._pool - - @property - def user_agent(self): - """User agent for this API client""" - return self.default_headers['User-Agent'] - - @user_agent.setter - def user_agent(self, value): - self.default_headers['User-Agent'] = value - - def set_default_header(self, header_name, header_value): - self.default_headers[header_name] = header_value - - def __call_api( - self, - resource_path: str, - method: str, - path_params: typing.Optional[typing.Dict[str, typing.Any]] = None, - query_params: typing.Optional[typing.List[typing.Tuple[str, typing.Any]]] = None, - header_params: typing.Optional[typing.Dict[str, typing.Any]] = None, - body: typing.Optional[typing.Any] = None, - post_params: typing.Optional[typing.List[typing.Tuple[str, typing.Any]]] = None, - files: typing.Optional[typing.Dict[str, typing.List[io.IOBase]]] = None, - response_type: typing.Optional[typing.Tuple[typing.Any]] = None, - auth_settings: typing.Optional[typing.List[str]] = None, - _return_http_data_only: typing.Optional[bool] = None, - collection_formats: typing.Optional[typing.Dict[str, str]] = None, - _preload_content: bool = True, - _request_timeout: typing.Optional[typing.Union[int, float, typing.Tuple]] = None, - _host: typing.Optional[str] = None, - _check_type: typing.Optional[bool] = None - ): - - config = self.configuration - - # header parameters - header_params = header_params or {} - header_params.update(self.default_headers) - if self.cookie: - header_params['Cookie'] = self.cookie - if header_params: - header_params = self.sanitize_for_serialization(header_params) - header_params = dict(self.parameters_to_tuples(header_params, - collection_formats)) - - # path parameters - if path_params: - path_params = self.sanitize_for_serialization(path_params) - path_params = self.parameters_to_tuples(path_params, - collection_formats) - for k, v in path_params: - # specified safe chars, encode everything - resource_path = resource_path.replace( - '{%s}' % k, - quote(str(v), safe=config.safe_chars_for_path_param) - ) - - # query parameters - if query_params: - query_params = self.sanitize_for_serialization(query_params) - query_params = self.parameters_to_tuples(query_params, - collection_formats) - - # post parameters - if post_params or files: - post_params = post_params if post_params else [] - post_params = self.sanitize_for_serialization(post_params) - post_params = self.parameters_to_tuples(post_params, - collection_formats) - post_params.extend(self.files_parameters(files)) - if header_params['Content-Type'].startswith("multipart"): - post_params = self.parameters_to_multipart(post_params, - (dict) ) - - # body - if body: - body = self.sanitize_for_serialization(body) - - # auth setting - self.update_params_for_auth(header_params, query_params, - auth_settings, resource_path, method, body) - - # request url - if _host is None: - url = self.configuration.host + resource_path - else: - # use server/host defined in path or operation instead - url = _host + resource_path - - try: - # perform request and return response - response_data = self.request( - method, url, query_params=query_params, headers=header_params, - post_params=post_params, body=body, - _preload_content=_preload_content, - _request_timeout=_request_timeout) - except ApiException as e: - e.body = e.body.decode('utf-8') - raise e - - self.last_response = response_data - - return_data = response_data - - if not _preload_content: - return (return_data) - return return_data - - # deserialize response data - if response_type: - if response_type != (file_type,): - encoding = "utf-8" - content_type = response_data.getheader('content-type') - if content_type is not None: - match = re.search(r"charset=([a-zA-Z\-\d]+)[\s\;]?", content_type) - if match: - encoding = match.group(1) - response_data.data = response_data.data.decode(encoding) - - return_data = self.deserialize( - response_data, - response_type, - _check_type - ) - else: - return_data = None - - if _return_http_data_only: - return (return_data) - else: - return (return_data, response_data.status, - response_data.getheaders()) - - def parameters_to_multipart(self, params, collection_types): - """Get parameters as list of tuples, formatting as json if value is collection_types - - :param params: Parameters as list of two-tuples - :param dict collection_types: Parameter collection types - :return: Parameters as list of tuple or urllib3.fields.RequestField - """ - new_params = [] - if collection_types is None: - collection_types = (dict) - for k, v in params.items() if isinstance(params, dict) else params: # noqa: E501 - if isinstance(v, collection_types): # v is instance of collection_type, formatting as application/json - v = json.dumps(v, ensure_ascii=False).encode("utf-8") - field = RequestField(k, v) - field.make_multipart(content_type="application/json; charset=utf-8") - new_params.append(field) - else: - new_params.append((k, v)) - return new_params - - @classmethod - def sanitize_for_serialization(cls, obj): - """Prepares data for transmission before it is sent with the rest client - If obj is None, return None. - If obj is str, int, long, float, bool, return directly. - If obj is datetime.datetime, datetime.date - convert to string in iso8601 format. - If obj is list, sanitize each element in the list. - If obj is dict, return the dict. - If obj is OpenAPI model, return the properties dict. - If obj is io.IOBase, return the bytes - :param obj: The data to serialize. - :return: The serialized form of data. - """ - if isinstance(obj, (ModelNormal, ModelComposed)): - return { - key: cls.sanitize_for_serialization(val) for key, val in model_to_dict(obj, serialize=True).items() - } - elif isinstance(obj, io.IOBase): - return cls.get_file_data_and_close_file(obj) - elif isinstance(obj, (str, int, float, none_type, bool)): - return obj - elif isinstance(obj, (datetime, date)): - return obj.isoformat() - elif isinstance(obj, ModelSimple): - return cls.sanitize_for_serialization(obj.value) - elif isinstance(obj, (list, tuple)): - return [cls.sanitize_for_serialization(item) for item in obj] - if isinstance(obj, dict): - return {key: cls.sanitize_for_serialization(val) for key, val in obj.items()} - raise ApiValueError('Unable to prepare type {} for serialization'.format(obj.__class__.__name__)) - - def deserialize(self, response, response_type, _check_type): - """Deserializes response into an object. - - :param response: RESTResponse object to be deserialized. - :param response_type: For the response, a tuple containing: - valid classes - a list containing valid classes (for list schemas) - a dict containing a tuple of valid classes as the value - Example values: - (str,) - (Pet,) - (float, none_type) - ([int, none_type],) - ({str: (bool, str, int, float, date, datetime, str, none_type)},) - :param _check_type: boolean, whether to check the types of the data - received from the server - :type _check_type: bool - - :return: deserialized object. - """ - # handle file downloading - # save response body into a tmp file and return the instance - if response_type == (file_type,): - content_disposition = response.getheader("Content-Disposition") - return deserialize_file(response.data, self.configuration, - content_disposition=content_disposition) - - # fetch data from response object - try: - received_data = json.loads(response.data) - except ValueError: - received_data = response.data - - # store our data under the key of 'received_data' so users have some - # context if they are deserializing a string and the data type is wrong - deserialized_data = validate_and_convert_types( - received_data, - response_type, - ['received_data'], - True, - _check_type, - configuration=self.configuration - ) - return deserialized_data - - def call_api( - self, - resource_path: str, - method: str, - path_params: typing.Optional[typing.Dict[str, typing.Any]] = None, - query_params: typing.Optional[typing.List[typing.Tuple[str, typing.Any]]] = None, - header_params: typing.Optional[typing.Dict[str, typing.Any]] = None, - body: typing.Optional[typing.Any] = None, - post_params: typing.Optional[typing.List[typing.Tuple[str, typing.Any]]] = None, - files: typing.Optional[typing.Dict[str, typing.List[io.IOBase]]] = None, - response_type: typing.Optional[typing.Tuple[typing.Any]] = None, - auth_settings: typing.Optional[typing.List[str]] = None, - async_req: typing.Optional[bool] = None, - _return_http_data_only: typing.Optional[bool] = None, - collection_formats: typing.Optional[typing.Dict[str, str]] = None, - _preload_content: bool = True, - _request_timeout: typing.Optional[typing.Union[int, float, typing.Tuple]] = None, - _host: typing.Optional[str] = None, - _check_type: typing.Optional[bool] = None - ): - """Makes the HTTP request (synchronous) and returns deserialized data. - - To make an async_req request, set the async_req parameter. - - :param resource_path: Path to method endpoint. - :param method: Method to call. - :param path_params: Path parameters in the url. - :param query_params: Query parameters in the url. - :param header_params: Header parameters to be - placed in the request header. - :param body: Request body. - :param post_params dict: Request post form parameters, - for `application/x-www-form-urlencoded`, `multipart/form-data`. - :param auth_settings list: Auth Settings names for the request. - :param response_type: For the response, a tuple containing: - valid classes - a list containing valid classes (for list schemas) - a dict containing a tuple of valid classes as the value - Example values: - (str,) - (Pet,) - (float, none_type) - ([int, none_type],) - ({str: (bool, str, int, float, date, datetime, str, none_type)},) - :param files: key -> field name, value -> a list of open file - objects for `multipart/form-data`. - :type files: dict - :param async_req bool: execute request asynchronously - :type async_req: bool, optional - :param _return_http_data_only: response data without head status code - and headers - :type _return_http_data_only: bool, optional - :param collection_formats: dict of collection formats for path, query, - header, and post parameters. - :type collection_formats: dict, optional - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :type _preload_content: bool, optional - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :param _check_type: boolean describing if the data back from the server - should have its type checked. - :type _check_type: bool, optional - :return: - If async_req parameter is True, - the request will be called asynchronously. - The method will return the request thread. - If parameter async_req is False or missing, - then the method will return the response directly. - """ - if not async_req: - return self.__call_api(resource_path, method, - path_params, query_params, header_params, - body, post_params, files, - response_type, auth_settings, - _return_http_data_only, collection_formats, - _preload_content, _request_timeout, _host, - _check_type) - - return self.pool.apply_async(self.__call_api, (resource_path, - method, path_params, - query_params, - header_params, body, - post_params, files, - response_type, - auth_settings, - _return_http_data_only, - collection_formats, - _preload_content, - _request_timeout, - _host, _check_type)) - - def request(self, method, url, query_params=None, headers=None, - post_params=None, body=None, _preload_content=True, - _request_timeout=None): - """Makes the HTTP request using RESTClient.""" - if method == "GET": - return self.rest_client.GET(url, - query_params=query_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - headers=headers) - elif method == "HEAD": - return self.rest_client.HEAD(url, - query_params=query_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - headers=headers) - elif method == "OPTIONS": - return self.rest_client.OPTIONS(url, - query_params=query_params, - headers=headers, - post_params=post_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body) - elif method == "POST": - return self.rest_client.POST(url, - query_params=query_params, - headers=headers, - post_params=post_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body) - elif method == "PUT": - return self.rest_client.PUT(url, - query_params=query_params, - headers=headers, - post_params=post_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body) - elif method == "PATCH": - return self.rest_client.PATCH(url, - query_params=query_params, - headers=headers, - post_params=post_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body) - elif method == "DELETE": - return self.rest_client.DELETE(url, - query_params=query_params, - headers=headers, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body) - else: - raise ApiValueError( - "http method must be `GET`, `HEAD`, `OPTIONS`," - " `POST`, `PATCH`, `PUT` or `DELETE`." - ) - - def parameters_to_tuples(self, params, collection_formats): - """Get parameters as list of tuples, formatting collections. - - :param params: Parameters as dict or list of two-tuples - :param dict collection_formats: Parameter collection formats - :return: Parameters as list of tuples, collections formatted - """ - new_params = [] - if collection_formats is None: - collection_formats = {} - for k, v in params.items() if isinstance(params, dict) else params: # noqa: E501 - if k in collection_formats: - collection_format = collection_formats[k] - if collection_format == 'multi': - new_params.extend((k, value) for value in v) - else: - if collection_format == 'ssv': - delimiter = ' ' - elif collection_format == 'tsv': - delimiter = '\t' - elif collection_format == 'pipes': - delimiter = '|' - else: # csv is the default - delimiter = ',' - new_params.append( - (k, delimiter.join(str(value) for value in v))) - else: - new_params.append((k, v)) - return new_params - - @staticmethod - def get_file_data_and_close_file(file_instance: io.IOBase) -> bytes: - file_data = file_instance.read() - file_instance.close() - return file_data - - def files_parameters(self, files: typing.Optional[typing.Dict[str, typing.List[io.IOBase]]] = None): - """Builds form parameters. - - :param files: None or a dict with key=param_name and - value is a list of open file objects - :return: List of tuples of form parameters with file data - """ - if files is None: - return [] - - params = [] - for param_name, file_instances in files.items(): - if file_instances is None: - # if the file field is nullable, skip None values - continue - for file_instance in file_instances: - if file_instance is None: - # if the file field is nullable, skip None values - continue - if file_instance.closed is True: - raise ApiValueError( - "Cannot read a closed file. The passed in file_type " - "for %s must be open." % param_name - ) - filename = os.path.basename(file_instance.name) - filedata = self.get_file_data_and_close_file(file_instance) - mimetype = (mimetypes.guess_type(filename)[0] or - 'application/octet-stream') - params.append( - tuple([param_name, tuple([filename, filedata, mimetype])])) - - return params - - def select_header_accept(self, accepts): - """Returns `Accept` based on an array of accepts provided. - - :param accepts: List of headers. - :return: Accept (e.g. application/json). - """ - if not accepts: - return - - accepts = [x.lower() for x in accepts] - - if 'application/json' in accepts: - return 'application/json' - else: - return ', '.join(accepts) - - def select_header_content_type(self, content_types): - """Returns `Content-Type` based on an array of content_types provided. - - :param content_types: List of content-types. - :return: Content-Type (e.g. application/json). - """ - if not content_types: - return 'application/json' - - content_types = [x.lower() for x in content_types] - - if 'application/json' in content_types or '*/*' in content_types: - return 'application/json' - else: - return content_types[0] - - def update_params_for_auth(self, headers, queries, auth_settings, - resource_path, method, body): - """Updates header and query params based on authentication setting. - - :param headers: Header parameters dict to be updated. - :param queries: Query parameters tuple list to be updated. - :param auth_settings: Authentication setting identifiers list. - :param resource_path: A string representation of the HTTP request resource path. - :param method: A string representation of the HTTP request method. - :param body: A object representing the body of the HTTP request. - The object type is the return value of _encoder.default(). - """ - if not auth_settings: - return - - for auth in auth_settings: - auth_setting = self.configuration.auth_settings().get(auth) - if auth_setting: - if auth_setting['in'] == 'cookie': - headers['Cookie'] = auth_setting['value'] - elif auth_setting['in'] == 'header': - if auth_setting['type'] != 'http-signature': - headers[auth_setting['key']] = auth_setting['value'] - elif auth_setting['in'] == 'query': - queries.append((auth_setting['key'], auth_setting['value'])) - else: - raise ApiValueError( - 'Authentication token must be in `query` or `header`' - ) - - -class Endpoint(object): - def __init__(self, settings=None, params_map=None, root_map=None, - headers_map=None, api_client=None, callable=None): - """Creates an endpoint - - Args: - settings (dict): see below key value pairs - 'response_type' (tuple/None): response type - 'auth' (list): a list of auth type keys - 'endpoint_path' (str): the endpoint path - 'operation_id' (str): endpoint string identifier - 'http_method' (str): POST/PUT/PATCH/GET etc - 'servers' (list): list of str servers that this endpoint is at - params_map (dict): see below key value pairs - 'all' (list): list of str endpoint parameter names - 'required' (list): list of required parameter names - 'nullable' (list): list of nullable parameter names - 'enum' (list): list of parameters with enum values - 'validation' (list): list of parameters with validations - root_map - 'validations' (dict): the dict mapping endpoint parameter tuple - paths to their validation dictionaries - 'allowed_values' (dict): the dict mapping endpoint parameter - tuple paths to their allowed_values (enum) dictionaries - 'openapi_types' (dict): param_name to openapi type - 'attribute_map' (dict): param_name to camelCase name - 'location_map' (dict): param_name to 'body', 'file', 'form', - 'header', 'path', 'query' - collection_format_map (dict): param_name to `csv` etc. - headers_map (dict): see below key value pairs - 'accept' (list): list of Accept header strings - 'content_type' (list): list of Content-Type header strings - api_client (ApiClient) api client instance - callable (function): the function which is invoked when the - Endpoint is called - """ - self.settings = settings - self.params_map = params_map - self.params_map['all'].extend([ - 'async_req', - '_host_index', - '_preload_content', - '_request_timeout', - '_return_http_data_only', - '_check_input_type', - '_check_return_type' - ]) - self.params_map['nullable'].extend(['_request_timeout']) - self.validations = root_map['validations'] - self.allowed_values = root_map['allowed_values'] - self.openapi_types = root_map['openapi_types'] - extra_types = { - 'async_req': (bool,), - '_host_index': (none_type, int), - '_preload_content': (bool,), - '_request_timeout': (none_type, float, (float,), [float], int, (int,), [int]), - '_return_http_data_only': (bool,), - '_check_input_type': (bool,), - '_check_return_type': (bool,) - } - self.openapi_types.update(extra_types) - self.attribute_map = root_map['attribute_map'] - self.location_map = root_map['location_map'] - self.collection_format_map = root_map['collection_format_map'] - self.headers_map = headers_map - self.api_client = api_client - self.callable = callable - - def __validate_inputs(self, kwargs): - for param in self.params_map['enum']: - if param in kwargs: - check_allowed_values( - self.allowed_values, - (param,), - kwargs[param] - ) - - for param in self.params_map['validation']: - if param in kwargs: - check_validations( - self.validations, - (param,), - kwargs[param], - configuration=self.api_client.configuration - ) - - if kwargs['_check_input_type'] is False: - return - - for key, value in kwargs.items(): - fixed_val = validate_and_convert_types( - value, - self.openapi_types[key], - [key], - False, - kwargs['_check_input_type'], - configuration=self.api_client.configuration - ) - kwargs[key] = fixed_val - - def __gather_params(self, kwargs): - params = { - 'body': None, - 'collection_format': {}, - 'file': {}, - 'form': [], - 'header': {}, - 'path': {}, - 'query': [] - } - - for param_name, param_value in kwargs.items(): - param_location = self.location_map.get(param_name) - if param_location is None: - continue - if param_location: - if param_location == 'body': - params['body'] = param_value - continue - base_name = self.attribute_map[param_name] - if (param_location == 'form' and - self.openapi_types[param_name] == (file_type,)): - params['file'][param_name] = [param_value] - elif (param_location == 'form' and - self.openapi_types[param_name] == ([file_type],)): - # param_value is already a list - params['file'][param_name] = param_value - elif param_location in {'form', 'query'}: - param_value_full = (base_name, param_value) - params[param_location].append(param_value_full) - if param_location not in {'form', 'query'}: - params[param_location][base_name] = param_value - collection_format = self.collection_format_map.get(param_name) - if collection_format: - params['collection_format'][base_name] = collection_format - - return params - - def __call__(self, *args, **kwargs): - """ This method is invoked when endpoints are called - Example: - - api_instance = ActionsApi() - api_instance.get_run # this is an instance of the class Endpoint - api_instance.get_run() # this invokes api_instance.get_run.__call__() - which then invokes the callable functions stored in that endpoint at - api_instance.get_run.callable or self.callable in this class - - """ - return self.callable(self, *args, **kwargs) - - def call_with_http_info(self, **kwargs): - - try: - index = self.api_client.configuration.server_operation_index.get( - self.settings['operation_id'], self.api_client.configuration.server_index - ) if kwargs['_host_index'] is None else kwargs['_host_index'] - server_variables = self.api_client.configuration.server_operation_variables.get( - self.settings['operation_id'], self.api_client.configuration.server_variables - ) - _host = self.api_client.configuration.get_host_from_settings( - index, variables=server_variables, servers=self.settings['servers'] - ) - except IndexError: - if self.settings['servers']: - raise ApiValueError( - "Invalid host index. Must be 0 <= index < %s" % - len(self.settings['servers']) - ) - _host = None - - for key, value in kwargs.items(): - if key not in self.params_map['all']: - raise ApiTypeError( - "Got an unexpected parameter '%s'" - " to method `%s`" % - (key, self.settings['operation_id']) - ) - # only throw this nullable ApiValueError if _check_input_type - # is False, if _check_input_type==True we catch this case - # in self.__validate_inputs - if (key not in self.params_map['nullable'] and value is None - and kwargs['_check_input_type'] is False): - raise ApiValueError( - "Value may not be None for non-nullable parameter `%s`" - " when calling `%s`" % - (key, self.settings['operation_id']) - ) - - for key in self.params_map['required']: - if key not in kwargs.keys(): - raise ApiValueError( - "Missing the required parameter `%s` when calling " - "`%s`" % (key, self.settings['operation_id']) - ) - - self.__validate_inputs(kwargs) - - params = self.__gather_params(kwargs) - - accept_headers_list = self.headers_map['accept'] - if accept_headers_list: - params['header']['Accept'] = self.api_client.select_header_accept( - accept_headers_list) - - content_type_headers_list = self.headers_map['content_type'] - if content_type_headers_list: - if params['body'] != "": - header_list = self.api_client.select_header_content_type( - content_type_headers_list) - params['header']['Content-Type'] = header_list - - return self.api_client.call_api( - self.settings['endpoint_path'], self.settings['http_method'], - params['path'], - params['query'], - params['header'], - body=params['body'], - post_params=params['form'], - files=params['file'], - response_type=self.settings['response_type'], - auth_settings=self.settings['auth'], - async_req=kwargs['async_req'], - _check_type=kwargs['_check_return_type'], - _return_http_data_only=kwargs['_return_http_data_only'], - _preload_content=kwargs['_preload_content'], - _request_timeout=kwargs['_request_timeout'], - _host=_host, - collection_formats=params['collection_format']) diff --git a/clients/python-legacy/lakefs_client/apis/__init__.py b/clients/python-legacy/lakefs_client/apis/__init__.py deleted file mode 100644 index bde8cf3b71a..00000000000 --- a/clients/python-legacy/lakefs_client/apis/__init__.py +++ /dev/null @@ -1,33 +0,0 @@ - -# flake8: noqa - -# Import all APIs into this package. -# If you have many APIs here with many many models used in each API this may -# raise a `RecursionError`. -# In order to avoid this, import only the API that you directly need like: -# -# from .api.actions_api import ActionsApi -# -# or import this package, but before doing it, use: -# -# import sys -# sys.setrecursionlimit(n) - -# Import APIs into API package: -from lakefs_client.api.actions_api import ActionsApi -from lakefs_client.api.auth_api import AuthApi -from lakefs_client.api.branches_api import BranchesApi -from lakefs_client.api.commits_api import CommitsApi -from lakefs_client.api.config_api import ConfigApi -from lakefs_client.api.experimental_api import ExperimentalApi -from lakefs_client.api.external_api import ExternalApi -from lakefs_client.api.health_check_api import HealthCheckApi -from lakefs_client.api.import_api import ImportApi -from lakefs_client.api.internal_api import InternalApi -from lakefs_client.api.metadata_api import MetadataApi -from lakefs_client.api.objects_api import ObjectsApi -from lakefs_client.api.pulls_api import PullsApi -from lakefs_client.api.refs_api import RefsApi -from lakefs_client.api.repositories_api import RepositoriesApi -from lakefs_client.api.staging_api import StagingApi -from lakefs_client.api.tags_api import TagsApi diff --git a/clients/python-legacy/lakefs_client/client.py b/clients/python-legacy/lakefs_client/client.py deleted file mode 100644 index ad435dd3572..00000000000 --- a/clients/python-legacy/lakefs_client/client.py +++ /dev/null @@ -1,170 +0,0 @@ -import warnings - -from urllib3.util import parse_url, Url - -import lakefs_client.apis -from lakefs_client.api import actions_api -from lakefs_client.api import auth_api -from lakefs_client.api import branches_api -from lakefs_client.api import commits_api -from lakefs_client.api import config_api -from lakefs_client.api import experimental_api -from lakefs_client.api import external_api -from lakefs_client.api import health_check_api -from lakefs_client.api import import_api -from lakefs_client.api import internal_api -from lakefs_client.api import metadata_api -from lakefs_client.api import objects_api -from lakefs_client.api import pulls_api -from lakefs_client.api import refs_api -from lakefs_client.api import repositories_api -from lakefs_client.api import staging_api -from lakefs_client.api import tags_api - - -class _WrappedApiClient(lakefs_client.ApiClient): - """ApiClient that fixes some weirdness""" - - # Wrap files_parameters to work with unnamed "files" (e.g. MemIOs). - def files_parameters(self, files=None): - if files is not None: - for (param_name, file_instances) in files.items(): - i = 0 - if file_instances is None: - continue - for file_instance in file_instances: - if file_instance is not None and not hasattr(file_instance, 'name'): - # Generate a fake name. - i += 1 - file_instance.name = f'{param_name}{i}' - return super().files_parameters(files) - - -class LakeFSClient: - def __init__(self, configuration=None, header_name=None, header_value=None, cookie=None, pool_threads=1): - configuration = LakeFSClient._ensure_endpoint(configuration) - self._api = _WrappedApiClient(configuration=configuration, header_name=header_name, - header_value=header_value, cookie=cookie, pool_threads=pool_threads) - self.actions_api = actions_api.ActionsApi(self._api) - self.auth_api = auth_api.AuthApi(self._api) - self.branches_api = branches_api.BranchesApi(self._api) - self.commits_api = commits_api.CommitsApi(self._api) - self.config_api = config_api.ConfigApi(self._api) - self.experimental_api = experimental_api.ExperimentalApi(self._api) - self.external_api = external_api.ExternalApi(self._api) - self.health_check_api = health_check_api.HealthCheckApi(self._api) - self.import_api = import_api.ImportApi(self._api) - self.internal_api = internal_api.InternalApi(self._api) - self.metadata_api = metadata_api.MetadataApi(self._api) - self.objects_api = objects_api.ObjectsApi(self._api) - self.pulls_api = pulls_api.PullsApi(self._api) - self.refs_api = refs_api.RefsApi(self._api) - self.repositories_api = repositories_api.RepositoriesApi(self._api) - self.staging_api = staging_api.StagingApi(self._api) - self.tags_api = tags_api.TagsApi(self._api) - - @staticmethod - def _ensure_endpoint(configuration): - """Normalize lakefs connection endpoint found in configuration's host""" - if not configuration or not configuration.host: - return configuration - try: - # prefix http scheme if missing - if not configuration.host.startswith('http://') and not configuration.host.startswith('https://'): - configuration.host = 'http://' + configuration.host - # if 'host' not set any 'path', format the endpoint url with default 'path' based on the generated code - o = parse_url(configuration.host) - if not o.path or o.path == '/': - settings = configuration.get_host_settings() - if settings: - base_path = parse_url(settings[0].get('url')).path - configuration.host = Url(scheme=o.scheme, auth=o.auth, host=o.host, port=o.port, - path=base_path, query=o.query, fragment=o.fragment).url - except ValueError: - pass - return configuration - - @property - def actions(self): - warnings.warn("Deprecated property. Use actions_api instead.", DeprecationWarning) - return self.actions_api - - @property - def auth(self): - warnings.warn("Deprecated property. Use auth_api instead.", DeprecationWarning) - return self.auth_api - - @property - def branches(self): - warnings.warn("Deprecated property. Use branches_api instead.", DeprecationWarning) - return self.branches_api - - @property - def commits(self): - warnings.warn("Deprecated property. Use commits_api instead.", DeprecationWarning) - return self.commits_api - - @property - def config(self): - warnings.warn("Deprecated property. Use config_api instead.", DeprecationWarning) - return self.config_api - - @property - def experimental(self): - warnings.warn("Deprecated property. Use experimental_api instead.", DeprecationWarning) - return self.experimental_api - - @property - def health_check(self): - warnings.warn("Deprecated property. Use health_check_api instead.", DeprecationWarning) - return self.health_check_api - - @property - def metadata(self): - warnings.warn("Deprecated property. Use metadata_api instead.", DeprecationWarning) - return self.metadata_api - - @property - def objects(self): - warnings.warn("Deprecated property. Use objects_api instead.", DeprecationWarning) - return self.objects_api - - @property - def otf_diff(self): - warnings.warn("Deprecated property. Use otf_diff_api instead.", DeprecationWarning) - return self.otf_diff_api - - @property - def refs(self): - warnings.warn("Deprecated property. Use refs_api instead.", DeprecationWarning) - return self.refs_api - - @property - def repositories(self): - warnings.warn("Deprecated property. Use repositories_api instead.", DeprecationWarning) - return self.repositories_api - - @property - def retention(self): - warnings.warn("Deprecated property. Use retention_api instead.", DeprecationWarning) - return self.retention_api - - @property - def staging(self): - warnings.warn("Deprecated property. Use staging_api instead.", DeprecationWarning) - return self.staging_api - - @property - def statistics(self): - warnings.warn("Deprecated property. Use statistics_api instead.", DeprecationWarning) - return self.statistics_api - - @property - def tags(self): - warnings.warn("Deprecated property. Use tags_api instead.", DeprecationWarning) - return self.tags_api - - @property - def templates(self): - warnings.warn("Deprecated property. Use templates_api instead.", DeprecationWarning) - return self.templates_api diff --git a/clients/python-legacy/lakefs_client/configuration.py b/clients/python-legacy/lakefs_client/configuration.py deleted file mode 100644 index 2dfcc040680..00000000000 --- a/clients/python-legacy/lakefs_client/configuration.py +++ /dev/null @@ -1,522 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import copy -import logging -import multiprocessing -import sys -import urllib3 - -from http import client as http_client -from lakefs_client.exceptions import ApiValueError - - -JSON_SCHEMA_VALIDATION_KEYWORDS = { - 'multipleOf', 'maximum', 'exclusiveMaximum', - 'minimum', 'exclusiveMinimum', 'maxLength', - 'minLength', 'pattern', 'maxItems', 'minItems' -} - -class Configuration(object): - """NOTE: This class is auto generated by OpenAPI Generator - - Ref: https://openapi-generator.tech - Do not edit the class manually. - - :param host: Base url - :param api_key: Dict to store API key(s). - Each entry in the dict specifies an API key. - The dict key is the name of the security scheme in the OAS specification. - The dict value is the API key secret. - :param api_key_prefix: Dict to store API prefix (e.g. Bearer) - The dict key is the name of the security scheme in the OAS specification. - The dict value is an API key prefix when generating the auth data. - :param username: Username for HTTP basic authentication - :param password: Password for HTTP basic authentication - :param discard_unknown_keys: Boolean value indicating whether to discard - unknown properties. A server may send a response that includes additional - properties that are not known by the client in the following scenarios: - 1. The OpenAPI document is incomplete, i.e. it does not match the server - implementation. - 2. The client was generated using an older version of the OpenAPI document - and the server has been upgraded since then. - If a schema in the OpenAPI document defines the additionalProperties attribute, - then all undeclared properties received by the server are injected into the - additional properties map. In that case, there are undeclared properties, and - nothing to discard. - :param disabled_client_side_validations (string): Comma-separated list of - JSON schema validation keywords to disable JSON schema structural validation - rules. The following keywords may be specified: multipleOf, maximum, - exclusiveMaximum, minimum, exclusiveMinimum, maxLength, minLength, pattern, - maxItems, minItems. - By default, the validation is performed for data generated locally by the client - and data received from the server, independent of any validation performed by - the server side. If the input data does not satisfy the JSON schema validation - rules specified in the OpenAPI document, an exception is raised. - If disabled_client_side_validations is set, structural validation is - disabled. This can be useful to troubleshoot data validation problem, such as - when the OpenAPI document validation rules do not match the actual API data - received by the server. - :param server_index: Index to servers configuration. - :param server_variables: Mapping with string values to replace variables in - templated server configuration. The validation of enums is performed for - variables with defined enum values before. - :param server_operation_index: Mapping from operation ID to an index to server - configuration. - :param server_operation_variables: Mapping from operation ID to a mapping with - string values to replace variables in templated server configuration. - The validation of enums is performed for variables with defined enum values before. - :param ssl_ca_cert: str - the path to a file of concatenated CA certificates - in PEM format - - :Example: - - API Key Authentication Example. - Given the following security scheme in the OpenAPI specification: - components: - securitySchemes: - cookieAuth: # name for the security scheme - type: apiKey - in: cookie - name: JSESSIONID # cookie name - - You can programmatically set the cookie: - -conf = lakefs_client.Configuration( - api_key={'cookieAuth': 'abc123'} - api_key_prefix={'cookieAuth': 'JSESSIONID'} -) - - The following cookie will be added to the HTTP request: - Cookie: JSESSIONID abc123 - - HTTP Basic Authentication Example. - Given the following security scheme in the OpenAPI specification: - components: - securitySchemes: - http_basic_auth: - type: http - scheme: basic - - Configure API client with HTTP basic authentication: - -conf = lakefs_client.Configuration( - username='the-user', - password='the-password', -) - - """ - - _default = None - - def __init__(self, host=None, - api_key=None, api_key_prefix=None, - access_token=None, - username=None, password=None, - discard_unknown_keys=False, - disabled_client_side_validations="", - server_index=None, server_variables=None, - server_operation_index=None, server_operation_variables=None, - ssl_ca_cert=None, - ): - """Constructor - """ - self._base_path = "http://localhost/api/v1" if host is None else host - """Default Base url - """ - self.server_index = 0 if server_index is None and host is None else server_index - self.server_operation_index = server_operation_index or {} - """Default server index - """ - self.server_variables = server_variables or {} - self.server_operation_variables = server_operation_variables or {} - """Default server variables - """ - self.temp_folder_path = None - """Temp file folder for downloading files - """ - # Authentication Settings - self.access_token = access_token - self.api_key = {} - if api_key: - self.api_key = api_key - """dict to store API key(s) - """ - self.api_key_prefix = {} - if api_key_prefix: - self.api_key_prefix = api_key_prefix - """dict to store API prefix (e.g. Bearer) - """ - self.refresh_api_key_hook = None - """function hook to refresh API key if expired - """ - self.username = username - """Username for HTTP basic authentication - """ - self.password = password - """Password for HTTP basic authentication - """ - self.discard_unknown_keys = discard_unknown_keys - self.disabled_client_side_validations = disabled_client_side_validations - self.logger = {} - """Logging Settings - """ - self.logger["package_logger"] = logging.getLogger("lakefs_client") - self.logger["urllib3_logger"] = logging.getLogger("urllib3") - self.logger_format = '%(asctime)s %(levelname)s %(message)s' - """Log format - """ - self.logger_stream_handler = None - """Log stream handler - """ - self.logger_file_handler = None - """Log file handler - """ - self.logger_file = None - """Debug file location - """ - self.debug = False - """Debug switch - """ - - self.verify_ssl = True - """SSL/TLS verification - Set this to false to skip verifying SSL certificate when calling API - from https server. - """ - self.ssl_ca_cert = ssl_ca_cert - """Set this to customize the certificate file to verify the peer. - """ - self.cert_file = None - """client certificate file - """ - self.key_file = None - """client key file - """ - self.assert_hostname = None - """Set this to True/False to enable/disable SSL hostname verification. - """ - - self.connection_pool_maxsize = multiprocessing.cpu_count() * 5 - """urllib3 connection pool's maximum number of connections saved - per pool. urllib3 uses 1 connection as default value, but this is - not the best value when you are making a lot of possibly parallel - requests to the same host, which is often the case here. - cpu_count * 5 is used as default value to increase performance. - """ - - self.proxy = None - """Proxy URL - """ - self.proxy_headers = None - """Proxy headers - """ - self.safe_chars_for_path_param = '' - """Safe chars for path_param - """ - self.retries = None - """Adding retries to override urllib3 default value 3 - """ - # Enable client side validation - self.client_side_validation = True - - # Options to pass down to the underlying urllib3 socket - self.socket_options = None - - def __deepcopy__(self, memo): - cls = self.__class__ - result = cls.__new__(cls) - memo[id(self)] = result - for k, v in self.__dict__.items(): - if k not in ('logger', 'logger_file_handler'): - setattr(result, k, copy.deepcopy(v, memo)) - # shallow copy of loggers - result.logger = copy.copy(self.logger) - # use setters to configure loggers - result.logger_file = self.logger_file - result.debug = self.debug - return result - - def __setattr__(self, name, value): - object.__setattr__(self, name, value) - if name == 'disabled_client_side_validations': - s = set(filter(None, value.split(','))) - for v in s: - if v not in JSON_SCHEMA_VALIDATION_KEYWORDS: - raise ApiValueError( - "Invalid keyword: '{0}''".format(v)) - self._disabled_client_side_validations = s - - @classmethod - def set_default(cls, default): - """Set default instance of configuration. - - It stores default configuration, which can be - returned by get_default_copy method. - - :param default: object of Configuration - """ - cls._default = copy.deepcopy(default) - - @classmethod - def get_default_copy(cls): - """Return new instance of configuration. - - This method returns newly created, based on default constructor, - object of Configuration class or returns a copy of default - configuration passed by the set_default method. - - :return: The configuration object. - """ - if cls._default is not None: - return copy.deepcopy(cls._default) - return Configuration() - - @property - def logger_file(self): - """The logger file. - - If the logger_file is None, then add stream handler and remove file - handler. Otherwise, add file handler and remove stream handler. - - :param value: The logger_file path. - :type: str - """ - return self.__logger_file - - @logger_file.setter - def logger_file(self, value): - """The logger file. - - If the logger_file is None, then add stream handler and remove file - handler. Otherwise, add file handler and remove stream handler. - - :param value: The logger_file path. - :type: str - """ - self.__logger_file = value - if self.__logger_file: - # If set logging file, - # then add file handler and remove stream handler. - self.logger_file_handler = logging.FileHandler(self.__logger_file) - self.logger_file_handler.setFormatter(self.logger_formatter) - for _, logger in self.logger.items(): - logger.addHandler(self.logger_file_handler) - - @property - def debug(self): - """Debug status - - :param value: The debug status, True or False. - :type: bool - """ - return self.__debug - - @debug.setter - def debug(self, value): - """Debug status - - :param value: The debug status, True or False. - :type: bool - """ - self.__debug = value - if self.__debug: - # if debug status is True, turn on debug logging - for _, logger in self.logger.items(): - logger.setLevel(logging.DEBUG) - # turn on http_client debug - http_client.HTTPConnection.debuglevel = 1 - else: - # if debug status is False, turn off debug logging, - # setting log level to default `logging.WARNING` - for _, logger in self.logger.items(): - logger.setLevel(logging.WARNING) - # turn off http_client debug - http_client.HTTPConnection.debuglevel = 0 - - @property - def logger_format(self): - """The logger format. - - The logger_formatter will be updated when sets logger_format. - - :param value: The format string. - :type: str - """ - return self.__logger_format - - @logger_format.setter - def logger_format(self, value): - """The logger format. - - The logger_formatter will be updated when sets logger_format. - - :param value: The format string. - :type: str - """ - self.__logger_format = value - self.logger_formatter = logging.Formatter(self.__logger_format) - - def get_api_key_with_prefix(self, identifier, alias=None): - """Gets API key (with prefix if set). - - :param identifier: The identifier of apiKey. - :param alias: The alternative identifier of apiKey. - :return: The token for api key authentication. - """ - if self.refresh_api_key_hook is not None: - self.refresh_api_key_hook(self) - key = self.api_key.get(identifier, self.api_key.get(alias) if alias is not None else None) - if key: - prefix = self.api_key_prefix.get(identifier) - if prefix: - return "%s %s" % (prefix, key) - else: - return key - - def get_basic_auth_token(self): - """Gets HTTP basic authentication header (string). - - :return: The token for basic HTTP authentication. - """ - username = "" - if self.username is not None: - username = self.username - password = "" - if self.password is not None: - password = self.password - return urllib3.util.make_headers( - basic_auth=username + ':' + password - ).get('authorization') - - def auth_settings(self): - """Gets Auth Settings dict for api client. - - :return: The Auth Settings information dict. - """ - auth = {} - if self.username is not None and self.password is not None: - auth['basic_auth'] = { - 'type': 'basic', - 'in': 'header', - 'key': 'Authorization', - 'value': self.get_basic_auth_token() - } - if 'cookie_auth' in self.api_key: - auth['cookie_auth'] = { - 'type': 'api_key', - 'in': 'cookie', - 'key': 'internal_auth_session', - 'value': self.get_api_key_with_prefix( - 'cookie_auth', - ), - } - if self.access_token is not None: - auth['jwt_token'] = { - 'type': 'bearer', - 'in': 'header', - 'format': 'JWT', - 'key': 'Authorization', - 'value': 'Bearer ' + self.access_token - } - if 'oidc_auth' in self.api_key: - auth['oidc_auth'] = { - 'type': 'api_key', - 'in': 'cookie', - 'key': 'oidc_auth_session', - 'value': self.get_api_key_with_prefix( - 'oidc_auth', - ), - } - if 'saml_auth' in self.api_key: - auth['saml_auth'] = { - 'type': 'api_key', - 'in': 'cookie', - 'key': 'saml_auth_session', - 'value': self.get_api_key_with_prefix( - 'saml_auth', - ), - } - return auth - - def to_debug_report(self): - """Gets the essential information for debugging. - - :return: The report for debugging. - """ - return "Python SDK Debug Report:\n"\ - "OS: {env}\n"\ - "Python Version: {pyversion}\n"\ - "Version of the API: 1.0.0\n"\ - "SDK Package Version: 0.1.0-SNAPSHOT".\ - format(env=sys.platform, pyversion=sys.version) - - def get_host_settings(self): - """Gets an array of host settings - - :return: An array of host settings - """ - return [ - { - 'url': "/api/v1", - 'description': "lakeFS server endpoint", - } - ] - - def get_host_from_settings(self, index, variables=None, servers=None): - """Gets host URL based on the index and variables - :param index: array index of the host settings - :param variables: hash of variable and the corresponding value - :param servers: an array of host settings or None - :return: URL based on host settings - """ - if index is None: - return self._base_path - - variables = {} if variables is None else variables - servers = self.get_host_settings() if servers is None else servers - - try: - server = servers[index] - except IndexError: - raise ValueError( - "Invalid index {0} when selecting the host settings. " - "Must be less than {1}".format(index, len(servers))) - - url = server['url'] - - # go through variables and replace placeholders - for variable_name, variable in server.get('variables', {}).items(): - used_value = variables.get( - variable_name, variable['default_value']) - - if 'enum_values' in variable \ - and used_value not in variable['enum_values']: - raise ValueError( - "The variable `{0}` in the host URL has invalid value " - "{1}. Must be {2}.".format( - variable_name, variables[variable_name], - variable['enum_values'])) - - url = url.replace("{" + variable_name + "}", used_value) - - return url - - @property - def host(self): - """Return generated host.""" - return self.get_host_from_settings(self.server_index, variables=self.server_variables) - - @host.setter - def host(self, value): - """Fix base path.""" - self._base_path = value - self.server_index = None diff --git a/clients/python-legacy/lakefs_client/exceptions.py b/clients/python-legacy/lakefs_client/exceptions.py deleted file mode 100644 index 142cb87ddc2..00000000000 --- a/clients/python-legacy/lakefs_client/exceptions.py +++ /dev/null @@ -1,160 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - - -class OpenApiException(Exception): - """The base exception class for all OpenAPIExceptions""" - - -class ApiTypeError(OpenApiException, TypeError): - def __init__(self, msg, path_to_item=None, valid_classes=None, - key_type=None): - """ Raises an exception for TypeErrors - - Args: - msg (str): the exception message - - Keyword Args: - path_to_item (list): a list of keys an indices to get to the - current_item - None if unset - valid_classes (tuple): the primitive classes that current item - should be an instance of - None if unset - key_type (bool): False if our value is a value in a dict - True if it is a key in a dict - False if our item is an item in a list - None if unset - """ - self.path_to_item = path_to_item - self.valid_classes = valid_classes - self.key_type = key_type - full_msg = msg - if path_to_item: - full_msg = "{0} at {1}".format(msg, render_path(path_to_item)) - super(ApiTypeError, self).__init__(full_msg) - - -class ApiValueError(OpenApiException, ValueError): - def __init__(self, msg, path_to_item=None): - """ - Args: - msg (str): the exception message - - Keyword Args: - path_to_item (list) the path to the exception in the - received_data dict. None if unset - """ - - self.path_to_item = path_to_item - full_msg = msg - if path_to_item: - full_msg = "{0} at {1}".format(msg, render_path(path_to_item)) - super(ApiValueError, self).__init__(full_msg) - - -class ApiAttributeError(OpenApiException, AttributeError): - def __init__(self, msg, path_to_item=None): - """ - Raised when an attribute reference or assignment fails. - - Args: - msg (str): the exception message - - Keyword Args: - path_to_item (None/list) the path to the exception in the - received_data dict - """ - self.path_to_item = path_to_item - full_msg = msg - if path_to_item: - full_msg = "{0} at {1}".format(msg, render_path(path_to_item)) - super(ApiAttributeError, self).__init__(full_msg) - - -class ApiKeyError(OpenApiException, KeyError): - def __init__(self, msg, path_to_item=None): - """ - Args: - msg (str): the exception message - - Keyword Args: - path_to_item (None/list) the path to the exception in the - received_data dict - """ - self.path_to_item = path_to_item - full_msg = msg - if path_to_item: - full_msg = "{0} at {1}".format(msg, render_path(path_to_item)) - super(ApiKeyError, self).__init__(full_msg) - - -class ApiException(OpenApiException): - - def __init__(self, status=None, reason=None, http_resp=None): - if http_resp: - self.status = http_resp.status - self.reason = http_resp.reason - self.body = http_resp.data - self.headers = http_resp.getheaders() - else: - self.status = status - self.reason = reason - self.body = None - self.headers = None - - def __str__(self): - """Custom error messages for exception""" - error_message = "({0})\n"\ - "Reason: {1}\n".format(self.status, self.reason) - if self.headers: - error_message += "HTTP response headers: {0}\n".format( - self.headers) - - if self.body: - error_message += "HTTP response body: {0}\n".format(self.body) - - return error_message - - -class NotFoundException(ApiException): - - def __init__(self, status=None, reason=None, http_resp=None): - super(NotFoundException, self).__init__(status, reason, http_resp) - - -class UnauthorizedException(ApiException): - - def __init__(self, status=None, reason=None, http_resp=None): - super(UnauthorizedException, self).__init__(status, reason, http_resp) - - -class ForbiddenException(ApiException): - - def __init__(self, status=None, reason=None, http_resp=None): - super(ForbiddenException, self).__init__(status, reason, http_resp) - - -class ServiceException(ApiException): - - def __init__(self, status=None, reason=None, http_resp=None): - super(ServiceException, self).__init__(status, reason, http_resp) - - -def render_path(path_to_item): - """Returns a string representation of a path""" - result = "" - for pth in path_to_item: - if isinstance(pth, int): - result += "[{0}]".format(pth) - else: - result += "['{0}']".format(pth) - return result diff --git a/clients/python-legacy/lakefs_client/model/__init__.py b/clients/python-legacy/lakefs_client/model/__init__.py deleted file mode 100644 index cfe32b78492..00000000000 --- a/clients/python-legacy/lakefs_client/model/__init__.py +++ /dev/null @@ -1,5 +0,0 @@ -# we can not import model classes here because that would create a circular -# reference which would not work in python2 -# do not import all models into this module because that uses a lot of memory and stack frames -# if you need the ability to import all models from one package, import them with -# from {{packageName}.models import ModelA, ModelB diff --git a/clients/python-legacy/lakefs_client/model/abort_presign_multipart_upload.py b/clients/python-legacy/lakefs_client/model/abort_presign_multipart_upload.py deleted file mode 100644 index 077492bacff..00000000000 --- a/clients/python-legacy/lakefs_client/model/abort_presign_multipart_upload.py +++ /dev/null @@ -1,262 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - - -class AbortPresignMultipartUpload(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'physical_address': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'physical_address': 'physical_address', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, physical_address, *args, **kwargs): # noqa: E501 - """AbortPresignMultipartUpload - a model defined in OpenAPI - - Args: - physical_address (str): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.physical_address = physical_address - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, physical_address, *args, **kwargs): # noqa: E501 - """AbortPresignMultipartUpload - a model defined in OpenAPI - - Args: - physical_address (str): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.physical_address = physical_address - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/access_key_credentials.py b/clients/python-legacy/lakefs_client/model/access_key_credentials.py deleted file mode 100644 index 9d6681f5ece..00000000000 --- a/clients/python-legacy/lakefs_client/model/access_key_credentials.py +++ /dev/null @@ -1,274 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - - -class AccessKeyCredentials(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - ('access_key_id',): { - 'min_length': 1, - }, - ('secret_access_key',): { - 'min_length': 1, - }, - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'access_key_id': (str,), # noqa: E501 - 'secret_access_key': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'access_key_id': 'access_key_id', # noqa: E501 - 'secret_access_key': 'secret_access_key', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, access_key_id, secret_access_key, *args, **kwargs): # noqa: E501 - """AccessKeyCredentials - a model defined in OpenAPI - - Args: - access_key_id (str): access key ID to set for user for use in integration testing. - secret_access_key (str): secret access key to set for user for use in integration testing. - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.access_key_id = access_key_id - self.secret_access_key = secret_access_key - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, access_key_id, secret_access_key, *args, **kwargs): # noqa: E501 - """AccessKeyCredentials - a model defined in OpenAPI - - Args: - access_key_id (str): access key ID to set for user for use in integration testing. - secret_access_key (str): secret access key to set for user for use in integration testing. - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.access_key_id = access_key_id - self.secret_access_key = secret_access_key - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/acl.py b/clients/python-legacy/lakefs_client/model/acl.py deleted file mode 100644 index d082854775b..00000000000 --- a/clients/python-legacy/lakefs_client/model/acl.py +++ /dev/null @@ -1,262 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - - -class ACL(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'permission': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'permission': 'permission', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, permission, *args, **kwargs): # noqa: E501 - """ACL - a model defined in OpenAPI - - Args: - permission (str): Permission level to give this ACL. \"Read\", \"Write\", \"Super\" and \"Admin\" are all supported. - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.permission = permission - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, permission, *args, **kwargs): # noqa: E501 - """ACL - a model defined in OpenAPI - - Args: - permission (str): Permission level to give this ACL. \"Read\", \"Write\", \"Super\" and \"Admin\" are all supported. - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.permission = permission - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/action_run.py b/clients/python-legacy/lakefs_client/model/action_run.py deleted file mode 100644 index 402678541e7..00000000000 --- a/clients/python-legacy/lakefs_client/model/action_run.py +++ /dev/null @@ -1,300 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - - -class ActionRun(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - ('status',): { - 'FAILED': "failed", - 'COMPLETED': "completed", - }, - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'run_id': (str,), # noqa: E501 - 'branch': (str,), # noqa: E501 - 'start_time': (datetime,), # noqa: E501 - 'event_type': (str,), # noqa: E501 - 'status': (str,), # noqa: E501 - 'commit_id': (str,), # noqa: E501 - 'end_time': (datetime,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'run_id': 'run_id', # noqa: E501 - 'branch': 'branch', # noqa: E501 - 'start_time': 'start_time', # noqa: E501 - 'event_type': 'event_type', # noqa: E501 - 'status': 'status', # noqa: E501 - 'commit_id': 'commit_id', # noqa: E501 - 'end_time': 'end_time', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, run_id, branch, start_time, event_type, status, commit_id, *args, **kwargs): # noqa: E501 - """ActionRun - a model defined in OpenAPI - - Args: - run_id (str): - branch (str): - start_time (datetime): - event_type (str): - status (str): - commit_id (str): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - end_time (datetime): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.run_id = run_id - self.branch = branch - self.start_time = start_time - self.event_type = event_type - self.status = status - self.commit_id = commit_id - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, run_id, branch, start_time, event_type, status, commit_id, *args, **kwargs): # noqa: E501 - """ActionRun - a model defined in OpenAPI - - Args: - run_id (str): - branch (str): - start_time (datetime): - event_type (str): - status (str): - commit_id (str): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - end_time (datetime): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.run_id = run_id - self.branch = branch - self.start_time = start_time - self.event_type = event_type - self.status = status - self.commit_id = commit_id - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/action_run_list.py b/clients/python-legacy/lakefs_client/model/action_run_list.py deleted file mode 100644 index 32c07767417..00000000000 --- a/clients/python-legacy/lakefs_client/model/action_run_list.py +++ /dev/null @@ -1,276 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - -def lazy_import(): - from lakefs_client.model.action_run import ActionRun - from lakefs_client.model.pagination import Pagination - globals()['ActionRun'] = ActionRun - globals()['Pagination'] = Pagination - - -class ActionRunList(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'pagination': (Pagination,), # noqa: E501 - 'results': ([ActionRun],), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'pagination': 'pagination', # noqa: E501 - 'results': 'results', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, pagination, results, *args, **kwargs): # noqa: E501 - """ActionRunList - a model defined in OpenAPI - - Args: - pagination (Pagination): - results ([ActionRun]): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.pagination = pagination - self.results = results - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, pagination, results, *args, **kwargs): # noqa: E501 - """ActionRunList - a model defined in OpenAPI - - Args: - pagination (Pagination): - results ([ActionRun]): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.pagination = pagination - self.results = results - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/auth_capabilities.py b/clients/python-legacy/lakefs_client/model/auth_capabilities.py deleted file mode 100644 index 2f5276f3352..00000000000 --- a/clients/python-legacy/lakefs_client/model/auth_capabilities.py +++ /dev/null @@ -1,260 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - - -class AuthCapabilities(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'invite_user': (bool,), # noqa: E501 - 'forgot_password': (bool,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'invite_user': 'invite_user', # noqa: E501 - 'forgot_password': 'forgot_password', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """AuthCapabilities - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - invite_user (bool): [optional] # noqa: E501 - forgot_password (bool): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """AuthCapabilities - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - invite_user (bool): [optional] # noqa: E501 - forgot_password (bool): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/authentication_token.py b/clients/python-legacy/lakefs_client/model/authentication_token.py deleted file mode 100644 index 1eceb75be7f..00000000000 --- a/clients/python-legacy/lakefs_client/model/authentication_token.py +++ /dev/null @@ -1,266 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - - -class AuthenticationToken(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'token': (str,), # noqa: E501 - 'token_expiration': (int,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'token': 'token', # noqa: E501 - 'token_expiration': 'token_expiration', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, token, *args, **kwargs): # noqa: E501 - """AuthenticationToken - a model defined in OpenAPI - - Args: - token (str): a JWT token that could be used to authenticate requests - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - token_expiration (int): Unix Epoch in seconds. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.token = token - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, token, *args, **kwargs): # noqa: E501 - """AuthenticationToken - a model defined in OpenAPI - - Args: - token (str): a JWT token that could be used to authenticate requests - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - token_expiration (int): Unix Epoch in seconds. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.token = token - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/branch_creation.py b/clients/python-legacy/lakefs_client/model/branch_creation.py deleted file mode 100644 index 3e54f460966..00000000000 --- a/clients/python-legacy/lakefs_client/model/branch_creation.py +++ /dev/null @@ -1,272 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - - -class BranchCreation(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'name': (str,), # noqa: E501 - 'source': (str,), # noqa: E501 - 'force': (bool,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'name': 'name', # noqa: E501 - 'source': 'source', # noqa: E501 - 'force': 'force', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, name, source, *args, **kwargs): # noqa: E501 - """BranchCreation - a model defined in OpenAPI - - Args: - name (str): - source (str): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - force (bool): [optional] if omitted the server will use the default value of False # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.name = name - self.source = source - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, name, source, *args, **kwargs): # noqa: E501 - """BranchCreation - a model defined in OpenAPI - - Args: - name (str): - source (str): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - force (bool): [optional] if omitted the server will use the default value of False # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.name = name - self.source = source - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/branch_protection_rule.py b/clients/python-legacy/lakefs_client/model/branch_protection_rule.py deleted file mode 100644 index d5715a1d5c8..00000000000 --- a/clients/python-legacy/lakefs_client/model/branch_protection_rule.py +++ /dev/null @@ -1,265 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - - -class BranchProtectionRule(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - ('pattern',): { - 'min_length': 1, - }, - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'pattern': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'pattern': 'pattern', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, pattern, *args, **kwargs): # noqa: E501 - """BranchProtectionRule - a model defined in OpenAPI - - Args: - pattern (str): fnmatch pattern for the branch name, supporting * and ? wildcards - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.pattern = pattern - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, pattern, *args, **kwargs): # noqa: E501 - """BranchProtectionRule - a model defined in OpenAPI - - Args: - pattern (str): fnmatch pattern for the branch name, supporting * and ? wildcards - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.pattern = pattern - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/cherry_pick_creation.py b/clients/python-legacy/lakefs_client/model/cherry_pick_creation.py deleted file mode 100644 index 34450b0c335..00000000000 --- a/clients/python-legacy/lakefs_client/model/cherry_pick_creation.py +++ /dev/null @@ -1,280 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - -def lazy_import(): - from lakefs_client.model.commit_overrides import CommitOverrides - globals()['CommitOverrides'] = CommitOverrides - - -class CherryPickCreation(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'ref': (str,), # noqa: E501 - 'parent_number': (int,), # noqa: E501 - 'commit_overrides': (CommitOverrides,), # noqa: E501 - 'force': (bool,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'ref': 'ref', # noqa: E501 - 'parent_number': 'parent_number', # noqa: E501 - 'commit_overrides': 'commit_overrides', # noqa: E501 - 'force': 'force', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, ref, *args, **kwargs): # noqa: E501 - """CherryPickCreation - a model defined in OpenAPI - - Args: - ref (str): the commit to cherry-pick, given by a ref - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - parent_number (int): When cherry-picking a merge commit, the parent number (starting from 1) with which to perform the diff. The default branch is parent 1. . [optional] # noqa: E501 - commit_overrides (CommitOverrides): [optional] # noqa: E501 - force (bool): [optional] if omitted the server will use the default value of False # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.ref = ref - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, ref, *args, **kwargs): # noqa: E501 - """CherryPickCreation - a model defined in OpenAPI - - Args: - ref (str): the commit to cherry-pick, given by a ref - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - parent_number (int): When cherry-picking a merge commit, the parent number (starting from 1) with which to perform the diff. The default branch is parent 1. . [optional] # noqa: E501 - commit_overrides (CommitOverrides): [optional] # noqa: E501 - force (bool): [optional] if omitted the server will use the default value of False # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.ref = ref - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/comm_prefs_input.py b/clients/python-legacy/lakefs_client/model/comm_prefs_input.py deleted file mode 100644 index 2e6c8d0834d..00000000000 --- a/clients/python-legacy/lakefs_client/model/comm_prefs_input.py +++ /dev/null @@ -1,272 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - - -class CommPrefsInput(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'feature_updates': (bool,), # noqa: E501 - 'security_updates': (bool,), # noqa: E501 - 'email': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'feature_updates': 'featureUpdates', # noqa: E501 - 'security_updates': 'securityUpdates', # noqa: E501 - 'email': 'email', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, feature_updates, security_updates, *args, **kwargs): # noqa: E501 - """CommPrefsInput - a model defined in OpenAPI - - Args: - feature_updates (bool): user preference to receive feature updates - security_updates (bool): user preference to receive security updates - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - email (str): the provided email. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.feature_updates = feature_updates - self.security_updates = security_updates - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, feature_updates, security_updates, *args, **kwargs): # noqa: E501 - """CommPrefsInput - a model defined in OpenAPI - - Args: - feature_updates (bool): user preference to receive feature updates - security_updates (bool): user preference to receive security updates - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - email (str): the provided email. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.feature_updates = feature_updates - self.security_updates = security_updates - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/commit.py b/clients/python-legacy/lakefs_client/model/commit.py deleted file mode 100644 index b4ddbf03a73..00000000000 --- a/clients/python-legacy/lakefs_client/model/commit.py +++ /dev/null @@ -1,308 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - - -class Commit(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - ('version',): { - 'inclusive_maximum': 1, - 'inclusive_minimum': 0, - }, - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'id': (str,), # noqa: E501 - 'parents': ([str],), # noqa: E501 - 'committer': (str,), # noqa: E501 - 'message': (str,), # noqa: E501 - 'creation_date': (int,), # noqa: E501 - 'meta_range_id': (str,), # noqa: E501 - 'metadata': ({str: (str,)},), # noqa: E501 - 'generation': (int,), # noqa: E501 - 'version': (int,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'parents': 'parents', # noqa: E501 - 'committer': 'committer', # noqa: E501 - 'message': 'message', # noqa: E501 - 'creation_date': 'creation_date', # noqa: E501 - 'meta_range_id': 'meta_range_id', # noqa: E501 - 'metadata': 'metadata', # noqa: E501 - 'generation': 'generation', # noqa: E501 - 'version': 'version', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, id, parents, committer, message, creation_date, meta_range_id, *args, **kwargs): # noqa: E501 - """Commit - a model defined in OpenAPI - - Args: - id (str): - parents ([str]): - committer (str): - message (str): - creation_date (int): Unix Epoch in seconds - meta_range_id (str): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - metadata ({str: (str,)}): [optional] # noqa: E501 - generation (int): [optional] # noqa: E501 - version (int): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.id = id - self.parents = parents - self.committer = committer - self.message = message - self.creation_date = creation_date - self.meta_range_id = meta_range_id - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, id, parents, committer, message, creation_date, meta_range_id, *args, **kwargs): # noqa: E501 - """Commit - a model defined in OpenAPI - - Args: - id (str): - parents ([str]): - committer (str): - message (str): - creation_date (int): Unix Epoch in seconds - meta_range_id (str): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - metadata ({str: (str,)}): [optional] # noqa: E501 - generation (int): [optional] # noqa: E501 - version (int): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.id = id - self.parents = parents - self.committer = committer - self.message = message - self.creation_date = creation_date - self.meta_range_id = meta_range_id - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/commit_creation.py b/clients/python-legacy/lakefs_client/model/commit_creation.py deleted file mode 100644 index 75322f6b03d..00000000000 --- a/clients/python-legacy/lakefs_client/model/commit_creation.py +++ /dev/null @@ -1,278 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - - -class CommitCreation(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'message': (str,), # noqa: E501 - 'metadata': ({str: (str,)},), # noqa: E501 - 'date': (int,), # noqa: E501 - 'allow_empty': (bool,), # noqa: E501 - 'force': (bool,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'message': 'message', # noqa: E501 - 'metadata': 'metadata', # noqa: E501 - 'date': 'date', # noqa: E501 - 'allow_empty': 'allow_empty', # noqa: E501 - 'force': 'force', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, message, *args, **kwargs): # noqa: E501 - """CommitCreation - a model defined in OpenAPI - - Args: - message (str): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - metadata ({str: (str,)}): [optional] # noqa: E501 - date (int): set date to override creation date in the commit (Unix Epoch in seconds). [optional] # noqa: E501 - allow_empty (bool): sets whether a commit can contain no changes. [optional] if omitted the server will use the default value of False # noqa: E501 - force (bool): [optional] if omitted the server will use the default value of False # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.message = message - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, message, *args, **kwargs): # noqa: E501 - """CommitCreation - a model defined in OpenAPI - - Args: - message (str): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - metadata ({str: (str,)}): [optional] # noqa: E501 - date (int): set date to override creation date in the commit (Unix Epoch in seconds). [optional] # noqa: E501 - allow_empty (bool): sets whether a commit can contain no changes. [optional] if omitted the server will use the default value of False # noqa: E501 - force (bool): [optional] if omitted the server will use the default value of False # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.message = message - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/commit_list.py b/clients/python-legacy/lakefs_client/model/commit_list.py deleted file mode 100644 index 1f8a488b92f..00000000000 --- a/clients/python-legacy/lakefs_client/model/commit_list.py +++ /dev/null @@ -1,276 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - -def lazy_import(): - from lakefs_client.model.commit import Commit - from lakefs_client.model.pagination import Pagination - globals()['Commit'] = Commit - globals()['Pagination'] = Pagination - - -class CommitList(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'pagination': (Pagination,), # noqa: E501 - 'results': ([Commit],), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'pagination': 'pagination', # noqa: E501 - 'results': 'results', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, pagination, results, *args, **kwargs): # noqa: E501 - """CommitList - a model defined in OpenAPI - - Args: - pagination (Pagination): - results ([Commit]): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.pagination = pagination - self.results = results - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, pagination, results, *args, **kwargs): # noqa: E501 - """CommitList - a model defined in OpenAPI - - Args: - pagination (Pagination): - results ([Commit]): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.pagination = pagination - self.results = results - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/commit_overrides.py b/clients/python-legacy/lakefs_client/model/commit_overrides.py deleted file mode 100644 index cf038d5aa5f..00000000000 --- a/clients/python-legacy/lakefs_client/model/commit_overrides.py +++ /dev/null @@ -1,260 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - - -class CommitOverrides(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'message': (str,), # noqa: E501 - 'metadata': ({str: (str,)},), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'message': 'message', # noqa: E501 - 'metadata': 'metadata', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """CommitOverrides - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - message (str): replace the commit message. [optional] # noqa: E501 - metadata ({str: (str,)}): replace the metadata of the commit. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """CommitOverrides - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - message (str): replace the commit message. [optional] # noqa: E501 - metadata ({str: (str,)}): replace the metadata of the commit. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/commit_record_creation.py b/clients/python-legacy/lakefs_client/model/commit_record_creation.py deleted file mode 100644 index c1cf0272dd6..00000000000 --- a/clients/python-legacy/lakefs_client/model/commit_record_creation.py +++ /dev/null @@ -1,316 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - - -class CommitRecordCreation(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - ('version',): { - 'inclusive_maximum': 1, - 'inclusive_minimum': 0, - }, - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'commit_id': (str,), # noqa: E501 - 'version': (int,), # noqa: E501 - 'committer': (str,), # noqa: E501 - 'message': (str,), # noqa: E501 - 'metarange_id': (str,), # noqa: E501 - 'creation_date': (int,), # noqa: E501 - 'parents': ([str],), # noqa: E501 - 'generation': (int,), # noqa: E501 - 'metadata': ({str: (str,)},), # noqa: E501 - 'force': (bool,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'commit_id': 'commit_id', # noqa: E501 - 'version': 'version', # noqa: E501 - 'committer': 'committer', # noqa: E501 - 'message': 'message', # noqa: E501 - 'metarange_id': 'metarange_id', # noqa: E501 - 'creation_date': 'creation_date', # noqa: E501 - 'parents': 'parents', # noqa: E501 - 'generation': 'generation', # noqa: E501 - 'metadata': 'metadata', # noqa: E501 - 'force': 'force', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, commit_id, version, committer, message, metarange_id, creation_date, parents, generation, *args, **kwargs): # noqa: E501 - """CommitRecordCreation - a model defined in OpenAPI - - Args: - commit_id (str): id of the commit record - version (int): version of the commit record - committer (str): committer of the commit record - message (str): message of the commit record - metarange_id (str): metarange_id of the commit record - creation_date (int): Unix Epoch in seconds - parents ([str]): parents of the commit record - generation (int): generation of the commit record - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - metadata ({str: (str,)}): metadata of the commit record. [optional] # noqa: E501 - force (bool): [optional] if omitted the server will use the default value of False # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.commit_id = commit_id - self.version = version - self.committer = committer - self.message = message - self.metarange_id = metarange_id - self.creation_date = creation_date - self.parents = parents - self.generation = generation - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, commit_id, version, committer, message, metarange_id, creation_date, parents, generation, *args, **kwargs): # noqa: E501 - """CommitRecordCreation - a model defined in OpenAPI - - Args: - commit_id (str): id of the commit record - version (int): version of the commit record - committer (str): committer of the commit record - message (str): message of the commit record - metarange_id (str): metarange_id of the commit record - creation_date (int): Unix Epoch in seconds - parents ([str]): parents of the commit record - generation (int): generation of the commit record - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - metadata ({str: (str,)}): metadata of the commit record. [optional] # noqa: E501 - force (bool): [optional] if omitted the server will use the default value of False # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.commit_id = commit_id - self.version = version - self.committer = committer - self.message = message - self.metarange_id = metarange_id - self.creation_date = creation_date - self.parents = parents - self.generation = generation - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/complete_presign_multipart_upload.py b/clients/python-legacy/lakefs_client/model/complete_presign_multipart_upload.py deleted file mode 100644 index f908a131cc5..00000000000 --- a/clients/python-legacy/lakefs_client/model/complete_presign_multipart_upload.py +++ /dev/null @@ -1,282 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - -def lazy_import(): - from lakefs_client.model.upload_part import UploadPart - globals()['UploadPart'] = UploadPart - - -class CompletePresignMultipartUpload(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'physical_address': (str,), # noqa: E501 - 'parts': ([UploadPart],), # noqa: E501 - 'user_metadata': ({str: (str,)},), # noqa: E501 - 'content_type': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'physical_address': 'physical_address', # noqa: E501 - 'parts': 'parts', # noqa: E501 - 'user_metadata': 'user_metadata', # noqa: E501 - 'content_type': 'content_type', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, physical_address, parts, *args, **kwargs): # noqa: E501 - """CompletePresignMultipartUpload - a model defined in OpenAPI - - Args: - physical_address (str): - parts ([UploadPart]): List of uploaded parts, should be ordered by ascending part number - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - user_metadata ({str: (str,)}): [optional] # noqa: E501 - content_type (str): Object media type. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.physical_address = physical_address - self.parts = parts - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, physical_address, parts, *args, **kwargs): # noqa: E501 - """CompletePresignMultipartUpload - a model defined in OpenAPI - - Args: - physical_address (str): - parts ([UploadPart]): List of uploaded parts, should be ordered by ascending part number - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - user_metadata ({str: (str,)}): [optional] # noqa: E501 - content_type (str): Object media type. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.physical_address = physical_address - self.parts = parts - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/config.py b/clients/python-legacy/lakefs_client/model/config.py deleted file mode 100644 index c391d08418f..00000000000 --- a/clients/python-legacy/lakefs_client/model/config.py +++ /dev/null @@ -1,268 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - -def lazy_import(): - from lakefs_client.model.storage_config import StorageConfig - from lakefs_client.model.version_config import VersionConfig - globals()['StorageConfig'] = StorageConfig - globals()['VersionConfig'] = VersionConfig - - -class Config(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'version_config': (VersionConfig,), # noqa: E501 - 'storage_config': (StorageConfig,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'version_config': 'version_config', # noqa: E501 - 'storage_config': 'storage_config', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """Config - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - version_config (VersionConfig): [optional] # noqa: E501 - storage_config (StorageConfig): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """Config - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - version_config (VersionConfig): [optional] # noqa: E501 - storage_config (StorageConfig): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/credentials.py b/clients/python-legacy/lakefs_client/model/credentials.py deleted file mode 100644 index a338677c6d4..00000000000 --- a/clients/python-legacy/lakefs_client/model/credentials.py +++ /dev/null @@ -1,268 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - - -class Credentials(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'access_key_id': (str,), # noqa: E501 - 'creation_date': (int,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'access_key_id': 'access_key_id', # noqa: E501 - 'creation_date': 'creation_date', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, access_key_id, creation_date, *args, **kwargs): # noqa: E501 - """Credentials - a model defined in OpenAPI - - Args: - access_key_id (str): - creation_date (int): Unix Epoch in seconds - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.access_key_id = access_key_id - self.creation_date = creation_date - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, access_key_id, creation_date, *args, **kwargs): # noqa: E501 - """Credentials - a model defined in OpenAPI - - Args: - access_key_id (str): - creation_date (int): Unix Epoch in seconds - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.access_key_id = access_key_id - self.creation_date = creation_date - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/credentials_list.py b/clients/python-legacy/lakefs_client/model/credentials_list.py deleted file mode 100644 index df27e26b759..00000000000 --- a/clients/python-legacy/lakefs_client/model/credentials_list.py +++ /dev/null @@ -1,276 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - -def lazy_import(): - from lakefs_client.model.credentials import Credentials - from lakefs_client.model.pagination import Pagination - globals()['Credentials'] = Credentials - globals()['Pagination'] = Pagination - - -class CredentialsList(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'pagination': (Pagination,), # noqa: E501 - 'results': ([Credentials],), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'pagination': 'pagination', # noqa: E501 - 'results': 'results', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, pagination, results, *args, **kwargs): # noqa: E501 - """CredentialsList - a model defined in OpenAPI - - Args: - pagination (Pagination): - results ([Credentials]): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.pagination = pagination - self.results = results - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, pagination, results, *args, **kwargs): # noqa: E501 - """CredentialsList - a model defined in OpenAPI - - Args: - pagination (Pagination): - results ([Credentials]): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.pagination = pagination - self.results = results - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/credentials_with_secret.py b/clients/python-legacy/lakefs_client/model/credentials_with_secret.py deleted file mode 100644 index b715beafa41..00000000000 --- a/clients/python-legacy/lakefs_client/model/credentials_with_secret.py +++ /dev/null @@ -1,274 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - - -class CredentialsWithSecret(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'access_key_id': (str,), # noqa: E501 - 'secret_access_key': (str,), # noqa: E501 - 'creation_date': (int,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'access_key_id': 'access_key_id', # noqa: E501 - 'secret_access_key': 'secret_access_key', # noqa: E501 - 'creation_date': 'creation_date', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, access_key_id, secret_access_key, creation_date, *args, **kwargs): # noqa: E501 - """CredentialsWithSecret - a model defined in OpenAPI - - Args: - access_key_id (str): - secret_access_key (str): - creation_date (int): Unix Epoch in seconds - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.access_key_id = access_key_id - self.secret_access_key = secret_access_key - self.creation_date = creation_date - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, access_key_id, secret_access_key, creation_date, *args, **kwargs): # noqa: E501 - """CredentialsWithSecret - a model defined in OpenAPI - - Args: - access_key_id (str): - secret_access_key (str): - creation_date (int): Unix Epoch in seconds - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.access_key_id = access_key_id - self.secret_access_key = secret_access_key - self.creation_date = creation_date - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/current_user.py b/clients/python-legacy/lakefs_client/model/current_user.py deleted file mode 100644 index 04c591bad84..00000000000 --- a/clients/python-legacy/lakefs_client/model/current_user.py +++ /dev/null @@ -1,268 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - -def lazy_import(): - from lakefs_client.model.user import User - globals()['User'] = User - - -class CurrentUser(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'user': (User,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'user': 'user', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, user, *args, **kwargs): # noqa: E501 - """CurrentUser - a model defined in OpenAPI - - Args: - user (User): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.user = user - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, user, *args, **kwargs): # noqa: E501 - """CurrentUser - a model defined in OpenAPI - - Args: - user (User): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.user = user - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/diff.py b/clients/python-legacy/lakefs_client/model/diff.py deleted file mode 100644 index 4d63528f11e..00000000000 --- a/clients/python-legacy/lakefs_client/model/diff.py +++ /dev/null @@ -1,289 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - - -class Diff(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - ('type',): { - 'ADDED': "added", - 'REMOVED': "removed", - 'CHANGED': "changed", - 'CONFLICT': "conflict", - 'PREFIX_CHANGED': "prefix_changed", - }, - ('path_type',): { - 'COMMON_PREFIX': "common_prefix", - 'OBJECT': "object", - }, - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'type': (str,), # noqa: E501 - 'path': (str,), # noqa: E501 - 'path_type': (str,), # noqa: E501 - 'size_bytes': (int,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'type': 'type', # noqa: E501 - 'path': 'path', # noqa: E501 - 'path_type': 'path_type', # noqa: E501 - 'size_bytes': 'size_bytes', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, type, path, path_type, *args, **kwargs): # noqa: E501 - """Diff - a model defined in OpenAPI - - Args: - type (str): - path (str): - path_type (str): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - size_bytes (int): represents the size of the added/changed/deleted entry. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.type = type - self.path = path - self.path_type = path_type - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, type, path, path_type, *args, **kwargs): # noqa: E501 - """Diff - a model defined in OpenAPI - - Args: - type (str): - path (str): - path_type (str): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - size_bytes (int): represents the size of the added/changed/deleted entry. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.type = type - self.path = path - self.path_type = path_type - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/diff_list.py b/clients/python-legacy/lakefs_client/model/diff_list.py deleted file mode 100644 index 0ccf38e33f7..00000000000 --- a/clients/python-legacy/lakefs_client/model/diff_list.py +++ /dev/null @@ -1,276 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - -def lazy_import(): - from lakefs_client.model.diff import Diff - from lakefs_client.model.pagination import Pagination - globals()['Diff'] = Diff - globals()['Pagination'] = Pagination - - -class DiffList(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'pagination': (Pagination,), # noqa: E501 - 'results': ([Diff],), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'pagination': 'pagination', # noqa: E501 - 'results': 'results', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, pagination, results, *args, **kwargs): # noqa: E501 - """DiffList - a model defined in OpenAPI - - Args: - pagination (Pagination): - results ([Diff]): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.pagination = pagination - self.results = results - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, pagination, results, *args, **kwargs): # noqa: E501 - """DiffList - a model defined in OpenAPI - - Args: - pagination (Pagination): - results ([Diff]): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.pagination = pagination - self.results = results - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/error.py b/clients/python-legacy/lakefs_client/model/error.py deleted file mode 100644 index c9ed1a66878..00000000000 --- a/clients/python-legacy/lakefs_client/model/error.py +++ /dev/null @@ -1,262 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - - -class Error(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'message': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'message': 'message', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, message, *args, **kwargs): # noqa: E501 - """Error - a model defined in OpenAPI - - Args: - message (str): short message explaining the error - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.message = message - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, message, *args, **kwargs): # noqa: E501 - """Error - a model defined in OpenAPI - - Args: - message (str): short message explaining the error - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.message = message - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/error_no_acl.py b/clients/python-legacy/lakefs_client/model/error_no_acl.py deleted file mode 100644 index 2548f291e47..00000000000 --- a/clients/python-legacy/lakefs_client/model/error_no_acl.py +++ /dev/null @@ -1,266 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - - -class ErrorNoACL(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'message': (str,), # noqa: E501 - 'no_acl': (bool,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'message': 'message', # noqa: E501 - 'no_acl': 'no_acl', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, message, *args, **kwargs): # noqa: E501 - """ErrorNoACL - a model defined in OpenAPI - - Args: - message (str): short message explaining the error - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - no_acl (bool): true if the group exists but has no ACL. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.message = message - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, message, *args, **kwargs): # noqa: E501 - """ErrorNoACL - a model defined in OpenAPI - - Args: - message (str): short message explaining the error - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - no_acl (bool): true if the group exists but has no ACL. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.message = message - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/external_login_information.py b/clients/python-legacy/lakefs_client/model/external_login_information.py deleted file mode 100644 index 4c4e3cea5a5..00000000000 --- a/clients/python-legacy/lakefs_client/model/external_login_information.py +++ /dev/null @@ -1,266 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - - -class ExternalLoginInformation(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'identity_request': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},), # noqa: E501 - 'token_expiration_duration': (int,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'identity_request': 'identityRequest', # noqa: E501 - 'token_expiration_duration': 'token_expiration_duration', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, identity_request, *args, **kwargs): # noqa: E501 - """ExternalLoginInformation - a model defined in OpenAPI - - Args: - identity_request ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - token_expiration_duration (int): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.identity_request = identity_request - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, identity_request, *args, **kwargs): # noqa: E501 - """ExternalLoginInformation - a model defined in OpenAPI - - Args: - identity_request ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - token_expiration_duration (int): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.identity_request = identity_request - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/external_principal.py b/clients/python-legacy/lakefs_client/model/external_principal.py deleted file mode 100644 index 3e42c14d770..00000000000 --- a/clients/python-legacy/lakefs_client/model/external_principal.py +++ /dev/null @@ -1,278 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - -def lazy_import(): - from lakefs_client.model.external_principal_settings import ExternalPrincipalSettings - globals()['ExternalPrincipalSettings'] = ExternalPrincipalSettings - - -class ExternalPrincipal(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'id': (str,), # noqa: E501 - 'user_id': (str,), # noqa: E501 - 'settings': ([ExternalPrincipalSettings],), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'user_id': 'user_id', # noqa: E501 - 'settings': 'settings', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, id, user_id, *args, **kwargs): # noqa: E501 - """ExternalPrincipal - a model defined in OpenAPI - - Args: - id (str): A unique identifier for the external principal i.e aws:sts::123:assumed-role/role-name - user_id (str): lakeFS user ID to associate with an external principal. - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - settings ([ExternalPrincipalSettings]): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.id = id - self.user_id = user_id - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, id, user_id, *args, **kwargs): # noqa: E501 - """ExternalPrincipal - a model defined in OpenAPI - - Args: - id (str): A unique identifier for the external principal i.e aws:sts::123:assumed-role/role-name - user_id (str): lakeFS user ID to associate with an external principal. - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - settings ([ExternalPrincipalSettings]): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.id = id - self.user_id = user_id - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/external_principal_creation.py b/clients/python-legacy/lakefs_client/model/external_principal_creation.py deleted file mode 100644 index 418fb83e1fe..00000000000 --- a/clients/python-legacy/lakefs_client/model/external_principal_creation.py +++ /dev/null @@ -1,262 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - -def lazy_import(): - from lakefs_client.model.external_principal_settings import ExternalPrincipalSettings - globals()['ExternalPrincipalSettings'] = ExternalPrincipalSettings - - -class ExternalPrincipalCreation(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'settings': ([ExternalPrincipalSettings],), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'settings': 'settings', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ExternalPrincipalCreation - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - settings ([ExternalPrincipalSettings]): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """ExternalPrincipalCreation - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - settings ([ExternalPrincipalSettings]): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/external_principal_list.py b/clients/python-legacy/lakefs_client/model/external_principal_list.py deleted file mode 100644 index 177a111ace8..00000000000 --- a/clients/python-legacy/lakefs_client/model/external_principal_list.py +++ /dev/null @@ -1,276 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - -def lazy_import(): - from lakefs_client.model.external_principal import ExternalPrincipal - from lakefs_client.model.pagination import Pagination - globals()['ExternalPrincipal'] = ExternalPrincipal - globals()['Pagination'] = Pagination - - -class ExternalPrincipalList(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'pagination': (Pagination,), # noqa: E501 - 'results': ([ExternalPrincipal],), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'pagination': 'pagination', # noqa: E501 - 'results': 'results', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, pagination, results, *args, **kwargs): # noqa: E501 - """ExternalPrincipalList - a model defined in OpenAPI - - Args: - pagination (Pagination): - results ([ExternalPrincipal]): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.pagination = pagination - self.results = results - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, pagination, results, *args, **kwargs): # noqa: E501 - """ExternalPrincipalList - a model defined in OpenAPI - - Args: - pagination (Pagination): - results ([ExternalPrincipal]): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.pagination = pagination - self.results = results - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/external_principal_settings.py b/clients/python-legacy/lakefs_client/model/external_principal_settings.py deleted file mode 100644 index b9381da0d5a..00000000000 --- a/clients/python-legacy/lakefs_client/model/external_principal_settings.py +++ /dev/null @@ -1,252 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - - -class ExternalPrincipalSettings(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (str,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ExternalPrincipalSettings - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """ExternalPrincipalSettings - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/find_merge_base_result.py b/clients/python-legacy/lakefs_client/model/find_merge_base_result.py deleted file mode 100644 index 824606d4769..00000000000 --- a/clients/python-legacy/lakefs_client/model/find_merge_base_result.py +++ /dev/null @@ -1,274 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - - -class FindMergeBaseResult(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'source_commit_id': (str,), # noqa: E501 - 'destination_commit_id': (str,), # noqa: E501 - 'base_commit_id': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'source_commit_id': 'source_commit_id', # noqa: E501 - 'destination_commit_id': 'destination_commit_id', # noqa: E501 - 'base_commit_id': 'base_commit_id', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, source_commit_id, destination_commit_id, base_commit_id, *args, **kwargs): # noqa: E501 - """FindMergeBaseResult - a model defined in OpenAPI - - Args: - source_commit_id (str): The commit ID of the merge source - destination_commit_id (str): The commit ID of the merge destination - base_commit_id (str): The commit ID of the merge base - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.source_commit_id = source_commit_id - self.destination_commit_id = destination_commit_id - self.base_commit_id = base_commit_id - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, source_commit_id, destination_commit_id, base_commit_id, *args, **kwargs): # noqa: E501 - """FindMergeBaseResult - a model defined in OpenAPI - - Args: - source_commit_id (str): The commit ID of the merge source - destination_commit_id (str): The commit ID of the merge destination - base_commit_id (str): The commit ID of the merge base - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.source_commit_id = source_commit_id - self.destination_commit_id = destination_commit_id - self.base_commit_id = base_commit_id - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/garbage_collection_config.py b/clients/python-legacy/lakefs_client/model/garbage_collection_config.py deleted file mode 100644 index 27321d426bf..00000000000 --- a/clients/python-legacy/lakefs_client/model/garbage_collection_config.py +++ /dev/null @@ -1,256 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - - -class GarbageCollectionConfig(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'grace_period': (int,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'grace_period': 'grace_period', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """GarbageCollectionConfig - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - grace_period (int): Duration in seconds. Objects created in the recent grace_period will not be collected.. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """GarbageCollectionConfig - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - grace_period (int): Duration in seconds. Objects created in the recent grace_period will not be collected.. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/garbage_collection_prepare_response.py b/clients/python-legacy/lakefs_client/model/garbage_collection_prepare_response.py deleted file mode 100644 index fbd99f38440..00000000000 --- a/clients/python-legacy/lakefs_client/model/garbage_collection_prepare_response.py +++ /dev/null @@ -1,278 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - - -class GarbageCollectionPrepareResponse(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'run_id': (str,), # noqa: E501 - 'gc_commits_location': (str,), # noqa: E501 - 'gc_addresses_location': (str,), # noqa: E501 - 'gc_commits_presigned_url': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'run_id': 'run_id', # noqa: E501 - 'gc_commits_location': 'gc_commits_location', # noqa: E501 - 'gc_addresses_location': 'gc_addresses_location', # noqa: E501 - 'gc_commits_presigned_url': 'gc_commits_presigned_url', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, run_id, gc_commits_location, gc_addresses_location, *args, **kwargs): # noqa: E501 - """GarbageCollectionPrepareResponse - a model defined in OpenAPI - - Args: - run_id (str): a unique identifier generated for this GC job - gc_commits_location (str): location of the resulting commits csv table (partitioned by run_id) - gc_addresses_location (str): location to use for expired addresses parquet table (partitioned by run_id) - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - gc_commits_presigned_url (str): a presigned url to download the commits csv. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.run_id = run_id - self.gc_commits_location = gc_commits_location - self.gc_addresses_location = gc_addresses_location - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, run_id, gc_commits_location, gc_addresses_location, *args, **kwargs): # noqa: E501 - """GarbageCollectionPrepareResponse - a model defined in OpenAPI - - Args: - run_id (str): a unique identifier generated for this GC job - gc_commits_location (str): location of the resulting commits csv table (partitioned by run_id) - gc_addresses_location (str): location to use for expired addresses parquet table (partitioned by run_id) - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - gc_commits_presigned_url (str): a presigned url to download the commits csv. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.run_id = run_id - self.gc_commits_location = gc_commits_location - self.gc_addresses_location = gc_addresses_location - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/garbage_collection_rule.py b/clients/python-legacy/lakefs_client/model/garbage_collection_rule.py deleted file mode 100644 index 880d5623573..00000000000 --- a/clients/python-legacy/lakefs_client/model/garbage_collection_rule.py +++ /dev/null @@ -1,268 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - - -class GarbageCollectionRule(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'branch_id': (str,), # noqa: E501 - 'retention_days': (int,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'branch_id': 'branch_id', # noqa: E501 - 'retention_days': 'retention_days', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, branch_id, retention_days, *args, **kwargs): # noqa: E501 - """GarbageCollectionRule - a model defined in OpenAPI - - Args: - branch_id (str): - retention_days (int): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.branch_id = branch_id - self.retention_days = retention_days - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, branch_id, retention_days, *args, **kwargs): # noqa: E501 - """GarbageCollectionRule - a model defined in OpenAPI - - Args: - branch_id (str): - retention_days (int): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.branch_id = branch_id - self.retention_days = retention_days - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/garbage_collection_rules.py b/clients/python-legacy/lakefs_client/model/garbage_collection_rules.py deleted file mode 100644 index 86ce5679c5e..00000000000 --- a/clients/python-legacy/lakefs_client/model/garbage_collection_rules.py +++ /dev/null @@ -1,274 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - -def lazy_import(): - from lakefs_client.model.garbage_collection_rule import GarbageCollectionRule - globals()['GarbageCollectionRule'] = GarbageCollectionRule - - -class GarbageCollectionRules(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'default_retention_days': (int,), # noqa: E501 - 'branches': ([GarbageCollectionRule],), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'default_retention_days': 'default_retention_days', # noqa: E501 - 'branches': 'branches', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, default_retention_days, branches, *args, **kwargs): # noqa: E501 - """GarbageCollectionRules - a model defined in OpenAPI - - Args: - default_retention_days (int): - branches ([GarbageCollectionRule]): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.default_retention_days = default_retention_days - self.branches = branches - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, default_retention_days, branches, *args, **kwargs): # noqa: E501 - """GarbageCollectionRules - a model defined in OpenAPI - - Args: - default_retention_days (int): - branches ([GarbageCollectionRule]): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.default_retention_days = default_retention_days - self.branches = branches - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/group.py b/clients/python-legacy/lakefs_client/model/group.py deleted file mode 100644 index 49f5654c9da..00000000000 --- a/clients/python-legacy/lakefs_client/model/group.py +++ /dev/null @@ -1,272 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - - -class Group(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'id': (str,), # noqa: E501 - 'creation_date': (int,), # noqa: E501 - 'name': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'creation_date': 'creation_date', # noqa: E501 - 'name': 'name', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, id, creation_date, *args, **kwargs): # noqa: E501 - """Group - a model defined in OpenAPI - - Args: - id (str): - creation_date (int): Unix Epoch in seconds - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - name (str): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.id = id - self.creation_date = creation_date - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, id, creation_date, *args, **kwargs): # noqa: E501 - """Group - a model defined in OpenAPI - - Args: - id (str): - creation_date (int): Unix Epoch in seconds - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - name (str): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.id = id - self.creation_date = creation_date - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/group_creation.py b/clients/python-legacy/lakefs_client/model/group_creation.py deleted file mode 100644 index c7c4e2a9fed..00000000000 --- a/clients/python-legacy/lakefs_client/model/group_creation.py +++ /dev/null @@ -1,262 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - - -class GroupCreation(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'id': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501 - """GroupCreation - a model defined in OpenAPI - - Args: - id (str): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.id = id - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, id, *args, **kwargs): # noqa: E501 - """GroupCreation - a model defined in OpenAPI - - Args: - id (str): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.id = id - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/group_list.py b/clients/python-legacy/lakefs_client/model/group_list.py deleted file mode 100644 index 533b21405c9..00000000000 --- a/clients/python-legacy/lakefs_client/model/group_list.py +++ /dev/null @@ -1,276 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - -def lazy_import(): - from lakefs_client.model.group import Group - from lakefs_client.model.pagination import Pagination - globals()['Group'] = Group - globals()['Pagination'] = Pagination - - -class GroupList(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'pagination': (Pagination,), # noqa: E501 - 'results': ([Group],), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'pagination': 'pagination', # noqa: E501 - 'results': 'results', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, pagination, results, *args, **kwargs): # noqa: E501 - """GroupList - a model defined in OpenAPI - - Args: - pagination (Pagination): - results ([Group]): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.pagination = pagination - self.results = results - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, pagination, results, *args, **kwargs): # noqa: E501 - """GroupList - a model defined in OpenAPI - - Args: - pagination (Pagination): - results ([Group]): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.pagination = pagination - self.results = results - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/hook_run.py b/clients/python-legacy/lakefs_client/model/hook_run.py deleted file mode 100644 index 1f581712c96..00000000000 --- a/clients/python-legacy/lakefs_client/model/hook_run.py +++ /dev/null @@ -1,294 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - - -class HookRun(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - ('status',): { - 'FAILED': "failed", - 'COMPLETED': "completed", - }, - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'hook_run_id': (str,), # noqa: E501 - 'action': (str,), # noqa: E501 - 'hook_id': (str,), # noqa: E501 - 'start_time': (datetime,), # noqa: E501 - 'status': (str,), # noqa: E501 - 'end_time': (datetime,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'hook_run_id': 'hook_run_id', # noqa: E501 - 'action': 'action', # noqa: E501 - 'hook_id': 'hook_id', # noqa: E501 - 'start_time': 'start_time', # noqa: E501 - 'status': 'status', # noqa: E501 - 'end_time': 'end_time', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, hook_run_id, action, hook_id, start_time, status, *args, **kwargs): # noqa: E501 - """HookRun - a model defined in OpenAPI - - Args: - hook_run_id (str): - action (str): - hook_id (str): - start_time (datetime): - status (str): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - end_time (datetime): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.hook_run_id = hook_run_id - self.action = action - self.hook_id = hook_id - self.start_time = start_time - self.status = status - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, hook_run_id, action, hook_id, start_time, status, *args, **kwargs): # noqa: E501 - """HookRun - a model defined in OpenAPI - - Args: - hook_run_id (str): - action (str): - hook_id (str): - start_time (datetime): - status (str): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - end_time (datetime): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.hook_run_id = hook_run_id - self.action = action - self.hook_id = hook_id - self.start_time = start_time - self.status = status - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/hook_run_list.py b/clients/python-legacy/lakefs_client/model/hook_run_list.py deleted file mode 100644 index 138e51f0f76..00000000000 --- a/clients/python-legacy/lakefs_client/model/hook_run_list.py +++ /dev/null @@ -1,276 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - -def lazy_import(): - from lakefs_client.model.hook_run import HookRun - from lakefs_client.model.pagination import Pagination - globals()['HookRun'] = HookRun - globals()['Pagination'] = Pagination - - -class HookRunList(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'pagination': (Pagination,), # noqa: E501 - 'results': ([HookRun],), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'pagination': 'pagination', # noqa: E501 - 'results': 'results', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, pagination, results, *args, **kwargs): # noqa: E501 - """HookRunList - a model defined in OpenAPI - - Args: - pagination (Pagination): - results ([HookRun]): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.pagination = pagination - self.results = results - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, pagination, results, *args, **kwargs): # noqa: E501 - """HookRunList - a model defined in OpenAPI - - Args: - pagination (Pagination): - results ([HookRun]): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.pagination = pagination - self.results = results - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/import_creation.py b/clients/python-legacy/lakefs_client/model/import_creation.py deleted file mode 100644 index c3c3227dc76..00000000000 --- a/clients/python-legacy/lakefs_client/model/import_creation.py +++ /dev/null @@ -1,280 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - -def lazy_import(): - from lakefs_client.model.commit_creation import CommitCreation - from lakefs_client.model.import_location import ImportLocation - globals()['CommitCreation'] = CommitCreation - globals()['ImportLocation'] = ImportLocation - - -class ImportCreation(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'paths': ([ImportLocation],), # noqa: E501 - 'commit': (CommitCreation,), # noqa: E501 - 'force': (bool,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'paths': 'paths', # noqa: E501 - 'commit': 'commit', # noqa: E501 - 'force': 'force', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, paths, commit, *args, **kwargs): # noqa: E501 - """ImportCreation - a model defined in OpenAPI - - Args: - paths ([ImportLocation]): - commit (CommitCreation): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - force (bool): [optional] if omitted the server will use the default value of False # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.paths = paths - self.commit = commit - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, paths, commit, *args, **kwargs): # noqa: E501 - """ImportCreation - a model defined in OpenAPI - - Args: - paths ([ImportLocation]): - commit (CommitCreation): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - force (bool): [optional] if omitted the server will use the default value of False # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.paths = paths - self.commit = commit - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/import_creation_response.py b/clients/python-legacy/lakefs_client/model/import_creation_response.py deleted file mode 100644 index 47e8e709be2..00000000000 --- a/clients/python-legacy/lakefs_client/model/import_creation_response.py +++ /dev/null @@ -1,262 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - - -class ImportCreationResponse(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'id': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501 - """ImportCreationResponse - a model defined in OpenAPI - - Args: - id (str): The id of the import process - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.id = id - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, id, *args, **kwargs): # noqa: E501 - """ImportCreationResponse - a model defined in OpenAPI - - Args: - id (str): The id of the import process - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.id = id - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/import_location.py b/clients/python-legacy/lakefs_client/model/import_location.py deleted file mode 100644 index 35b9b179969..00000000000 --- a/clients/python-legacy/lakefs_client/model/import_location.py +++ /dev/null @@ -1,278 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - - -class ImportLocation(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - ('type',): { - 'COMMON_PREFIX': "common_prefix", - 'OBJECT': "object", - }, - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'type': (str,), # noqa: E501 - 'path': (str,), # noqa: E501 - 'destination': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'type': 'type', # noqa: E501 - 'path': 'path', # noqa: E501 - 'destination': 'destination', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, type, path, destination, *args, **kwargs): # noqa: E501 - """ImportLocation - a model defined in OpenAPI - - Args: - type (str): Path type, can either be 'common_prefix' or 'object' - path (str): A source location to a 'common_prefix' or to a single object. Must match the lakeFS installation blockstore type. - destination (str): Destination for the imported objects on the branch. Must be a relative path to the branch. If the type is an 'object', the destination is the exact object name under the branch. If the type is a 'common_prefix', the destination is the prefix under the branch. - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.type = type - self.path = path - self.destination = destination - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, type, path, destination, *args, **kwargs): # noqa: E501 - """ImportLocation - a model defined in OpenAPI - - Args: - type (str): Path type, can either be 'common_prefix' or 'object' - path (str): A source location to a 'common_prefix' or to a single object. Must match the lakeFS installation blockstore type. - destination (str): Destination for the imported objects on the branch. Must be a relative path to the branch. If the type is an 'object', the destination is the exact object name under the branch. If the type is a 'common_prefix', the destination is the prefix under the branch. - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.type = type - self.path = path - self.destination = destination - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/import_status.py b/clients/python-legacy/lakefs_client/model/import_status.py deleted file mode 100644 index 8d13c42b7fe..00000000000 --- a/clients/python-legacy/lakefs_client/model/import_status.py +++ /dev/null @@ -1,292 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - -def lazy_import(): - from lakefs_client.model.commit import Commit - from lakefs_client.model.error import Error - globals()['Commit'] = Commit - globals()['Error'] = Error - - -class ImportStatus(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'completed': (bool,), # noqa: E501 - 'update_time': (datetime,), # noqa: E501 - 'ingested_objects': (int,), # noqa: E501 - 'metarange_id': (str,), # noqa: E501 - 'commit': (Commit,), # noqa: E501 - 'error': (Error,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'completed': 'completed', # noqa: E501 - 'update_time': 'update_time', # noqa: E501 - 'ingested_objects': 'ingested_objects', # noqa: E501 - 'metarange_id': 'metarange_id', # noqa: E501 - 'commit': 'commit', # noqa: E501 - 'error': 'error', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, completed, update_time, *args, **kwargs): # noqa: E501 - """ImportStatus - a model defined in OpenAPI - - Args: - completed (bool): - update_time (datetime): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - ingested_objects (int): Number of objects processed so far. [optional] # noqa: E501 - metarange_id (str): [optional] # noqa: E501 - commit (Commit): [optional] # noqa: E501 - error (Error): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.completed = completed - self.update_time = update_time - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, completed, update_time, *args, **kwargs): # noqa: E501 - """ImportStatus - a model defined in OpenAPI - - Args: - completed (bool): - update_time (datetime): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - ingested_objects (int): Number of objects processed so far. [optional] # noqa: E501 - metarange_id (str): [optional] # noqa: E501 - commit (Commit): [optional] # noqa: E501 - error (Error): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.completed = completed - self.update_time = update_time - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/inline_object.py b/clients/python-legacy/lakefs_client/model/inline_object.py deleted file mode 100644 index 755e3b2950d..00000000000 --- a/clients/python-legacy/lakefs_client/model/inline_object.py +++ /dev/null @@ -1,256 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - - -class InlineObject(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'content': (file_type,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'content': 'content', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """InlineObject - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - content (file_type): Only a single file per upload which must be named \"content\".. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """InlineObject - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - content (file_type): Only a single file per upload which must be named \"content\".. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/inline_object1.py b/clients/python-legacy/lakefs_client/model/inline_object1.py deleted file mode 100644 index 9a03bf9fda6..00000000000 --- a/clients/python-legacy/lakefs_client/model/inline_object1.py +++ /dev/null @@ -1,262 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - - -class InlineObject1(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'pattern': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'pattern': 'pattern', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, pattern, *args, **kwargs): # noqa: E501 - """InlineObject1 - a model defined in OpenAPI - - Args: - pattern (str): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.pattern = pattern - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, pattern, *args, **kwargs): # noqa: E501 - """InlineObject1 - a model defined in OpenAPI - - Args: - pattern (str): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.pattern = pattern - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/installation_usage_report.py b/clients/python-legacy/lakefs_client/model/installation_usage_report.py deleted file mode 100644 index 87e406738cd..00000000000 --- a/clients/python-legacy/lakefs_client/model/installation_usage_report.py +++ /dev/null @@ -1,274 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - -def lazy_import(): - from lakefs_client.model.usage_report import UsageReport - globals()['UsageReport'] = UsageReport - - -class InstallationUsageReport(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'installation_id': (str,), # noqa: E501 - 'reports': ([UsageReport],), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'installation_id': 'installation_id', # noqa: E501 - 'reports': 'reports', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, installation_id, reports, *args, **kwargs): # noqa: E501 - """InstallationUsageReport - a model defined in OpenAPI - - Args: - installation_id (str): - reports ([UsageReport]): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.installation_id = installation_id - self.reports = reports - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, installation_id, reports, *args, **kwargs): # noqa: E501 - """InstallationUsageReport - a model defined in OpenAPI - - Args: - installation_id (str): - reports ([UsageReport]): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.installation_id = installation_id - self.reports = reports - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/login_config.py b/clients/python-legacy/lakefs_client/model/login_config.py deleted file mode 100644 index 766364a6064..00000000000 --- a/clients/python-legacy/lakefs_client/model/login_config.py +++ /dev/null @@ -1,295 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - - -class LoginConfig(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - ('rbac',): { - 'NONE': "none", - 'SIMPLIFIED': "simplified", - 'EXTERNAL': "external", - }, - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'login_url': (str,), # noqa: E501 - 'login_cookie_names': ([str],), # noqa: E501 - 'logout_url': (str,), # noqa: E501 - 'rbac': (str,), # noqa: E501 - 'login_failed_message': (str,), # noqa: E501 - 'fallback_login_url': (str,), # noqa: E501 - 'fallback_login_label': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'login_url': 'login_url', # noqa: E501 - 'login_cookie_names': 'login_cookie_names', # noqa: E501 - 'logout_url': 'logout_url', # noqa: E501 - 'rbac': 'RBAC', # noqa: E501 - 'login_failed_message': 'login_failed_message', # noqa: E501 - 'fallback_login_url': 'fallback_login_url', # noqa: E501 - 'fallback_login_label': 'fallback_login_label', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, login_url, login_cookie_names, logout_url, *args, **kwargs): # noqa: E501 - """LoginConfig - a model defined in OpenAPI - - Args: - login_url (str): primary URL to use for login. - login_cookie_names ([str]): cookie names used to store JWT - logout_url (str): URL to use for logging out. - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - rbac (str): RBAC will remain enabled on GUI if \"external\". That only works with an external auth service. . [optional] # noqa: E501 - login_failed_message (str): message to display to users who fail to login; a full sentence that is rendered in HTML and may contain a link to a secondary login method . [optional] # noqa: E501 - fallback_login_url (str): secondary URL to offer users to use for login.. [optional] # noqa: E501 - fallback_login_label (str): label to place on fallback_login_url.. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.login_url = login_url - self.login_cookie_names = login_cookie_names - self.logout_url = logout_url - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, login_url, login_cookie_names, logout_url, *args, **kwargs): # noqa: E501 - """LoginConfig - a model defined in OpenAPI - - Args: - login_url (str): primary URL to use for login. - login_cookie_names ([str]): cookie names used to store JWT - logout_url (str): URL to use for logging out. - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - rbac (str): RBAC will remain enabled on GUI if \"external\". That only works with an external auth service. . [optional] # noqa: E501 - login_failed_message (str): message to display to users who fail to login; a full sentence that is rendered in HTML and may contain a link to a secondary login method . [optional] # noqa: E501 - fallback_login_url (str): secondary URL to offer users to use for login.. [optional] # noqa: E501 - fallback_login_label (str): label to place on fallback_login_url.. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.login_url = login_url - self.login_cookie_names = login_cookie_names - self.logout_url = logout_url - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/login_information.py b/clients/python-legacy/lakefs_client/model/login_information.py deleted file mode 100644 index 4a7cc99de9f..00000000000 --- a/clients/python-legacy/lakefs_client/model/login_information.py +++ /dev/null @@ -1,268 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - - -class LoginInformation(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'access_key_id': (str,), # noqa: E501 - 'secret_access_key': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'access_key_id': 'access_key_id', # noqa: E501 - 'secret_access_key': 'secret_access_key', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, access_key_id, secret_access_key, *args, **kwargs): # noqa: E501 - """LoginInformation - a model defined in OpenAPI - - Args: - access_key_id (str): - secret_access_key (str): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.access_key_id = access_key_id - self.secret_access_key = secret_access_key - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, access_key_id, secret_access_key, *args, **kwargs): # noqa: E501 - """LoginInformation - a model defined in OpenAPI - - Args: - access_key_id (str): - secret_access_key (str): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.access_key_id = access_key_id - self.secret_access_key = secret_access_key - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/merge.py b/clients/python-legacy/lakefs_client/model/merge.py deleted file mode 100644 index 5504c34cd20..00000000000 --- a/clients/python-legacy/lakefs_client/model/merge.py +++ /dev/null @@ -1,272 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - - -class Merge(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'message': (str,), # noqa: E501 - 'metadata': ({str: (str,)},), # noqa: E501 - 'strategy': (str,), # noqa: E501 - 'force': (bool,), # noqa: E501 - 'allow_empty': (bool,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'message': 'message', # noqa: E501 - 'metadata': 'metadata', # noqa: E501 - 'strategy': 'strategy', # noqa: E501 - 'force': 'force', # noqa: E501 - 'allow_empty': 'allow_empty', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """Merge - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - message (str): [optional] # noqa: E501 - metadata ({str: (str,)}): [optional] # noqa: E501 - strategy (str): In case of a merge conflict, this option will force the merge process to automatically favor changes from the dest branch ('dest-wins') or from the source branch('source-wins'). In case no selection is made, the merge process will fail in case of a conflict. [optional] # noqa: E501 - force (bool): Allow merge into a read-only branch or into a branch with the same content. [optional] if omitted the server will use the default value of False # noqa: E501 - allow_empty (bool): Allow merge when the branches have the same content. [optional] if omitted the server will use the default value of False # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """Merge - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - message (str): [optional] # noqa: E501 - metadata ({str: (str,)}): [optional] # noqa: E501 - strategy (str): In case of a merge conflict, this option will force the merge process to automatically favor changes from the dest branch ('dest-wins') or from the source branch('source-wins'). In case no selection is made, the merge process will fail in case of a conflict. [optional] # noqa: E501 - force (bool): Allow merge into a read-only branch or into a branch with the same content. [optional] if omitted the server will use the default value of False # noqa: E501 - allow_empty (bool): Allow merge when the branches have the same content. [optional] if omitted the server will use the default value of False # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/merge_result.py b/clients/python-legacy/lakefs_client/model/merge_result.py deleted file mode 100644 index 5b33ac452d6..00000000000 --- a/clients/python-legacy/lakefs_client/model/merge_result.py +++ /dev/null @@ -1,262 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - - -class MergeResult(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'reference': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'reference': 'reference', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, reference, *args, **kwargs): # noqa: E501 - """MergeResult - a model defined in OpenAPI - - Args: - reference (str): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.reference = reference - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, reference, *args, **kwargs): # noqa: E501 - """MergeResult - a model defined in OpenAPI - - Args: - reference (str): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.reference = reference - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/meta_range_creation.py b/clients/python-legacy/lakefs_client/model/meta_range_creation.py deleted file mode 100644 index 4f718c51976..00000000000 --- a/clients/python-legacy/lakefs_client/model/meta_range_creation.py +++ /dev/null @@ -1,271 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - -def lazy_import(): - from lakefs_client.model.range_metadata import RangeMetadata - globals()['RangeMetadata'] = RangeMetadata - - -class MetaRangeCreation(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - ('ranges',): { - 'min_items': 1, - }, - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'ranges': ([RangeMetadata],), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'ranges': 'ranges', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, ranges, *args, **kwargs): # noqa: E501 - """MetaRangeCreation - a model defined in OpenAPI - - Args: - ranges ([RangeMetadata]): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.ranges = ranges - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, ranges, *args, **kwargs): # noqa: E501 - """MetaRangeCreation - a model defined in OpenAPI - - Args: - ranges ([RangeMetadata]): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.ranges = ranges - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/meta_range_creation_response.py b/clients/python-legacy/lakefs_client/model/meta_range_creation_response.py deleted file mode 100644 index c3c41590f03..00000000000 --- a/clients/python-legacy/lakefs_client/model/meta_range_creation_response.py +++ /dev/null @@ -1,256 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - - -class MetaRangeCreationResponse(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'id': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """MetaRangeCreationResponse - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - id (str): The id of the created metarange. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """MetaRangeCreationResponse - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - id (str): The id of the created metarange. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/object_copy_creation.py b/clients/python-legacy/lakefs_client/model/object_copy_creation.py deleted file mode 100644 index 029adc2ad6b..00000000000 --- a/clients/python-legacy/lakefs_client/model/object_copy_creation.py +++ /dev/null @@ -1,270 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - - -class ObjectCopyCreation(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'src_path': (str,), # noqa: E501 - 'src_ref': (str,), # noqa: E501 - 'force': (bool,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'src_path': 'src_path', # noqa: E501 - 'src_ref': 'src_ref', # noqa: E501 - 'force': 'force', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, src_path, *args, **kwargs): # noqa: E501 - """ObjectCopyCreation - a model defined in OpenAPI - - Args: - src_path (str): path of the copied object relative to the ref - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - src_ref (str): a reference, if empty uses the provided branch as ref. [optional] # noqa: E501 - force (bool): [optional] if omitted the server will use the default value of False # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.src_path = src_path - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, src_path, *args, **kwargs): # noqa: E501 - """ObjectCopyCreation - a model defined in OpenAPI - - Args: - src_path (str): path of the copied object relative to the ref - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - src_ref (str): a reference, if empty uses the provided branch as ref. [optional] # noqa: E501 - force (bool): [optional] if omitted the server will use the default value of False # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.src_path = src_path - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/object_error.py b/clients/python-legacy/lakefs_client/model/object_error.py deleted file mode 100644 index 14cf4b4c4d4..00000000000 --- a/clients/python-legacy/lakefs_client/model/object_error.py +++ /dev/null @@ -1,272 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - - -class ObjectError(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'status_code': (int,), # noqa: E501 - 'message': (str,), # noqa: E501 - 'path': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'status_code': 'status_code', # noqa: E501 - 'message': 'message', # noqa: E501 - 'path': 'path', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, status_code, message, *args, **kwargs): # noqa: E501 - """ObjectError - a model defined in OpenAPI - - Args: - status_code (int): HTTP status code associated for operation on path - message (str): short message explaining status_code - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - path (str): affected path. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.status_code = status_code - self.message = message - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, status_code, message, *args, **kwargs): # noqa: E501 - """ObjectError - a model defined in OpenAPI - - Args: - status_code (int): HTTP status code associated for operation on path - message (str): short message explaining status_code - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - path (str): affected path. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.status_code = status_code - self.message = message - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/object_error_list.py b/clients/python-legacy/lakefs_client/model/object_error_list.py deleted file mode 100644 index c1f613ad9d5..00000000000 --- a/clients/python-legacy/lakefs_client/model/object_error_list.py +++ /dev/null @@ -1,268 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - -def lazy_import(): - from lakefs_client.model.object_error import ObjectError - globals()['ObjectError'] = ObjectError - - -class ObjectErrorList(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'errors': ([ObjectError],), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'errors': 'errors', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, errors, *args, **kwargs): # noqa: E501 - """ObjectErrorList - a model defined in OpenAPI - - Args: - errors ([ObjectError]): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.errors = errors - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, errors, *args, **kwargs): # noqa: E501 - """ObjectErrorList - a model defined in OpenAPI - - Args: - errors ([ObjectError]): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.errors = errors - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/object_stage_creation.py b/clients/python-legacy/lakefs_client/model/object_stage_creation.py deleted file mode 100644 index b76e09cb180..00000000000 --- a/clients/python-legacy/lakefs_client/model/object_stage_creation.py +++ /dev/null @@ -1,296 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - -def lazy_import(): - from lakefs_client.model.object_user_metadata import ObjectUserMetadata - globals()['ObjectUserMetadata'] = ObjectUserMetadata - - -class ObjectStageCreation(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'physical_address': (str,), # noqa: E501 - 'checksum': (str,), # noqa: E501 - 'size_bytes': (int,), # noqa: E501 - 'mtime': (int,), # noqa: E501 - 'metadata': (ObjectUserMetadata,), # noqa: E501 - 'content_type': (str,), # noqa: E501 - 'force': (bool,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'physical_address': 'physical_address', # noqa: E501 - 'checksum': 'checksum', # noqa: E501 - 'size_bytes': 'size_bytes', # noqa: E501 - 'mtime': 'mtime', # noqa: E501 - 'metadata': 'metadata', # noqa: E501 - 'content_type': 'content_type', # noqa: E501 - 'force': 'force', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, physical_address, checksum, size_bytes, *args, **kwargs): # noqa: E501 - """ObjectStageCreation - a model defined in OpenAPI - - Args: - physical_address (str): - checksum (str): - size_bytes (int): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - mtime (int): Unix Epoch in seconds. [optional] # noqa: E501 - metadata (ObjectUserMetadata): [optional] # noqa: E501 - content_type (str): Object media type. [optional] # noqa: E501 - force (bool): [optional] if omitted the server will use the default value of False # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.physical_address = physical_address - self.checksum = checksum - self.size_bytes = size_bytes - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, physical_address, checksum, size_bytes, *args, **kwargs): # noqa: E501 - """ObjectStageCreation - a model defined in OpenAPI - - Args: - physical_address (str): - checksum (str): - size_bytes (int): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - mtime (int): Unix Epoch in seconds. [optional] # noqa: E501 - metadata (ObjectUserMetadata): [optional] # noqa: E501 - content_type (str): Object media type. [optional] # noqa: E501 - force (bool): [optional] if omitted the server will use the default value of False # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.physical_address = physical_address - self.checksum = checksum - self.size_bytes = size_bytes - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/object_stats.py b/clients/python-legacy/lakefs_client/model/object_stats.py deleted file mode 100644 index 9864b4f6ed7..00000000000 --- a/clients/python-legacy/lakefs_client/model/object_stats.py +++ /dev/null @@ -1,312 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - -def lazy_import(): - from lakefs_client.model.object_user_metadata import ObjectUserMetadata - globals()['ObjectUserMetadata'] = ObjectUserMetadata - - -class ObjectStats(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - ('path_type',): { - 'COMMON_PREFIX': "common_prefix", - 'OBJECT': "object", - }, - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'path': (str,), # noqa: E501 - 'path_type': (str,), # noqa: E501 - 'physical_address': (str,), # noqa: E501 - 'checksum': (str,), # noqa: E501 - 'mtime': (int,), # noqa: E501 - 'physical_address_expiry': (int,), # noqa: E501 - 'size_bytes': (int,), # noqa: E501 - 'metadata': (ObjectUserMetadata,), # noqa: E501 - 'content_type': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'path': 'path', # noqa: E501 - 'path_type': 'path_type', # noqa: E501 - 'physical_address': 'physical_address', # noqa: E501 - 'checksum': 'checksum', # noqa: E501 - 'mtime': 'mtime', # noqa: E501 - 'physical_address_expiry': 'physical_address_expiry', # noqa: E501 - 'size_bytes': 'size_bytes', # noqa: E501 - 'metadata': 'metadata', # noqa: E501 - 'content_type': 'content_type', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, path, path_type, physical_address, checksum, mtime, *args, **kwargs): # noqa: E501 - """ObjectStats - a model defined in OpenAPI - - Args: - path (str): - path_type (str): - physical_address (str): The location of the object on the underlying object store. Formatted as a native URI with the object store type as scheme (\"s3://...\", \"gs://...\", etc.) Or, in the case of presign=true, will be an HTTP URL to be consumed via regular HTTP GET - checksum (str): - mtime (int): Unix Epoch in seconds - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - physical_address_expiry (int): If present and nonzero, physical_address is a pre-signed URL and will expire at this Unix Epoch time. This will be shorter than the pre-signed URL lifetime if an authentication token is about to expire. This field is *optional*. . [optional] # noqa: E501 - size_bytes (int): The number of bytes in the object. lakeFS always populates this field when returning ObjectStats. This field is optional _for the client_ to supply, for instance on upload. . [optional] # noqa: E501 - metadata (ObjectUserMetadata): [optional] # noqa: E501 - content_type (str): Object media type. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.path = path - self.path_type = path_type - self.physical_address = physical_address - self.checksum = checksum - self.mtime = mtime - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, path, path_type, physical_address, checksum, mtime, *args, **kwargs): # noqa: E501 - """ObjectStats - a model defined in OpenAPI - - Args: - path (str): - path_type (str): - physical_address (str): The location of the object on the underlying object store. Formatted as a native URI with the object store type as scheme (\"s3://...\", \"gs://...\", etc.) Or, in the case of presign=true, will be an HTTP URL to be consumed via regular HTTP GET - checksum (str): - mtime (int): Unix Epoch in seconds - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - physical_address_expiry (int): If present and nonzero, physical_address is a pre-signed URL and will expire at this Unix Epoch time. This will be shorter than the pre-signed URL lifetime if an authentication token is about to expire. This field is *optional*. . [optional] # noqa: E501 - size_bytes (int): The number of bytes in the object. lakeFS always populates this field when returning ObjectStats. This field is optional _for the client_ to supply, for instance on upload. . [optional] # noqa: E501 - metadata (ObjectUserMetadata): [optional] # noqa: E501 - content_type (str): Object media type. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.path = path - self.path_type = path_type - self.physical_address = physical_address - self.checksum = checksum - self.mtime = mtime - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/object_stats_list.py b/clients/python-legacy/lakefs_client/model/object_stats_list.py deleted file mode 100644 index b4956ed7c25..00000000000 --- a/clients/python-legacy/lakefs_client/model/object_stats_list.py +++ /dev/null @@ -1,276 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - -def lazy_import(): - from lakefs_client.model.object_stats import ObjectStats - from lakefs_client.model.pagination import Pagination - globals()['ObjectStats'] = ObjectStats - globals()['Pagination'] = Pagination - - -class ObjectStatsList(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'pagination': (Pagination,), # noqa: E501 - 'results': ([ObjectStats],), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'pagination': 'pagination', # noqa: E501 - 'results': 'results', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, pagination, results, *args, **kwargs): # noqa: E501 - """ObjectStatsList - a model defined in OpenAPI - - Args: - pagination (Pagination): - results ([ObjectStats]): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.pagination = pagination - self.results = results - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, pagination, results, *args, **kwargs): # noqa: E501 - """ObjectStatsList - a model defined in OpenAPI - - Args: - pagination (Pagination): - results ([ObjectStats]): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.pagination = pagination - self.results = results - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/object_user_metadata.py b/clients/python-legacy/lakefs_client/model/object_user_metadata.py deleted file mode 100644 index 5fbb9e1fb52..00000000000 --- a/clients/python-legacy/lakefs_client/model/object_user_metadata.py +++ /dev/null @@ -1,252 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - - -class ObjectUserMetadata(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (str,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """ObjectUserMetadata - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """ObjectUserMetadata - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/pagination.py b/clients/python-legacy/lakefs_client/model/pagination.py deleted file mode 100644 index 74133265fd9..00000000000 --- a/clients/python-legacy/lakefs_client/model/pagination.py +++ /dev/null @@ -1,286 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - - -class Pagination(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - ('results',): { - 'inclusive_minimum': 0, - }, - ('max_per_page',): { - 'inclusive_minimum': 0, - }, - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'has_more': (bool,), # noqa: E501 - 'next_offset': (str,), # noqa: E501 - 'results': (int,), # noqa: E501 - 'max_per_page': (int,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'has_more': 'has_more', # noqa: E501 - 'next_offset': 'next_offset', # noqa: E501 - 'results': 'results', # noqa: E501 - 'max_per_page': 'max_per_page', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, has_more, next_offset, results, max_per_page, *args, **kwargs): # noqa: E501 - """Pagination - a model defined in OpenAPI - - Args: - has_more (bool): Next page is available - next_offset (str): Token used to retrieve the next page - results (int): Number of values found in the results - max_per_page (int): Maximal number of entries per page - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.has_more = has_more - self.next_offset = next_offset - self.results = results - self.max_per_page = max_per_page - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, has_more, next_offset, results, max_per_page, *args, **kwargs): # noqa: E501 - """Pagination - a model defined in OpenAPI - - Args: - has_more (bool): Next page is available - next_offset (str): Token used to retrieve the next page - results (int): Number of values found in the results - max_per_page (int): Maximal number of entries per page - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.has_more = has_more - self.next_offset = next_offset - self.results = results - self.max_per_page = max_per_page - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/path_list.py b/clients/python-legacy/lakefs_client/model/path_list.py deleted file mode 100644 index 9a0ff5e1b70..00000000000 --- a/clients/python-legacy/lakefs_client/model/path_list.py +++ /dev/null @@ -1,262 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - - -class PathList(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'paths': ([str],), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'paths': 'paths', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, paths, *args, **kwargs): # noqa: E501 - """PathList - a model defined in OpenAPI - - Args: - paths ([str]): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.paths = paths - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, paths, *args, **kwargs): # noqa: E501 - """PathList - a model defined in OpenAPI - - Args: - paths ([str]): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.paths = paths - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/policy.py b/clients/python-legacy/lakefs_client/model/policy.py deleted file mode 100644 index a2f88a99685..00000000000 --- a/clients/python-legacy/lakefs_client/model/policy.py +++ /dev/null @@ -1,281 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - -def lazy_import(): - from lakefs_client.model.statement import Statement - globals()['Statement'] = Statement - - -class Policy(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - ('statement',): { - 'min_items': 1, - }, - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'id': (str,), # noqa: E501 - 'statement': ([Statement],), # noqa: E501 - 'creation_date': (int,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'statement': 'statement', # noqa: E501 - 'creation_date': 'creation_date', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, id, statement, *args, **kwargs): # noqa: E501 - """Policy - a model defined in OpenAPI - - Args: - id (str): - statement ([Statement]): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - creation_date (int): Unix Epoch in seconds. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.id = id - self.statement = statement - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, id, statement, *args, **kwargs): # noqa: E501 - """Policy - a model defined in OpenAPI - - Args: - id (str): - statement ([Statement]): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - creation_date (int): Unix Epoch in seconds. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.id = id - self.statement = statement - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/policy_list.py b/clients/python-legacy/lakefs_client/model/policy_list.py deleted file mode 100644 index a7b86ef7811..00000000000 --- a/clients/python-legacy/lakefs_client/model/policy_list.py +++ /dev/null @@ -1,276 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - -def lazy_import(): - from lakefs_client.model.pagination import Pagination - from lakefs_client.model.policy import Policy - globals()['Pagination'] = Pagination - globals()['Policy'] = Policy - - -class PolicyList(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'pagination': (Pagination,), # noqa: E501 - 'results': ([Policy],), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'pagination': 'pagination', # noqa: E501 - 'results': 'results', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, pagination, results, *args, **kwargs): # noqa: E501 - """PolicyList - a model defined in OpenAPI - - Args: - pagination (Pagination): - results ([Policy]): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.pagination = pagination - self.results = results - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, pagination, results, *args, **kwargs): # noqa: E501 - """PolicyList - a model defined in OpenAPI - - Args: - pagination (Pagination): - results ([Policy]): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.pagination = pagination - self.results = results - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/prepare_gc_uncommitted_request.py b/clients/python-legacy/lakefs_client/model/prepare_gc_uncommitted_request.py deleted file mode 100644 index 5e04cb64b68..00000000000 --- a/clients/python-legacy/lakefs_client/model/prepare_gc_uncommitted_request.py +++ /dev/null @@ -1,256 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - - -class PrepareGCUncommittedRequest(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'continuation_token': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'continuation_token': 'continuation_token', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """PrepareGCUncommittedRequest - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - continuation_token (str): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """PrepareGCUncommittedRequest - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - continuation_token (str): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/prepare_gc_uncommitted_response.py b/clients/python-legacy/lakefs_client/model/prepare_gc_uncommitted_response.py deleted file mode 100644 index 48fe20371cb..00000000000 --- a/clients/python-legacy/lakefs_client/model/prepare_gc_uncommitted_response.py +++ /dev/null @@ -1,272 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - - -class PrepareGCUncommittedResponse(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'run_id': (str,), # noqa: E501 - 'gc_uncommitted_location': (str,), # noqa: E501 - 'continuation_token': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'run_id': 'run_id', # noqa: E501 - 'gc_uncommitted_location': 'gc_uncommitted_location', # noqa: E501 - 'continuation_token': 'continuation_token', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, run_id, gc_uncommitted_location, *args, **kwargs): # noqa: E501 - """PrepareGCUncommittedResponse - a model defined in OpenAPI - - Args: - run_id (str): - gc_uncommitted_location (str): location of uncommitted information data - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - continuation_token (str): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.run_id = run_id - self.gc_uncommitted_location = gc_uncommitted_location - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, run_id, gc_uncommitted_location, *args, **kwargs): # noqa: E501 - """PrepareGCUncommittedResponse - a model defined in OpenAPI - - Args: - run_id (str): - gc_uncommitted_location (str): location of uncommitted information data - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - continuation_token (str): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.run_id = run_id - self.gc_uncommitted_location = gc_uncommitted_location - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/presign_multipart_upload.py b/clients/python-legacy/lakefs_client/model/presign_multipart_upload.py deleted file mode 100644 index 2493b622cd0..00000000000 --- a/clients/python-legacy/lakefs_client/model/presign_multipart_upload.py +++ /dev/null @@ -1,272 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - - -class PresignMultipartUpload(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'upload_id': (str,), # noqa: E501 - 'physical_address': (str,), # noqa: E501 - 'presigned_urls': ([str],), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'upload_id': 'upload_id', # noqa: E501 - 'physical_address': 'physical_address', # noqa: E501 - 'presigned_urls': 'presigned_urls', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, upload_id, physical_address, *args, **kwargs): # noqa: E501 - """PresignMultipartUpload - a model defined in OpenAPI - - Args: - upload_id (str): - physical_address (str): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - presigned_urls ([str]): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.upload_id = upload_id - self.physical_address = physical_address - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, upload_id, physical_address, *args, **kwargs): # noqa: E501 - """PresignMultipartUpload - a model defined in OpenAPI - - Args: - upload_id (str): - physical_address (str): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - presigned_urls ([str]): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.upload_id = upload_id - self.physical_address = physical_address - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/pull_request.py b/clients/python-legacy/lakefs_client/model/pull_request.py deleted file mode 100644 index 6db014d1904..00000000000 --- a/clients/python-legacy/lakefs_client/model/pull_request.py +++ /dev/null @@ -1,356 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - -def lazy_import(): - from lakefs_client.model.pull_request_all_of import PullRequestAllOf - from lakefs_client.model.pull_request_basic import PullRequestBasic - globals()['PullRequestAllOf'] = PullRequestAllOf - globals()['PullRequestBasic'] = PullRequestBasic - - -class PullRequest(ModelComposed): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - ('status',): { - 'OPEN': "open", - 'CLOSED': "closed", - 'MERGED': "merged", - }, - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'status': (str,), # noqa: E501 - 'title': (str,), # noqa: E501 - 'description': (str,), # noqa: E501 - 'id': (str,), # noqa: E501 - 'creation_date': (datetime,), # noqa: E501 - 'author': (str,), # noqa: E501 - 'source_branch': (str,), # noqa: E501 - 'destination_branch': (str,), # noqa: E501 - 'merged_commit_id': (str,), # noqa: E501 - 'closed_date': (datetime,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'status': 'status', # noqa: E501 - 'title': 'title', # noqa: E501 - 'description': 'description', # noqa: E501 - 'id': 'id', # noqa: E501 - 'creation_date': 'creation_date', # noqa: E501 - 'author': 'author', # noqa: E501 - 'source_branch': 'source_branch', # noqa: E501 - 'destination_branch': 'destination_branch', # noqa: E501 - 'merged_commit_id': 'merged_commit_id', # noqa: E501 - 'closed_date': 'closed_date', # noqa: E501 - } - - read_only_vars = { - } - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """PullRequest - a model defined in OpenAPI - - Keyword Args: - status (str): - title (str): - description (str): - id (str): - creation_date (datetime): - author (str): - source_branch (str): - destination_branch (str): - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - merged_commit_id (str): the commit id of merged PRs. [optional] # noqa: E501 - closed_date (datetime): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - constant_args = { - '_check_type': _check_type, - '_path_to_item': _path_to_item, - '_spec_property_naming': _spec_property_naming, - '_configuration': _configuration, - '_visited_composed_classes': self._visited_composed_classes, - } - composed_info = validate_get_composed_info( - constant_args, kwargs, self) - self._composed_instances = composed_info[0] - self._var_name_to_model_instances = composed_info[1] - self._additional_properties_model_instances = composed_info[2] - discarded_args = composed_info[3] - - for var_name, var_value in kwargs.items(): - if var_name in discarded_args and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self._additional_properties_model_instances: - # discard variable. - continue - setattr(self, var_name, var_value) - - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - '_composed_instances', - '_var_name_to_model_instances', - '_additional_properties_model_instances', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """PullRequest - a model defined in OpenAPI - - Keyword Args: - status (str): - title (str): - description (str): - id (str): - creation_date (datetime): - author (str): - source_branch (str): - destination_branch (str): - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - merged_commit_id (str): the commit id of merged PRs. [optional] # noqa: E501 - closed_date (datetime): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - constant_args = { - '_check_type': _check_type, - '_path_to_item': _path_to_item, - '_spec_property_naming': _spec_property_naming, - '_configuration': _configuration, - '_visited_composed_classes': self._visited_composed_classes, - } - composed_info = validate_get_composed_info( - constant_args, kwargs, self) - self._composed_instances = composed_info[0] - self._var_name_to_model_instances = composed_info[1] - self._additional_properties_model_instances = composed_info[2] - discarded_args = composed_info[3] - - for var_name, var_value in kwargs.items(): - if var_name in discarded_args and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self._additional_properties_model_instances: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") - - @cached_property - def _composed_schemas(): - # we need this here to make our import statements work - # we must store _composed_schemas in here so the code is only run - # when we invoke this method. If we kept this at the class - # level we would get an error because the class level - # code would be run when this module is imported, and these composed - # classes don't exist yet because their module has not finished - # loading - lazy_import() - return { - 'anyOf': [ - ], - 'allOf': [ - PullRequestAllOf, - PullRequestBasic, - ], - 'oneOf': [ - ], - } diff --git a/clients/python-legacy/lakefs_client/model/pull_request_all_of.py b/clients/python-legacy/lakefs_client/model/pull_request_all_of.py deleted file mode 100644 index 2938e82f8bf..00000000000 --- a/clients/python-legacy/lakefs_client/model/pull_request_all_of.py +++ /dev/null @@ -1,294 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - - -class PullRequestAllOf(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'id': (str,), # noqa: E501 - 'creation_date': (datetime,), # noqa: E501 - 'author': (str,), # noqa: E501 - 'source_branch': (str,), # noqa: E501 - 'destination_branch': (str,), # noqa: E501 - 'merged_commit_id': (str,), # noqa: E501 - 'closed_date': (datetime,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'creation_date': 'creation_date', # noqa: E501 - 'author': 'author', # noqa: E501 - 'source_branch': 'source_branch', # noqa: E501 - 'destination_branch': 'destination_branch', # noqa: E501 - 'merged_commit_id': 'merged_commit_id', # noqa: E501 - 'closed_date': 'closed_date', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, id, creation_date, author, source_branch, destination_branch, *args, **kwargs): # noqa: E501 - """PullRequestAllOf - a model defined in OpenAPI - - Args: - id (str): - creation_date (datetime): - author (str): - source_branch (str): - destination_branch (str): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - merged_commit_id (str): the commit id of merged PRs. [optional] # noqa: E501 - closed_date (datetime): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.id = id - self.creation_date = creation_date - self.author = author - self.source_branch = source_branch - self.destination_branch = destination_branch - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, id, creation_date, author, source_branch, destination_branch, *args, **kwargs): # noqa: E501 - """PullRequestAllOf - a model defined in OpenAPI - - Args: - id (str): - creation_date (datetime): - author (str): - source_branch (str): - destination_branch (str): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - merged_commit_id (str): the commit id of merged PRs. [optional] # noqa: E501 - closed_date (datetime): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.id = id - self.creation_date = creation_date - self.author = author - self.source_branch = source_branch - self.destination_branch = destination_branch - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/pull_request_basic.py b/clients/python-legacy/lakefs_client/model/pull_request_basic.py deleted file mode 100644 index c0a328f7667..00000000000 --- a/clients/python-legacy/lakefs_client/model/pull_request_basic.py +++ /dev/null @@ -1,269 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - - -class PullRequestBasic(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - ('status',): { - 'OPEN': "open", - 'CLOSED': "closed", - 'MERGED': "merged", - }, - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'status': (str,), # noqa: E501 - 'title': (str,), # noqa: E501 - 'description': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'status': 'status', # noqa: E501 - 'title': 'title', # noqa: E501 - 'description': 'description', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """PullRequestBasic - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - status (str): [optional] # noqa: E501 - title (str): [optional] # noqa: E501 - description (str): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """PullRequestBasic - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - status (str): [optional] # noqa: E501 - title (str): [optional] # noqa: E501 - description (str): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/pull_request_creation.py b/clients/python-legacy/lakefs_client/model/pull_request_creation.py deleted file mode 100644 index 6887dfc2a7c..00000000000 --- a/clients/python-legacy/lakefs_client/model/pull_request_creation.py +++ /dev/null @@ -1,278 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - - -class PullRequestCreation(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'title': (str,), # noqa: E501 - 'source_branch': (str,), # noqa: E501 - 'destination_branch': (str,), # noqa: E501 - 'description': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'title': 'title', # noqa: E501 - 'source_branch': 'source_branch', # noqa: E501 - 'destination_branch': 'destination_branch', # noqa: E501 - 'description': 'description', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, title, source_branch, destination_branch, *args, **kwargs): # noqa: E501 - """PullRequestCreation - a model defined in OpenAPI - - Args: - title (str): - source_branch (str): - destination_branch (str): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - description (str): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.title = title - self.source_branch = source_branch - self.destination_branch = destination_branch - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, title, source_branch, destination_branch, *args, **kwargs): # noqa: E501 - """PullRequestCreation - a model defined in OpenAPI - - Args: - title (str): - source_branch (str): - destination_branch (str): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - description (str): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.title = title - self.source_branch = source_branch - self.destination_branch = destination_branch - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/pull_request_creation_response.py b/clients/python-legacy/lakefs_client/model/pull_request_creation_response.py deleted file mode 100644 index c013a669a27..00000000000 --- a/clients/python-legacy/lakefs_client/model/pull_request_creation_response.py +++ /dev/null @@ -1,262 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - - -class PullRequestCreationResponse(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'id': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501 - """PullRequestCreationResponse - a model defined in OpenAPI - - Args: - id (str): ID of the pull request - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.id = id - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, id, *args, **kwargs): # noqa: E501 - """PullRequestCreationResponse - a model defined in OpenAPI - - Args: - id (str): ID of the pull request - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.id = id - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/pull_requests_list.py b/clients/python-legacy/lakefs_client/model/pull_requests_list.py deleted file mode 100644 index 6a542d543f9..00000000000 --- a/clients/python-legacy/lakefs_client/model/pull_requests_list.py +++ /dev/null @@ -1,276 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - -def lazy_import(): - from lakefs_client.model.pagination import Pagination - from lakefs_client.model.pull_request import PullRequest - globals()['Pagination'] = Pagination - globals()['PullRequest'] = PullRequest - - -class PullRequestsList(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'pagination': (Pagination,), # noqa: E501 - 'results': ([PullRequest],), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'pagination': 'pagination', # noqa: E501 - 'results': 'results', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, pagination, results, *args, **kwargs): # noqa: E501 - """PullRequestsList - a model defined in OpenAPI - - Args: - pagination (Pagination): - results ([PullRequest]): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.pagination = pagination - self.results = results - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, pagination, results, *args, **kwargs): # noqa: E501 - """PullRequestsList - a model defined in OpenAPI - - Args: - pagination (Pagination): - results ([PullRequest]): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.pagination = pagination - self.results = results - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/range_metadata.py b/clients/python-legacy/lakefs_client/model/range_metadata.py deleted file mode 100644 index 25c9506e417..00000000000 --- a/clients/python-legacy/lakefs_client/model/range_metadata.py +++ /dev/null @@ -1,286 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - - -class RangeMetadata(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'id': (str,), # noqa: E501 - 'min_key': (str,), # noqa: E501 - 'max_key': (str,), # noqa: E501 - 'count': (int,), # noqa: E501 - 'estimated_size': (int,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'min_key': 'min_key', # noqa: E501 - 'max_key': 'max_key', # noqa: E501 - 'count': 'count', # noqa: E501 - 'estimated_size': 'estimated_size', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, id, min_key, max_key, count, estimated_size, *args, **kwargs): # noqa: E501 - """RangeMetadata - a model defined in OpenAPI - - Args: - id (str): ID of the range. - min_key (str): First key in the range. - max_key (str): Last key in the range. - count (int): Number of records in the range. - estimated_size (int): Estimated size of the range in bytes - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.id = id - self.min_key = min_key - self.max_key = max_key - self.count = count - self.estimated_size = estimated_size - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, id, min_key, max_key, count, estimated_size, *args, **kwargs): # noqa: E501 - """RangeMetadata - a model defined in OpenAPI - - Args: - id (str): ID of the range. - min_key (str): First key in the range. - max_key (str): Last key in the range. - count (int): Number of records in the range. - estimated_size (int): Estimated size of the range in bytes - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.id = id - self.min_key = min_key - self.max_key = max_key - self.count = count - self.estimated_size = estimated_size - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/ref.py b/clients/python-legacy/lakefs_client/model/ref.py deleted file mode 100644 index 0eb109ff496..00000000000 --- a/clients/python-legacy/lakefs_client/model/ref.py +++ /dev/null @@ -1,268 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - - -class Ref(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'id': (str,), # noqa: E501 - 'commit_id': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'commit_id': 'commit_id', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, id, commit_id, *args, **kwargs): # noqa: E501 - """Ref - a model defined in OpenAPI - - Args: - id (str): - commit_id (str): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.id = id - self.commit_id = commit_id - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, id, commit_id, *args, **kwargs): # noqa: E501 - """Ref - a model defined in OpenAPI - - Args: - id (str): - commit_id (str): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.id = id - self.commit_id = commit_id - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/ref_list.py b/clients/python-legacy/lakefs_client/model/ref_list.py deleted file mode 100644 index 8681b84a84b..00000000000 --- a/clients/python-legacy/lakefs_client/model/ref_list.py +++ /dev/null @@ -1,276 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - -def lazy_import(): - from lakefs_client.model.pagination import Pagination - from lakefs_client.model.ref import Ref - globals()['Pagination'] = Pagination - globals()['Ref'] = Ref - - -class RefList(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'pagination': (Pagination,), # noqa: E501 - 'results': ([Ref],), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'pagination': 'pagination', # noqa: E501 - 'results': 'results', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, pagination, results, *args, **kwargs): # noqa: E501 - """RefList - a model defined in OpenAPI - - Args: - pagination (Pagination): - results ([Ref]): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.pagination = pagination - self.results = results - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, pagination, results, *args, **kwargs): # noqa: E501 - """RefList - a model defined in OpenAPI - - Args: - pagination (Pagination): - results ([Ref]): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.pagination = pagination - self.results = results - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/refs_dump.py b/clients/python-legacy/lakefs_client/model/refs_dump.py deleted file mode 100644 index 27a28ebb33a..00000000000 --- a/clients/python-legacy/lakefs_client/model/refs_dump.py +++ /dev/null @@ -1,274 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - - -class RefsDump(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'commits_meta_range_id': (str,), # noqa: E501 - 'tags_meta_range_id': (str,), # noqa: E501 - 'branches_meta_range_id': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'commits_meta_range_id': 'commits_meta_range_id', # noqa: E501 - 'tags_meta_range_id': 'tags_meta_range_id', # noqa: E501 - 'branches_meta_range_id': 'branches_meta_range_id', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, commits_meta_range_id, tags_meta_range_id, branches_meta_range_id, *args, **kwargs): # noqa: E501 - """RefsDump - a model defined in OpenAPI - - Args: - commits_meta_range_id (str): - tags_meta_range_id (str): - branches_meta_range_id (str): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.commits_meta_range_id = commits_meta_range_id - self.tags_meta_range_id = tags_meta_range_id - self.branches_meta_range_id = branches_meta_range_id - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, commits_meta_range_id, tags_meta_range_id, branches_meta_range_id, *args, **kwargs): # noqa: E501 - """RefsDump - a model defined in OpenAPI - - Args: - commits_meta_range_id (str): - tags_meta_range_id (str): - branches_meta_range_id (str): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.commits_meta_range_id = commits_meta_range_id - self.tags_meta_range_id = tags_meta_range_id - self.branches_meta_range_id = branches_meta_range_id - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/refs_restore.py b/clients/python-legacy/lakefs_client/model/refs_restore.py deleted file mode 100644 index f335edff41c..00000000000 --- a/clients/python-legacy/lakefs_client/model/refs_restore.py +++ /dev/null @@ -1,278 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - - -class RefsRestore(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'commits_meta_range_id': (str,), # noqa: E501 - 'tags_meta_range_id': (str,), # noqa: E501 - 'branches_meta_range_id': (str,), # noqa: E501 - 'force': (bool,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'commits_meta_range_id': 'commits_meta_range_id', # noqa: E501 - 'tags_meta_range_id': 'tags_meta_range_id', # noqa: E501 - 'branches_meta_range_id': 'branches_meta_range_id', # noqa: E501 - 'force': 'force', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, commits_meta_range_id, tags_meta_range_id, branches_meta_range_id, *args, **kwargs): # noqa: E501 - """RefsRestore - a model defined in OpenAPI - - Args: - commits_meta_range_id (str): - tags_meta_range_id (str): - branches_meta_range_id (str): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - force (bool): [optional] if omitted the server will use the default value of False # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.commits_meta_range_id = commits_meta_range_id - self.tags_meta_range_id = tags_meta_range_id - self.branches_meta_range_id = branches_meta_range_id - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, commits_meta_range_id, tags_meta_range_id, branches_meta_range_id, *args, **kwargs): # noqa: E501 - """RefsRestore - a model defined in OpenAPI - - Args: - commits_meta_range_id (str): - tags_meta_range_id (str): - branches_meta_range_id (str): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - force (bool): [optional] if omitted the server will use the default value of False # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.commits_meta_range_id = commits_meta_range_id - self.tags_meta_range_id = tags_meta_range_id - self.branches_meta_range_id = branches_meta_range_id - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/repository.py b/clients/python-legacy/lakefs_client/model/repository.py deleted file mode 100644 index 7aebb1a097b..00000000000 --- a/clients/python-legacy/lakefs_client/model/repository.py +++ /dev/null @@ -1,284 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - - -class Repository(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'id': (str,), # noqa: E501 - 'creation_date': (int,), # noqa: E501 - 'default_branch': (str,), # noqa: E501 - 'storage_namespace': (str,), # noqa: E501 - 'read_only': (bool,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'creation_date': 'creation_date', # noqa: E501 - 'default_branch': 'default_branch', # noqa: E501 - 'storage_namespace': 'storage_namespace', # noqa: E501 - 'read_only': 'read_only', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, id, creation_date, default_branch, storage_namespace, *args, **kwargs): # noqa: E501 - """Repository - a model defined in OpenAPI - - Args: - id (str): - creation_date (int): Unix Epoch in seconds - default_branch (str): - storage_namespace (str): Filesystem URI to store the underlying data in (e.g. \"s3://my-bucket/some/path/\") - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - read_only (bool): Whether the repository is a read-only repository- not relevant for bare repositories. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.id = id - self.creation_date = creation_date - self.default_branch = default_branch - self.storage_namespace = storage_namespace - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, id, creation_date, default_branch, storage_namespace, *args, **kwargs): # noqa: E501 - """Repository - a model defined in OpenAPI - - Args: - id (str): - creation_date (int): Unix Epoch in seconds - default_branch (str): - storage_namespace (str): Filesystem URI to store the underlying data in (e.g. \"s3://my-bucket/some/path/\") - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - read_only (bool): Whether the repository is a read-only repository- not relevant for bare repositories. [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.id = id - self.creation_date = creation_date - self.default_branch = default_branch - self.storage_namespace = storage_namespace - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/repository_creation.py b/clients/python-legacy/lakefs_client/model/repository_creation.py deleted file mode 100644 index 9ebde8f9854..00000000000 --- a/clients/python-legacy/lakefs_client/model/repository_creation.py +++ /dev/null @@ -1,290 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - - -class RepositoryCreation(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - ('name',): { - 'regex': { - 'pattern': r'^[a-z0-9][a-z0-9-]{2,62}$', # noqa: E501 - }, - }, - ('storage_namespace',): { - 'regex': { - 'pattern': r'^(s3|gs|https?|mem|local|transient):\/\/.*$', # noqa: E501 - }, - }, - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'name': (str,), # noqa: E501 - 'storage_namespace': (str,), # noqa: E501 - 'default_branch': (str,), # noqa: E501 - 'sample_data': (bool,), # noqa: E501 - 'read_only': (bool,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'name': 'name', # noqa: E501 - 'storage_namespace': 'storage_namespace', # noqa: E501 - 'default_branch': 'default_branch', # noqa: E501 - 'sample_data': 'sample_data', # noqa: E501 - 'read_only': 'read_only', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, name, storage_namespace, *args, **kwargs): # noqa: E501 - """RepositoryCreation - a model defined in OpenAPI - - Args: - name (str): - storage_namespace (str): Filesystem URI to store the underlying data in (e.g. \"s3://my-bucket/some/path/\") - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - default_branch (str): [optional] # noqa: E501 - sample_data (bool): [optional] if omitted the server will use the default value of False # noqa: E501 - read_only (bool): [optional] if omitted the server will use the default value of False # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.name = name - self.storage_namespace = storage_namespace - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, name, storage_namespace, *args, **kwargs): # noqa: E501 - """RepositoryCreation - a model defined in OpenAPI - - Args: - name (str): - storage_namespace (str): Filesystem URI to store the underlying data in (e.g. \"s3://my-bucket/some/path/\") - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - default_branch (str): [optional] # noqa: E501 - sample_data (bool): [optional] if omitted the server will use the default value of False # noqa: E501 - read_only (bool): [optional] if omitted the server will use the default value of False # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.name = name - self.storage_namespace = storage_namespace - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/repository_dump_status.py b/clients/python-legacy/lakefs_client/model/repository_dump_status.py deleted file mode 100644 index 2f93cbbbe1c..00000000000 --- a/clients/python-legacy/lakefs_client/model/repository_dump_status.py +++ /dev/null @@ -1,288 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - -def lazy_import(): - from lakefs_client.model.refs_dump import RefsDump - globals()['RefsDump'] = RefsDump - - -class RepositoryDumpStatus(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'id': (str,), # noqa: E501 - 'done': (bool,), # noqa: E501 - 'update_time': (datetime,), # noqa: E501 - 'error': (str,), # noqa: E501 - 'refs': (RefsDump,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'done': 'done', # noqa: E501 - 'update_time': 'update_time', # noqa: E501 - 'error': 'error', # noqa: E501 - 'refs': 'refs', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, id, done, update_time, *args, **kwargs): # noqa: E501 - """RepositoryDumpStatus - a model defined in OpenAPI - - Args: - id (str): ID of the task - done (bool): - update_time (datetime): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - error (str): [optional] # noqa: E501 - refs (RefsDump): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.id = id - self.done = done - self.update_time = update_time - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, id, done, update_time, *args, **kwargs): # noqa: E501 - """RepositoryDumpStatus - a model defined in OpenAPI - - Args: - id (str): ID of the task - done (bool): - update_time (datetime): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - error (str): [optional] # noqa: E501 - refs (RefsDump): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.id = id - self.done = done - self.update_time = update_time - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/repository_list.py b/clients/python-legacy/lakefs_client/model/repository_list.py deleted file mode 100644 index f2af7646945..00000000000 --- a/clients/python-legacy/lakefs_client/model/repository_list.py +++ /dev/null @@ -1,276 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - -def lazy_import(): - from lakefs_client.model.pagination import Pagination - from lakefs_client.model.repository import Repository - globals()['Pagination'] = Pagination - globals()['Repository'] = Repository - - -class RepositoryList(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'pagination': (Pagination,), # noqa: E501 - 'results': ([Repository],), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'pagination': 'pagination', # noqa: E501 - 'results': 'results', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, pagination, results, *args, **kwargs): # noqa: E501 - """RepositoryList - a model defined in OpenAPI - - Args: - pagination (Pagination): - results ([Repository]): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.pagination = pagination - self.results = results - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, pagination, results, *args, **kwargs): # noqa: E501 - """RepositoryList - a model defined in OpenAPI - - Args: - pagination (Pagination): - results ([Repository]): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.pagination = pagination - self.results = results - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/repository_metadata.py b/clients/python-legacy/lakefs_client/model/repository_metadata.py deleted file mode 100644 index d71318f285c..00000000000 --- a/clients/python-legacy/lakefs_client/model/repository_metadata.py +++ /dev/null @@ -1,252 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - - -class RepositoryMetadata(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (str,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """RepositoryMetadata - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """RepositoryMetadata - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/repository_metadata_keys.py b/clients/python-legacy/lakefs_client/model/repository_metadata_keys.py deleted file mode 100644 index 878256ff57d..00000000000 --- a/clients/python-legacy/lakefs_client/model/repository_metadata_keys.py +++ /dev/null @@ -1,262 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - - -class RepositoryMetadataKeys(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'keys': ([str],), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'keys': 'keys', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, keys, *args, **kwargs): # noqa: E501 - """RepositoryMetadataKeys - a model defined in OpenAPI - - Args: - keys ([str]): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.keys = keys - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, keys, *args, **kwargs): # noqa: E501 - """RepositoryMetadataKeys - a model defined in OpenAPI - - Args: - keys ([str]): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.keys = keys - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/repository_metadata_set.py b/clients/python-legacy/lakefs_client/model/repository_metadata_set.py deleted file mode 100644 index a3c21883e5b..00000000000 --- a/clients/python-legacy/lakefs_client/model/repository_metadata_set.py +++ /dev/null @@ -1,262 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - - -class RepositoryMetadataSet(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'metadata': ({str: (str,)},), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'metadata': 'metadata', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, metadata, *args, **kwargs): # noqa: E501 - """RepositoryMetadataSet - a model defined in OpenAPI - - Args: - metadata ({str: (str,)}): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.metadata = metadata - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, metadata, *args, **kwargs): # noqa: E501 - """RepositoryMetadataSet - a model defined in OpenAPI - - Args: - metadata ({str: (str,)}): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.metadata = metadata - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/repository_restore_status.py b/clients/python-legacy/lakefs_client/model/repository_restore_status.py deleted file mode 100644 index ef7b447e7db..00000000000 --- a/clients/python-legacy/lakefs_client/model/repository_restore_status.py +++ /dev/null @@ -1,278 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - - -class RepositoryRestoreStatus(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'id': (str,), # noqa: E501 - 'done': (bool,), # noqa: E501 - 'update_time': (datetime,), # noqa: E501 - 'error': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'done': 'done', # noqa: E501 - 'update_time': 'update_time', # noqa: E501 - 'error': 'error', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, id, done, update_time, *args, **kwargs): # noqa: E501 - """RepositoryRestoreStatus - a model defined in OpenAPI - - Args: - id (str): ID of the task - done (bool): - update_time (datetime): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - error (str): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.id = id - self.done = done - self.update_time = update_time - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, id, done, update_time, *args, **kwargs): # noqa: E501 - """RepositoryRestoreStatus - a model defined in OpenAPI - - Args: - id (str): ID of the task - done (bool): - update_time (datetime): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - error (str): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.id = id - self.done = done - self.update_time = update_time - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/reset_creation.py b/clients/python-legacy/lakefs_client/model/reset_creation.py deleted file mode 100644 index f664d96d743..00000000000 --- a/clients/python-legacy/lakefs_client/model/reset_creation.py +++ /dev/null @@ -1,275 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - - -class ResetCreation(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - ('type',): { - 'OBJECT': "object", - 'COMMON_PREFIX': "common_prefix", - 'RESET': "reset", - }, - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'type': (str,), # noqa: E501 - 'path': (str,), # noqa: E501 - 'force': (bool,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'type': 'type', # noqa: E501 - 'path': 'path', # noqa: E501 - 'force': 'force', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, type, *args, **kwargs): # noqa: E501 - """ResetCreation - a model defined in OpenAPI - - Args: - type (str): What to reset according to path. - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - path (str): [optional] # noqa: E501 - force (bool): [optional] if omitted the server will use the default value of False # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.type = type - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, type, *args, **kwargs): # noqa: E501 - """ResetCreation - a model defined in OpenAPI - - Args: - type (str): What to reset according to path. - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - path (str): [optional] # noqa: E501 - force (bool): [optional] if omitted the server will use the default value of False # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.type = type - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/revert_creation.py b/clients/python-legacy/lakefs_client/model/revert_creation.py deleted file mode 100644 index 4be036f3753..00000000000 --- a/clients/python-legacy/lakefs_client/model/revert_creation.py +++ /dev/null @@ -1,286 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - -def lazy_import(): - from lakefs_client.model.commit_overrides import CommitOverrides - globals()['CommitOverrides'] = CommitOverrides - - -class RevertCreation(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'ref': (str,), # noqa: E501 - 'parent_number': (int,), # noqa: E501 - 'commit_overrides': (CommitOverrides,), # noqa: E501 - 'force': (bool,), # noqa: E501 - 'allow_empty': (bool,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'ref': 'ref', # noqa: E501 - 'parent_number': 'parent_number', # noqa: E501 - 'commit_overrides': 'commit_overrides', # noqa: E501 - 'force': 'force', # noqa: E501 - 'allow_empty': 'allow_empty', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, ref, parent_number, *args, **kwargs): # noqa: E501 - """RevertCreation - a model defined in OpenAPI - - Args: - ref (str): the commit to revert, given by a ref - parent_number (int): when reverting a merge commit, the parent number (starting from 1) relative to which to perform the revert. - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - commit_overrides (CommitOverrides): [optional] # noqa: E501 - force (bool): [optional] if omitted the server will use the default value of False # noqa: E501 - allow_empty (bool): allow empty commit (revert without changes). [optional] if omitted the server will use the default value of False # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.ref = ref - self.parent_number = parent_number - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, ref, parent_number, *args, **kwargs): # noqa: E501 - """RevertCreation - a model defined in OpenAPI - - Args: - ref (str): the commit to revert, given by a ref - parent_number (int): when reverting a merge commit, the parent number (starting from 1) relative to which to perform the revert. - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - commit_overrides (CommitOverrides): [optional] # noqa: E501 - force (bool): [optional] if omitted the server will use the default value of False # noqa: E501 - allow_empty (bool): allow empty commit (revert without changes). [optional] if omitted the server will use the default value of False # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.ref = ref - self.parent_number = parent_number - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/setup.py b/clients/python-legacy/lakefs_client/model/setup.py deleted file mode 100644 index cf659adadf5..00000000000 --- a/clients/python-legacy/lakefs_client/model/setup.py +++ /dev/null @@ -1,272 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - -def lazy_import(): - from lakefs_client.model.access_key_credentials import AccessKeyCredentials - globals()['AccessKeyCredentials'] = AccessKeyCredentials - - -class Setup(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'username': (str,), # noqa: E501 - 'key': (AccessKeyCredentials,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'username': 'username', # noqa: E501 - 'key': 'key', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, username, *args, **kwargs): # noqa: E501 - """Setup - a model defined in OpenAPI - - Args: - username (str): an identifier for the user (e.g. jane.doe) - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - key (AccessKeyCredentials): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.username = username - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, username, *args, **kwargs): # noqa: E501 - """Setup - a model defined in OpenAPI - - Args: - username (str): an identifier for the user (e.g. jane.doe) - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - key (AccessKeyCredentials): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.username = username - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/setup_state.py b/clients/python-legacy/lakefs_client/model/setup_state.py deleted file mode 100644 index 2780c207bc5..00000000000 --- a/clients/python-legacy/lakefs_client/model/setup_state.py +++ /dev/null @@ -1,274 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - -def lazy_import(): - from lakefs_client.model.login_config import LoginConfig - globals()['LoginConfig'] = LoginConfig - - -class SetupState(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - ('state',): { - 'INITIALIZED': "initialized", - 'NOT_INITIALIZED': "not_initialized", - }, - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'state': (str,), # noqa: E501 - 'comm_prefs_missing': (bool,), # noqa: E501 - 'login_config': (LoginConfig,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'state': 'state', # noqa: E501 - 'comm_prefs_missing': 'comm_prefs_missing', # noqa: E501 - 'login_config': 'login_config', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """SetupState - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - state (str): [optional] # noqa: E501 - comm_prefs_missing (bool): true if the comm prefs are missing.. [optional] # noqa: E501 - login_config (LoginConfig): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """SetupState - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - state (str): [optional] # noqa: E501 - comm_prefs_missing (bool): true if the comm prefs are missing.. [optional] # noqa: E501 - login_config (LoginConfig): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/staging_location.py b/clients/python-legacy/lakefs_client/model/staging_location.py deleted file mode 100644 index f0feb973b20..00000000000 --- a/clients/python-legacy/lakefs_client/model/staging_location.py +++ /dev/null @@ -1,264 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - - -class StagingLocation(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'physical_address': (str,), # noqa: E501 - 'presigned_url': (str, none_type,), # noqa: E501 - 'presigned_url_expiry': (int,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'physical_address': 'physical_address', # noqa: E501 - 'presigned_url': 'presigned_url', # noqa: E501 - 'presigned_url_expiry': 'presigned_url_expiry', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """StagingLocation - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - physical_address (str): [optional] # noqa: E501 - presigned_url (str, none_type): if presign=true is passed in the request, this field will contain a pre-signed URL to use when uploading. [optional] # noqa: E501 - presigned_url_expiry (int): If present and nonzero, physical_address is a pre-signed URL and will expire at this Unix Epoch time. This will be shorter than the pre-signed URL lifetime if an authentication token is about to expire. This field is *optional*. . [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """StagingLocation - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - physical_address (str): [optional] # noqa: E501 - presigned_url (str, none_type): if presign=true is passed in the request, this field will contain a pre-signed URL to use when uploading. [optional] # noqa: E501 - presigned_url_expiry (int): If present and nonzero, physical_address is a pre-signed URL and will expire at this Unix Epoch time. This will be shorter than the pre-signed URL lifetime if an authentication token is about to expire. This field is *optional*. . [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/staging_metadata.py b/clients/python-legacy/lakefs_client/model/staging_metadata.py deleted file mode 100644 index 512b3cfe7c3..00000000000 --- a/clients/python-legacy/lakefs_client/model/staging_metadata.py +++ /dev/null @@ -1,296 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - -def lazy_import(): - from lakefs_client.model.staging_location import StagingLocation - globals()['StagingLocation'] = StagingLocation - - -class StagingMetadata(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'staging': (StagingLocation,), # noqa: E501 - 'checksum': (str,), # noqa: E501 - 'size_bytes': (int,), # noqa: E501 - 'user_metadata': ({str: (str,)},), # noqa: E501 - 'content_type': (str,), # noqa: E501 - 'mtime': (int,), # noqa: E501 - 'force': (bool,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'staging': 'staging', # noqa: E501 - 'checksum': 'checksum', # noqa: E501 - 'size_bytes': 'size_bytes', # noqa: E501 - 'user_metadata': 'user_metadata', # noqa: E501 - 'content_type': 'content_type', # noqa: E501 - 'mtime': 'mtime', # noqa: E501 - 'force': 'force', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, staging, checksum, size_bytes, *args, **kwargs): # noqa: E501 - """StagingMetadata - a model defined in OpenAPI - - Args: - staging (StagingLocation): - checksum (str): unique identifier of object content on backing store (typically ETag) - size_bytes (int): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - user_metadata ({str: (str,)}): [optional] # noqa: E501 - content_type (str): Object media type. [optional] # noqa: E501 - mtime (int): Unix Epoch in seconds. May be ignored by server.. [optional] # noqa: E501 - force (bool): [optional] if omitted the server will use the default value of False # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.staging = staging - self.checksum = checksum - self.size_bytes = size_bytes - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, staging, checksum, size_bytes, *args, **kwargs): # noqa: E501 - """StagingMetadata - a model defined in OpenAPI - - Args: - staging (StagingLocation): - checksum (str): unique identifier of object content on backing store (typically ETag) - size_bytes (int): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - user_metadata ({str: (str,)}): [optional] # noqa: E501 - content_type (str): Object media type. [optional] # noqa: E501 - mtime (int): Unix Epoch in seconds. May be ignored by server.. [optional] # noqa: E501 - force (bool): [optional] if omitted the server will use the default value of False # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.staging = staging - self.checksum = checksum - self.size_bytes = size_bytes - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/statement.py b/clients/python-legacy/lakefs_client/model/statement.py deleted file mode 100644 index fe17c96d7c4..00000000000 --- a/clients/python-legacy/lakefs_client/model/statement.py +++ /dev/null @@ -1,281 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - - -class Statement(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - ('effect',): { - 'ALLOW': "allow", - 'DENY': "deny", - }, - } - - validations = { - ('action',): { - 'min_items': 1, - }, - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'effect': (str,), # noqa: E501 - 'resource': (str,), # noqa: E501 - 'action': ([str],), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'effect': 'effect', # noqa: E501 - 'resource': 'resource', # noqa: E501 - 'action': 'action', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, effect, resource, action, *args, **kwargs): # noqa: E501 - """Statement - a model defined in OpenAPI - - Args: - effect (str): - resource (str): - action ([str]): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.effect = effect - self.resource = resource - self.action = action - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, effect, resource, action, *args, **kwargs): # noqa: E501 - """Statement - a model defined in OpenAPI - - Args: - effect (str): - resource (str): - action ([str]): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.effect = effect - self.resource = resource - self.action = action - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/stats_event.py b/clients/python-legacy/lakefs_client/model/stats_event.py deleted file mode 100644 index 6d2105eca44..00000000000 --- a/clients/python-legacy/lakefs_client/model/stats_event.py +++ /dev/null @@ -1,274 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - - -class StatsEvent(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - '_class': (str,), # noqa: E501 - 'name': (str,), # noqa: E501 - 'count': (int,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - '_class': 'class', # noqa: E501 - 'name': 'name', # noqa: E501 - 'count': 'count', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, _class, name, count, *args, **kwargs): # noqa: E501 - """StatsEvent - a model defined in OpenAPI - - Args: - _class (str): stats event class (e.g. \"s3_gateway\", \"openapi_request\", \"experimental-feature\", \"ui-event\") - name (str): stats event name (e.g. \"put_object\", \"create_repository\", \"\") - count (int): number of events of the class and name - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self._class = _class - self.name = name - self.count = count - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, _class, name, count, *args, **kwargs): # noqa: E501 - """StatsEvent - a model defined in OpenAPI - - Args: - _class (str): stats event class (e.g. \"s3_gateway\", \"openapi_request\", \"experimental-feature\", \"ui-event\") - name (str): stats event name (e.g. \"put_object\", \"create_repository\", \"\") - count (int): number of events of the class and name - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self._class = _class - self.name = name - self.count = count - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/stats_events_list.py b/clients/python-legacy/lakefs_client/model/stats_events_list.py deleted file mode 100644 index b339e4cb2bd..00000000000 --- a/clients/python-legacy/lakefs_client/model/stats_events_list.py +++ /dev/null @@ -1,268 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - -def lazy_import(): - from lakefs_client.model.stats_event import StatsEvent - globals()['StatsEvent'] = StatsEvent - - -class StatsEventsList(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'events': ([StatsEvent],), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'events': 'events', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, events, *args, **kwargs): # noqa: E501 - """StatsEventsList - a model defined in OpenAPI - - Args: - events ([StatsEvent]): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.events = events - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, events, *args, **kwargs): # noqa: E501 - """StatsEventsList - a model defined in OpenAPI - - Args: - events ([StatsEvent]): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.events = events - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/storage_config.py b/clients/python-legacy/lakefs_client/model/storage_config.py deleted file mode 100644 index ea919f6ab12..00000000000 --- a/clients/python-legacy/lakefs_client/model/storage_config.py +++ /dev/null @@ -1,306 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - - -class StorageConfig(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'blockstore_type': (str,), # noqa: E501 - 'blockstore_namespace_example': (str,), # noqa: E501 - 'blockstore_namespace_validity_regex': (str,), # noqa: E501 - 'pre_sign_support': (bool,), # noqa: E501 - 'pre_sign_support_ui': (bool,), # noqa: E501 - 'import_support': (bool,), # noqa: E501 - 'import_validity_regex': (str,), # noqa: E501 - 'default_namespace_prefix': (str,), # noqa: E501 - 'pre_sign_multipart_upload': (bool,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'blockstore_type': 'blockstore_type', # noqa: E501 - 'blockstore_namespace_example': 'blockstore_namespace_example', # noqa: E501 - 'blockstore_namespace_validity_regex': 'blockstore_namespace_ValidityRegex', # noqa: E501 - 'pre_sign_support': 'pre_sign_support', # noqa: E501 - 'pre_sign_support_ui': 'pre_sign_support_ui', # noqa: E501 - 'import_support': 'import_support', # noqa: E501 - 'import_validity_regex': 'import_validity_regex', # noqa: E501 - 'default_namespace_prefix': 'default_namespace_prefix', # noqa: E501 - 'pre_sign_multipart_upload': 'pre_sign_multipart_upload', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, blockstore_type, blockstore_namespace_example, blockstore_namespace_validity_regex, pre_sign_support, pre_sign_support_ui, import_support, import_validity_regex, *args, **kwargs): # noqa: E501 - """StorageConfig - a model defined in OpenAPI - - Args: - blockstore_type (str): - blockstore_namespace_example (str): - blockstore_namespace_validity_regex (str): - pre_sign_support (bool): - pre_sign_support_ui (bool): - import_support (bool): - import_validity_regex (str): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - default_namespace_prefix (str): [optional] # noqa: E501 - pre_sign_multipart_upload (bool): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.blockstore_type = blockstore_type - self.blockstore_namespace_example = blockstore_namespace_example - self.blockstore_namespace_validity_regex = blockstore_namespace_validity_regex - self.pre_sign_support = pre_sign_support - self.pre_sign_support_ui = pre_sign_support_ui - self.import_support = import_support - self.import_validity_regex = import_validity_regex - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, blockstore_type, blockstore_namespace_example, blockstore_namespace_validity_regex, pre_sign_support, pre_sign_support_ui, import_support, import_validity_regex, *args, **kwargs): # noqa: E501 - """StorageConfig - a model defined in OpenAPI - - Args: - blockstore_type (str): - blockstore_namespace_example (str): - blockstore_namespace_validity_regex (str): - pre_sign_support (bool): - pre_sign_support_ui (bool): - import_support (bool): - import_validity_regex (str): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - default_namespace_prefix (str): [optional] # noqa: E501 - pre_sign_multipart_upload (bool): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.blockstore_type = blockstore_type - self.blockstore_namespace_example = blockstore_namespace_example - self.blockstore_namespace_validity_regex = blockstore_namespace_validity_regex - self.pre_sign_support = pre_sign_support - self.pre_sign_support_ui = pre_sign_support_ui - self.import_support = import_support - self.import_validity_regex = import_validity_regex - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/storage_uri.py b/clients/python-legacy/lakefs_client/model/storage_uri.py deleted file mode 100644 index 0a71040f31e..00000000000 --- a/clients/python-legacy/lakefs_client/model/storage_uri.py +++ /dev/null @@ -1,262 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - - -class StorageURI(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'location': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'location': 'location', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, location, *args, **kwargs): # noqa: E501 - """StorageURI - a model defined in OpenAPI - - Args: - location (str): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.location = location - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, location, *args, **kwargs): # noqa: E501 - """StorageURI - a model defined in OpenAPI - - Args: - location (str): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.location = location - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/sts_auth_request.py b/clients/python-legacy/lakefs_client/model/sts_auth_request.py deleted file mode 100644 index fde8b5f19dd..00000000000 --- a/clients/python-legacy/lakefs_client/model/sts_auth_request.py +++ /dev/null @@ -1,278 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - - -class StsAuthRequest(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'code': (str,), # noqa: E501 - 'state': (str,), # noqa: E501 - 'redirect_uri': (str,), # noqa: E501 - 'ttl_seconds': (int,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'code': 'code', # noqa: E501 - 'state': 'state', # noqa: E501 - 'redirect_uri': 'redirect_uri', # noqa: E501 - 'ttl_seconds': 'ttl_seconds', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, code, state, redirect_uri, *args, **kwargs): # noqa: E501 - """StsAuthRequest - a model defined in OpenAPI - - Args: - code (str): - state (str): - redirect_uri (str): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - ttl_seconds (int): The time-to-live for the generated token in seconds. The default value is 3600 seconds (1 hour) maximum time allowed is 12 hours. . [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.code = code - self.state = state - self.redirect_uri = redirect_uri - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, code, state, redirect_uri, *args, **kwargs): # noqa: E501 - """StsAuthRequest - a model defined in OpenAPI - - Args: - code (str): - state (str): - redirect_uri (str): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - ttl_seconds (int): The time-to-live for the generated token in seconds. The default value is 3600 seconds (1 hour) maximum time allowed is 12 hours. . [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.code = code - self.state = state - self.redirect_uri = redirect_uri - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/tag_creation.py b/clients/python-legacy/lakefs_client/model/tag_creation.py deleted file mode 100644 index 4d0f8ca64f7..00000000000 --- a/clients/python-legacy/lakefs_client/model/tag_creation.py +++ /dev/null @@ -1,272 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - - -class TagCreation(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'id': (str,), # noqa: E501 - 'ref': (str,), # noqa: E501 - 'force': (bool,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'ref': 'ref', # noqa: E501 - 'force': 'force', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, id, ref, *args, **kwargs): # noqa: E501 - """TagCreation - a model defined in OpenAPI - - Args: - id (str): ID of tag to create - ref (str): the commit to tag - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - force (bool): [optional] if omitted the server will use the default value of False # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.id = id - self.ref = ref - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, id, ref, *args, **kwargs): # noqa: E501 - """TagCreation - a model defined in OpenAPI - - Args: - id (str): ID of tag to create - ref (str): the commit to tag - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - force (bool): [optional] if omitted the server will use the default value of False # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.id = id - self.ref = ref - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/task_info.py b/clients/python-legacy/lakefs_client/model/task_info.py deleted file mode 100644 index 0b25a6ba480..00000000000 --- a/clients/python-legacy/lakefs_client/model/task_info.py +++ /dev/null @@ -1,262 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - - -class TaskInfo(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'id': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501 - """TaskInfo - a model defined in OpenAPI - - Args: - id (str): ID of the task - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.id = id - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, id, *args, **kwargs): # noqa: E501 - """TaskInfo - a model defined in OpenAPI - - Args: - id (str): ID of the task - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.id = id - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/underlying_object_properties.py b/clients/python-legacy/lakefs_client/model/underlying_object_properties.py deleted file mode 100644 index 3be8e5f8627..00000000000 --- a/clients/python-legacy/lakefs_client/model/underlying_object_properties.py +++ /dev/null @@ -1,256 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - - -class UnderlyingObjectProperties(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'storage_class': (str, none_type,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'storage_class': 'storage_class', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """UnderlyingObjectProperties - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - storage_class (str, none_type): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """UnderlyingObjectProperties - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - storage_class (str, none_type): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/update_object_user_metadata.py b/clients/python-legacy/lakefs_client/model/update_object_user_metadata.py deleted file mode 100644 index 5232ee45c22..00000000000 --- a/clients/python-legacy/lakefs_client/model/update_object_user_metadata.py +++ /dev/null @@ -1,268 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - -def lazy_import(): - from lakefs_client.model.object_user_metadata import ObjectUserMetadata - globals()['ObjectUserMetadata'] = ObjectUserMetadata - - -class UpdateObjectUserMetadata(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'set': (ObjectUserMetadata,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'set': 'set', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, set, *args, **kwargs): # noqa: E501 - """UpdateObjectUserMetadata - a model defined in OpenAPI - - Args: - set (ObjectUserMetadata): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.set = set - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, set, *args, **kwargs): # noqa: E501 - """UpdateObjectUserMetadata - a model defined in OpenAPI - - Args: - set (ObjectUserMetadata): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.set = set - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/update_token.py b/clients/python-legacy/lakefs_client/model/update_token.py deleted file mode 100644 index 1f8a1fdb78a..00000000000 --- a/clients/python-legacy/lakefs_client/model/update_token.py +++ /dev/null @@ -1,262 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - - -class UpdateToken(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'staging_token': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'staging_token': 'staging_token', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, staging_token, *args, **kwargs): # noqa: E501 - """UpdateToken - a model defined in OpenAPI - - Args: - staging_token (str): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.staging_token = staging_token - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, staging_token, *args, **kwargs): # noqa: E501 - """UpdateToken - a model defined in OpenAPI - - Args: - staging_token (str): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.staging_token = staging_token - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/upload_part.py b/clients/python-legacy/lakefs_client/model/upload_part.py deleted file mode 100644 index ddb7eb8969d..00000000000 --- a/clients/python-legacy/lakefs_client/model/upload_part.py +++ /dev/null @@ -1,268 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - - -class UploadPart(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'part_number': (int,), # noqa: E501 - 'etag': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'part_number': 'part_number', # noqa: E501 - 'etag': 'etag', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, part_number, etag, *args, **kwargs): # noqa: E501 - """UploadPart - a model defined in OpenAPI - - Args: - part_number (int): - etag (str): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.part_number = part_number - self.etag = etag - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, part_number, etag, *args, **kwargs): # noqa: E501 - """UploadPart - a model defined in OpenAPI - - Args: - part_number (int): - etag (str): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.part_number = part_number - self.etag = etag - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/usage_report.py b/clients/python-legacy/lakefs_client/model/usage_report.py deleted file mode 100644 index d59922e75be..00000000000 --- a/clients/python-legacy/lakefs_client/model/usage_report.py +++ /dev/null @@ -1,274 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - - -class UsageReport(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'year': (int,), # noqa: E501 - 'month': (int,), # noqa: E501 - 'count': (int,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'year': 'year', # noqa: E501 - 'month': 'month', # noqa: E501 - 'count': 'count', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, year, month, count, *args, **kwargs): # noqa: E501 - """UsageReport - a model defined in OpenAPI - - Args: - year (int): - month (int): - count (int): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.year = year - self.month = month - self.count = count - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, year, month, count, *args, **kwargs): # noqa: E501 - """UsageReport - a model defined in OpenAPI - - Args: - year (int): - month (int): - count (int): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.year = year - self.month = month - self.count = count - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/user.py b/clients/python-legacy/lakefs_client/model/user.py deleted file mode 100644 index 405a5ec9483..00000000000 --- a/clients/python-legacy/lakefs_client/model/user.py +++ /dev/null @@ -1,276 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - - -class User(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'id': (str,), # noqa: E501 - 'creation_date': (int,), # noqa: E501 - 'friendly_name': (str,), # noqa: E501 - 'email': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'creation_date': 'creation_date', # noqa: E501 - 'friendly_name': 'friendly_name', # noqa: E501 - 'email': 'email', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, id, creation_date, *args, **kwargs): # noqa: E501 - """User - a model defined in OpenAPI - - Args: - id (str): A unique identifier for the user. Cannot be edited. - creation_date (int): Unix Epoch in seconds - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - friendly_name (str): A shorter name for the user than the id. Unlike id it does not identify the user (it might not be unique). Used in some places in the UI. . [optional] # noqa: E501 - email (str): The email address of the user. If API authentication is enabled, this field is mandatory and will be invited to login. If API authentication is disabled, this field will be ignored. All current APIAuthenticators require the email to be lowercase and unique, although custom authenticators may not enforce this. . [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.id = id - self.creation_date = creation_date - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, id, creation_date, *args, **kwargs): # noqa: E501 - """User - a model defined in OpenAPI - - Args: - id (str): A unique identifier for the user. Cannot be edited. - creation_date (int): Unix Epoch in seconds - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - friendly_name (str): A shorter name for the user than the id. Unlike id it does not identify the user (it might not be unique). Used in some places in the UI. . [optional] # noqa: E501 - email (str): The email address of the user. If API authentication is enabled, this field is mandatory and will be invited to login. If API authentication is disabled, this field will be ignored. All current APIAuthenticators require the email to be lowercase and unique, although custom authenticators may not enforce this. . [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.id = id - self.creation_date = creation_date - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/user_creation.py b/clients/python-legacy/lakefs_client/model/user_creation.py deleted file mode 100644 index 0dbf991c814..00000000000 --- a/clients/python-legacy/lakefs_client/model/user_creation.py +++ /dev/null @@ -1,266 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - - -class UserCreation(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'id': (str,), # noqa: E501 - 'invite_user': (bool,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'id': 'id', # noqa: E501 - 'invite_user': 'invite_user', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501 - """UserCreation - a model defined in OpenAPI - - Args: - id (str): a unique identifier for the user. - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - invite_user (bool): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.id = id - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, id, *args, **kwargs): # noqa: E501 - """UserCreation - a model defined in OpenAPI - - Args: - id (str): a unique identifier for the user. - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - invite_user (bool): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.id = id - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/user_list.py b/clients/python-legacy/lakefs_client/model/user_list.py deleted file mode 100644 index aafdb77fd5f..00000000000 --- a/clients/python-legacy/lakefs_client/model/user_list.py +++ /dev/null @@ -1,276 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - -def lazy_import(): - from lakefs_client.model.pagination import Pagination - from lakefs_client.model.user import User - globals()['Pagination'] = Pagination - globals()['User'] = User - - -class UserList(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - lazy_import() - return { - 'pagination': (Pagination,), # noqa: E501 - 'results': ([User],), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'pagination': 'pagination', # noqa: E501 - 'results': 'results', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, pagination, results, *args, **kwargs): # noqa: E501 - """UserList - a model defined in OpenAPI - - Args: - pagination (Pagination): - results ([User]): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.pagination = pagination - self.results = results - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, pagination, results, *args, **kwargs): # noqa: E501 - """UserList - a model defined in OpenAPI - - Args: - pagination (Pagination): - results ([User]): - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - self.pagination = pagination - self.results = results - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model/version_config.py b/clients/python-legacy/lakefs_client/model/version_config.py deleted file mode 100644 index 921bc415c1e..00000000000 --- a/clients/python-legacy/lakefs_client/model/version_config.py +++ /dev/null @@ -1,268 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import re # noqa: F401 -import sys # noqa: F401 - -from lakefs_client.model_utils import ( # noqa: F401 - ApiTypeError, - ModelComposed, - ModelNormal, - ModelSimple, - cached_property, - change_keys_js_to_python, - convert_js_args_to_python_args, - date, - datetime, - file_type, - none_type, - validate_get_composed_info, -) -from ..model_utils import OpenApiModel -from lakefs_client.exceptions import ApiAttributeError - - - -class VersionConfig(ModelNormal): - """NOTE: This class is auto generated by OpenAPI Generator. - Ref: https://openapi-generator.tech - - Do not edit the class manually. - - Attributes: - allowed_values (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - with a capitalized key describing the allowed value and an allowed - value. These dicts store the allowed enum values. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - discriminator_value_class_map (dict): A dict to go from the discriminator - variable value to the discriminator class name. - validations (dict): The key is the tuple path to the attribute - and the for var_name this is (var_name,). The value is a dict - that stores validations for max_length, min_length, max_items, - min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, - inclusive_minimum, and regex. - additional_properties_type (tuple): A tuple of classes accepted - as additional properties values. - """ - - allowed_values = { - } - - validations = { - } - - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 - - _nullable = False - - @cached_property - def openapi_types(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - - Returns - openapi_types (dict): The key is attribute name - and the value is attribute type. - """ - return { - 'version': (str,), # noqa: E501 - 'latest_version': (str,), # noqa: E501 - 'upgrade_recommended': (bool,), # noqa: E501 - 'upgrade_url': (str,), # noqa: E501 - } - - @cached_property - def discriminator(): - return None - - - attribute_map = { - 'version': 'version', # noqa: E501 - 'latest_version': 'latest_version', # noqa: E501 - 'upgrade_recommended': 'upgrade_recommended', # noqa: E501 - 'upgrade_url': 'upgrade_url', # noqa: E501 - } - - read_only_vars = { - } - - _composed_schemas = {} - - @classmethod - @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """VersionConfig - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - version (str): [optional] # noqa: E501 - latest_version (str): [optional] # noqa: E501 - upgrade_recommended (bool): [optional] # noqa: E501 - upgrade_url (str): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - self = super(OpenApiModel, cls).__new__(cls) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - return self - - required_properties = set([ - '_data_store', - '_check_type', - '_spec_property_naming', - '_path_to_item', - '_configuration', - '_visited_composed_classes', - ]) - - @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 - """VersionConfig - a model defined in OpenAPI - - Keyword Args: - _check_type (bool): if True, values for parameters in openapi_types - will be type checked and a TypeError will be - raised if the wrong type is input. - Defaults to True - _path_to_item (tuple/list): This is a list of keys or values to - drill down to the model in received_data - when deserializing a response - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _configuration (Configuration): the instance to use when - deserializing a file_type parameter. - If passed, type conversion is attempted - If omitted no type conversion is done. - _visited_composed_classes (tuple): This stores a tuple of - classes that we have traveled through so that - if we see that class again we will not use its - discriminator again. - When traveling through a discriminator, the - composed schema that is - is traveled through is added to this set. - For example if Animal has a discriminator - petType and we pass in "Dog", and the class Dog - allOf includes Animal, we move through Animal - once using the discriminator, and pick Dog. - Then in Dog, we will make an instance of the - Animal class but this time we won't travel - through its discriminator because we passed in - _visited_composed_classes = (Animal,) - version (str): [optional] # noqa: E501 - latest_version (str): [optional] # noqa: E501 - upgrade_recommended (bool): [optional] # noqa: E501 - upgrade_url (str): [optional] # noqa: E501 - """ - - _check_type = kwargs.pop('_check_type', True) - _spec_property_naming = kwargs.pop('_spec_property_naming', False) - _path_to_item = kwargs.pop('_path_to_item', ()) - _configuration = kwargs.pop('_configuration', None) - _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) - - if args: - raise ApiTypeError( - "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( - args, - self.__class__.__name__, - ), - path_to_item=_path_to_item, - valid_classes=(self.__class__,), - ) - - self._data_store = {} - self._check_type = _check_type - self._spec_property_naming = _spec_property_naming - self._path_to_item = _path_to_item - self._configuration = _configuration - self._visited_composed_classes = _visited_composed_classes + (self.__class__,) - - for var_name, var_value in kwargs.items(): - if var_name not in self.attribute_map and \ - self._configuration is not None and \ - self._configuration.discard_unknown_keys and \ - self.additional_properties_type is None: - # discard variable. - continue - setattr(self, var_name, var_value) - if var_name in self.read_only_vars: - raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " - f"class with read only attributes.") diff --git a/clients/python-legacy/lakefs_client/model_utils.py b/clients/python-legacy/lakefs_client/model_utils.py deleted file mode 100644 index b8a734c0352..00000000000 --- a/clients/python-legacy/lakefs_client/model_utils.py +++ /dev/null @@ -1,2034 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -from datetime import date, datetime # noqa: F401 -from copy import deepcopy -import inspect -import io -import os -import pprint -import re -import tempfile - -from dateutil.parser import parse - -from lakefs_client.exceptions import ( - ApiKeyError, - ApiAttributeError, - ApiTypeError, - ApiValueError, -) - -none_type = type(None) -file_type = io.IOBase - - -def convert_js_args_to_python_args(fn): - from functools import wraps - @wraps(fn) - def wrapped_init(_self, *args, **kwargs): - """ - An attribute named `self` received from the api will conflicts with the reserved `self` - parameter of a class method. During generation, `self` attributes are mapped - to `_self` in models. Here, we name `_self` instead of `self` to avoid conflicts. - """ - spec_property_naming = kwargs.get('_spec_property_naming', False) - if spec_property_naming: - kwargs = change_keys_js_to_python(kwargs, _self if isinstance(_self, type) else _self.__class__) - return fn(_self, *args, **kwargs) - return wrapped_init - - -class cached_property(object): - # this caches the result of the function call for fn with no inputs - # use this as a decorator on function methods that you want converted - # into cached properties - result_key = '_results' - - def __init__(self, fn): - self._fn = fn - - def __get__(self, instance, cls=None): - if self.result_key in vars(self): - return vars(self)[self.result_key] - else: - result = self._fn() - setattr(self, self.result_key, result) - return result - - -PRIMITIVE_TYPES = (list, float, int, bool, datetime, date, str, file_type) - -def allows_single_value_input(cls): - """ - This function returns True if the input composed schema model or any - descendant model allows a value only input - This is true for cases where oneOf contains items like: - oneOf: - - float - - NumberWithValidation - - StringEnum - - ArrayModel - - null - TODO: lru_cache this - """ - if ( - issubclass(cls, ModelSimple) or - cls in PRIMITIVE_TYPES - ): - return True - elif issubclass(cls, ModelComposed): - if not cls._composed_schemas['oneOf']: - return False - return any(allows_single_value_input(c) for c in cls._composed_schemas['oneOf']) - return False - -def composed_model_input_classes(cls): - """ - This function returns a list of the possible models that can be accepted as - inputs. - TODO: lru_cache this - """ - if issubclass(cls, ModelSimple) or cls in PRIMITIVE_TYPES: - return [cls] - elif issubclass(cls, ModelNormal): - if cls.discriminator is None: - return [cls] - else: - return get_discriminated_classes(cls) - elif issubclass(cls, ModelComposed): - if not cls._composed_schemas['oneOf']: - return [] - if cls.discriminator is None: - input_classes = [] - for c in cls._composed_schemas['oneOf']: - input_classes.extend(composed_model_input_classes(c)) - return input_classes - else: - return get_discriminated_classes(cls) - return [] - - -class OpenApiModel(object): - """The base class for all OpenAPIModels""" - - def set_attribute(self, name, value): - # this is only used to set properties on self - - path_to_item = [] - if self._path_to_item: - path_to_item.extend(self._path_to_item) - path_to_item.append(name) - - if name in self.openapi_types: - required_types_mixed = self.openapi_types[name] - elif self.additional_properties_type is None: - raise ApiAttributeError( - "{0} has no attribute '{1}'".format( - type(self).__name__, name), - path_to_item - ) - elif self.additional_properties_type is not None: - required_types_mixed = self.additional_properties_type - - if get_simple_class(name) != str: - error_msg = type_error_message( - var_name=name, - var_value=name, - valid_classes=(str,), - key_type=True - ) - raise ApiTypeError( - error_msg, - path_to_item=path_to_item, - valid_classes=(str,), - key_type=True - ) - - if self._check_type: - value = validate_and_convert_types( - value, required_types_mixed, path_to_item, self._spec_property_naming, - self._check_type, configuration=self._configuration) - if (name,) in self.allowed_values: - check_allowed_values( - self.allowed_values, - (name,), - value - ) - if (name,) in self.validations: - check_validations( - self.validations, - (name,), - value, - self._configuration - ) - self.__dict__['_data_store'][name] = value - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other - - def __setattr__(self, attr, value): - """set the value of an attribute using dot notation: `instance.attr = val`""" - self[attr] = value - - def __getattr__(self, attr): - """get the value of an attribute using dot notation: `instance.attr`""" - return self.__getitem__(attr) - - def __copy__(self): - cls = self.__class__ - if self.get("_spec_property_naming", False): - return cls._new_from_openapi_data(**self.__dict__) - else: - return new_cls.__new__(cls, **self.__dict__) - - def __deepcopy__(self, memo): - cls = self.__class__ - - if self.get("_spec_property_naming", False): - new_inst = cls._new_from_openapi_data() - else: - new_inst = cls.__new__(cls) - - for k, v in self.__dict__.items(): - setattr(new_inst, k, deepcopy(v, memo)) - return new_inst - - - def __new__(cls, *args, **kwargs): - # this function uses the discriminator to - # pick a new schema/class to instantiate because a discriminator - # propertyName value was passed in - - if len(args) == 1: - arg = args[0] - if arg is None and is_type_nullable(cls): - # The input data is the 'null' value and the type is nullable. - return None - - if issubclass(cls, ModelComposed) and allows_single_value_input(cls): - model_kwargs = {} - oneof_instance = get_oneof_instance(cls, model_kwargs, kwargs, model_arg=arg) - return oneof_instance - - - visited_composed_classes = kwargs.get('_visited_composed_classes', ()) - if ( - cls.discriminator is None or - cls in visited_composed_classes - ): - # Use case 1: this openapi schema (cls) does not have a discriminator - # Use case 2: we have already visited this class before and are sure that we - # want to instantiate it this time. We have visited this class deserializing - # a payload with a discriminator. During that process we traveled through - # this class but did not make an instance of it. Now we are making an - # instance of a composed class which contains cls in it, so this time make an instance of cls. - # - # Here's an example of use case 2: If Animal has a discriminator - # petType and we pass in "Dog", and the class Dog - # allOf includes Animal, we move through Animal - # once using the discriminator, and pick Dog. - # Then in the composed schema dog Dog, we will make an instance of the - # Animal class (because Dal has allOf: Animal) but this time we won't travel - # through Animal's discriminator because we passed in - # _visited_composed_classes = (Animal,) - - return super(OpenApiModel, cls).__new__(cls) - - # Get the name and value of the discriminator property. - # The discriminator name is obtained from the discriminator meta-data - # and the discriminator value is obtained from the input data. - discr_propertyname_py = list(cls.discriminator.keys())[0] - discr_propertyname_js = cls.attribute_map[discr_propertyname_py] - if discr_propertyname_js in kwargs: - discr_value = kwargs[discr_propertyname_js] - elif discr_propertyname_py in kwargs: - discr_value = kwargs[discr_propertyname_py] - else: - # The input data does not contain the discriminator property. - path_to_item = kwargs.get('_path_to_item', ()) - raise ApiValueError( - "Cannot deserialize input data due to missing discriminator. " - "The discriminator property '%s' is missing at path: %s" % - (discr_propertyname_js, path_to_item) - ) - - # Implementation note: the last argument to get_discriminator_class - # is a list of visited classes. get_discriminator_class may recursively - # call itself and update the list of visited classes, and the initial - # value must be an empty list. Hence not using 'visited_composed_classes' - new_cls = get_discriminator_class( - cls, discr_propertyname_py, discr_value, []) - if new_cls is None: - path_to_item = kwargs.get('_path_to_item', ()) - disc_prop_value = kwargs.get( - discr_propertyname_js, kwargs.get(discr_propertyname_py)) - raise ApiValueError( - "Cannot deserialize input data due to invalid discriminator " - "value. The OpenAPI document has no mapping for discriminator " - "property '%s'='%s' at path: %s" % - (discr_propertyname_js, disc_prop_value, path_to_item) - ) - - if new_cls in visited_composed_classes: - # if we are making an instance of a composed schema Descendent - # which allOf includes Ancestor, then Ancestor contains - # a discriminator that includes Descendent. - # So if we make an instance of Descendent, we have to make an - # instance of Ancestor to hold the allOf properties. - # This code detects that use case and makes the instance of Ancestor - # For example: - # When making an instance of Dog, _visited_composed_classes = (Dog,) - # then we make an instance of Animal to include in dog._composed_instances - # so when we are here, cls is Animal - # cls.discriminator != None - # cls not in _visited_composed_classes - # new_cls = Dog - # but we know we know that we already have Dog - # because it is in visited_composed_classes - # so make Animal here - return super(OpenApiModel, cls).__new__(cls) - - # Build a list containing all oneOf and anyOf descendants. - oneof_anyof_classes = None - if cls._composed_schemas is not None: - oneof_anyof_classes = ( - cls._composed_schemas.get('oneOf', ()) + - cls._composed_schemas.get('anyOf', ())) - oneof_anyof_child = new_cls in oneof_anyof_classes - kwargs['_visited_composed_classes'] = visited_composed_classes + (cls,) - - if cls._composed_schemas.get('allOf') and oneof_anyof_child: - # Validate that we can make self because when we make the - # new_cls it will not include the allOf validations in self - self_inst = super(OpenApiModel, cls).__new__(cls) - self_inst.__init__(*args, **kwargs) - - if kwargs.get("_spec_property_naming", False): - # when true, implies new is from deserialization - new_inst = new_cls._new_from_openapi_data(*args, **kwargs) - else: - new_inst = new_cls.__new__(new_cls, *args, **kwargs) - new_inst.__init__(*args, **kwargs) - - return new_inst - - - @classmethod - @convert_js_args_to_python_args - def _new_from_openapi_data(cls, *args, **kwargs): - # this function uses the discriminator to - # pick a new schema/class to instantiate because a discriminator - # propertyName value was passed in - - if len(args) == 1: - arg = args[0] - if arg is None and is_type_nullable(cls): - # The input data is the 'null' value and the type is nullable. - return None - - if issubclass(cls, ModelComposed) and allows_single_value_input(cls): - model_kwargs = {} - oneof_instance = get_oneof_instance(cls, model_kwargs, kwargs, model_arg=arg) - return oneof_instance - - - visited_composed_classes = kwargs.get('_visited_composed_classes', ()) - if ( - cls.discriminator is None or - cls in visited_composed_classes - ): - # Use case 1: this openapi schema (cls) does not have a discriminator - # Use case 2: we have already visited this class before and are sure that we - # want to instantiate it this time. We have visited this class deserializing - # a payload with a discriminator. During that process we traveled through - # this class but did not make an instance of it. Now we are making an - # instance of a composed class which contains cls in it, so this time make an instance of cls. - # - # Here's an example of use case 2: If Animal has a discriminator - # petType and we pass in "Dog", and the class Dog - # allOf includes Animal, we move through Animal - # once using the discriminator, and pick Dog. - # Then in the composed schema dog Dog, we will make an instance of the - # Animal class (because Dal has allOf: Animal) but this time we won't travel - # through Animal's discriminator because we passed in - # _visited_composed_classes = (Animal,) - - return cls._from_openapi_data(*args, **kwargs) - - # Get the name and value of the discriminator property. - # The discriminator name is obtained from the discriminator meta-data - # and the discriminator value is obtained from the input data. - discr_propertyname_py = list(cls.discriminator.keys())[0] - discr_propertyname_js = cls.attribute_map[discr_propertyname_py] - if discr_propertyname_js in kwargs: - discr_value = kwargs[discr_propertyname_js] - elif discr_propertyname_py in kwargs: - discr_value = kwargs[discr_propertyname_py] - else: - # The input data does not contain the discriminator property. - path_to_item = kwargs.get('_path_to_item', ()) - raise ApiValueError( - "Cannot deserialize input data due to missing discriminator. " - "The discriminator property '%s' is missing at path: %s" % - (discr_propertyname_js, path_to_item) - ) - - # Implementation note: the last argument to get_discriminator_class - # is a list of visited classes. get_discriminator_class may recursively - # call itself and update the list of visited classes, and the initial - # value must be an empty list. Hence not using 'visited_composed_classes' - new_cls = get_discriminator_class( - cls, discr_propertyname_py, discr_value, []) - if new_cls is None: - path_to_item = kwargs.get('_path_to_item', ()) - disc_prop_value = kwargs.get( - discr_propertyname_js, kwargs.get(discr_propertyname_py)) - raise ApiValueError( - "Cannot deserialize input data due to invalid discriminator " - "value. The OpenAPI document has no mapping for discriminator " - "property '%s'='%s' at path: %s" % - (discr_propertyname_js, disc_prop_value, path_to_item) - ) - - if new_cls in visited_composed_classes: - # if we are making an instance of a composed schema Descendent - # which allOf includes Ancestor, then Ancestor contains - # a discriminator that includes Descendent. - # So if we make an instance of Descendent, we have to make an - # instance of Ancestor to hold the allOf properties. - # This code detects that use case and makes the instance of Ancestor - # For example: - # When making an instance of Dog, _visited_composed_classes = (Dog,) - # then we make an instance of Animal to include in dog._composed_instances - # so when we are here, cls is Animal - # cls.discriminator != None - # cls not in _visited_composed_classes - # new_cls = Dog - # but we know we know that we already have Dog - # because it is in visited_composed_classes - # so make Animal here - return cls._from_openapi_data(*args, **kwargs) - - # Build a list containing all oneOf and anyOf descendants. - oneof_anyof_classes = None - if cls._composed_schemas is not None: - oneof_anyof_classes = ( - cls._composed_schemas.get('oneOf', ()) + - cls._composed_schemas.get('anyOf', ())) - oneof_anyof_child = new_cls in oneof_anyof_classes - kwargs['_visited_composed_classes'] = visited_composed_classes + (cls,) - - if cls._composed_schemas.get('allOf') and oneof_anyof_child: - # Validate that we can make self because when we make the - # new_cls it will not include the allOf validations in self - self_inst = cls._from_openapi_data(*args, **kwargs) - - - new_inst = new_cls._new_from_openapi_data(*args, **kwargs) - return new_inst - - -class ModelSimple(OpenApiModel): - """the parent class of models whose type != object in their - swagger/openapi""" - - def __setitem__(self, name, value): - """set the value of an attribute using square-bracket notation: `instance[attr] = val`""" - if name in self.required_properties: - self.__dict__[name] = value - return - - self.set_attribute(name, value) - - def get(self, name, default=None): - """returns the value of an attribute or some default value if the attribute was not set""" - if name in self.required_properties: - return self.__dict__[name] - - return self.__dict__['_data_store'].get(name, default) - - def __getitem__(self, name): - """get the value of an attribute using square-bracket notation: `instance[attr]`""" - if name in self: - return self.get(name) - - raise ApiAttributeError( - "{0} has no attribute '{1}'".format( - type(self).__name__, name), - [e for e in [self._path_to_item, name] if e] - ) - - def __contains__(self, name): - """used by `in` operator to check if an attribute value was set in an instance: `'attr' in instance`""" - if name in self.required_properties: - return name in self.__dict__ - - return name in self.__dict__['_data_store'] - - def to_str(self): - """Returns the string representation of the model""" - return str(self.value) - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, self.__class__): - return False - - this_val = self._data_store['value'] - that_val = other._data_store['value'] - types = set() - types.add(this_val.__class__) - types.add(that_val.__class__) - vals_equal = this_val == that_val - return vals_equal - - -class ModelNormal(OpenApiModel): - """the parent class of models whose type == object in their - swagger/openapi""" - - def __setitem__(self, name, value): - """set the value of an attribute using square-bracket notation: `instance[attr] = val`""" - if name in self.required_properties: - self.__dict__[name] = value - return - - self.set_attribute(name, value) - - def get(self, name, default=None): - """returns the value of an attribute or some default value if the attribute was not set""" - if name in self.required_properties: - return self.__dict__[name] - - return self.__dict__['_data_store'].get(name, default) - - def __getitem__(self, name): - """get the value of an attribute using square-bracket notation: `instance[attr]`""" - if name in self: - return self.get(name) - - raise ApiAttributeError( - "{0} has no attribute '{1}'".format( - type(self).__name__, name), - [e for e in [self._path_to_item, name] if e] - ) - - def __contains__(self, name): - """used by `in` operator to check if an attribute value was set in an instance: `'attr' in instance`""" - if name in self.required_properties: - return name in self.__dict__ - - return name in self.__dict__['_data_store'] - - def to_dict(self): - """Returns the model properties as a dict""" - return model_to_dict(self, serialize=False) - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, self.__class__): - return False - - if not set(self._data_store.keys()) == set(other._data_store.keys()): - return False - for _var_name, this_val in self._data_store.items(): - that_val = other._data_store[_var_name] - types = set() - types.add(this_val.__class__) - types.add(that_val.__class__) - vals_equal = this_val == that_val - if not vals_equal: - return False - return True - - -class ModelComposed(OpenApiModel): - """the parent class of models whose type == object in their - swagger/openapi and have oneOf/allOf/anyOf - - When one sets a property we use var_name_to_model_instances to store the value in - the correct class instances + run any type checking + validation code. - When one gets a property we use var_name_to_model_instances to get the value - from the correct class instances. - This allows multiple composed schemas to contain the same property with additive - constraints on the value. - - _composed_schemas (dict) stores the anyOf/allOf/oneOf classes - key (str): allOf/oneOf/anyOf - value (list): the classes in the XOf definition. - Note: none_type can be included when the openapi document version >= 3.1.0 - _composed_instances (list): stores a list of instances of the composed schemas - defined in _composed_schemas. When properties are accessed in the self instance, - they are returned from the self._data_store or the data stores in the instances - in self._composed_schemas - _var_name_to_model_instances (dict): maps between a variable name on self and - the composed instances (self included) which contain that data - key (str): property name - value (list): list of class instances, self or instances in _composed_instances - which contain the value that the key is referring to. - """ - - def __setitem__(self, name, value): - """set the value of an attribute using square-bracket notation: `instance[attr] = val`""" - if name in self.required_properties: - self.__dict__[name] = value - return - - """ - Use cases: - 1. additional_properties_type is None (additionalProperties == False in spec) - Check for property presence in self.openapi_types - if not present then throw an error - if present set in self, set attribute - always set on composed schemas - 2. additional_properties_type exists - set attribute on self - always set on composed schemas - """ - if self.additional_properties_type is None: - """ - For an attribute to exist on a composed schema it must: - - fulfill schema_requirements in the self composed schema not considering oneOf/anyOf/allOf schemas AND - - fulfill schema_requirements in each oneOf/anyOf/allOf schemas - - schema_requirements: - For an attribute to exist on a schema it must: - - be present in properties at the schema OR - - have additionalProperties unset (defaults additionalProperties = any type) OR - - have additionalProperties set - """ - if name not in self.openapi_types: - raise ApiAttributeError( - "{0} has no attribute '{1}'".format( - type(self).__name__, name), - [e for e in [self._path_to_item, name] if e] - ) - # attribute must be set on self and composed instances - self.set_attribute(name, value) - for model_instance in self._composed_instances: - setattr(model_instance, name, value) - if name not in self._var_name_to_model_instances: - # we assigned an additional property - self.__dict__['_var_name_to_model_instances'][name] = self._composed_instances + [self] - return None - - __unset_attribute_value__ = object() - - def get(self, name, default=None): - """returns the value of an attribute or some default value if the attribute was not set""" - if name in self.required_properties: - return self.__dict__[name] - - # get the attribute from the correct instance - model_instances = self._var_name_to_model_instances.get(name) - values = [] - # A composed model stores self and child (oneof/anyOf/allOf) models under - # self._var_name_to_model_instances. - # Any property must exist in self and all model instances - # The value stored in all model instances must be the same - if model_instances: - for model_instance in model_instances: - if name in model_instance._data_store: - v = model_instance._data_store[name] - if v not in values: - values.append(v) - len_values = len(values) - if len_values == 0: - return default - elif len_values == 1: - return values[0] - elif len_values > 1: - raise ApiValueError( - "Values stored for property {0} in {1} differ when looking " - "at self and self's composed instances. All values must be " - "the same".format(name, type(self).__name__), - [e for e in [self._path_to_item, name] if e] - ) - - def __getitem__(self, name): - """get the value of an attribute using square-bracket notation: `instance[attr]`""" - value = self.get(name, self.__unset_attribute_value__) - if value is self.__unset_attribute_value__: - raise ApiAttributeError( - "{0} has no attribute '{1}'".format( - type(self).__name__, name), - [e for e in [self._path_to_item, name] if e] - ) - return value - - def __contains__(self, name): - """used by `in` operator to check if an attribute value was set in an instance: `'attr' in instance`""" - - if name in self.required_properties: - return name in self.__dict__ - - model_instances = self._var_name_to_model_instances.get( - name, self._additional_properties_model_instances) - - if model_instances: - for model_instance in model_instances: - if name in model_instance._data_store: - return True - - return False - - def to_dict(self): - """Returns the model properties as a dict""" - return model_to_dict(self, serialize=False) - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, self.__class__): - return False - - if not set(self._data_store.keys()) == set(other._data_store.keys()): - return False - for _var_name, this_val in self._data_store.items(): - that_val = other._data_store[_var_name] - types = set() - types.add(this_val.__class__) - types.add(that_val.__class__) - vals_equal = this_val == that_val - if not vals_equal: - return False - return True - - -COERCION_INDEX_BY_TYPE = { - ModelComposed: 0, - ModelNormal: 1, - ModelSimple: 2, - none_type: 3, # The type of 'None'. - list: 4, - dict: 5, - float: 6, - int: 7, - bool: 8, - datetime: 9, - date: 10, - str: 11, - file_type: 12, # 'file_type' is an alias for the built-in 'file' or 'io.IOBase' type. -} - -# these are used to limit what type conversions we try to do -# when we have a valid type already and we want to try converting -# to another type -UPCONVERSION_TYPE_PAIRS = ( - (str, datetime), - (str, date), - (int, float), # A float may be serialized as an integer, e.g. '3' is a valid serialized float. - (list, ModelComposed), - (dict, ModelComposed), - (str, ModelComposed), - (int, ModelComposed), - (float, ModelComposed), - (list, ModelComposed), - (list, ModelNormal), - (dict, ModelNormal), - (str, ModelSimple), - (int, ModelSimple), - (float, ModelSimple), - (list, ModelSimple), -) - -COERCIBLE_TYPE_PAIRS = { - False: ( # client instantiation of a model with client data - # (dict, ModelComposed), - # (list, ModelComposed), - # (dict, ModelNormal), - # (list, ModelNormal), - # (str, ModelSimple), - # (int, ModelSimple), - # (float, ModelSimple), - # (list, ModelSimple), - # (str, int), - # (str, float), - # (str, datetime), - # (str, date), - # (int, str), - # (float, str), - ), - True: ( # server -> client data - (dict, ModelComposed), - (list, ModelComposed), - (dict, ModelNormal), - (list, ModelNormal), - (str, ModelSimple), - (int, ModelSimple), - (float, ModelSimple), - (list, ModelSimple), - # (str, int), - # (str, float), - (str, datetime), - (str, date), - # (int, str), - # (float, str), - (str, file_type) - ), -} - - -def get_simple_class(input_value): - """Returns an input_value's simple class that we will use for type checking - Python2: - float and int will return int, where int is the python3 int backport - str and unicode will return str, where str is the python3 str backport - Note: float and int ARE both instances of int backport - Note: str_py2 and unicode_py2 are NOT both instances of str backport - - Args: - input_value (class/class_instance): the item for which we will return - the simple class - """ - if isinstance(input_value, type): - # input_value is a class - return input_value - elif isinstance(input_value, tuple): - return tuple - elif isinstance(input_value, list): - return list - elif isinstance(input_value, dict): - return dict - elif isinstance(input_value, none_type): - return none_type - elif isinstance(input_value, file_type): - return file_type - elif isinstance(input_value, bool): - # this must be higher than the int check because - # isinstance(True, int) == True - return bool - elif isinstance(input_value, int): - return int - elif isinstance(input_value, datetime): - # this must be higher than the date check because - # isinstance(datetime_instance, date) == True - return datetime - elif isinstance(input_value, date): - return date - elif isinstance(input_value, str): - return str - return type(input_value) - - -def check_allowed_values(allowed_values, input_variable_path, input_values): - """Raises an exception if the input_values are not allowed - - Args: - allowed_values (dict): the allowed_values dict - input_variable_path (tuple): the path to the input variable - input_values (list/str/int/float/date/datetime): the values that we - are checking to see if they are in allowed_values - """ - these_allowed_values = list(allowed_values[input_variable_path].values()) - if (isinstance(input_values, list) - and not set(input_values).issubset( - set(these_allowed_values))): - invalid_values = ", ".join( - map(str, set(input_values) - set(these_allowed_values))), - raise ApiValueError( - "Invalid values for `%s` [%s], must be a subset of [%s]" % - ( - input_variable_path[0], - invalid_values, - ", ".join(map(str, these_allowed_values)) - ) - ) - elif (isinstance(input_values, dict) - and not set( - input_values.keys()).issubset(set(these_allowed_values))): - invalid_values = ", ".join( - map(str, set(input_values.keys()) - set(these_allowed_values))) - raise ApiValueError( - "Invalid keys in `%s` [%s], must be a subset of [%s]" % - ( - input_variable_path[0], - invalid_values, - ", ".join(map(str, these_allowed_values)) - ) - ) - elif (not isinstance(input_values, (list, dict)) - and input_values not in these_allowed_values): - raise ApiValueError( - "Invalid value for `%s` (%s), must be one of %s" % - ( - input_variable_path[0], - input_values, - these_allowed_values - ) - ) - - -def is_json_validation_enabled(schema_keyword, configuration=None): - """Returns true if JSON schema validation is enabled for the specified - validation keyword. This can be used to skip JSON schema structural validation - as requested in the configuration. - - Args: - schema_keyword (string): the name of a JSON schema validation keyword. - configuration (Configuration): the configuration class. - """ - - return (configuration is None or - not hasattr(configuration, '_disabled_client_side_validations') or - schema_keyword not in configuration._disabled_client_side_validations) - - -def check_validations( - validations, input_variable_path, input_values, - configuration=None): - """Raises an exception if the input_values are invalid - - Args: - validations (dict): the validation dictionary. - input_variable_path (tuple): the path to the input variable. - input_values (list/str/int/float/date/datetime): the values that we - are checking. - configuration (Configuration): the configuration class. - """ - - if input_values is None: - return - - current_validations = validations[input_variable_path] - if (is_json_validation_enabled('multipleOf', configuration) and - 'multiple_of' in current_validations and - isinstance(input_values, (int, float)) and - not (float(input_values) / current_validations['multiple_of']).is_integer()): - # Note 'multipleOf' will be as good as the floating point arithmetic. - raise ApiValueError( - "Invalid value for `%s`, value must be a multiple of " - "`%s`" % ( - input_variable_path[0], - current_validations['multiple_of'] - ) - ) - - if (is_json_validation_enabled('maxLength', configuration) and - 'max_length' in current_validations and - len(input_values) > current_validations['max_length']): - raise ApiValueError( - "Invalid value for `%s`, length must be less than or equal to " - "`%s`" % ( - input_variable_path[0], - current_validations['max_length'] - ) - ) - - if (is_json_validation_enabled('minLength', configuration) and - 'min_length' in current_validations and - len(input_values) < current_validations['min_length']): - raise ApiValueError( - "Invalid value for `%s`, length must be greater than or equal to " - "`%s`" % ( - input_variable_path[0], - current_validations['min_length'] - ) - ) - - if (is_json_validation_enabled('maxItems', configuration) and - 'max_items' in current_validations and - len(input_values) > current_validations['max_items']): - raise ApiValueError( - "Invalid value for `%s`, number of items must be less than or " - "equal to `%s`" % ( - input_variable_path[0], - current_validations['max_items'] - ) - ) - - if (is_json_validation_enabled('minItems', configuration) and - 'min_items' in current_validations and - len(input_values) < current_validations['min_items']): - raise ValueError( - "Invalid value for `%s`, number of items must be greater than or " - "equal to `%s`" % ( - input_variable_path[0], - current_validations['min_items'] - ) - ) - - items = ('exclusive_maximum', 'inclusive_maximum', 'exclusive_minimum', - 'inclusive_minimum') - if (any(item in current_validations for item in items)): - if isinstance(input_values, list): - max_val = max(input_values) - min_val = min(input_values) - elif isinstance(input_values, dict): - max_val = max(input_values.values()) - min_val = min(input_values.values()) - else: - max_val = input_values - min_val = input_values - - if (is_json_validation_enabled('exclusiveMaximum', configuration) and - 'exclusive_maximum' in current_validations and - max_val >= current_validations['exclusive_maximum']): - raise ApiValueError( - "Invalid value for `%s`, must be a value less than `%s`" % ( - input_variable_path[0], - current_validations['exclusive_maximum'] - ) - ) - - if (is_json_validation_enabled('maximum', configuration) and - 'inclusive_maximum' in current_validations and - max_val > current_validations['inclusive_maximum']): - raise ApiValueError( - "Invalid value for `%s`, must be a value less than or equal to " - "`%s`" % ( - input_variable_path[0], - current_validations['inclusive_maximum'] - ) - ) - - if (is_json_validation_enabled('exclusiveMinimum', configuration) and - 'exclusive_minimum' in current_validations and - min_val <= current_validations['exclusive_minimum']): - raise ApiValueError( - "Invalid value for `%s`, must be a value greater than `%s`" % - ( - input_variable_path[0], - current_validations['exclusive_maximum'] - ) - ) - - if (is_json_validation_enabled('minimum', configuration) and - 'inclusive_minimum' in current_validations and - min_val < current_validations['inclusive_minimum']): - raise ApiValueError( - "Invalid value for `%s`, must be a value greater than or equal " - "to `%s`" % ( - input_variable_path[0], - current_validations['inclusive_minimum'] - ) - ) - flags = current_validations.get('regex', {}).get('flags', 0) - if (is_json_validation_enabled('pattern', configuration) and - 'regex' in current_validations and - not re.search(current_validations['regex']['pattern'], - input_values, flags=flags)): - err_msg = r"Invalid value for `%s`, must match regular expression `%s`" % ( - input_variable_path[0], - current_validations['regex']['pattern'] - ) - if flags != 0: - # Don't print the regex flags if the flags are not - # specified in the OAS document. - err_msg = r"%s with flags=`%s`" % (err_msg, flags) - raise ApiValueError(err_msg) - - -def order_response_types(required_types): - """Returns the required types sorted in coercion order - - Args: - required_types (list/tuple): collection of classes or instance of - list or dict with class information inside it. - - Returns: - (list): coercion order sorted collection of classes or instance - of list or dict with class information inside it. - """ - - def index_getter(class_or_instance): - if isinstance(class_or_instance, list): - return COERCION_INDEX_BY_TYPE[list] - elif isinstance(class_or_instance, dict): - return COERCION_INDEX_BY_TYPE[dict] - elif (inspect.isclass(class_or_instance) - and issubclass(class_or_instance, ModelComposed)): - return COERCION_INDEX_BY_TYPE[ModelComposed] - elif (inspect.isclass(class_or_instance) - and issubclass(class_or_instance, ModelNormal)): - return COERCION_INDEX_BY_TYPE[ModelNormal] - elif (inspect.isclass(class_or_instance) - and issubclass(class_or_instance, ModelSimple)): - return COERCION_INDEX_BY_TYPE[ModelSimple] - elif class_or_instance in COERCION_INDEX_BY_TYPE: - return COERCION_INDEX_BY_TYPE[class_or_instance] - raise ApiValueError("Unsupported type: %s" % class_or_instance) - - sorted_types = sorted( - required_types, - key=lambda class_or_instance: index_getter(class_or_instance) - ) - return sorted_types - - -def remove_uncoercible(required_types_classes, current_item, spec_property_naming, - must_convert=True): - """Only keeps the type conversions that are possible - - Args: - required_types_classes (tuple): tuple of classes that are required - these should be ordered by COERCION_INDEX_BY_TYPE - spec_property_naming (bool): True if the variable names in the input - data are serialized names as specified in the OpenAPI document. - False if the variables names in the input data are python - variable names in PEP-8 snake case. - current_item (any): the current item (input data) to be converted - - Keyword Args: - must_convert (bool): if True the item to convert is of the wrong - type and we want a big list of coercibles - if False, we want a limited list of coercibles - - Returns: - (list): the remaining coercible required types, classes only - """ - current_type_simple = get_simple_class(current_item) - - results_classes = [] - for required_type_class in required_types_classes: - # convert our models to OpenApiModel - required_type_class_simplified = required_type_class - if isinstance(required_type_class_simplified, type): - if issubclass(required_type_class_simplified, ModelComposed): - required_type_class_simplified = ModelComposed - elif issubclass(required_type_class_simplified, ModelNormal): - required_type_class_simplified = ModelNormal - elif issubclass(required_type_class_simplified, ModelSimple): - required_type_class_simplified = ModelSimple - - if required_type_class_simplified == current_type_simple: - # don't consider converting to one's own class - continue - - class_pair = (current_type_simple, required_type_class_simplified) - if must_convert and class_pair in COERCIBLE_TYPE_PAIRS[spec_property_naming]: - results_classes.append(required_type_class) - elif class_pair in UPCONVERSION_TYPE_PAIRS: - results_classes.append(required_type_class) - return results_classes - -def get_discriminated_classes(cls): - """ - Returns all the classes that a discriminator converts to - TODO: lru_cache this - """ - possible_classes = [] - key = list(cls.discriminator.keys())[0] - if is_type_nullable(cls): - possible_classes.append(cls) - for discr_cls in cls.discriminator[key].values(): - if hasattr(discr_cls, 'discriminator') and discr_cls.discriminator is not None: - possible_classes.extend(get_discriminated_classes(discr_cls)) - else: - possible_classes.append(discr_cls) - return possible_classes - - -def get_possible_classes(cls, from_server_context): - # TODO: lru_cache this - possible_classes = [cls] - if from_server_context: - return possible_classes - if hasattr(cls, 'discriminator') and cls.discriminator is not None: - possible_classes = [] - possible_classes.extend(get_discriminated_classes(cls)) - elif issubclass(cls, ModelComposed): - possible_classes.extend(composed_model_input_classes(cls)) - return possible_classes - - -def get_required_type_classes(required_types_mixed, spec_property_naming): - """Converts the tuple required_types into a tuple and a dict described - below - - Args: - required_types_mixed (tuple/list): will contain either classes or - instance of list or dict - spec_property_naming (bool): if True these values came from the - server, and we use the data types in our endpoints. - If False, we are client side and we need to include - oneOf and discriminator classes inside the data types in our endpoints - - Returns: - (valid_classes, dict_valid_class_to_child_types_mixed): - valid_classes (tuple): the valid classes that the current item - should be - dict_valid_class_to_child_types_mixed (dict): - valid_class (class): this is the key - child_types_mixed (list/dict/tuple): describes the valid child - types - """ - valid_classes = [] - child_req_types_by_current_type = {} - for required_type in required_types_mixed: - if isinstance(required_type, list): - valid_classes.append(list) - child_req_types_by_current_type[list] = required_type - elif isinstance(required_type, tuple): - valid_classes.append(tuple) - child_req_types_by_current_type[tuple] = required_type - elif isinstance(required_type, dict): - valid_classes.append(dict) - child_req_types_by_current_type[dict] = required_type[str] - else: - valid_classes.extend(get_possible_classes(required_type, spec_property_naming)) - return tuple(valid_classes), child_req_types_by_current_type - - -def change_keys_js_to_python(input_dict, model_class): - """ - Converts from javascript_key keys in the input_dict to python_keys in - the output dict using the mapping in model_class. - If the input_dict contains a key which does not declared in the model_class, - the key is added to the output dict as is. The assumption is the model_class - may have undeclared properties (additionalProperties attribute in the OAS - document). - """ - - if getattr(model_class, 'attribute_map', None) is None: - return input_dict - output_dict = {} - reversed_attr_map = {value: key for key, value in - model_class.attribute_map.items()} - for javascript_key, value in input_dict.items(): - python_key = reversed_attr_map.get(javascript_key) - if python_key is None: - # if the key is unknown, it is in error or it is an - # additionalProperties variable - python_key = javascript_key - output_dict[python_key] = value - return output_dict - - -def get_type_error(var_value, path_to_item, valid_classes, key_type=False): - error_msg = type_error_message( - var_name=path_to_item[-1], - var_value=var_value, - valid_classes=valid_classes, - key_type=key_type - ) - return ApiTypeError( - error_msg, - path_to_item=path_to_item, - valid_classes=valid_classes, - key_type=key_type - ) - - -def deserialize_primitive(data, klass, path_to_item): - """Deserializes string to primitive type. - - :param data: str/int/float - :param klass: str/class the class to convert to - - :return: int, float, str, bool, date, datetime - """ - additional_message = "" - try: - if klass in {datetime, date}: - additional_message = ( - "If you need your parameter to have a fallback " - "string value, please set its type as `type: {}` in your " - "spec. That allows the value to be any type. " - ) - if klass == datetime: - if len(data) < 8: - raise ValueError("This is not a datetime") - # The string should be in iso8601 datetime format. - parsed_datetime = parse(data) - date_only = ( - parsed_datetime.hour == 0 and - parsed_datetime.minute == 0 and - parsed_datetime.second == 0 and - parsed_datetime.tzinfo is None and - 8 <= len(data) <= 10 - ) - if date_only: - raise ValueError("This is a date, not a datetime") - return parsed_datetime - elif klass == date: - if len(data) < 8: - raise ValueError("This is not a date") - return parse(data).date() - else: - converted_value = klass(data) - if isinstance(data, str) and klass == float: - if str(converted_value) != data: - # '7' -> 7.0 -> '7.0' != '7' - raise ValueError('This is not a float') - return converted_value - except (OverflowError, ValueError) as ex: - # parse can raise OverflowError - raise ApiValueError( - "{0}Failed to parse {1} as {2}".format( - additional_message, repr(data), klass.__name__ - ), - path_to_item=path_to_item - ) from ex - - -def get_discriminator_class(model_class, - discr_name, - discr_value, cls_visited): - """Returns the child class specified by the discriminator. - - Args: - model_class (OpenApiModel): the model class. - discr_name (string): the name of the discriminator property. - discr_value (any): the discriminator value. - cls_visited (list): list of model classes that have been visited. - Used to determine the discriminator class without - visiting circular references indefinitely. - - Returns: - used_model_class (class/None): the chosen child class that will be used - to deserialize the data, for example dog.Dog. - If a class is not found, None is returned. - """ - - if model_class in cls_visited: - # The class has already been visited and no suitable class was found. - return None - cls_visited.append(model_class) - used_model_class = None - if discr_name in model_class.discriminator: - class_name_to_discr_class = model_class.discriminator[discr_name] - used_model_class = class_name_to_discr_class.get(discr_value) - if used_model_class is None: - # We didn't find a discriminated class in class_name_to_discr_class. - # So look in the ancestor or descendant discriminators - # The discriminator mapping may exist in a descendant (anyOf, oneOf) - # or ancestor (allOf). - # Ancestor example: in the GrandparentAnimal -> ParentPet -> ChildCat - # hierarchy, the discriminator mappings may be defined at any level - # in the hierarchy. - # Descendant example: mammal -> whale/zebra/Pig -> BasquePig/DanishPig - # if we try to make BasquePig from mammal, we need to travel through - # the oneOf descendant discriminators to find BasquePig - descendant_classes = model_class._composed_schemas.get('oneOf', ()) + \ - model_class._composed_schemas.get('anyOf', ()) - ancestor_classes = model_class._composed_schemas.get('allOf', ()) - possible_classes = descendant_classes + ancestor_classes - for cls in possible_classes: - # Check if the schema has inherited discriminators. - if hasattr(cls, 'discriminator') and cls.discriminator is not None: - used_model_class = get_discriminator_class( - cls, discr_name, discr_value, cls_visited) - if used_model_class is not None: - return used_model_class - return used_model_class - - -def deserialize_model(model_data, model_class, path_to_item, check_type, - configuration, spec_property_naming): - """Deserializes model_data to model instance. - - Args: - model_data (int/str/float/bool/none_type/list/dict): data to instantiate the model - model_class (OpenApiModel): the model class - path_to_item (list): path to the model in the received data - check_type (bool): whether to check the data tupe for the values in - the model - configuration (Configuration): the instance to use to convert files - spec_property_naming (bool): True if the variable names in the input - data are serialized names as specified in the OpenAPI document. - False if the variables names in the input data are python - variable names in PEP-8 snake case. - - Returns: - model instance - - Raise: - ApiTypeError - ApiValueError - ApiKeyError - """ - - kw_args = dict(_check_type=check_type, - _path_to_item=path_to_item, - _configuration=configuration, - _spec_property_naming=spec_property_naming) - - if issubclass(model_class, ModelSimple): - return model_class._new_from_openapi_data(model_data, **kw_args) - elif isinstance(model_data, list): - return model_class._new_from_openapi_data(*model_data, **kw_args) - if isinstance(model_data, dict): - kw_args.update(model_data) - return model_class._new_from_openapi_data(**kw_args) - elif isinstance(model_data, PRIMITIVE_TYPES): - return model_class._new_from_openapi_data(model_data, **kw_args) - - -def deserialize_file(response_data, configuration, content_disposition=None): - """Deserializes body to file - - Saves response body into a file in a temporary folder, - using the filename from the `Content-Disposition` header if provided. - - Args: - param response_data (str): the file data to write - configuration (Configuration): the instance to use to convert files - - Keyword Args: - content_disposition (str): the value of the Content-Disposition - header - - Returns: - (file_type): the deserialized file which is open - The user is responsible for closing and reading the file - """ - fd, path = tempfile.mkstemp(dir=configuration.temp_folder_path) - os.close(fd) - os.remove(path) - - if content_disposition: - filename = re.search(r'filename=[\'"]?([^\'"\s]+)[\'"]?', - content_disposition).group(1) - path = os.path.join(os.path.dirname(path), filename) - - with open(path, "wb") as f: - if isinstance(response_data, str): - # change str to bytes so we can write it - response_data = response_data.encode('utf-8') - f.write(response_data) - - f = open(path, "rb") - return f - - -def attempt_convert_item(input_value, valid_classes, path_to_item, - configuration, spec_property_naming, key_type=False, - must_convert=False, check_type=True): - """ - Args: - input_value (any): the data to convert - valid_classes (any): the classes that are valid - path_to_item (list): the path to the item to convert - configuration (Configuration): the instance to use to convert files - spec_property_naming (bool): True if the variable names in the input - data are serialized names as specified in the OpenAPI document. - False if the variables names in the input data are python - variable names in PEP-8 snake case. - key_type (bool): if True we need to convert a key type (not supported) - must_convert (bool): if True we must convert - check_type (bool): if True we check the type or the returned data in - ModelComposed/ModelNormal/ModelSimple instances - - Returns: - instance (any) the fixed item - - Raises: - ApiTypeError - ApiValueError - ApiKeyError - """ - valid_classes_ordered = order_response_types(valid_classes) - valid_classes_coercible = remove_uncoercible( - valid_classes_ordered, input_value, spec_property_naming) - if not valid_classes_coercible or key_type: - # we do not handle keytype errors, json will take care - # of this for us - if configuration is None or not configuration.discard_unknown_keys: - raise get_type_error(input_value, path_to_item, valid_classes, - key_type=key_type) - for valid_class in valid_classes_coercible: - try: - if issubclass(valid_class, OpenApiModel): - return deserialize_model(input_value, valid_class, - path_to_item, check_type, - configuration, spec_property_naming) - elif valid_class == file_type: - return deserialize_file(input_value, configuration) - return deserialize_primitive(input_value, valid_class, - path_to_item) - except (ApiTypeError, ApiValueError, ApiKeyError) as conversion_exc: - if must_convert: - raise conversion_exc - # if we have conversion errors when must_convert == False - # we ignore the exception and move on to the next class - continue - # we were unable to convert, must_convert == False - return input_value - - -def is_type_nullable(input_type): - """ - Returns true if None is an allowed value for the specified input_type. - - A type is nullable if at least one of the following conditions is true: - 1. The OAS 'nullable' attribute has been specified, - 1. The type is the 'null' type, - 1. The type is a anyOf/oneOf composed schema, and a child schema is - the 'null' type. - Args: - input_type (type): the class of the input_value that we are - checking - Returns: - bool - """ - if input_type is none_type: - return True - if issubclass(input_type, OpenApiModel) and input_type._nullable: - return True - if issubclass(input_type, ModelComposed): - # If oneOf/anyOf, check if the 'null' type is one of the allowed types. - for t in input_type._composed_schemas.get('oneOf', ()): - if is_type_nullable(t): return True - for t in input_type._composed_schemas.get('anyOf', ()): - if is_type_nullable(t): return True - return False - - -def is_valid_type(input_class_simple, valid_classes): - """ - Args: - input_class_simple (class): the class of the input_value that we are - checking - valid_classes (tuple): the valid classes that the current item - should be - Returns: - bool - """ - if issubclass(input_class_simple, OpenApiModel) and \ - valid_classes == (bool, date, datetime, dict, float, int, list, str, none_type,): - return True - valid_type = input_class_simple in valid_classes - if not valid_type and ( - issubclass(input_class_simple, OpenApiModel) or - input_class_simple is none_type): - for valid_class in valid_classes: - if input_class_simple is none_type and is_type_nullable(valid_class): - # Schema is oneOf/anyOf and the 'null' type is one of the allowed types. - return True - if not (issubclass(valid_class, OpenApiModel) and valid_class.discriminator): - continue - discr_propertyname_py = list(valid_class.discriminator.keys())[0] - discriminator_classes = ( - valid_class.discriminator[discr_propertyname_py].values() - ) - valid_type = is_valid_type(input_class_simple, discriminator_classes) - if valid_type: - return True - return valid_type - - -def validate_and_convert_types(input_value, required_types_mixed, path_to_item, - spec_property_naming, _check_type, configuration=None): - """Raises a TypeError is there is a problem, otherwise returns value - - Args: - input_value (any): the data to validate/convert - required_types_mixed (list/dict/tuple): A list of - valid classes, or a list tuples of valid classes, or a dict where - the value is a tuple of value classes - path_to_item: (list) the path to the data being validated - this stores a list of keys or indices to get to the data being - validated - spec_property_naming (bool): True if the variable names in the input - data are serialized names as specified in the OpenAPI document. - False if the variables names in the input data are python - variable names in PEP-8 snake case. - _check_type: (boolean) if true, type will be checked and conversion - will be attempted. - configuration: (Configuration): the configuration class to use - when converting file_type items. - If passed, conversion will be attempted when possible - If not passed, no conversions will be attempted and - exceptions will be raised - - Returns: - the correctly typed value - - Raises: - ApiTypeError - """ - results = get_required_type_classes(required_types_mixed, spec_property_naming) - valid_classes, child_req_types_by_current_type = results - - input_class_simple = get_simple_class(input_value) - valid_type = is_valid_type(input_class_simple, valid_classes) - if not valid_type: - if configuration: - # if input_value is not valid_type try to convert it - converted_instance = attempt_convert_item( - input_value, - valid_classes, - path_to_item, - configuration, - spec_property_naming, - key_type=False, - must_convert=True, - check_type=_check_type - ) - return converted_instance - else: - raise get_type_error(input_value, path_to_item, valid_classes, - key_type=False) - - # input_value's type is in valid_classes - if len(valid_classes) > 1 and configuration: - # there are valid classes which are not the current class - valid_classes_coercible = remove_uncoercible( - valid_classes, input_value, spec_property_naming, must_convert=False) - if valid_classes_coercible: - converted_instance = attempt_convert_item( - input_value, - valid_classes_coercible, - path_to_item, - configuration, - spec_property_naming, - key_type=False, - must_convert=False, - check_type=_check_type - ) - return converted_instance - - if child_req_types_by_current_type == {}: - # all types are of the required types and there are no more inner - # variables left to look at - return input_value - inner_required_types = child_req_types_by_current_type.get( - type(input_value) - ) - if inner_required_types is None: - # for this type, there are not more inner variables left to look at - return input_value - if isinstance(input_value, list): - if input_value == []: - # allow an empty list - return input_value - for index, inner_value in enumerate(input_value): - inner_path = list(path_to_item) - inner_path.append(index) - input_value[index] = validate_and_convert_types( - inner_value, - inner_required_types, - inner_path, - spec_property_naming, - _check_type, - configuration=configuration - ) - elif isinstance(input_value, dict): - if input_value == {}: - # allow an empty dict - return input_value - for inner_key, inner_val in input_value.items(): - inner_path = list(path_to_item) - inner_path.append(inner_key) - if get_simple_class(inner_key) != str: - raise get_type_error(inner_key, inner_path, valid_classes, - key_type=True) - input_value[inner_key] = validate_and_convert_types( - inner_val, - inner_required_types, - inner_path, - spec_property_naming, - _check_type, - configuration=configuration - ) - return input_value - - -def model_to_dict(model_instance, serialize=True): - """Returns the model properties as a dict - - Args: - model_instance (one of your model instances): the model instance that - will be converted to a dict. - - Keyword Args: - serialize (bool): if True, the keys in the dict will be values from - attribute_map - """ - result = {} - - model_instances = [model_instance] - if model_instance._composed_schemas: - model_instances.extend(model_instance._composed_instances) - seen_json_attribute_names = set() - used_fallback_python_attribute_names = set() - py_to_json_map = {} - for model_instance in model_instances: - for attr, value in model_instance._data_store.items(): - if serialize: - # we use get here because additional property key names do not - # exist in attribute_map - try: - attr = model_instance.attribute_map[attr] - py_to_json_map.update(model_instance.attribute_map) - seen_json_attribute_names.add(attr) - except KeyError: - used_fallback_python_attribute_names.add(attr) - if isinstance(value, list): - if not value: - # empty list or None - result[attr] = value - else: - res = [] - for v in value: - if isinstance(v, PRIMITIVE_TYPES) or v is None: - res.append(v) - elif isinstance(v, ModelSimple): - res.append(v.value) - else: - res.append(model_to_dict(v, serialize=serialize)) - result[attr] = res - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], - model_to_dict(item[1], serialize=serialize)) - if hasattr(item[1], '_data_store') else item, - value.items() - )) - elif isinstance(value, ModelSimple): - result[attr] = value.value - elif hasattr(value, '_data_store'): - result[attr] = model_to_dict(value, serialize=serialize) - else: - result[attr] = value - if serialize: - for python_key in used_fallback_python_attribute_names: - json_key = py_to_json_map.get(python_key) - if json_key is None: - continue - if python_key == json_key: - continue - json_key_assigned_no_need_for_python_key = json_key in seen_json_attribute_names - if json_key_assigned_no_need_for_python_key: - del result[python_key] - - return result - - -def type_error_message(var_value=None, var_name=None, valid_classes=None, - key_type=None): - """ - Keyword Args: - var_value (any): the variable which has the type_error - var_name (str): the name of the variable which has the typ error - valid_classes (tuple): the accepted classes for current_item's - value - key_type (bool): False if our value is a value in a dict - True if it is a key in a dict - False if our item is an item in a list - """ - key_or_value = 'value' - if key_type: - key_or_value = 'key' - valid_classes_phrase = get_valid_classes_phrase(valid_classes) - msg = ( - "Invalid type for variable '{0}'. Required {1} type {2} and " - "passed type was {3}".format( - var_name, - key_or_value, - valid_classes_phrase, - type(var_value).__name__, - ) - ) - return msg - - -def get_valid_classes_phrase(input_classes): - """Returns a string phrase describing what types are allowed - """ - all_classes = list(input_classes) - all_classes = sorted(all_classes, key=lambda cls: cls.__name__) - all_class_names = [cls.__name__ for cls in all_classes] - if len(all_class_names) == 1: - return 'is {0}'.format(all_class_names[0]) - return "is one of [{0}]".format(", ".join(all_class_names)) - - -def get_allof_instances(self, model_args, constant_args): - """ - Args: - self: the class we are handling - model_args (dict): var_name to var_value - used to make instances - constant_args (dict): - metadata arguments: - _check_type - _path_to_item - _spec_property_naming - _configuration - _visited_composed_classes - - Returns - composed_instances (list) - """ - composed_instances = [] - for allof_class in self._composed_schemas['allOf']: - - try: - if constant_args.get('_spec_property_naming'): - allof_instance = allof_class._from_openapi_data(**model_args, **constant_args) - else: - allof_instance = allof_class(**model_args, **constant_args) - composed_instances.append(allof_instance) - except Exception as ex: - raise ApiValueError( - "Invalid inputs given to generate an instance of '%s'. The " - "input data was invalid for the allOf schema '%s' in the composed " - "schema '%s'. Error=%s" % ( - allof_class.__name__, - allof_class.__name__, - self.__class__.__name__, - str(ex) - ) - ) from ex - return composed_instances - - -def get_oneof_instance(cls, model_kwargs, constant_kwargs, model_arg=None): - """ - Find the oneOf schema that matches the input data (e.g. payload). - If exactly one schema matches the input data, an instance of that schema - is returned. - If zero or more than one schema match the input data, an exception is raised. - In OAS 3.x, the payload MUST, by validation, match exactly one of the - schemas described by oneOf. - - Args: - cls: the class we are handling - model_kwargs (dict): var_name to var_value - The input data, e.g. the payload that must match a oneOf schema - in the OpenAPI document. - constant_kwargs (dict): var_name to var_value - args that every model requires, including configuration, server - and path to item. - - Kwargs: - model_arg: (int, float, bool, str, date, datetime, ModelSimple, None): - the value to assign to a primitive class or ModelSimple class - Notes: - - this is only passed in when oneOf includes types which are not object - - None is used to suppress handling of model_arg, nullable models are handled in __new__ - - Returns - oneof_instance (instance) - """ - if len(cls._composed_schemas['oneOf']) == 0: - return None - - oneof_instances = [] - # Iterate over each oneOf schema and determine if the input data - # matches the oneOf schemas. - for oneof_class in cls._composed_schemas['oneOf']: - # The composed oneOf schema allows the 'null' type and the input data - # is the null value. This is a OAS >= 3.1 feature. - if oneof_class is none_type: - # skip none_types because we are deserializing dict data. - # none_type deserialization is handled in the __new__ method - continue - - single_value_input = allows_single_value_input(oneof_class) - - try: - if not single_value_input: - if constant_kwargs.get('_spec_property_naming'): - oneof_instance = oneof_class._from_openapi_data(**model_kwargs, **constant_kwargs) - else: - oneof_instance = oneof_class(**model_kwargs, **constant_kwargs) - else: - if issubclass(oneof_class, ModelSimple): - if constant_kwargs.get('_spec_property_naming'): - oneof_instance = oneof_class._from_openapi_data(model_arg, **constant_kwargs) - else: - oneof_instance = oneof_class(model_arg, **constant_kwargs) - elif oneof_class in PRIMITIVE_TYPES: - oneof_instance = validate_and_convert_types( - model_arg, - (oneof_class,), - constant_kwargs['_path_to_item'], - constant_kwargs['_spec_property_naming'], - constant_kwargs['_check_type'], - configuration=constant_kwargs['_configuration'] - ) - oneof_instances.append(oneof_instance) - except Exception: - pass - if len(oneof_instances) == 0: - raise ApiValueError( - "Invalid inputs given to generate an instance of %s. None " - "of the oneOf schemas matched the input data." % - cls.__name__ - ) - elif len(oneof_instances) > 1: - raise ApiValueError( - "Invalid inputs given to generate an instance of %s. Multiple " - "oneOf schemas matched the inputs, but a max of one is allowed." % - cls.__name__ - ) - return oneof_instances[0] - - -def get_anyof_instances(self, model_args, constant_args): - """ - Args: - self: the class we are handling - model_args (dict): var_name to var_value - The input data, e.g. the payload that must match at least one - anyOf child schema in the OpenAPI document. - constant_args (dict): var_name to var_value - args that every model requires, including configuration, server - and path to item. - - Returns - anyof_instances (list) - """ - anyof_instances = [] - if len(self._composed_schemas['anyOf']) == 0: - return anyof_instances - - for anyof_class in self._composed_schemas['anyOf']: - # The composed oneOf schema allows the 'null' type and the input data - # is the null value. This is a OAS >= 3.1 feature. - if anyof_class is none_type: - # skip none_types because we are deserializing dict data. - # none_type deserialization is handled in the __new__ method - continue - - try: - if constant_args.get('_spec_property_naming'): - anyof_instance = anyof_class._from_openapi_data(**model_args, **constant_args) - else: - anyof_instance = anyof_class(**model_args, **constant_args) - anyof_instances.append(anyof_instance) - except Exception: - pass - if len(anyof_instances) == 0: - raise ApiValueError( - "Invalid inputs given to generate an instance of %s. None of the " - "anyOf schemas matched the inputs." % - self.__class__.__name__ - ) - return anyof_instances - - -def get_discarded_args(self, composed_instances, model_args): - """ - Gathers the args that were discarded by configuration.discard_unknown_keys - """ - model_arg_keys = model_args.keys() - discarded_args = set() - # arguments passed to self were already converted to python names - # before __init__ was called - for instance in composed_instances: - if instance.__class__ in self._composed_schemas['allOf']: - try: - keys = instance.to_dict().keys() - discarded_keys = model_args - keys - discarded_args.update(discarded_keys) - except Exception: - # allOf integer schema will throw exception - pass - else: - try: - all_keys = set(model_to_dict(instance, serialize=False).keys()) - js_keys = model_to_dict(instance, serialize=True).keys() - all_keys.update(js_keys) - discarded_keys = model_arg_keys - all_keys - discarded_args.update(discarded_keys) - except Exception: - # allOf integer schema will throw exception - pass - return discarded_args - - -def validate_get_composed_info(constant_args, model_args, self): - """ - For composed schemas, generate schema instances for - all schemas in the oneOf/anyOf/allOf definition. If additional - properties are allowed, also assign those properties on - all matched schemas that contain additionalProperties. - Openapi schemas are python classes. - - Exceptions are raised if: - - 0 or > 1 oneOf schema matches the model_args input data - - no anyOf schema matches the model_args input data - - any of the allOf schemas do not match the model_args input data - - Args: - constant_args (dict): these are the args that every model requires - model_args (dict): these are the required and optional spec args that - were passed in to make this model - self (class): the class that we are instantiating - This class contains self._composed_schemas - - Returns: - composed_info (list): length three - composed_instances (list): the composed instances which are not - self - var_name_to_model_instances (dict): a dict going from var_name - to the model_instance which holds that var_name - the model_instance may be self or an instance of one of the - classes in self.composed_instances() - additional_properties_model_instances (list): a list of the - model instances which have the property - additional_properties_type. This list can include self - """ - # create composed_instances - composed_instances = [] - allof_instances = get_allof_instances(self, model_args, constant_args) - composed_instances.extend(allof_instances) - oneof_instance = get_oneof_instance(self.__class__, model_args, constant_args) - if oneof_instance is not None: - composed_instances.append(oneof_instance) - anyof_instances = get_anyof_instances(self, model_args, constant_args) - composed_instances.extend(anyof_instances) - """ - set additional_properties_model_instances - additional properties must be evaluated at the schema level - so self's additional properties are most important - If self is a composed schema with: - - no properties defined in self - - additionalProperties: False - Then for object payloads every property is an additional property - and they are not allowed, so only empty dict is allowed - - Properties must be set on all matching schemas - so when a property is assigned toa composed instance, it must be set on all - composed instances regardless of additionalProperties presence - keeping it to prevent breaking changes in v5.0.1 - TODO remove cls._additional_properties_model_instances in 6.0.0 - """ - additional_properties_model_instances = [] - if self.additional_properties_type is not None: - additional_properties_model_instances = [self] - - """ - no need to set properties on self in here, they will be set in __init__ - By here all composed schema oneOf/anyOf/allOf instances have their properties set using - model_args - """ - discarded_args = get_discarded_args(self, composed_instances, model_args) - - # map variable names to composed_instances - var_name_to_model_instances = {} - for prop_name in model_args: - if prop_name not in discarded_args: - var_name_to_model_instances[prop_name] = [self] + composed_instances - - return [ - composed_instances, - var_name_to_model_instances, - additional_properties_model_instances, - discarded_args - ] diff --git a/clients/python-legacy/lakefs_client/models/__init__.py b/clients/python-legacy/lakefs_client/models/__init__.py deleted file mode 100644 index 56ef69f7b1b..00000000000 --- a/clients/python-legacy/lakefs_client/models/__init__.py +++ /dev/null @@ -1,121 +0,0 @@ -# flake8: noqa - -# import all models into this package -# if you have many models here with many references from one model to another this may -# raise a RecursionError -# to avoid this, import only the models that you directly need like: -# from from lakefs_client.model.pet import Pet -# or import this package, but before doing it, use: -# import sys -# sys.setrecursionlimit(n) - -from lakefs_client.model.acl import ACL -from lakefs_client.model.abort_presign_multipart_upload import AbortPresignMultipartUpload -from lakefs_client.model.access_key_credentials import AccessKeyCredentials -from lakefs_client.model.action_run import ActionRun -from lakefs_client.model.action_run_list import ActionRunList -from lakefs_client.model.auth_capabilities import AuthCapabilities -from lakefs_client.model.authentication_token import AuthenticationToken -from lakefs_client.model.branch_creation import BranchCreation -from lakefs_client.model.branch_protection_rule import BranchProtectionRule -from lakefs_client.model.cherry_pick_creation import CherryPickCreation -from lakefs_client.model.comm_prefs_input import CommPrefsInput -from lakefs_client.model.commit import Commit -from lakefs_client.model.commit_creation import CommitCreation -from lakefs_client.model.commit_list import CommitList -from lakefs_client.model.commit_overrides import CommitOverrides -from lakefs_client.model.commit_record_creation import CommitRecordCreation -from lakefs_client.model.complete_presign_multipart_upload import CompletePresignMultipartUpload -from lakefs_client.model.config import Config -from lakefs_client.model.credentials import Credentials -from lakefs_client.model.credentials_list import CredentialsList -from lakefs_client.model.credentials_with_secret import CredentialsWithSecret -from lakefs_client.model.current_user import CurrentUser -from lakefs_client.model.diff import Diff -from lakefs_client.model.diff_list import DiffList -from lakefs_client.model.error import Error -from lakefs_client.model.error_no_acl import ErrorNoACL -from lakefs_client.model.external_login_information import ExternalLoginInformation -from lakefs_client.model.external_principal import ExternalPrincipal -from lakefs_client.model.external_principal_creation import ExternalPrincipalCreation -from lakefs_client.model.external_principal_list import ExternalPrincipalList -from lakefs_client.model.external_principal_settings import ExternalPrincipalSettings -from lakefs_client.model.find_merge_base_result import FindMergeBaseResult -from lakefs_client.model.garbage_collection_config import GarbageCollectionConfig -from lakefs_client.model.garbage_collection_prepare_response import GarbageCollectionPrepareResponse -from lakefs_client.model.garbage_collection_rule import GarbageCollectionRule -from lakefs_client.model.garbage_collection_rules import GarbageCollectionRules -from lakefs_client.model.group import Group -from lakefs_client.model.group_creation import GroupCreation -from lakefs_client.model.group_list import GroupList -from lakefs_client.model.hook_run import HookRun -from lakefs_client.model.hook_run_list import HookRunList -from lakefs_client.model.import_creation import ImportCreation -from lakefs_client.model.import_creation_response import ImportCreationResponse -from lakefs_client.model.import_location import ImportLocation -from lakefs_client.model.import_status import ImportStatus -from lakefs_client.model.inline_object import InlineObject -from lakefs_client.model.inline_object1 import InlineObject1 -from lakefs_client.model.installation_usage_report import InstallationUsageReport -from lakefs_client.model.login_config import LoginConfig -from lakefs_client.model.login_information import LoginInformation -from lakefs_client.model.merge import Merge -from lakefs_client.model.merge_result import MergeResult -from lakefs_client.model.meta_range_creation import MetaRangeCreation -from lakefs_client.model.meta_range_creation_response import MetaRangeCreationResponse -from lakefs_client.model.object_copy_creation import ObjectCopyCreation -from lakefs_client.model.object_error import ObjectError -from lakefs_client.model.object_error_list import ObjectErrorList -from lakefs_client.model.object_stage_creation import ObjectStageCreation -from lakefs_client.model.object_stats import ObjectStats -from lakefs_client.model.object_stats_list import ObjectStatsList -from lakefs_client.model.object_user_metadata import ObjectUserMetadata -from lakefs_client.model.pagination import Pagination -from lakefs_client.model.path_list import PathList -from lakefs_client.model.policy import Policy -from lakefs_client.model.policy_list import PolicyList -from lakefs_client.model.prepare_gc_uncommitted_request import PrepareGCUncommittedRequest -from lakefs_client.model.prepare_gc_uncommitted_response import PrepareGCUncommittedResponse -from lakefs_client.model.presign_multipart_upload import PresignMultipartUpload -from lakefs_client.model.pull_request import PullRequest -from lakefs_client.model.pull_request_all_of import PullRequestAllOf -from lakefs_client.model.pull_request_basic import PullRequestBasic -from lakefs_client.model.pull_request_creation import PullRequestCreation -from lakefs_client.model.pull_request_creation_response import PullRequestCreationResponse -from lakefs_client.model.pull_requests_list import PullRequestsList -from lakefs_client.model.range_metadata import RangeMetadata -from lakefs_client.model.ref import Ref -from lakefs_client.model.ref_list import RefList -from lakefs_client.model.refs_dump import RefsDump -from lakefs_client.model.refs_restore import RefsRestore -from lakefs_client.model.repository import Repository -from lakefs_client.model.repository_creation import RepositoryCreation -from lakefs_client.model.repository_dump_status import RepositoryDumpStatus -from lakefs_client.model.repository_list import RepositoryList -from lakefs_client.model.repository_metadata import RepositoryMetadata -from lakefs_client.model.repository_metadata_keys import RepositoryMetadataKeys -from lakefs_client.model.repository_metadata_set import RepositoryMetadataSet -from lakefs_client.model.repository_restore_status import RepositoryRestoreStatus -from lakefs_client.model.reset_creation import ResetCreation -from lakefs_client.model.revert_creation import RevertCreation -from lakefs_client.model.setup import Setup -from lakefs_client.model.setup_state import SetupState -from lakefs_client.model.staging_location import StagingLocation -from lakefs_client.model.staging_metadata import StagingMetadata -from lakefs_client.model.statement import Statement -from lakefs_client.model.stats_event import StatsEvent -from lakefs_client.model.stats_events_list import StatsEventsList -from lakefs_client.model.storage_config import StorageConfig -from lakefs_client.model.storage_uri import StorageURI -from lakefs_client.model.sts_auth_request import StsAuthRequest -from lakefs_client.model.tag_creation import TagCreation -from lakefs_client.model.task_info import TaskInfo -from lakefs_client.model.underlying_object_properties import UnderlyingObjectProperties -from lakefs_client.model.update_object_user_metadata import UpdateObjectUserMetadata -from lakefs_client.model.update_token import UpdateToken -from lakefs_client.model.upload_part import UploadPart -from lakefs_client.model.usage_report import UsageReport -from lakefs_client.model.user import User -from lakefs_client.model.user_creation import UserCreation -from lakefs_client.model.user_list import UserList -from lakefs_client.model.version_config import VersionConfig diff --git a/clients/python-legacy/lakefs_client/rest.py b/clients/python-legacy/lakefs_client/rest.py deleted file mode 100644 index b922c76b74b..00000000000 --- a/clients/python-legacy/lakefs_client/rest.py +++ /dev/null @@ -1,293 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import io -import json -import logging -import re -import ssl -from urllib.parse import urlencode - -import urllib3 - -from lakefs_client.exceptions import ApiException, UnauthorizedException, ForbiddenException, NotFoundException, ServiceException, ApiValueError - - -logger = logging.getLogger(__name__) - - -class RESTResponse(io.IOBase): - - def __init__(self, resp): - self.urllib3_response = resp - self.status = resp.status - self.reason = resp.reason - self.data = resp.data - - def getheaders(self): - """Returns a dictionary of the response headers.""" - return self.urllib3_response.getheaders() - - def getheader(self, name, default=None): - """Returns a given response header.""" - return self.urllib3_response.getheader(name, default) - - -class RESTClientObject(object): - - def __init__(self, configuration, pools_size=4, maxsize=None): - # urllib3.PoolManager will pass all kw parameters to connectionpool - # https://github.com/shazow/urllib3/blob/f9409436f83aeb79fbaf090181cd81b784f1b8ce/urllib3/poolmanager.py#L75 # noqa: E501 - # https://github.com/shazow/urllib3/blob/f9409436f83aeb79fbaf090181cd81b784f1b8ce/urllib3/connectionpool.py#L680 # noqa: E501 - # maxsize is the number of requests to host that are allowed in parallel # noqa: E501 - # Custom SSL certificates and client certificates: http://urllib3.readthedocs.io/en/latest/advanced-usage.html # noqa: E501 - - # cert_reqs - if configuration.verify_ssl: - cert_reqs = ssl.CERT_REQUIRED - else: - cert_reqs = ssl.CERT_NONE - - addition_pool_args = {} - if configuration.assert_hostname is not None: - addition_pool_args['assert_hostname'] = configuration.assert_hostname # noqa: E501 - - if configuration.retries is not None: - addition_pool_args['retries'] = configuration.retries - - if configuration.socket_options is not None: - addition_pool_args['socket_options'] = configuration.socket_options - - if maxsize is None: - if configuration.connection_pool_maxsize is not None: - maxsize = configuration.connection_pool_maxsize - else: - maxsize = 4 - - # https pool manager - if configuration.proxy: - self.pool_manager = urllib3.ProxyManager( - num_pools=pools_size, - maxsize=maxsize, - cert_reqs=cert_reqs, - ca_certs=configuration.ssl_ca_cert, - cert_file=configuration.cert_file, - key_file=configuration.key_file, - proxy_url=configuration.proxy, - proxy_headers=configuration.proxy_headers, - **addition_pool_args - ) - else: - self.pool_manager = urllib3.PoolManager( - num_pools=pools_size, - maxsize=maxsize, - cert_reqs=cert_reqs, - ca_certs=configuration.ssl_ca_cert, - cert_file=configuration.cert_file, - key_file=configuration.key_file, - **addition_pool_args - ) - - def request(self, method, url, query_params=None, headers=None, - body=None, post_params=None, _preload_content=True, - _request_timeout=None): - """Perform requests. - - :param method: http request method - :param url: http request url - :param query_params: query parameters in the url - :param headers: http request headers - :param body: request json body, for `application/json` - :param post_params: request post parameters, - `application/x-www-form-urlencoded` - and `multipart/form-data` - :param _preload_content: if False, the urllib3.HTTPResponse object will - be returned without reading/decoding response - data. Default is True. - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - """ - method = method.upper() - assert method in ['GET', 'HEAD', 'DELETE', 'POST', 'PUT', - 'PATCH', 'OPTIONS'] - - if post_params and body: - raise ApiValueError( - "body parameter cannot be used with post_params parameter." - ) - - post_params = post_params or {} - headers = headers or {} - - timeout = None - if _request_timeout: - if isinstance(_request_timeout, (int, float)): # noqa: E501,F821 - timeout = urllib3.Timeout(total=_request_timeout) - elif (isinstance(_request_timeout, tuple) and - len(_request_timeout) == 2): - timeout = urllib3.Timeout( - connect=_request_timeout[0], read=_request_timeout[1]) - - try: - # For `POST`, `PUT`, `PATCH`, `OPTIONS`, `DELETE` - if method in ['POST', 'PUT', 'PATCH', 'OPTIONS', 'DELETE']: - # Only set a default Content-Type for POST, PUT, PATCH and OPTIONS requests - if (method != 'DELETE') and ('Content-Type' not in headers): - headers['Content-Type'] = 'application/json' - if query_params: - url += '?' + urlencode(query_params) - if ('Content-Type' not in headers) or (re.search('json', headers['Content-Type'], re.IGNORECASE)): - request_body = None - if body is not None: - request_body = json.dumps(body) - r = self.pool_manager.request( - method, url, - body=request_body, - preload_content=_preload_content, - timeout=timeout, - headers=headers) - elif headers['Content-Type'] == 'application/x-www-form-urlencoded': # noqa: E501 - r = self.pool_manager.request( - method, url, - fields=post_params, - encode_multipart=False, - preload_content=_preload_content, - timeout=timeout, - headers=headers) - elif headers['Content-Type'] == 'multipart/form-data': - # must del headers['Content-Type'], or the correct - # Content-Type which generated by urllib3 will be - # overwritten. - del headers['Content-Type'] - r = self.pool_manager.request( - method, url, - fields=post_params, - encode_multipart=True, - preload_content=_preload_content, - timeout=timeout, - headers=headers) - # Pass a `string` parameter directly in the body to support - # other content types than Json when `body` argument is - # provided in serialized form - elif isinstance(body, str) or isinstance(body, bytes): - request_body = body - r = self.pool_manager.request( - method, url, - body=request_body, - preload_content=_preload_content, - timeout=timeout, - headers=headers) - else: - # Cannot generate the request from given parameters - msg = """Cannot prepare a request message for provided - arguments. Please check that your arguments match - declared content type.""" - raise ApiException(status=0, reason=msg) - # For `GET`, `HEAD` - else: - r = self.pool_manager.request(method, url, - fields=query_params, - preload_content=_preload_content, - timeout=timeout, - headers=headers) - except urllib3.exceptions.SSLError as e: - msg = "{0}\n{1}".format(type(e).__name__, str(e)) - raise ApiException(status=0, reason=msg) - - if _preload_content: - r = RESTResponse(r) - - # log response body - logger.debug("response body: %s", r.data) - - if not 200 <= r.status <= 299: - if r.status == 401: - raise UnauthorizedException(http_resp=r) - - if r.status == 403: - raise ForbiddenException(http_resp=r) - - if r.status == 404: - raise NotFoundException(http_resp=r) - - if 500 <= r.status <= 599: - raise ServiceException(http_resp=r) - - raise ApiException(http_resp=r) - - return r - - def GET(self, url, headers=None, query_params=None, _preload_content=True, - _request_timeout=None): - return self.request("GET", url, - headers=headers, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - query_params=query_params) - - def HEAD(self, url, headers=None, query_params=None, _preload_content=True, - _request_timeout=None): - return self.request("HEAD", url, - headers=headers, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - query_params=query_params) - - def OPTIONS(self, url, headers=None, query_params=None, post_params=None, - body=None, _preload_content=True, _request_timeout=None): - return self.request("OPTIONS", url, - headers=headers, - query_params=query_params, - post_params=post_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body) - - def DELETE(self, url, headers=None, query_params=None, body=None, - _preload_content=True, _request_timeout=None): - return self.request("DELETE", url, - headers=headers, - query_params=query_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body) - - def POST(self, url, headers=None, query_params=None, post_params=None, - body=None, _preload_content=True, _request_timeout=None): - return self.request("POST", url, - headers=headers, - query_params=query_params, - post_params=post_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body) - - def PUT(self, url, headers=None, query_params=None, post_params=None, - body=None, _preload_content=True, _request_timeout=None): - return self.request("PUT", url, - headers=headers, - query_params=query_params, - post_params=post_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body) - - def PATCH(self, url, headers=None, query_params=None, post_params=None, - body=None, _preload_content=True, _request_timeout=None): - return self.request("PATCH", url, - headers=headers, - query_params=query_params, - post_params=post_params, - _preload_content=_preload_content, - _request_timeout=_request_timeout, - body=body) diff --git a/clients/python-legacy/python-codegen-config.yaml b/clients/python-legacy/python-codegen-config.yaml deleted file mode 100644 index 18e9c3cb8b9..00000000000 --- a/clients/python-legacy/python-codegen-config.yaml +++ /dev/null @@ -1,5 +0,0 @@ -files: - client.mustache: - templateType: SupportingFiles - folder: lakefs_client - destinationFilename: client.py diff --git a/clients/python-legacy/requirements.txt b/clients/python-legacy/requirements.txt deleted file mode 100644 index 96947f60408..00000000000 --- a/clients/python-legacy/requirements.txt +++ /dev/null @@ -1,3 +0,0 @@ -python_dateutil >= 2.5.3 -setuptools >= 21.0.0 -urllib3 >= 1.25.3 diff --git a/clients/python-legacy/setup.cfg b/clients/python-legacy/setup.cfg deleted file mode 100644 index 11433ee875a..00000000000 --- a/clients/python-legacy/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[flake8] -max-line-length=99 diff --git a/clients/python-legacy/setup.py b/clients/python-legacy/setup.py deleted file mode 100644 index e1794ccc3e5..00000000000 --- a/clients/python-legacy/setup.py +++ /dev/null @@ -1,65 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -from setuptools import setup, find_packages # noqa: H301 - -NAME = "lakefs-client" -VERSION = "0.1.0-SNAPSHOT" -# To install the library, run the following -# -# python setup.py install -# -# prerequisite: setuptools -# http://pypi.python.org/pypi/setuptools - -REQUIRES = [ - "urllib3 >= 1.25.3", - "python-dateutil", -] - -long_prefix = ''' -[EOL] Do NOT use: lakeFS OpenAPI Python client legacy SDK - -The lakeFS OpenAPI Python client legacy SDK has reached end of life. Please -use lakefs-sdk or lakefs-wrapper instead. - -* lakefs-sdk code maintains backwards compatibility. -* lakefs-wrapper uses lakefs-sdk to provide support at a much higher level. - -lakefs-client will shortly stop being published. For help migrating, refer -to -https://docs.lakefs.io/project/code-migrate-1.0-sdk.html#migrating-sdk-code-for-python. -''' - -with open('README.md') as f: - import re - # replace relative links with links to the docs: - doc_version = '.'.join(f'v{VERSION}'.split('.')[:2]) - long_description = long_prefix + re.sub(r'(\[[*a-zA-Z_]*]\()docs/([A-Za-z0-9]*)\.md', - rf'\1https://pydocs.lakefs.io/{doc_version}/docs/\2.html', - f.read()) - -setup( - name=NAME, - version=VERSION, - description="[legacy] lakeFS API", - author="Treeverse", - author_email="services@treeverse.io", - url="https://github.com/treeverse/lakeFS/tree/master/clients/python-legacy", - keywords=["OpenAPI", "OpenAPI-Generator", "lakeFS API"], - python_requires=">=3.6", - install_requires=REQUIRES, - packages=find_packages(exclude=["test", "tests"]), - include_package_data=True, - license="Apache 2.0", - long_description=long_description, - long_description_content_type='text/markdown' -) diff --git a/clients/python-legacy/templates/client.mustache b/clients/python-legacy/templates/client.mustache deleted file mode 100644 index a37c4ffd7af..00000000000 --- a/clients/python-legacy/templates/client.mustache +++ /dev/null @@ -1,146 +0,0 @@ -import warnings - -from urllib3.util import parse_url, Url - -import lakefs_client.apis -{{#apiInfo}} -{{#apis}} -from {{apiPackage}} import {{classFilename}} -{{/apis}} -{{/apiInfo}} - - -class _WrappedApiClient(lakefs_client.ApiClient): - """ApiClient that fixes some weirdness""" - - # Wrap files_parameters to work with unnamed "files" (e.g. MemIOs). - def files_parameters(self, files=None): - if files is not None: - for (param_name, file_instances) in files.items(): - i = 0 - if file_instances is None: - continue - for file_instance in file_instances: - if file_instance is not None and not hasattr(file_instance, 'name'): - # Generate a fake name. - i += 1 - file_instance.name = f'{param_name}{i}' - return super().files_parameters(files) - - -class LakeFSClient: - def __init__(self, configuration=None, header_name=None, header_value=None, cookie=None, pool_threads=1): - configuration = LakeFSClient._ensure_endpoint(configuration) - self._api = _WrappedApiClient(configuration=configuration, header_name=header_name, - header_value=header_value, cookie=cookie, pool_threads=pool_threads) -{{#apiInfo}} -{{#apis}} - self.{{classFilename}} = {{classFilename}}.{{{classname}}}(self._api) -{{/apis}} -{{/apiInfo}} - - @staticmethod - def _ensure_endpoint(configuration): - """Normalize lakefs connection endpoint found in configuration's host""" - if not configuration or not configuration.host: - return configuration - try: - # prefix http scheme if missing - if not configuration.host.startswith('http://') and not configuration.host.startswith('https://'): - configuration.host = 'http://' + configuration.host - # if 'host' not set any 'path', format the endpoint url with default 'path' based on the generated code - o = parse_url(configuration.host) - if not o.path or o.path == '/': - settings = configuration.get_host_settings() - if settings: - base_path = parse_url(settings[0].get('url')).path - configuration.host = Url(scheme=o.scheme, auth=o.auth, host=o.host, port=o.port, - path=base_path, query=o.query, fragment=o.fragment).url - except ValueError: - pass - return configuration - - @property - def actions(self): - warnings.warn("Deprecated property. Use actions_api instead.", DeprecationWarning) - return self.actions_api - - @property - def auth(self): - warnings.warn("Deprecated property. Use auth_api instead.", DeprecationWarning) - return self.auth_api - - @property - def branches(self): - warnings.warn("Deprecated property. Use branches_api instead.", DeprecationWarning) - return self.branches_api - - @property - def commits(self): - warnings.warn("Deprecated property. Use commits_api instead.", DeprecationWarning) - return self.commits_api - - @property - def config(self): - warnings.warn("Deprecated property. Use config_api instead.", DeprecationWarning) - return self.config_api - - @property - def experimental(self): - warnings.warn("Deprecated property. Use experimental_api instead.", DeprecationWarning) - return self.experimental_api - - @property - def health_check(self): - warnings.warn("Deprecated property. Use health_check_api instead.", DeprecationWarning) - return self.health_check_api - - @property - def metadata(self): - warnings.warn("Deprecated property. Use metadata_api instead.", DeprecationWarning) - return self.metadata_api - - @property - def objects(self): - warnings.warn("Deprecated property. Use objects_api instead.", DeprecationWarning) - return self.objects_api - - @property - def otf_diff(self): - warnings.warn("Deprecated property. Use otf_diff_api instead.", DeprecationWarning) - return self.otf_diff_api - - @property - def refs(self): - warnings.warn("Deprecated property. Use refs_api instead.", DeprecationWarning) - return self.refs_api - - @property - def repositories(self): - warnings.warn("Deprecated property. Use repositories_api instead.", DeprecationWarning) - return self.repositories_api - - @property - def retention(self): - warnings.warn("Deprecated property. Use retention_api instead.", DeprecationWarning) - return self.retention_api - - @property - def staging(self): - warnings.warn("Deprecated property. Use staging_api instead.", DeprecationWarning) - return self.staging_api - - @property - def statistics(self): - warnings.warn("Deprecated property. Use statistics_api instead.", DeprecationWarning) - return self.statistics_api - - @property - def tags(self): - warnings.warn("Deprecated property. Use tags_api instead.", DeprecationWarning) - return self.tags_api - - @property - def templates(self): - warnings.warn("Deprecated property. Use templates_api instead.", DeprecationWarning) - return self.templates_api diff --git a/clients/python-legacy/templates/setup.mustache b/clients/python-legacy/templates/setup.mustache deleted file mode 100644 index 290dc82b090..00000000000 --- a/clients/python-legacy/templates/setup.mustache +++ /dev/null @@ -1,72 +0,0 @@ -{{>partial_header}} - -from setuptools import setup, find_packages # noqa: H301 - -NAME = "{{{projectName}}}" -VERSION = "{{packageVersion}}" -{{#apiInfo}} -{{#apis}} -{{#-last}} -# To install the library, run the following -# -# python setup.py install -# -# prerequisite: setuptools -# http://pypi.python.org/pypi/setuptools - -REQUIRES = [ - "urllib3 >= 1.25.3", - "python-dateutil", -{{#asyncio}} - "aiohttp >= 3.0.0", -{{/asyncio}} -{{#tornado}} - "tornado>=4.2,<5", -{{/tornado}} -{{#hasHttpSignatureMethods}} - "pem>=19.3.0", - "pycryptodome>=3.9.0", -{{/hasHttpSignatureMethods}} -] - -long_prefix = ''' -[EOL] Do NOT use: lakeFS OpenAPI Python client legacy SDK - -The lakeFS OpenAPI Python client legacy SDK has reached end of life. Please -use lakefs-sdk or lakefs-wrapper instead. - -* lakefs-sdk code maintains backwards compatibility. -* lakefs-wrapper uses lakefs-sdk to provide support at a much higher level. - -lakefs-client will shortly stop being published. For help migrating, refer -to -https://docs.lakefs.io/project/code-migrate-1.0-sdk.html#migrating-sdk-code-for-python. -''' - -with open('README.md') as f: - import re - # replace relative links with links to the docs: - doc_version = '.'.join(f'v{VERSION}'.split('.')[:2]) - long_description = long_prefix + re.sub(r'(\[[*a-zA-Z_]*]\()docs/([A-Za-z0-9]*)\.md', - rf'\1https://pydocs.lakefs.io/{doc_version}/docs/\2.html', - f.read()) - -setup( - name=NAME, - version=VERSION, - description="[legacy] {{appName}}", - author="{{infoName}}{{^infoName}}OpenAPI Generator community{{/infoName}}", - author_email="{{infoEmail}}{{^infoEmail}}team@openapitools.org{{/infoEmail}}", - url="{{packageUrl}}", - keywords=["OpenAPI", "OpenAPI-Generator", "{{{appName}}}"], - python_requires=">=3.6", - install_requires=REQUIRES, - packages=find_packages(exclude=["test", "tests"]), - include_package_data=True, - {{#licenseInfo}}license="{{.}}", - {{/licenseInfo}}long_description=long_description, - long_description_content_type='text/markdown' -) -{{/-last}} -{{/apis}} -{{/apiInfo}} diff --git a/clients/python-legacy/test-requirements.txt b/clients/python-legacy/test-requirements.txt deleted file mode 100644 index bb4f22bb7a6..00000000000 --- a/clients/python-legacy/test-requirements.txt +++ /dev/null @@ -1 +0,0 @@ -pytest-cov>=2.8.1 diff --git a/clients/python-legacy/test/__init__.py b/clients/python-legacy/test/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/clients/python-legacy/test/test_abort_presign_multipart_upload.py b/clients/python-legacy/test/test_abort_presign_multipart_upload.py deleted file mode 100644 index d43c56f944e..00000000000 --- a/clients/python-legacy/test/test_abort_presign_multipart_upload.py +++ /dev/null @@ -1,36 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.abort_presign_multipart_upload import AbortPresignMultipartUpload - - -class TestAbortPresignMultipartUpload(unittest.TestCase): - """AbortPresignMultipartUpload unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAbortPresignMultipartUpload(self): - """Test AbortPresignMultipartUpload""" - # FIXME: construct object with mandatory attributes with example values - # model = AbortPresignMultipartUpload() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_access_key_credentials.py b/clients/python-legacy/test/test_access_key_credentials.py deleted file mode 100644 index edc1d40b3c1..00000000000 --- a/clients/python-legacy/test/test_access_key_credentials.py +++ /dev/null @@ -1,36 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.access_key_credentials import AccessKeyCredentials - - -class TestAccessKeyCredentials(unittest.TestCase): - """AccessKeyCredentials unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAccessKeyCredentials(self): - """Test AccessKeyCredentials""" - # FIXME: construct object with mandatory attributes with example values - # model = AccessKeyCredentials() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_acl.py b/clients/python-legacy/test/test_acl.py deleted file mode 100644 index eba49c5f145..00000000000 --- a/clients/python-legacy/test/test_acl.py +++ /dev/null @@ -1,36 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.acl import ACL - - -class TestACL(unittest.TestCase): - """ACL unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testACL(self): - """Test ACL""" - # FIXME: construct object with mandatory attributes with example values - # model = ACL() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_action_run.py b/clients/python-legacy/test/test_action_run.py deleted file mode 100644 index 5c38b795efd..00000000000 --- a/clients/python-legacy/test/test_action_run.py +++ /dev/null @@ -1,36 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.action_run import ActionRun - - -class TestActionRun(unittest.TestCase): - """ActionRun unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testActionRun(self): - """Test ActionRun""" - # FIXME: construct object with mandatory attributes with example values - # model = ActionRun() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_action_run_list.py b/clients/python-legacy/test/test_action_run_list.py deleted file mode 100644 index c153bfe9e01..00000000000 --- a/clients/python-legacy/test/test_action_run_list.py +++ /dev/null @@ -1,40 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.action_run import ActionRun -from lakefs_client.model.pagination import Pagination -globals()['ActionRun'] = ActionRun -globals()['Pagination'] = Pagination -from lakefs_client.model.action_run_list import ActionRunList - - -class TestActionRunList(unittest.TestCase): - """ActionRunList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testActionRunList(self): - """Test ActionRunList""" - # FIXME: construct object with mandatory attributes with example values - # model = ActionRunList() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_actions_api.py b/clients/python-legacy/test/test_actions_api.py deleted file mode 100644 index c05478d953f..00000000000 --- a/clients/python-legacy/test/test_actions_api.py +++ /dev/null @@ -1,57 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import unittest - -import lakefs_client -from lakefs_client.api.actions_api import ActionsApi # noqa: E501 - - -class TestActionsApi(unittest.TestCase): - """ActionsApi unit test stubs""" - - def setUp(self): - self.api = ActionsApi() # noqa: E501 - - def tearDown(self): - pass - - def test_get_run(self): - """Test case for get_run - - get a run # noqa: E501 - """ - pass - - def test_get_run_hook_output(self): - """Test case for get_run_hook_output - - get run hook output # noqa: E501 - """ - pass - - def test_list_repository_runs(self): - """Test case for list_repository_runs - - list runs # noqa: E501 - """ - pass - - def test_list_run_hooks(self): - """Test case for list_run_hooks - - list run hooks # noqa: E501 - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_auth_api.py b/clients/python-legacy/test/test_auth_api.py deleted file mode 100644 index d35e074af90..00000000000 --- a/clients/python-legacy/test/test_auth_api.py +++ /dev/null @@ -1,281 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import unittest - -import lakefs_client -from lakefs_client.api.auth_api import AuthApi # noqa: E501 - - -class TestAuthApi(unittest.TestCase): - """AuthApi unit test stubs""" - - def setUp(self): - self.api = AuthApi() # noqa: E501 - - def tearDown(self): - pass - - def test_add_group_membership(self): - """Test case for add_group_membership - - add group membership # noqa: E501 - """ - pass - - def test_attach_policy_to_group(self): - """Test case for attach_policy_to_group - - attach policy to group # noqa: E501 - """ - pass - - def test_attach_policy_to_user(self): - """Test case for attach_policy_to_user - - attach policy to user # noqa: E501 - """ - pass - - def test_create_credentials(self): - """Test case for create_credentials - - create credentials # noqa: E501 - """ - pass - - def test_create_group(self): - """Test case for create_group - - create group # noqa: E501 - """ - pass - - def test_create_policy(self): - """Test case for create_policy - - create policy # noqa: E501 - """ - pass - - def test_create_user(self): - """Test case for create_user - - create user # noqa: E501 - """ - pass - - def test_create_user_external_principal(self): - """Test case for create_user_external_principal - - attach external principal to user # noqa: E501 - """ - pass - - def test_delete_credentials(self): - """Test case for delete_credentials - - delete credentials # noqa: E501 - """ - pass - - def test_delete_group(self): - """Test case for delete_group - - delete group # noqa: E501 - """ - pass - - def test_delete_group_membership(self): - """Test case for delete_group_membership - - delete group membership # noqa: E501 - """ - pass - - def test_delete_policy(self): - """Test case for delete_policy - - delete policy # noqa: E501 - """ - pass - - def test_delete_user(self): - """Test case for delete_user - - delete user # noqa: E501 - """ - pass - - def test_delete_user_external_principal(self): - """Test case for delete_user_external_principal - - delete external principal from user # noqa: E501 - """ - pass - - def test_detach_policy_from_group(self): - """Test case for detach_policy_from_group - - detach policy from group # noqa: E501 - """ - pass - - def test_detach_policy_from_user(self): - """Test case for detach_policy_from_user - - detach policy from user # noqa: E501 - """ - pass - - def test_external_principal_login(self): - """Test case for external_principal_login - - perform a login using an external authenticator # noqa: E501 - """ - pass - - def test_get_credentials(self): - """Test case for get_credentials - - get credentials # noqa: E501 - """ - pass - - def test_get_current_user(self): - """Test case for get_current_user - - get current user # noqa: E501 - """ - pass - - def test_get_external_principal(self): - """Test case for get_external_principal - - describe external principal by id # noqa: E501 - """ - pass - - def test_get_group(self): - """Test case for get_group - - get group # noqa: E501 - """ - pass - - def test_get_group_acl(self): - """Test case for get_group_acl - - get ACL of group # noqa: E501 - """ - pass - - def test_get_policy(self): - """Test case for get_policy - - get policy # noqa: E501 - """ - pass - - def test_get_user(self): - """Test case for get_user - - get user # noqa: E501 - """ - pass - - def test_list_group_members(self): - """Test case for list_group_members - - list group members # noqa: E501 - """ - pass - - def test_list_group_policies(self): - """Test case for list_group_policies - - list group policies # noqa: E501 - """ - pass - - def test_list_groups(self): - """Test case for list_groups - - list groups # noqa: E501 - """ - pass - - def test_list_policies(self): - """Test case for list_policies - - list policies # noqa: E501 - """ - pass - - def test_list_user_credentials(self): - """Test case for list_user_credentials - - list user credentials # noqa: E501 - """ - pass - - def test_list_user_external_principals(self): - """Test case for list_user_external_principals - - list user external policies attached to a user # noqa: E501 - """ - pass - - def test_list_user_groups(self): - """Test case for list_user_groups - - list user groups # noqa: E501 - """ - pass - - def test_list_user_policies(self): - """Test case for list_user_policies - - list user policies # noqa: E501 - """ - pass - - def test_list_users(self): - """Test case for list_users - - list users # noqa: E501 - """ - pass - - def test_login(self): - """Test case for login - - perform a login # noqa: E501 - """ - pass - - def test_set_group_acl(self): - """Test case for set_group_acl - - set ACL of group # noqa: E501 - """ - pass - - def test_update_policy(self): - """Test case for update_policy - - update policy # noqa: E501 - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_auth_capabilities.py b/clients/python-legacy/test/test_auth_capabilities.py deleted file mode 100644 index 892a684abad..00000000000 --- a/clients/python-legacy/test/test_auth_capabilities.py +++ /dev/null @@ -1,36 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.auth_capabilities import AuthCapabilities - - -class TestAuthCapabilities(unittest.TestCase): - """AuthCapabilities unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAuthCapabilities(self): - """Test AuthCapabilities""" - # FIXME: construct object with mandatory attributes with example values - # model = AuthCapabilities() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_authentication_token.py b/clients/python-legacy/test/test_authentication_token.py deleted file mode 100644 index fb7da386b79..00000000000 --- a/clients/python-legacy/test/test_authentication_token.py +++ /dev/null @@ -1,36 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.authentication_token import AuthenticationToken - - -class TestAuthenticationToken(unittest.TestCase): - """AuthenticationToken unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAuthenticationToken(self): - """Test AuthenticationToken""" - # FIXME: construct object with mandatory attributes with example values - # model = AuthenticationToken() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_branch_creation.py b/clients/python-legacy/test/test_branch_creation.py deleted file mode 100644 index 31542e498d8..00000000000 --- a/clients/python-legacy/test/test_branch_creation.py +++ /dev/null @@ -1,36 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.branch_creation import BranchCreation - - -class TestBranchCreation(unittest.TestCase): - """BranchCreation unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testBranchCreation(self): - """Test BranchCreation""" - # FIXME: construct object with mandatory attributes with example values - # model = BranchCreation() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_branch_protection_rule.py b/clients/python-legacy/test/test_branch_protection_rule.py deleted file mode 100644 index 61f7ba3e4c8..00000000000 --- a/clients/python-legacy/test/test_branch_protection_rule.py +++ /dev/null @@ -1,36 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.branch_protection_rule import BranchProtectionRule - - -class TestBranchProtectionRule(unittest.TestCase): - """BranchProtectionRule unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testBranchProtectionRule(self): - """Test BranchProtectionRule""" - # FIXME: construct object with mandatory attributes with example values - # model = BranchProtectionRule() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_branches_api.py b/clients/python-legacy/test/test_branches_api.py deleted file mode 100644 index c22a2163dbc..00000000000 --- a/clients/python-legacy/test/test_branches_api.py +++ /dev/null @@ -1,85 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import unittest - -import lakefs_client -from lakefs_client.api.branches_api import BranchesApi # noqa: E501 - - -class TestBranchesApi(unittest.TestCase): - """BranchesApi unit test stubs""" - - def setUp(self): - self.api = BranchesApi() # noqa: E501 - - def tearDown(self): - pass - - def test_cherry_pick(self): - """Test case for cherry_pick - - Replay the changes from the given commit on the branch # noqa: E501 - """ - pass - - def test_create_branch(self): - """Test case for create_branch - - create branch # noqa: E501 - """ - pass - - def test_delete_branch(self): - """Test case for delete_branch - - delete branch # noqa: E501 - """ - pass - - def test_diff_branch(self): - """Test case for diff_branch - - diff branch # noqa: E501 - """ - pass - - def test_get_branch(self): - """Test case for get_branch - - get branch # noqa: E501 - """ - pass - - def test_list_branches(self): - """Test case for list_branches - - list branches # noqa: E501 - """ - pass - - def test_reset_branch(self): - """Test case for reset_branch - - reset branch # noqa: E501 - """ - pass - - def test_revert_branch(self): - """Test case for revert_branch - - revert # noqa: E501 - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_cherry_pick_creation.py b/clients/python-legacy/test/test_cherry_pick_creation.py deleted file mode 100644 index 4bb49175a02..00000000000 --- a/clients/python-legacy/test/test_cherry_pick_creation.py +++ /dev/null @@ -1,38 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.commit_overrides import CommitOverrides -globals()['CommitOverrides'] = CommitOverrides -from lakefs_client.model.cherry_pick_creation import CherryPickCreation - - -class TestCherryPickCreation(unittest.TestCase): - """CherryPickCreation unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCherryPickCreation(self): - """Test CherryPickCreation""" - # FIXME: construct object with mandatory attributes with example values - # model = CherryPickCreation() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_comm_prefs_input.py b/clients/python-legacy/test/test_comm_prefs_input.py deleted file mode 100644 index ea6dab53762..00000000000 --- a/clients/python-legacy/test/test_comm_prefs_input.py +++ /dev/null @@ -1,36 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.comm_prefs_input import CommPrefsInput - - -class TestCommPrefsInput(unittest.TestCase): - """CommPrefsInput unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCommPrefsInput(self): - """Test CommPrefsInput""" - # FIXME: construct object with mandatory attributes with example values - # model = CommPrefsInput() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_commit.py b/clients/python-legacy/test/test_commit.py deleted file mode 100644 index c816b0a521e..00000000000 --- a/clients/python-legacy/test/test_commit.py +++ /dev/null @@ -1,36 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.commit import Commit - - -class TestCommit(unittest.TestCase): - """Commit unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCommit(self): - """Test Commit""" - # FIXME: construct object with mandatory attributes with example values - # model = Commit() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_commit_creation.py b/clients/python-legacy/test/test_commit_creation.py deleted file mode 100644 index 3c28d92d2c2..00000000000 --- a/clients/python-legacy/test/test_commit_creation.py +++ /dev/null @@ -1,36 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.commit_creation import CommitCreation - - -class TestCommitCreation(unittest.TestCase): - """CommitCreation unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCommitCreation(self): - """Test CommitCreation""" - # FIXME: construct object with mandatory attributes with example values - # model = CommitCreation() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_commit_list.py b/clients/python-legacy/test/test_commit_list.py deleted file mode 100644 index b91e82119fa..00000000000 --- a/clients/python-legacy/test/test_commit_list.py +++ /dev/null @@ -1,40 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.commit import Commit -from lakefs_client.model.pagination import Pagination -globals()['Commit'] = Commit -globals()['Pagination'] = Pagination -from lakefs_client.model.commit_list import CommitList - - -class TestCommitList(unittest.TestCase): - """CommitList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCommitList(self): - """Test CommitList""" - # FIXME: construct object with mandatory attributes with example values - # model = CommitList() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_commit_overrides.py b/clients/python-legacy/test/test_commit_overrides.py deleted file mode 100644 index 9be2808e939..00000000000 --- a/clients/python-legacy/test/test_commit_overrides.py +++ /dev/null @@ -1,36 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.commit_overrides import CommitOverrides - - -class TestCommitOverrides(unittest.TestCase): - """CommitOverrides unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCommitOverrides(self): - """Test CommitOverrides""" - # FIXME: construct object with mandatory attributes with example values - # model = CommitOverrides() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_commit_record_creation.py b/clients/python-legacy/test/test_commit_record_creation.py deleted file mode 100644 index 2ea743a5ae8..00000000000 --- a/clients/python-legacy/test/test_commit_record_creation.py +++ /dev/null @@ -1,36 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.commit_record_creation import CommitRecordCreation - - -class TestCommitRecordCreation(unittest.TestCase): - """CommitRecordCreation unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCommitRecordCreation(self): - """Test CommitRecordCreation""" - # FIXME: construct object with mandatory attributes with example values - # model = CommitRecordCreation() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_commits_api.py b/clients/python-legacy/test/test_commits_api.py deleted file mode 100644 index 92834e82f0d..00000000000 --- a/clients/python-legacy/test/test_commits_api.py +++ /dev/null @@ -1,43 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import unittest - -import lakefs_client -from lakefs_client.api.commits_api import CommitsApi # noqa: E501 - - -class TestCommitsApi(unittest.TestCase): - """CommitsApi unit test stubs""" - - def setUp(self): - self.api = CommitsApi() # noqa: E501 - - def tearDown(self): - pass - - def test_commit(self): - """Test case for commit - - create commit # noqa: E501 - """ - pass - - def test_get_commit(self): - """Test case for get_commit - - get commit # noqa: E501 - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_complete_presign_multipart_upload.py b/clients/python-legacy/test/test_complete_presign_multipart_upload.py deleted file mode 100644 index b7f33955bfd..00000000000 --- a/clients/python-legacy/test/test_complete_presign_multipart_upload.py +++ /dev/null @@ -1,38 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.upload_part import UploadPart -globals()['UploadPart'] = UploadPart -from lakefs_client.model.complete_presign_multipart_upload import CompletePresignMultipartUpload - - -class TestCompletePresignMultipartUpload(unittest.TestCase): - """CompletePresignMultipartUpload unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCompletePresignMultipartUpload(self): - """Test CompletePresignMultipartUpload""" - # FIXME: construct object with mandatory attributes with example values - # model = CompletePresignMultipartUpload() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_config.py b/clients/python-legacy/test/test_config.py deleted file mode 100644 index 0ca4e96f63a..00000000000 --- a/clients/python-legacy/test/test_config.py +++ /dev/null @@ -1,40 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.storage_config import StorageConfig -from lakefs_client.model.version_config import VersionConfig -globals()['StorageConfig'] = StorageConfig -globals()['VersionConfig'] = VersionConfig -from lakefs_client.model.config import Config - - -class TestConfig(unittest.TestCase): - """Config unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testConfig(self): - """Test Config""" - # FIXME: construct object with mandatory attributes with example values - # model = Config() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_config_api.py b/clients/python-legacy/test/test_config_api.py deleted file mode 100644 index cf3f4766511..00000000000 --- a/clients/python-legacy/test/test_config_api.py +++ /dev/null @@ -1,35 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import unittest - -import lakefs_client -from lakefs_client.api.config_api import ConfigApi # noqa: E501 - - -class TestConfigApi(unittest.TestCase): - """ConfigApi unit test stubs""" - - def setUp(self): - self.api = ConfigApi() # noqa: E501 - - def tearDown(self): - pass - - def test_get_config(self): - """Test case for get_config - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_credentials.py b/clients/python-legacy/test/test_credentials.py deleted file mode 100644 index 3ba553493e0..00000000000 --- a/clients/python-legacy/test/test_credentials.py +++ /dev/null @@ -1,36 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.credentials import Credentials - - -class TestCredentials(unittest.TestCase): - """Credentials unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCredentials(self): - """Test Credentials""" - # FIXME: construct object with mandatory attributes with example values - # model = Credentials() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_credentials_list.py b/clients/python-legacy/test/test_credentials_list.py deleted file mode 100644 index c742f0276ab..00000000000 --- a/clients/python-legacy/test/test_credentials_list.py +++ /dev/null @@ -1,40 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.credentials import Credentials -from lakefs_client.model.pagination import Pagination -globals()['Credentials'] = Credentials -globals()['Pagination'] = Pagination -from lakefs_client.model.credentials_list import CredentialsList - - -class TestCredentialsList(unittest.TestCase): - """CredentialsList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCredentialsList(self): - """Test CredentialsList""" - # FIXME: construct object with mandatory attributes with example values - # model = CredentialsList() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_credentials_with_secret.py b/clients/python-legacy/test/test_credentials_with_secret.py deleted file mode 100644 index 72867f2371b..00000000000 --- a/clients/python-legacy/test/test_credentials_with_secret.py +++ /dev/null @@ -1,36 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.credentials_with_secret import CredentialsWithSecret - - -class TestCredentialsWithSecret(unittest.TestCase): - """CredentialsWithSecret unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCredentialsWithSecret(self): - """Test CredentialsWithSecret""" - # FIXME: construct object with mandatory attributes with example values - # model = CredentialsWithSecret() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_current_user.py b/clients/python-legacy/test/test_current_user.py deleted file mode 100644 index 6d7f2d50b6f..00000000000 --- a/clients/python-legacy/test/test_current_user.py +++ /dev/null @@ -1,38 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.user import User -globals()['User'] = User -from lakefs_client.model.current_user import CurrentUser - - -class TestCurrentUser(unittest.TestCase): - """CurrentUser unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCurrentUser(self): - """Test CurrentUser""" - # FIXME: construct object with mandatory attributes with example values - # model = CurrentUser() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_diff.py b/clients/python-legacy/test/test_diff.py deleted file mode 100644 index 4d65f406e7d..00000000000 --- a/clients/python-legacy/test/test_diff.py +++ /dev/null @@ -1,36 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.diff import Diff - - -class TestDiff(unittest.TestCase): - """Diff unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testDiff(self): - """Test Diff""" - # FIXME: construct object with mandatory attributes with example values - # model = Diff() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_diff_list.py b/clients/python-legacy/test/test_diff_list.py deleted file mode 100644 index d30f7053ce5..00000000000 --- a/clients/python-legacy/test/test_diff_list.py +++ /dev/null @@ -1,40 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.diff import Diff -from lakefs_client.model.pagination import Pagination -globals()['Diff'] = Diff -globals()['Pagination'] = Pagination -from lakefs_client.model.diff_list import DiffList - - -class TestDiffList(unittest.TestCase): - """DiffList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testDiffList(self): - """Test DiffList""" - # FIXME: construct object with mandatory attributes with example values - # model = DiffList() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_error.py b/clients/python-legacy/test/test_error.py deleted file mode 100644 index 44a1218bb74..00000000000 --- a/clients/python-legacy/test/test_error.py +++ /dev/null @@ -1,36 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.error import Error - - -class TestError(unittest.TestCase): - """Error unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testError(self): - """Test Error""" - # FIXME: construct object with mandatory attributes with example values - # model = Error() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_error_no_acl.py b/clients/python-legacy/test/test_error_no_acl.py deleted file mode 100644 index d29e86f7b22..00000000000 --- a/clients/python-legacy/test/test_error_no_acl.py +++ /dev/null @@ -1,36 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.error_no_acl import ErrorNoACL - - -class TestErrorNoACL(unittest.TestCase): - """ErrorNoACL unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testErrorNoACL(self): - """Test ErrorNoACL""" - # FIXME: construct object with mandatory attributes with example values - # model = ErrorNoACL() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_experimental_api.py b/clients/python-legacy/test/test_experimental_api.py deleted file mode 100644 index 822d3fad4d0..00000000000 --- a/clients/python-legacy/test/test_experimental_api.py +++ /dev/null @@ -1,141 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import unittest - -import lakefs_client -from lakefs_client.api.experimental_api import ExperimentalApi # noqa: E501 - - -class TestExperimentalApi(unittest.TestCase): - """ExperimentalApi unit test stubs""" - - def setUp(self): - self.api = ExperimentalApi() # noqa: E501 - - def tearDown(self): - pass - - def test_abort_presign_multipart_upload(self): - """Test case for abort_presign_multipart_upload - - Abort a presign multipart upload # noqa: E501 - """ - pass - - def test_complete_presign_multipart_upload(self): - """Test case for complete_presign_multipart_upload - - Complete a presign multipart upload request # noqa: E501 - """ - pass - - def test_create_presign_multipart_upload(self): - """Test case for create_presign_multipart_upload - - Initiate a multipart upload # noqa: E501 - """ - pass - - def test_create_pull_request(self): - """Test case for create_pull_request - - create pull request # noqa: E501 - """ - pass - - def test_create_user_external_principal(self): - """Test case for create_user_external_principal - - attach external principal to user # noqa: E501 - """ - pass - - def test_delete_user_external_principal(self): - """Test case for delete_user_external_principal - - delete external principal from user # noqa: E501 - """ - pass - - def test_external_principal_login(self): - """Test case for external_principal_login - - perform a login using an external authenticator # noqa: E501 - """ - pass - - def test_get_external_principal(self): - """Test case for get_external_principal - - describe external principal by id # noqa: E501 - """ - pass - - def test_get_pull_request(self): - """Test case for get_pull_request - - get pull request # noqa: E501 - """ - pass - - def test_hard_reset_branch(self): - """Test case for hard_reset_branch - - hard reset branch # noqa: E501 - """ - pass - - def test_list_pull_requests(self): - """Test case for list_pull_requests - - list pull requests # noqa: E501 - """ - pass - - def test_list_user_external_principals(self): - """Test case for list_user_external_principals - - list user external policies attached to a user # noqa: E501 - """ - pass - - def test_merge_pull_request(self): - """Test case for merge_pull_request - - merge pull request # noqa: E501 - """ - pass - - def test_sts_login(self): - """Test case for sts_login - - perform a login with STS # noqa: E501 - """ - pass - - def test_update_object_user_metadata(self): - """Test case for update_object_user_metadata - - rewrite (all) object metadata # noqa: E501 - """ - pass - - def test_update_pull_request(self): - """Test case for update_pull_request - - update pull request # noqa: E501 - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_external_api.py b/clients/python-legacy/test/test_external_api.py deleted file mode 100644 index 9ca21eaad2c..00000000000 --- a/clients/python-legacy/test/test_external_api.py +++ /dev/null @@ -1,64 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import unittest - -import lakefs_client -from lakefs_client.api.external_api import ExternalApi # noqa: E501 - - -class TestExternalApi(unittest.TestCase): - """ExternalApi unit test stubs""" - - def setUp(self): - self.api = ExternalApi() # noqa: E501 - - def tearDown(self): - pass - - def test_create_user_external_principal(self): - """Test case for create_user_external_principal - - attach external principal to user # noqa: E501 - """ - pass - - def test_delete_user_external_principal(self): - """Test case for delete_user_external_principal - - delete external principal from user # noqa: E501 - """ - pass - - def test_external_principal_login(self): - """Test case for external_principal_login - - perform a login using an external authenticator # noqa: E501 - """ - pass - - def test_get_external_principal(self): - """Test case for get_external_principal - - describe external principal by id # noqa: E501 - """ - pass - - def test_list_user_external_principals(self): - """Test case for list_user_external_principals - - list user external policies attached to a user # noqa: E501 - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_external_login_information.py b/clients/python-legacy/test/test_external_login_information.py deleted file mode 100644 index 2660def38f1..00000000000 --- a/clients/python-legacy/test/test_external_login_information.py +++ /dev/null @@ -1,36 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.external_login_information import ExternalLoginInformation - - -class TestExternalLoginInformation(unittest.TestCase): - """ExternalLoginInformation unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testExternalLoginInformation(self): - """Test ExternalLoginInformation""" - # FIXME: construct object with mandatory attributes with example values - # model = ExternalLoginInformation() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_external_principal.py b/clients/python-legacy/test/test_external_principal.py deleted file mode 100644 index 5a41a926d38..00000000000 --- a/clients/python-legacy/test/test_external_principal.py +++ /dev/null @@ -1,38 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.external_principal_settings import ExternalPrincipalSettings -globals()['ExternalPrincipalSettings'] = ExternalPrincipalSettings -from lakefs_client.model.external_principal import ExternalPrincipal - - -class TestExternalPrincipal(unittest.TestCase): - """ExternalPrincipal unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testExternalPrincipal(self): - """Test ExternalPrincipal""" - # FIXME: construct object with mandatory attributes with example values - # model = ExternalPrincipal() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_external_principal_creation.py b/clients/python-legacy/test/test_external_principal_creation.py deleted file mode 100644 index 919a82a06d8..00000000000 --- a/clients/python-legacy/test/test_external_principal_creation.py +++ /dev/null @@ -1,38 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.external_principal_settings import ExternalPrincipalSettings -globals()['ExternalPrincipalSettings'] = ExternalPrincipalSettings -from lakefs_client.model.external_principal_creation import ExternalPrincipalCreation - - -class TestExternalPrincipalCreation(unittest.TestCase): - """ExternalPrincipalCreation unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testExternalPrincipalCreation(self): - """Test ExternalPrincipalCreation""" - # FIXME: construct object with mandatory attributes with example values - # model = ExternalPrincipalCreation() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_external_principal_list.py b/clients/python-legacy/test/test_external_principal_list.py deleted file mode 100644 index 376b2de9ecc..00000000000 --- a/clients/python-legacy/test/test_external_principal_list.py +++ /dev/null @@ -1,40 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.external_principal import ExternalPrincipal -from lakefs_client.model.pagination import Pagination -globals()['ExternalPrincipal'] = ExternalPrincipal -globals()['Pagination'] = Pagination -from lakefs_client.model.external_principal_list import ExternalPrincipalList - - -class TestExternalPrincipalList(unittest.TestCase): - """ExternalPrincipalList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testExternalPrincipalList(self): - """Test ExternalPrincipalList""" - # FIXME: construct object with mandatory attributes with example values - # model = ExternalPrincipalList() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_external_principal_settings.py b/clients/python-legacy/test/test_external_principal_settings.py deleted file mode 100644 index 52fd35a115b..00000000000 --- a/clients/python-legacy/test/test_external_principal_settings.py +++ /dev/null @@ -1,36 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.external_principal_settings import ExternalPrincipalSettings - - -class TestExternalPrincipalSettings(unittest.TestCase): - """ExternalPrincipalSettings unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testExternalPrincipalSettings(self): - """Test ExternalPrincipalSettings""" - # FIXME: construct object with mandatory attributes with example values - # model = ExternalPrincipalSettings() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_find_merge_base_result.py b/clients/python-legacy/test/test_find_merge_base_result.py deleted file mode 100644 index 6b9b4e6bfd2..00000000000 --- a/clients/python-legacy/test/test_find_merge_base_result.py +++ /dev/null @@ -1,36 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.find_merge_base_result import FindMergeBaseResult - - -class TestFindMergeBaseResult(unittest.TestCase): - """FindMergeBaseResult unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testFindMergeBaseResult(self): - """Test FindMergeBaseResult""" - # FIXME: construct object with mandatory attributes with example values - # model = FindMergeBaseResult() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_garbage_collection_config.py b/clients/python-legacy/test/test_garbage_collection_config.py deleted file mode 100644 index b72f08e37af..00000000000 --- a/clients/python-legacy/test/test_garbage_collection_config.py +++ /dev/null @@ -1,36 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.garbage_collection_config import GarbageCollectionConfig - - -class TestGarbageCollectionConfig(unittest.TestCase): - """GarbageCollectionConfig unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testGarbageCollectionConfig(self): - """Test GarbageCollectionConfig""" - # FIXME: construct object with mandatory attributes with example values - # model = GarbageCollectionConfig() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_garbage_collection_prepare_response.py b/clients/python-legacy/test/test_garbage_collection_prepare_response.py deleted file mode 100644 index 8cc3672fbd8..00000000000 --- a/clients/python-legacy/test/test_garbage_collection_prepare_response.py +++ /dev/null @@ -1,36 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.garbage_collection_prepare_response import GarbageCollectionPrepareResponse - - -class TestGarbageCollectionPrepareResponse(unittest.TestCase): - """GarbageCollectionPrepareResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testGarbageCollectionPrepareResponse(self): - """Test GarbageCollectionPrepareResponse""" - # FIXME: construct object with mandatory attributes with example values - # model = GarbageCollectionPrepareResponse() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_garbage_collection_rule.py b/clients/python-legacy/test/test_garbage_collection_rule.py deleted file mode 100644 index 8fc3358bbf3..00000000000 --- a/clients/python-legacy/test/test_garbage_collection_rule.py +++ /dev/null @@ -1,36 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.garbage_collection_rule import GarbageCollectionRule - - -class TestGarbageCollectionRule(unittest.TestCase): - """GarbageCollectionRule unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testGarbageCollectionRule(self): - """Test GarbageCollectionRule""" - # FIXME: construct object with mandatory attributes with example values - # model = GarbageCollectionRule() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_garbage_collection_rules.py b/clients/python-legacy/test/test_garbage_collection_rules.py deleted file mode 100644 index 1b12d33338e..00000000000 --- a/clients/python-legacy/test/test_garbage_collection_rules.py +++ /dev/null @@ -1,38 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.garbage_collection_rule import GarbageCollectionRule -globals()['GarbageCollectionRule'] = GarbageCollectionRule -from lakefs_client.model.garbage_collection_rules import GarbageCollectionRules - - -class TestGarbageCollectionRules(unittest.TestCase): - """GarbageCollectionRules unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testGarbageCollectionRules(self): - """Test GarbageCollectionRules""" - # FIXME: construct object with mandatory attributes with example values - # model = GarbageCollectionRules() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_group.py b/clients/python-legacy/test/test_group.py deleted file mode 100644 index 47d95d11c3b..00000000000 --- a/clients/python-legacy/test/test_group.py +++ /dev/null @@ -1,36 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.group import Group - - -class TestGroup(unittest.TestCase): - """Group unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testGroup(self): - """Test Group""" - # FIXME: construct object with mandatory attributes with example values - # model = Group() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_group_creation.py b/clients/python-legacy/test/test_group_creation.py deleted file mode 100644 index 236363ed63d..00000000000 --- a/clients/python-legacy/test/test_group_creation.py +++ /dev/null @@ -1,36 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.group_creation import GroupCreation - - -class TestGroupCreation(unittest.TestCase): - """GroupCreation unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testGroupCreation(self): - """Test GroupCreation""" - # FIXME: construct object with mandatory attributes with example values - # model = GroupCreation() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_group_list.py b/clients/python-legacy/test/test_group_list.py deleted file mode 100644 index e4097e8c342..00000000000 --- a/clients/python-legacy/test/test_group_list.py +++ /dev/null @@ -1,40 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.group import Group -from lakefs_client.model.pagination import Pagination -globals()['Group'] = Group -globals()['Pagination'] = Pagination -from lakefs_client.model.group_list import GroupList - - -class TestGroupList(unittest.TestCase): - """GroupList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testGroupList(self): - """Test GroupList""" - # FIXME: construct object with mandatory attributes with example values - # model = GroupList() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_health_check_api.py b/clients/python-legacy/test/test_health_check_api.py deleted file mode 100644 index 23c862ffb05..00000000000 --- a/clients/python-legacy/test/test_health_check_api.py +++ /dev/null @@ -1,35 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import unittest - -import lakefs_client -from lakefs_client.api.health_check_api import HealthCheckApi # noqa: E501 - - -class TestHealthCheckApi(unittest.TestCase): - """HealthCheckApi unit test stubs""" - - def setUp(self): - self.api = HealthCheckApi() # noqa: E501 - - def tearDown(self): - pass - - def test_health_check(self): - """Test case for health_check - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_hook_run.py b/clients/python-legacy/test/test_hook_run.py deleted file mode 100644 index 5d989fffade..00000000000 --- a/clients/python-legacy/test/test_hook_run.py +++ /dev/null @@ -1,36 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.hook_run import HookRun - - -class TestHookRun(unittest.TestCase): - """HookRun unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testHookRun(self): - """Test HookRun""" - # FIXME: construct object with mandatory attributes with example values - # model = HookRun() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_hook_run_list.py b/clients/python-legacy/test/test_hook_run_list.py deleted file mode 100644 index 31c2504c25f..00000000000 --- a/clients/python-legacy/test/test_hook_run_list.py +++ /dev/null @@ -1,40 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.hook_run import HookRun -from lakefs_client.model.pagination import Pagination -globals()['HookRun'] = HookRun -globals()['Pagination'] = Pagination -from lakefs_client.model.hook_run_list import HookRunList - - -class TestHookRunList(unittest.TestCase): - """HookRunList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testHookRunList(self): - """Test HookRunList""" - # FIXME: construct object with mandatory attributes with example values - # model = HookRunList() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_import_api.py b/clients/python-legacy/test/test_import_api.py deleted file mode 100644 index ab248b32cc6..00000000000 --- a/clients/python-legacy/test/test_import_api.py +++ /dev/null @@ -1,50 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import unittest - -import lakefs_client -from lakefs_client.api.import_api import ImportApi # noqa: E501 - - -class TestImportApi(unittest.TestCase): - """ImportApi unit test stubs""" - - def setUp(self): - self.api = ImportApi() # noqa: E501 - - def tearDown(self): - pass - - def test_import_cancel(self): - """Test case for import_cancel - - cancel ongoing import # noqa: E501 - """ - pass - - def test_import_start(self): - """Test case for import_start - - import data from object store # noqa: E501 - """ - pass - - def test_import_status(self): - """Test case for import_status - - get import status # noqa: E501 - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_import_creation.py b/clients/python-legacy/test/test_import_creation.py deleted file mode 100644 index 69f2b76fba9..00000000000 --- a/clients/python-legacy/test/test_import_creation.py +++ /dev/null @@ -1,40 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.commit_creation import CommitCreation -from lakefs_client.model.import_location import ImportLocation -globals()['CommitCreation'] = CommitCreation -globals()['ImportLocation'] = ImportLocation -from lakefs_client.model.import_creation import ImportCreation - - -class TestImportCreation(unittest.TestCase): - """ImportCreation unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testImportCreation(self): - """Test ImportCreation""" - # FIXME: construct object with mandatory attributes with example values - # model = ImportCreation() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_import_creation_response.py b/clients/python-legacy/test/test_import_creation_response.py deleted file mode 100644 index 15dd8719fca..00000000000 --- a/clients/python-legacy/test/test_import_creation_response.py +++ /dev/null @@ -1,36 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.import_creation_response import ImportCreationResponse - - -class TestImportCreationResponse(unittest.TestCase): - """ImportCreationResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testImportCreationResponse(self): - """Test ImportCreationResponse""" - # FIXME: construct object with mandatory attributes with example values - # model = ImportCreationResponse() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_import_location.py b/clients/python-legacy/test/test_import_location.py deleted file mode 100644 index ee924a15e10..00000000000 --- a/clients/python-legacy/test/test_import_location.py +++ /dev/null @@ -1,36 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.import_location import ImportLocation - - -class TestImportLocation(unittest.TestCase): - """ImportLocation unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testImportLocation(self): - """Test ImportLocation""" - # FIXME: construct object with mandatory attributes with example values - # model = ImportLocation() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_import_status.py b/clients/python-legacy/test/test_import_status.py deleted file mode 100644 index da9710efdc9..00000000000 --- a/clients/python-legacy/test/test_import_status.py +++ /dev/null @@ -1,40 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.commit import Commit -from lakefs_client.model.error import Error -globals()['Commit'] = Commit -globals()['Error'] = Error -from lakefs_client.model.import_status import ImportStatus - - -class TestImportStatus(unittest.TestCase): - """ImportStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testImportStatus(self): - """Test ImportStatus""" - # FIXME: construct object with mandatory attributes with example values - # model = ImportStatus() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_inline_object.py b/clients/python-legacy/test/test_inline_object.py deleted file mode 100644 index 9be7ce18e57..00000000000 --- a/clients/python-legacy/test/test_inline_object.py +++ /dev/null @@ -1,36 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.inline_object import InlineObject - - -class TestInlineObject(unittest.TestCase): - """InlineObject unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testInlineObject(self): - """Test InlineObject""" - # FIXME: construct object with mandatory attributes with example values - # model = InlineObject() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_inline_object1.py b/clients/python-legacy/test/test_inline_object1.py deleted file mode 100644 index e931a2330a3..00000000000 --- a/clients/python-legacy/test/test_inline_object1.py +++ /dev/null @@ -1,36 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.inline_object1 import InlineObject1 - - -class TestInlineObject1(unittest.TestCase): - """InlineObject1 unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testInlineObject1(self): - """Test InlineObject1""" - # FIXME: construct object with mandatory attributes with example values - # model = InlineObject1() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_installation_usage_report.py b/clients/python-legacy/test/test_installation_usage_report.py deleted file mode 100644 index 0f0dcfdd4ae..00000000000 --- a/clients/python-legacy/test/test_installation_usage_report.py +++ /dev/null @@ -1,38 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.usage_report import UsageReport -globals()['UsageReport'] = UsageReport -from lakefs_client.model.installation_usage_report import InstallationUsageReport - - -class TestInstallationUsageReport(unittest.TestCase): - """InstallationUsageReport unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testInstallationUsageReport(self): - """Test InstallationUsageReport""" - # FIXME: construct object with mandatory attributes with example values - # model = InstallationUsageReport() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_internal_api.py b/clients/python-legacy/test/test_internal_api.py deleted file mode 100644 index d1084aa6c89..00000000000 --- a/clients/python-legacy/test/test_internal_api.py +++ /dev/null @@ -1,214 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import unittest - -import lakefs_client -from lakefs_client.api.internal_api import InternalApi # noqa: E501 - - -class TestInternalApi(unittest.TestCase): - """InternalApi unit test stubs""" - - def setUp(self): - self.api = InternalApi() # noqa: E501 - - def tearDown(self): - pass - - def test_create_branch_protection_rule_preflight(self): - """Test case for create_branch_protection_rule_preflight - - """ - pass - - def test_create_commit_record(self): - """Test case for create_commit_record - - create commit record # noqa: E501 - """ - pass - - def test_create_symlink_file(self): - """Test case for create_symlink_file - - creates symlink files corresponding to the given directory # noqa: E501 - """ - pass - - def test_delete_repository_metadata(self): - """Test case for delete_repository_metadata - - delete repository metadata # noqa: E501 - """ - pass - - def test_dump_refs(self): - """Test case for dump_refs - - Dump repository refs (tags, commits, branches) to object store Deprecated: a new API will introduce long running operations # noqa: E501 - """ - pass - - def test_get_auth_capabilities(self): - """Test case for get_auth_capabilities - - list authentication capabilities supported # noqa: E501 - """ - pass - - def test_get_garbage_collection_config(self): - """Test case for get_garbage_collection_config - - """ - pass - - def test_get_lake_fs_version(self): - """Test case for get_lake_fs_version - - """ - pass - - def test_get_metadata_object(self): - """Test case for get_metadata_object - - return a lakeFS metadata object by ID # noqa: E501 - """ - pass - - def test_get_setup_state(self): - """Test case for get_setup_state - - check if the lakeFS installation is already set up # noqa: E501 - """ - pass - - def test_get_storage_config(self): - """Test case for get_storage_config - - """ - pass - - def test_get_usage_report_summary(self): - """Test case for get_usage_report_summary - - get usage report summary # noqa: E501 - """ - pass - - def test_internal_create_branch_protection_rule(self): - """Test case for internal_create_branch_protection_rule - - """ - pass - - def test_internal_delete_branch_protection_rule(self): - """Test case for internal_delete_branch_protection_rule - - """ - pass - - def test_internal_delete_garbage_collection_rules(self): - """Test case for internal_delete_garbage_collection_rules - - """ - pass - - def test_internal_get_branch_protection_rules(self): - """Test case for internal_get_branch_protection_rules - - get branch protection rules # noqa: E501 - """ - pass - - def test_internal_get_garbage_collection_rules(self): - """Test case for internal_get_garbage_collection_rules - - """ - pass - - def test_internal_set_garbage_collection_rules(self): - """Test case for internal_set_garbage_collection_rules - - """ - pass - - def test_post_stats_events(self): - """Test case for post_stats_events - - post stats events, this endpoint is meant for internal use only # noqa: E501 - """ - pass - - def test_prepare_garbage_collection_commits(self): - """Test case for prepare_garbage_collection_commits - - save lists of active commits for garbage collection # noqa: E501 - """ - pass - - def test_prepare_garbage_collection_uncommitted(self): - """Test case for prepare_garbage_collection_uncommitted - - save repository uncommitted metadata for garbage collection # noqa: E501 - """ - pass - - def test_restore_refs(self): - """Test case for restore_refs - - Restore repository refs (tags, commits, branches) from object store. Deprecated: a new API will introduce long running operations # noqa: E501 - """ - pass - - def test_set_garbage_collection_rules_preflight(self): - """Test case for set_garbage_collection_rules_preflight - - """ - pass - - def test_set_repository_metadata(self): - """Test case for set_repository_metadata - - set repository metadata # noqa: E501 - """ - pass - - def test_setup(self): - """Test case for setup - - setup lakeFS and create a first user # noqa: E501 - """ - pass - - def test_setup_comm_prefs(self): - """Test case for setup_comm_prefs - - setup communications preferences # noqa: E501 - """ - pass - - def test_stage_object(self): - """Test case for stage_object - - stage an object's metadata for the given branch # noqa: E501 - """ - pass - - def test_upload_object_preflight(self): - """Test case for upload_object_preflight - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_login_config.py b/clients/python-legacy/test/test_login_config.py deleted file mode 100644 index ac858e7996f..00000000000 --- a/clients/python-legacy/test/test_login_config.py +++ /dev/null @@ -1,36 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.login_config import LoginConfig - - -class TestLoginConfig(unittest.TestCase): - """LoginConfig unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testLoginConfig(self): - """Test LoginConfig""" - # FIXME: construct object with mandatory attributes with example values - # model = LoginConfig() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_login_information.py b/clients/python-legacy/test/test_login_information.py deleted file mode 100644 index 4659baf4c98..00000000000 --- a/clients/python-legacy/test/test_login_information.py +++ /dev/null @@ -1,36 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.login_information import LoginInformation - - -class TestLoginInformation(unittest.TestCase): - """LoginInformation unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testLoginInformation(self): - """Test LoginInformation""" - # FIXME: construct object with mandatory attributes with example values - # model = LoginInformation() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_merge.py b/clients/python-legacy/test/test_merge.py deleted file mode 100644 index 28a1a181fdb..00000000000 --- a/clients/python-legacy/test/test_merge.py +++ /dev/null @@ -1,36 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.merge import Merge - - -class TestMerge(unittest.TestCase): - """Merge unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testMerge(self): - """Test Merge""" - # FIXME: construct object with mandatory attributes with example values - # model = Merge() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_merge_result.py b/clients/python-legacy/test/test_merge_result.py deleted file mode 100644 index d6f0eb74fd0..00000000000 --- a/clients/python-legacy/test/test_merge_result.py +++ /dev/null @@ -1,36 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.merge_result import MergeResult - - -class TestMergeResult(unittest.TestCase): - """MergeResult unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testMergeResult(self): - """Test MergeResult""" - # FIXME: construct object with mandatory attributes with example values - # model = MergeResult() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_meta_range_creation.py b/clients/python-legacy/test/test_meta_range_creation.py deleted file mode 100644 index 73914a2291b..00000000000 --- a/clients/python-legacy/test/test_meta_range_creation.py +++ /dev/null @@ -1,38 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.range_metadata import RangeMetadata -globals()['RangeMetadata'] = RangeMetadata -from lakefs_client.model.meta_range_creation import MetaRangeCreation - - -class TestMetaRangeCreation(unittest.TestCase): - """MetaRangeCreation unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testMetaRangeCreation(self): - """Test MetaRangeCreation""" - # FIXME: construct object with mandatory attributes with example values - # model = MetaRangeCreation() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_meta_range_creation_response.py b/clients/python-legacy/test/test_meta_range_creation_response.py deleted file mode 100644 index 857e526f445..00000000000 --- a/clients/python-legacy/test/test_meta_range_creation_response.py +++ /dev/null @@ -1,36 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.meta_range_creation_response import MetaRangeCreationResponse - - -class TestMetaRangeCreationResponse(unittest.TestCase): - """MetaRangeCreationResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testMetaRangeCreationResponse(self): - """Test MetaRangeCreationResponse""" - # FIXME: construct object with mandatory attributes with example values - # model = MetaRangeCreationResponse() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_metadata_api.py b/clients/python-legacy/test/test_metadata_api.py deleted file mode 100644 index b1a16efdb0a..00000000000 --- a/clients/python-legacy/test/test_metadata_api.py +++ /dev/null @@ -1,43 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import unittest - -import lakefs_client -from lakefs_client.api.metadata_api import MetadataApi # noqa: E501 - - -class TestMetadataApi(unittest.TestCase): - """MetadataApi unit test stubs""" - - def setUp(self): - self.api = MetadataApi() # noqa: E501 - - def tearDown(self): - pass - - def test_get_meta_range(self): - """Test case for get_meta_range - - return URI to a meta-range file # noqa: E501 - """ - pass - - def test_get_range(self): - """Test case for get_range - - return URI to a range file # noqa: E501 - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_object_copy_creation.py b/clients/python-legacy/test/test_object_copy_creation.py deleted file mode 100644 index 93a42a2cf30..00000000000 --- a/clients/python-legacy/test/test_object_copy_creation.py +++ /dev/null @@ -1,36 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.object_copy_creation import ObjectCopyCreation - - -class TestObjectCopyCreation(unittest.TestCase): - """ObjectCopyCreation unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testObjectCopyCreation(self): - """Test ObjectCopyCreation""" - # FIXME: construct object with mandatory attributes with example values - # model = ObjectCopyCreation() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_object_error.py b/clients/python-legacy/test/test_object_error.py deleted file mode 100644 index 0a9a3042d39..00000000000 --- a/clients/python-legacy/test/test_object_error.py +++ /dev/null @@ -1,36 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.object_error import ObjectError - - -class TestObjectError(unittest.TestCase): - """ObjectError unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testObjectError(self): - """Test ObjectError""" - # FIXME: construct object with mandatory attributes with example values - # model = ObjectError() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_object_error_list.py b/clients/python-legacy/test/test_object_error_list.py deleted file mode 100644 index c2d2225c262..00000000000 --- a/clients/python-legacy/test/test_object_error_list.py +++ /dev/null @@ -1,38 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.object_error import ObjectError -globals()['ObjectError'] = ObjectError -from lakefs_client.model.object_error_list import ObjectErrorList - - -class TestObjectErrorList(unittest.TestCase): - """ObjectErrorList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testObjectErrorList(self): - """Test ObjectErrorList""" - # FIXME: construct object with mandatory attributes with example values - # model = ObjectErrorList() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_object_stage_creation.py b/clients/python-legacy/test/test_object_stage_creation.py deleted file mode 100644 index add09b54c01..00000000000 --- a/clients/python-legacy/test/test_object_stage_creation.py +++ /dev/null @@ -1,38 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.object_user_metadata import ObjectUserMetadata -globals()['ObjectUserMetadata'] = ObjectUserMetadata -from lakefs_client.model.object_stage_creation import ObjectStageCreation - - -class TestObjectStageCreation(unittest.TestCase): - """ObjectStageCreation unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testObjectStageCreation(self): - """Test ObjectStageCreation""" - # FIXME: construct object with mandatory attributes with example values - # model = ObjectStageCreation() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_object_stats.py b/clients/python-legacy/test/test_object_stats.py deleted file mode 100644 index 4956291b1f9..00000000000 --- a/clients/python-legacy/test/test_object_stats.py +++ /dev/null @@ -1,38 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.object_user_metadata import ObjectUserMetadata -globals()['ObjectUserMetadata'] = ObjectUserMetadata -from lakefs_client.model.object_stats import ObjectStats - - -class TestObjectStats(unittest.TestCase): - """ObjectStats unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testObjectStats(self): - """Test ObjectStats""" - # FIXME: construct object with mandatory attributes with example values - # model = ObjectStats() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_object_stats_list.py b/clients/python-legacy/test/test_object_stats_list.py deleted file mode 100644 index e4bdd4899fa..00000000000 --- a/clients/python-legacy/test/test_object_stats_list.py +++ /dev/null @@ -1,40 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.object_stats import ObjectStats -from lakefs_client.model.pagination import Pagination -globals()['ObjectStats'] = ObjectStats -globals()['Pagination'] = Pagination -from lakefs_client.model.object_stats_list import ObjectStatsList - - -class TestObjectStatsList(unittest.TestCase): - """ObjectStatsList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testObjectStatsList(self): - """Test ObjectStatsList""" - # FIXME: construct object with mandatory attributes with example values - # model = ObjectStatsList() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_object_user_metadata.py b/clients/python-legacy/test/test_object_user_metadata.py deleted file mode 100644 index ffb1edadaea..00000000000 --- a/clients/python-legacy/test/test_object_user_metadata.py +++ /dev/null @@ -1,36 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.object_user_metadata import ObjectUserMetadata - - -class TestObjectUserMetadata(unittest.TestCase): - """ObjectUserMetadata unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testObjectUserMetadata(self): - """Test ObjectUserMetadata""" - # FIXME: construct object with mandatory attributes with example values - # model = ObjectUserMetadata() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_objects_api.py b/clients/python-legacy/test/test_objects_api.py deleted file mode 100644 index a1572dac1db..00000000000 --- a/clients/python-legacy/test/test_objects_api.py +++ /dev/null @@ -1,98 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import unittest - -import lakefs_client -from lakefs_client.api.objects_api import ObjectsApi # noqa: E501 - - -class TestObjectsApi(unittest.TestCase): - """ObjectsApi unit test stubs""" - - def setUp(self): - self.api = ObjectsApi() # noqa: E501 - - def tearDown(self): - pass - - def test_copy_object(self): - """Test case for copy_object - - create a copy of an object # noqa: E501 - """ - pass - - def test_delete_object(self): - """Test case for delete_object - - delete object. Missing objects will not return a NotFound error. # noqa: E501 - """ - pass - - def test_delete_objects(self): - """Test case for delete_objects - - delete objects. Missing objects will not return a NotFound error. # noqa: E501 - """ - pass - - def test_get_object(self): - """Test case for get_object - - get object content # noqa: E501 - """ - pass - - def test_get_underlying_properties(self): - """Test case for get_underlying_properties - - get object properties on underlying storage # noqa: E501 - """ - pass - - def test_head_object(self): - """Test case for head_object - - check if object exists # noqa: E501 - """ - pass - - def test_list_objects(self): - """Test case for list_objects - - list objects under a given prefix # noqa: E501 - """ - pass - - def test_stat_object(self): - """Test case for stat_object - - get object metadata # noqa: E501 - """ - pass - - def test_update_object_user_metadata(self): - """Test case for update_object_user_metadata - - rewrite (all) object metadata # noqa: E501 - """ - pass - - def test_upload_object(self): - """Test case for upload_object - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_pagination.py b/clients/python-legacy/test/test_pagination.py deleted file mode 100644 index 29c874cf92b..00000000000 --- a/clients/python-legacy/test/test_pagination.py +++ /dev/null @@ -1,36 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.pagination import Pagination - - -class TestPagination(unittest.TestCase): - """Pagination unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testPagination(self): - """Test Pagination""" - # FIXME: construct object with mandatory attributes with example values - # model = Pagination() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_path_list.py b/clients/python-legacy/test/test_path_list.py deleted file mode 100644 index ab58f8c8aea..00000000000 --- a/clients/python-legacy/test/test_path_list.py +++ /dev/null @@ -1,36 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.path_list import PathList - - -class TestPathList(unittest.TestCase): - """PathList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testPathList(self): - """Test PathList""" - # FIXME: construct object with mandatory attributes with example values - # model = PathList() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_policy.py b/clients/python-legacy/test/test_policy.py deleted file mode 100644 index ff308671256..00000000000 --- a/clients/python-legacy/test/test_policy.py +++ /dev/null @@ -1,38 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.statement import Statement -globals()['Statement'] = Statement -from lakefs_client.model.policy import Policy - - -class TestPolicy(unittest.TestCase): - """Policy unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testPolicy(self): - """Test Policy""" - # FIXME: construct object with mandatory attributes with example values - # model = Policy() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_policy_list.py b/clients/python-legacy/test/test_policy_list.py deleted file mode 100644 index 19996b83bd8..00000000000 --- a/clients/python-legacy/test/test_policy_list.py +++ /dev/null @@ -1,40 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.pagination import Pagination -from lakefs_client.model.policy import Policy -globals()['Pagination'] = Pagination -globals()['Policy'] = Policy -from lakefs_client.model.policy_list import PolicyList - - -class TestPolicyList(unittest.TestCase): - """PolicyList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testPolicyList(self): - """Test PolicyList""" - # FIXME: construct object with mandatory attributes with example values - # model = PolicyList() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_prepare_gc_uncommitted_request.py b/clients/python-legacy/test/test_prepare_gc_uncommitted_request.py deleted file mode 100644 index cbcb8569fda..00000000000 --- a/clients/python-legacy/test/test_prepare_gc_uncommitted_request.py +++ /dev/null @@ -1,36 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.prepare_gc_uncommitted_request import PrepareGCUncommittedRequest - - -class TestPrepareGCUncommittedRequest(unittest.TestCase): - """PrepareGCUncommittedRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testPrepareGCUncommittedRequest(self): - """Test PrepareGCUncommittedRequest""" - # FIXME: construct object with mandatory attributes with example values - # model = PrepareGCUncommittedRequest() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_prepare_gc_uncommitted_response.py b/clients/python-legacy/test/test_prepare_gc_uncommitted_response.py deleted file mode 100644 index 1bb6c13571d..00000000000 --- a/clients/python-legacy/test/test_prepare_gc_uncommitted_response.py +++ /dev/null @@ -1,36 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.prepare_gc_uncommitted_response import PrepareGCUncommittedResponse - - -class TestPrepareGCUncommittedResponse(unittest.TestCase): - """PrepareGCUncommittedResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testPrepareGCUncommittedResponse(self): - """Test PrepareGCUncommittedResponse""" - # FIXME: construct object with mandatory attributes with example values - # model = PrepareGCUncommittedResponse() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_presign_multipart_upload.py b/clients/python-legacy/test/test_presign_multipart_upload.py deleted file mode 100644 index 97affaec3ba..00000000000 --- a/clients/python-legacy/test/test_presign_multipart_upload.py +++ /dev/null @@ -1,36 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.presign_multipart_upload import PresignMultipartUpload - - -class TestPresignMultipartUpload(unittest.TestCase): - """PresignMultipartUpload unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testPresignMultipartUpload(self): - """Test PresignMultipartUpload""" - # FIXME: construct object with mandatory attributes with example values - # model = PresignMultipartUpload() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_pull_request.py b/clients/python-legacy/test/test_pull_request.py deleted file mode 100644 index b38afd65b0b..00000000000 --- a/clients/python-legacy/test/test_pull_request.py +++ /dev/null @@ -1,40 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.pull_request_all_of import PullRequestAllOf -from lakefs_client.model.pull_request_basic import PullRequestBasic -globals()['PullRequestAllOf'] = PullRequestAllOf -globals()['PullRequestBasic'] = PullRequestBasic -from lakefs_client.model.pull_request import PullRequest - - -class TestPullRequest(unittest.TestCase): - """PullRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testPullRequest(self): - """Test PullRequest""" - # FIXME: construct object with mandatory attributes with example values - # model = PullRequest() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_pull_request_all_of.py b/clients/python-legacy/test/test_pull_request_all_of.py deleted file mode 100644 index 305c9362589..00000000000 --- a/clients/python-legacy/test/test_pull_request_all_of.py +++ /dev/null @@ -1,36 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.pull_request_all_of import PullRequestAllOf - - -class TestPullRequestAllOf(unittest.TestCase): - """PullRequestAllOf unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testPullRequestAllOf(self): - """Test PullRequestAllOf""" - # FIXME: construct object with mandatory attributes with example values - # model = PullRequestAllOf() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_pull_request_basic.py b/clients/python-legacy/test/test_pull_request_basic.py deleted file mode 100644 index c7f0c9bd2ea..00000000000 --- a/clients/python-legacy/test/test_pull_request_basic.py +++ /dev/null @@ -1,36 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.pull_request_basic import PullRequestBasic - - -class TestPullRequestBasic(unittest.TestCase): - """PullRequestBasic unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testPullRequestBasic(self): - """Test PullRequestBasic""" - # FIXME: construct object with mandatory attributes with example values - # model = PullRequestBasic() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_pull_request_creation.py b/clients/python-legacy/test/test_pull_request_creation.py deleted file mode 100644 index 7bd4e724af9..00000000000 --- a/clients/python-legacy/test/test_pull_request_creation.py +++ /dev/null @@ -1,36 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.pull_request_creation import PullRequestCreation - - -class TestPullRequestCreation(unittest.TestCase): - """PullRequestCreation unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testPullRequestCreation(self): - """Test PullRequestCreation""" - # FIXME: construct object with mandatory attributes with example values - # model = PullRequestCreation() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_pull_request_creation_response.py b/clients/python-legacy/test/test_pull_request_creation_response.py deleted file mode 100644 index 2fda077322e..00000000000 --- a/clients/python-legacy/test/test_pull_request_creation_response.py +++ /dev/null @@ -1,36 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.pull_request_creation_response import PullRequestCreationResponse - - -class TestPullRequestCreationResponse(unittest.TestCase): - """PullRequestCreationResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testPullRequestCreationResponse(self): - """Test PullRequestCreationResponse""" - # FIXME: construct object with mandatory attributes with example values - # model = PullRequestCreationResponse() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_pull_requests_list.py b/clients/python-legacy/test/test_pull_requests_list.py deleted file mode 100644 index 0fe7d98c498..00000000000 --- a/clients/python-legacy/test/test_pull_requests_list.py +++ /dev/null @@ -1,40 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.pagination import Pagination -from lakefs_client.model.pull_request import PullRequest -globals()['Pagination'] = Pagination -globals()['PullRequest'] = PullRequest -from lakefs_client.model.pull_requests_list import PullRequestsList - - -class TestPullRequestsList(unittest.TestCase): - """PullRequestsList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testPullRequestsList(self): - """Test PullRequestsList""" - # FIXME: construct object with mandatory attributes with example values - # model = PullRequestsList() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_pulls_api.py b/clients/python-legacy/test/test_pulls_api.py deleted file mode 100644 index 92f1416276f..00000000000 --- a/clients/python-legacy/test/test_pulls_api.py +++ /dev/null @@ -1,64 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import unittest - -import lakefs_client -from lakefs_client.api.pulls_api import PullsApi # noqa: E501 - - -class TestPullsApi(unittest.TestCase): - """PullsApi unit test stubs""" - - def setUp(self): - self.api = PullsApi() # noqa: E501 - - def tearDown(self): - pass - - def test_create_pull_request(self): - """Test case for create_pull_request - - create pull request # noqa: E501 - """ - pass - - def test_get_pull_request(self): - """Test case for get_pull_request - - get pull request # noqa: E501 - """ - pass - - def test_list_pull_requests(self): - """Test case for list_pull_requests - - list pull requests # noqa: E501 - """ - pass - - def test_merge_pull_request(self): - """Test case for merge_pull_request - - merge pull request # noqa: E501 - """ - pass - - def test_update_pull_request(self): - """Test case for update_pull_request - - update pull request # noqa: E501 - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_range_metadata.py b/clients/python-legacy/test/test_range_metadata.py deleted file mode 100644 index 71c5c17f7ec..00000000000 --- a/clients/python-legacy/test/test_range_metadata.py +++ /dev/null @@ -1,36 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.range_metadata import RangeMetadata - - -class TestRangeMetadata(unittest.TestCase): - """RangeMetadata unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testRangeMetadata(self): - """Test RangeMetadata""" - # FIXME: construct object with mandatory attributes with example values - # model = RangeMetadata() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_ref.py b/clients/python-legacy/test/test_ref.py deleted file mode 100644 index 63e1709c62d..00000000000 --- a/clients/python-legacy/test/test_ref.py +++ /dev/null @@ -1,36 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.ref import Ref - - -class TestRef(unittest.TestCase): - """Ref unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testRef(self): - """Test Ref""" - # FIXME: construct object with mandatory attributes with example values - # model = Ref() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_ref_list.py b/clients/python-legacy/test/test_ref_list.py deleted file mode 100644 index 4ba066da7ca..00000000000 --- a/clients/python-legacy/test/test_ref_list.py +++ /dev/null @@ -1,40 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.pagination import Pagination -from lakefs_client.model.ref import Ref -globals()['Pagination'] = Pagination -globals()['Ref'] = Ref -from lakefs_client.model.ref_list import RefList - - -class TestRefList(unittest.TestCase): - """RefList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testRefList(self): - """Test RefList""" - # FIXME: construct object with mandatory attributes with example values - # model = RefList() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_refs_api.py b/clients/python-legacy/test/test_refs_api.py deleted file mode 100644 index 0515aeeb371..00000000000 --- a/clients/python-legacy/test/test_refs_api.py +++ /dev/null @@ -1,57 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import unittest - -import lakefs_client -from lakefs_client.api.refs_api import RefsApi # noqa: E501 - - -class TestRefsApi(unittest.TestCase): - """RefsApi unit test stubs""" - - def setUp(self): - self.api = RefsApi() # noqa: E501 - - def tearDown(self): - pass - - def test_diff_refs(self): - """Test case for diff_refs - - diff references # noqa: E501 - """ - pass - - def test_find_merge_base(self): - """Test case for find_merge_base - - find the merge base for 2 references # noqa: E501 - """ - pass - - def test_log_commits(self): - """Test case for log_commits - - get commit log from ref. If both objects and prefixes are empty, return all commits. # noqa: E501 - """ - pass - - def test_merge_into_branch(self): - """Test case for merge_into_branch - - merge references # noqa: E501 - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_refs_dump.py b/clients/python-legacy/test/test_refs_dump.py deleted file mode 100644 index 7a7d8df8811..00000000000 --- a/clients/python-legacy/test/test_refs_dump.py +++ /dev/null @@ -1,36 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.refs_dump import RefsDump - - -class TestRefsDump(unittest.TestCase): - """RefsDump unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testRefsDump(self): - """Test RefsDump""" - # FIXME: construct object with mandatory attributes with example values - # model = RefsDump() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_refs_restore.py b/clients/python-legacy/test/test_refs_restore.py deleted file mode 100644 index 5cb896a5e93..00000000000 --- a/clients/python-legacy/test/test_refs_restore.py +++ /dev/null @@ -1,36 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.refs_restore import RefsRestore - - -class TestRefsRestore(unittest.TestCase): - """RefsRestore unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testRefsRestore(self): - """Test RefsRestore""" - # FIXME: construct object with mandatory attributes with example values - # model = RefsRestore() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_repositories_api.py b/clients/python-legacy/test/test_repositories_api.py deleted file mode 100644 index a1962cfc6d2..00000000000 --- a/clients/python-legacy/test/test_repositories_api.py +++ /dev/null @@ -1,124 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import unittest - -import lakefs_client -from lakefs_client.api.repositories_api import RepositoriesApi # noqa: E501 - - -class TestRepositoriesApi(unittest.TestCase): - """RepositoriesApi unit test stubs""" - - def setUp(self): - self.api = RepositoriesApi() # noqa: E501 - - def tearDown(self): - pass - - def test_create_repository(self): - """Test case for create_repository - - create repository # noqa: E501 - """ - pass - - def test_delete_gc_rules(self): - """Test case for delete_gc_rules - - """ - pass - - def test_delete_repository(self): - """Test case for delete_repository - - delete repository # noqa: E501 - """ - pass - - def test_dump_status(self): - """Test case for dump_status - - Status of a repository dump task # noqa: E501 - """ - pass - - def test_dump_submit(self): - """Test case for dump_submit - - Backup the repository metadata (tags, commits, branches) and save the backup to the object store. # noqa: E501 - """ - pass - - def test_get_branch_protection_rules(self): - """Test case for get_branch_protection_rules - - get branch protection rules # noqa: E501 - """ - pass - - def test_get_gc_rules(self): - """Test case for get_gc_rules - - get repository GC rules # noqa: E501 - """ - pass - - def test_get_repository(self): - """Test case for get_repository - - get repository # noqa: E501 - """ - pass - - def test_get_repository_metadata(self): - """Test case for get_repository_metadata - - get repository metadata # noqa: E501 - """ - pass - - def test_list_repositories(self): - """Test case for list_repositories - - list repositories # noqa: E501 - """ - pass - - def test_restore_status(self): - """Test case for restore_status - - Status of a restore request # noqa: E501 - """ - pass - - def test_restore_submit(self): - """Test case for restore_submit - - Restore repository from a dump in the object store # noqa: E501 - """ - pass - - def test_set_branch_protection_rules(self): - """Test case for set_branch_protection_rules - - """ - pass - - def test_set_gc_rules(self): - """Test case for set_gc_rules - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_repository.py b/clients/python-legacy/test/test_repository.py deleted file mode 100644 index f22f325408d..00000000000 --- a/clients/python-legacy/test/test_repository.py +++ /dev/null @@ -1,36 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.repository import Repository - - -class TestRepository(unittest.TestCase): - """Repository unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testRepository(self): - """Test Repository""" - # FIXME: construct object with mandatory attributes with example values - # model = Repository() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_repository_creation.py b/clients/python-legacy/test/test_repository_creation.py deleted file mode 100644 index ade612fd86a..00000000000 --- a/clients/python-legacy/test/test_repository_creation.py +++ /dev/null @@ -1,36 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.repository_creation import RepositoryCreation - - -class TestRepositoryCreation(unittest.TestCase): - """RepositoryCreation unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testRepositoryCreation(self): - """Test RepositoryCreation""" - # FIXME: construct object with mandatory attributes with example values - # model = RepositoryCreation() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_repository_dump_status.py b/clients/python-legacy/test/test_repository_dump_status.py deleted file mode 100644 index 494f2ab22c0..00000000000 --- a/clients/python-legacy/test/test_repository_dump_status.py +++ /dev/null @@ -1,38 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.refs_dump import RefsDump -globals()['RefsDump'] = RefsDump -from lakefs_client.model.repository_dump_status import RepositoryDumpStatus - - -class TestRepositoryDumpStatus(unittest.TestCase): - """RepositoryDumpStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testRepositoryDumpStatus(self): - """Test RepositoryDumpStatus""" - # FIXME: construct object with mandatory attributes with example values - # model = RepositoryDumpStatus() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_repository_list.py b/clients/python-legacy/test/test_repository_list.py deleted file mode 100644 index 63d49ab3586..00000000000 --- a/clients/python-legacy/test/test_repository_list.py +++ /dev/null @@ -1,40 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.pagination import Pagination -from lakefs_client.model.repository import Repository -globals()['Pagination'] = Pagination -globals()['Repository'] = Repository -from lakefs_client.model.repository_list import RepositoryList - - -class TestRepositoryList(unittest.TestCase): - """RepositoryList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testRepositoryList(self): - """Test RepositoryList""" - # FIXME: construct object with mandatory attributes with example values - # model = RepositoryList() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_repository_metadata.py b/clients/python-legacy/test/test_repository_metadata.py deleted file mode 100644 index 90e414168ab..00000000000 --- a/clients/python-legacy/test/test_repository_metadata.py +++ /dev/null @@ -1,36 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.repository_metadata import RepositoryMetadata - - -class TestRepositoryMetadata(unittest.TestCase): - """RepositoryMetadata unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testRepositoryMetadata(self): - """Test RepositoryMetadata""" - # FIXME: construct object with mandatory attributes with example values - # model = RepositoryMetadata() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_repository_metadata_keys.py b/clients/python-legacy/test/test_repository_metadata_keys.py deleted file mode 100644 index 15f163ff567..00000000000 --- a/clients/python-legacy/test/test_repository_metadata_keys.py +++ /dev/null @@ -1,36 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.repository_metadata_keys import RepositoryMetadataKeys - - -class TestRepositoryMetadataKeys(unittest.TestCase): - """RepositoryMetadataKeys unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testRepositoryMetadataKeys(self): - """Test RepositoryMetadataKeys""" - # FIXME: construct object with mandatory attributes with example values - # model = RepositoryMetadataKeys() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_repository_metadata_set.py b/clients/python-legacy/test/test_repository_metadata_set.py deleted file mode 100644 index 573dd27dcd9..00000000000 --- a/clients/python-legacy/test/test_repository_metadata_set.py +++ /dev/null @@ -1,36 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.repository_metadata_set import RepositoryMetadataSet - - -class TestRepositoryMetadataSet(unittest.TestCase): - """RepositoryMetadataSet unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testRepositoryMetadataSet(self): - """Test RepositoryMetadataSet""" - # FIXME: construct object with mandatory attributes with example values - # model = RepositoryMetadataSet() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_repository_restore_status.py b/clients/python-legacy/test/test_repository_restore_status.py deleted file mode 100644 index 1b12952a3de..00000000000 --- a/clients/python-legacy/test/test_repository_restore_status.py +++ /dev/null @@ -1,36 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.repository_restore_status import RepositoryRestoreStatus - - -class TestRepositoryRestoreStatus(unittest.TestCase): - """RepositoryRestoreStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testRepositoryRestoreStatus(self): - """Test RepositoryRestoreStatus""" - # FIXME: construct object with mandatory attributes with example values - # model = RepositoryRestoreStatus() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_reset_creation.py b/clients/python-legacy/test/test_reset_creation.py deleted file mode 100644 index f0846a7882e..00000000000 --- a/clients/python-legacy/test/test_reset_creation.py +++ /dev/null @@ -1,36 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.reset_creation import ResetCreation - - -class TestResetCreation(unittest.TestCase): - """ResetCreation unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testResetCreation(self): - """Test ResetCreation""" - # FIXME: construct object with mandatory attributes with example values - # model = ResetCreation() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_revert_creation.py b/clients/python-legacy/test/test_revert_creation.py deleted file mode 100644 index 68c6482fbbc..00000000000 --- a/clients/python-legacy/test/test_revert_creation.py +++ /dev/null @@ -1,38 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.commit_overrides import CommitOverrides -globals()['CommitOverrides'] = CommitOverrides -from lakefs_client.model.revert_creation import RevertCreation - - -class TestRevertCreation(unittest.TestCase): - """RevertCreation unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testRevertCreation(self): - """Test RevertCreation""" - # FIXME: construct object with mandatory attributes with example values - # model = RevertCreation() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_setup.py b/clients/python-legacy/test/test_setup.py deleted file mode 100644 index 1450021dc8b..00000000000 --- a/clients/python-legacy/test/test_setup.py +++ /dev/null @@ -1,38 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.access_key_credentials import AccessKeyCredentials -globals()['AccessKeyCredentials'] = AccessKeyCredentials -from lakefs_client.model.setup import Setup - - -class TestSetup(unittest.TestCase): - """Setup unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testSetup(self): - """Test Setup""" - # FIXME: construct object with mandatory attributes with example values - # model = Setup() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_setup_state.py b/clients/python-legacy/test/test_setup_state.py deleted file mode 100644 index 1dd4d79e388..00000000000 --- a/clients/python-legacy/test/test_setup_state.py +++ /dev/null @@ -1,38 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.login_config import LoginConfig -globals()['LoginConfig'] = LoginConfig -from lakefs_client.model.setup_state import SetupState - - -class TestSetupState(unittest.TestCase): - """SetupState unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testSetupState(self): - """Test SetupState""" - # FIXME: construct object with mandatory attributes with example values - # model = SetupState() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_staging_api.py b/clients/python-legacy/test/test_staging_api.py deleted file mode 100644 index 561eb741cea..00000000000 --- a/clients/python-legacy/test/test_staging_api.py +++ /dev/null @@ -1,43 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import unittest - -import lakefs_client -from lakefs_client.api.staging_api import StagingApi # noqa: E501 - - -class TestStagingApi(unittest.TestCase): - """StagingApi unit test stubs""" - - def setUp(self): - self.api = StagingApi() # noqa: E501 - - def tearDown(self): - pass - - def test_get_physical_address(self): - """Test case for get_physical_address - - generate an address to which the client can upload an object # noqa: E501 - """ - pass - - def test_link_physical_address(self): - """Test case for link_physical_address - - associate staging on this physical address with a path # noqa: E501 - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_staging_location.py b/clients/python-legacy/test/test_staging_location.py deleted file mode 100644 index a8358db2f2c..00000000000 --- a/clients/python-legacy/test/test_staging_location.py +++ /dev/null @@ -1,36 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.staging_location import StagingLocation - - -class TestStagingLocation(unittest.TestCase): - """StagingLocation unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testStagingLocation(self): - """Test StagingLocation""" - # FIXME: construct object with mandatory attributes with example values - # model = StagingLocation() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_staging_metadata.py b/clients/python-legacy/test/test_staging_metadata.py deleted file mode 100644 index aea14607b10..00000000000 --- a/clients/python-legacy/test/test_staging_metadata.py +++ /dev/null @@ -1,38 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.staging_location import StagingLocation -globals()['StagingLocation'] = StagingLocation -from lakefs_client.model.staging_metadata import StagingMetadata - - -class TestStagingMetadata(unittest.TestCase): - """StagingMetadata unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testStagingMetadata(self): - """Test StagingMetadata""" - # FIXME: construct object with mandatory attributes with example values - # model = StagingMetadata() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_statement.py b/clients/python-legacy/test/test_statement.py deleted file mode 100644 index 7191f76d3eb..00000000000 --- a/clients/python-legacy/test/test_statement.py +++ /dev/null @@ -1,36 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.statement import Statement - - -class TestStatement(unittest.TestCase): - """Statement unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testStatement(self): - """Test Statement""" - # FIXME: construct object with mandatory attributes with example values - # model = Statement() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_stats_event.py b/clients/python-legacy/test/test_stats_event.py deleted file mode 100644 index 7c5fa2ea064..00000000000 --- a/clients/python-legacy/test/test_stats_event.py +++ /dev/null @@ -1,36 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.stats_event import StatsEvent - - -class TestStatsEvent(unittest.TestCase): - """StatsEvent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testStatsEvent(self): - """Test StatsEvent""" - # FIXME: construct object with mandatory attributes with example values - # model = StatsEvent() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_stats_events_list.py b/clients/python-legacy/test/test_stats_events_list.py deleted file mode 100644 index 998d62be36f..00000000000 --- a/clients/python-legacy/test/test_stats_events_list.py +++ /dev/null @@ -1,38 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.stats_event import StatsEvent -globals()['StatsEvent'] = StatsEvent -from lakefs_client.model.stats_events_list import StatsEventsList - - -class TestStatsEventsList(unittest.TestCase): - """StatsEventsList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testStatsEventsList(self): - """Test StatsEventsList""" - # FIXME: construct object with mandatory attributes with example values - # model = StatsEventsList() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_storage_config.py b/clients/python-legacy/test/test_storage_config.py deleted file mode 100644 index faf905f5be7..00000000000 --- a/clients/python-legacy/test/test_storage_config.py +++ /dev/null @@ -1,36 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.storage_config import StorageConfig - - -class TestStorageConfig(unittest.TestCase): - """StorageConfig unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testStorageConfig(self): - """Test StorageConfig""" - # FIXME: construct object with mandatory attributes with example values - # model = StorageConfig() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_storage_uri.py b/clients/python-legacy/test/test_storage_uri.py deleted file mode 100644 index 669bde6f4bf..00000000000 --- a/clients/python-legacy/test/test_storage_uri.py +++ /dev/null @@ -1,36 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.storage_uri import StorageURI - - -class TestStorageURI(unittest.TestCase): - """StorageURI unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testStorageURI(self): - """Test StorageURI""" - # FIXME: construct object with mandatory attributes with example values - # model = StorageURI() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_sts_auth_request.py b/clients/python-legacy/test/test_sts_auth_request.py deleted file mode 100644 index 2d4302c01e7..00000000000 --- a/clients/python-legacy/test/test_sts_auth_request.py +++ /dev/null @@ -1,36 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.sts_auth_request import StsAuthRequest - - -class TestStsAuthRequest(unittest.TestCase): - """StsAuthRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testStsAuthRequest(self): - """Test StsAuthRequest""" - # FIXME: construct object with mandatory attributes with example values - # model = StsAuthRequest() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_tag_creation.py b/clients/python-legacy/test/test_tag_creation.py deleted file mode 100644 index ea9b939022d..00000000000 --- a/clients/python-legacy/test/test_tag_creation.py +++ /dev/null @@ -1,36 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.tag_creation import TagCreation - - -class TestTagCreation(unittest.TestCase): - """TagCreation unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTagCreation(self): - """Test TagCreation""" - # FIXME: construct object with mandatory attributes with example values - # model = TagCreation() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_tags_api.py b/clients/python-legacy/test/test_tags_api.py deleted file mode 100644 index 41170e16811..00000000000 --- a/clients/python-legacy/test/test_tags_api.py +++ /dev/null @@ -1,57 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import unittest - -import lakefs_client -from lakefs_client.api.tags_api import TagsApi # noqa: E501 - - -class TestTagsApi(unittest.TestCase): - """TagsApi unit test stubs""" - - def setUp(self): - self.api = TagsApi() # noqa: E501 - - def tearDown(self): - pass - - def test_create_tag(self): - """Test case for create_tag - - create tag # noqa: E501 - """ - pass - - def test_delete_tag(self): - """Test case for delete_tag - - delete tag # noqa: E501 - """ - pass - - def test_get_tag(self): - """Test case for get_tag - - get tag # noqa: E501 - """ - pass - - def test_list_tags(self): - """Test case for list_tags - - list tags # noqa: E501 - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_task_info.py b/clients/python-legacy/test/test_task_info.py deleted file mode 100644 index e9cb27de5b0..00000000000 --- a/clients/python-legacy/test/test_task_info.py +++ /dev/null @@ -1,36 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.task_info import TaskInfo - - -class TestTaskInfo(unittest.TestCase): - """TaskInfo unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testTaskInfo(self): - """Test TaskInfo""" - # FIXME: construct object with mandatory attributes with example values - # model = TaskInfo() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_underlying_object_properties.py b/clients/python-legacy/test/test_underlying_object_properties.py deleted file mode 100644 index 1e30df1d020..00000000000 --- a/clients/python-legacy/test/test_underlying_object_properties.py +++ /dev/null @@ -1,36 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.underlying_object_properties import UnderlyingObjectProperties - - -class TestUnderlyingObjectProperties(unittest.TestCase): - """UnderlyingObjectProperties unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testUnderlyingObjectProperties(self): - """Test UnderlyingObjectProperties""" - # FIXME: construct object with mandatory attributes with example values - # model = UnderlyingObjectProperties() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_update_object_user_metadata.py b/clients/python-legacy/test/test_update_object_user_metadata.py deleted file mode 100644 index d35359e6ce6..00000000000 --- a/clients/python-legacy/test/test_update_object_user_metadata.py +++ /dev/null @@ -1,38 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.object_user_metadata import ObjectUserMetadata -globals()['ObjectUserMetadata'] = ObjectUserMetadata -from lakefs_client.model.update_object_user_metadata import UpdateObjectUserMetadata - - -class TestUpdateObjectUserMetadata(unittest.TestCase): - """UpdateObjectUserMetadata unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testUpdateObjectUserMetadata(self): - """Test UpdateObjectUserMetadata""" - # FIXME: construct object with mandatory attributes with example values - # model = UpdateObjectUserMetadata() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_update_token.py b/clients/python-legacy/test/test_update_token.py deleted file mode 100644 index 7e1e9f45f37..00000000000 --- a/clients/python-legacy/test/test_update_token.py +++ /dev/null @@ -1,36 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.update_token import UpdateToken - - -class TestUpdateToken(unittest.TestCase): - """UpdateToken unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testUpdateToken(self): - """Test UpdateToken""" - # FIXME: construct object with mandatory attributes with example values - # model = UpdateToken() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_upload_part.py b/clients/python-legacy/test/test_upload_part.py deleted file mode 100644 index 2ffa97ca0cc..00000000000 --- a/clients/python-legacy/test/test_upload_part.py +++ /dev/null @@ -1,36 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.upload_part import UploadPart - - -class TestUploadPart(unittest.TestCase): - """UploadPart unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testUploadPart(self): - """Test UploadPart""" - # FIXME: construct object with mandatory attributes with example values - # model = UploadPart() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_usage_report.py b/clients/python-legacy/test/test_usage_report.py deleted file mode 100644 index d4fbcee35cf..00000000000 --- a/clients/python-legacy/test/test_usage_report.py +++ /dev/null @@ -1,36 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.usage_report import UsageReport - - -class TestUsageReport(unittest.TestCase): - """UsageReport unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testUsageReport(self): - """Test UsageReport""" - # FIXME: construct object with mandatory attributes with example values - # model = UsageReport() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_user.py b/clients/python-legacy/test/test_user.py deleted file mode 100644 index 374dea0cae5..00000000000 --- a/clients/python-legacy/test/test_user.py +++ /dev/null @@ -1,36 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.user import User - - -class TestUser(unittest.TestCase): - """User unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testUser(self): - """Test User""" - # FIXME: construct object with mandatory attributes with example values - # model = User() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_user_creation.py b/clients/python-legacy/test/test_user_creation.py deleted file mode 100644 index e0d2a2622c3..00000000000 --- a/clients/python-legacy/test/test_user_creation.py +++ /dev/null @@ -1,36 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.user_creation import UserCreation - - -class TestUserCreation(unittest.TestCase): - """UserCreation unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testUserCreation(self): - """Test UserCreation""" - # FIXME: construct object with mandatory attributes with example values - # model = UserCreation() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_user_list.py b/clients/python-legacy/test/test_user_list.py deleted file mode 100644 index 13455851ef0..00000000000 --- a/clients/python-legacy/test/test_user_list.py +++ /dev/null @@ -1,40 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.pagination import Pagination -from lakefs_client.model.user import User -globals()['Pagination'] = Pagination -globals()['User'] = User -from lakefs_client.model.user_list import UserList - - -class TestUserList(unittest.TestCase): - """UserList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testUserList(self): - """Test UserList""" - # FIXME: construct object with mandatory attributes with example values - # model = UserList() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/test/test_version_config.py b/clients/python-legacy/test/test_version_config.py deleted file mode 100644 index 9e204b1f087..00000000000 --- a/clients/python-legacy/test/test_version_config.py +++ /dev/null @@ -1,36 +0,0 @@ -""" - lakeFS API - - lakeFS HTTP API # noqa: E501 - - The version of the OpenAPI document: 1.0.0 - Contact: services@treeverse.io - Generated by: https://openapi-generator.tech -""" - - -import sys -import unittest - -import lakefs_client -from lakefs_client.model.version_config import VersionConfig - - -class TestVersionConfig(unittest.TestCase): - """VersionConfig unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testVersionConfig(self): - """Test VersionConfig""" - # FIXME: construct object with mandatory attributes with example values - # model = VersionConfig() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/clients/python-legacy/tox.ini b/clients/python-legacy/tox.ini deleted file mode 100644 index b9e26720b9e..00000000000 --- a/clients/python-legacy/tox.ini +++ /dev/null @@ -1,9 +0,0 @@ -[tox] -envlist = py3 - -[testenv] -deps=-r{toxinidir}/requirements.txt - -r{toxinidir}/test-requirements.txt - -commands= - pytest --cov=lakefs_client diff --git a/clients/python-wrapper/CHANGELOG.md b/clients/python-wrapper/CHANGELOG.md index 76ebcc50045..49ea3017aa2 100644 --- a/clients/python-wrapper/CHANGELOG.md +++ b/clients/python-wrapper/CHANGELOG.md @@ -2,6 +2,16 @@ ## Unreleased +## v0.8.0 + +:new: What's new: + +- Use hidden branch in transactions (#8459) + +:bug: Bugs fixed: + +- Fix objects() return type (#8154) + ## v0.7.1 :bug: Bugs fixed diff --git a/clients/python-wrapper/lakefs/branch.py b/clients/python-wrapper/lakefs/branch.py index 4660f4ee7e8..529aed72d0e 100644 --- a/clients/python-wrapper/lakefs/branch.py +++ b/clients/python-wrapper/lakefs/branch.py @@ -152,7 +152,7 @@ def cherry_pick(self, reference: ReferenceType, parent_number: Optional[int] = N res = self._client.sdk_client.branches_api.cherry_pick(self._repo_id, self._id, cherry_pick_creation) return Commit(**res.dict()) - def create(self, source_reference: ReferenceType, exist_ok: bool = False) -> Branch: + def create(self, source_reference: ReferenceType, exist_ok: bool = False, **kwargs) -> Branch: """ Create a new branch in lakeFS from this object @@ -180,7 +180,7 @@ def handle_conflict(e: LakeFSException): return e reference_id = source_reference if isinstance(source_reference, str) else source_reference.id - branch_creation = lakefs_sdk.BranchCreation(name=self._id, source=reference_id) + branch_creation = lakefs_sdk.BranchCreation(name=self._id, source=reference_id, **kwargs) with api_exception_handler(handle_conflict): self._client.sdk_client.branches_api.create_branch(self._repo_id, branch_creation) return self @@ -342,7 +342,7 @@ def __init__(self, repository_id: str, branch_id: str, commit_message: str = "", self._source_branch = branch_id tx_name = self._get_tx_name() - self._tx_branch = Branch(repository_id, tx_name, client).create(branch_id) + self._tx_branch = Branch(repository_id, tx_name, client).create(branch_id, hidden=True) super().__init__(repository_id, tx_name, client) @property diff --git a/clients/python-wrapper/requirements.txt b/clients/python-wrapper/requirements.txt index f0c71b24ffd..bc190a0185d 100644 --- a/clients/python-wrapper/requirements.txt +++ b/clients/python-wrapper/requirements.txt @@ -1,5 +1,5 @@ aenum~=3.1.15 -lakefs-sdk>=1.25.0, < 2 +lakefs-sdk>=1.47, < 2 python-dateutil~=2.8.2 PyYAML~=6.0.1 six~=1.16.0 @@ -11,6 +11,6 @@ pytest~=7.4.3 pytest-datafiles~=3.0.0 pandas~=2.1.4 pyarrow~=14.0.1 -pillow~=10.2.0 -setuptools>=68.2.2 +pillow~=10.3.0 +setuptools>=70.0.0 boto3>=1.26.0 \ No newline at end of file diff --git a/clients/python-wrapper/setup.py b/clients/python-wrapper/setup.py index ebdd6e13725..f6784315474 100644 --- a/clients/python-wrapper/setup.py +++ b/clients/python-wrapper/setup.py @@ -1,7 +1,7 @@ from setuptools import setup, find_packages NAME = "lakefs" -VERSION = "0.7.1" +VERSION = "0.8.0" # To install the library, run the following # # python setup.py install @@ -11,7 +11,7 @@ PYTHON_REQUIRES = ">=3.9" REQUIRES = [ - "lakefs-sdk >= 1.25, < 2", + "lakefs-sdk >= 1.47, < 2", "pyyaml ~= 6.0.1", ] TEST_REQUIRES = [ @@ -19,7 +19,7 @@ "pytest-datafiles ~= 3.0.0", "pandas ~= 2.1.4", "pyarrow ~= 14.0.1", - "pillow ~= 10.2.0" + "pillow ~= 10.3.0" ] with open('README.md') as f: diff --git a/clients/python-wrapper/tests/integration/test_branch.py b/clients/python-wrapper/tests/integration/test_branch.py index 7caa0ea07a0..6ff917c0168 100644 --- a/clients/python-wrapper/tests/integration/test_branch.py +++ b/clients/python-wrapper/tests/integration/test_branch.py @@ -31,10 +31,11 @@ def test_revert(setup_repo): assert fd.read() == initial_content -def test_cherry_pick(setup_repo): +@pytest.mark.parametrize("hidden", (True, False)) +def test_cherry_pick(setup_repo, hidden): _, repo = setup_repo main_branch = repo.branch("main") - test_branch = repo.branch("testest").create("main") + test_branch = repo.branch("testest").create("main", hidden=hidden) initial_content = "test_content" test_branch.object("test_object").upload(initial_content) @@ -119,6 +120,10 @@ def test_transaction(setup_repo): with test_branch.transact(commit_message="my transaction", commit_metadata={"foo": "bar"}) as tx: assert tx.get_commit().id == test_branch.head.id + # Verify tx-branch not listed + branches = list(repo.branches()) + assert len(branches) == 1 + assert tx.id not in branches upload_data(tx, path_and_data1) upload_data(tx, path_and_data2) tx.reset_changes(path_type="common_prefix", path="foo") diff --git a/clients/python/docs/BranchCreation.md b/clients/python/docs/BranchCreation.md index fc2c6620e9e..13c9fc90535 100644 --- a/clients/python/docs/BranchCreation.md +++ b/clients/python/docs/BranchCreation.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes **name** | **str** | | **source** | **str** | | **force** | **bool** | | [optional] [default to False] +**hidden** | **bool** | When set, branch will not show up when listing branches by default. *EXPERIMENTAL* | [optional] [default to False] ## Example diff --git a/clients/python/docs/BranchesApi.md b/clients/python/docs/BranchesApi.md index 33c09474b8f..062738f387a 100644 --- a/clients/python/docs/BranchesApi.md +++ b/clients/python/docs/BranchesApi.md @@ -592,7 +592,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **list_branches** -> RefList list_branches(repository, prefix=prefix, after=after, amount=amount) +> RefList list_branches(repository, prefix=prefix, after=after, amount=amount, show_hidden=show_hidden) list branches @@ -660,10 +660,11 @@ with lakefs_sdk.ApiClient(configuration) as api_client: prefix = 'prefix_example' # str | return items prefixed with this value (optional) after = 'after_example' # str | return items after this value (optional) amount = 100 # int | how many items to return (optional) (default to 100) + show_hidden = False # bool | (optional) (default to False) try: # list branches - api_response = api_instance.list_branches(repository, prefix=prefix, after=after, amount=amount) + api_response = api_instance.list_branches(repository, prefix=prefix, after=after, amount=amount, show_hidden=show_hidden) print("The response of BranchesApi->list_branches:\n") pprint(api_response) except Exception as e: @@ -681,6 +682,7 @@ Name | Type | Description | Notes **prefix** | **str**| return items prefixed with this value | [optional] **after** | **str**| return items after this value | [optional] **amount** | **int**| how many items to return | [optional] [default to 100] + **show_hidden** | **bool**| | [optional] [default to False] ### Return type diff --git a/clients/python/docs/Group.md b/clients/python/docs/Group.md index c8376fe2cd6..e414facecfa 100644 --- a/clients/python/docs/Group.md +++ b/clients/python/docs/Group.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **str** | | **name** | **str** | | [optional] +**description** | **str** | | [optional] **creation_date** | **int** | Unix Epoch in seconds | ## Example diff --git a/clients/python/docs/GroupCreation.md b/clients/python/docs/GroupCreation.md index c2afe03feec..d3af116d2de 100644 --- a/clients/python/docs/GroupCreation.md +++ b/clients/python/docs/GroupCreation.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **str** | | +**description** | **str** | | [optional] ## Example diff --git a/clients/python/docs/Merge.md b/clients/python/docs/Merge.md index 6b0e40f1083..24a822959ee 100644 --- a/clients/python/docs/Merge.md +++ b/clients/python/docs/Merge.md @@ -10,6 +10,7 @@ Name | Type | Description | Notes **strategy** | **str** | In case of a merge conflict, this option will force the merge process to automatically favor changes from the dest branch ('dest-wins') or from the source branch('source-wins'). In case no selection is made, the merge process will fail in case of a conflict | [optional] **force** | **bool** | Allow merge into a read-only branch or into a branch with the same content | [optional] [default to False] **allow_empty** | **bool** | Allow merge when the branches have the same content | [optional] [default to False] +**squash_merge** | **bool** | If set, set only the destination branch as a parent, which \"squashes\" the merge to appear as a single commit on the destination branch. The source commit is no longer a part of the merge commit; consider adding it to the 'metadata' or 'message' fields. This behaves like a GitHub or GitLab \"squash merge\", or in Git terms 'git merge --squash; git commit ...'. | [optional] [default to False] ## Example diff --git a/clients/python/docs/RepositoriesApi.md b/clients/python/docs/RepositoriesApi.md index 6db6216fc8d..2d640e50392 100644 --- a/clients/python/docs/RepositoriesApi.md +++ b/clients/python/docs/RepositoriesApi.md @@ -1013,7 +1013,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **list_repositories** -> RepositoryList list_repositories(prefix=prefix, after=after, amount=amount) +> RepositoryList list_repositories(prefix=prefix, after=after, amount=amount, search=search) list repositories @@ -1080,10 +1080,11 @@ with lakefs_sdk.ApiClient(configuration) as api_client: prefix = 'prefix_example' # str | return items prefixed with this value (optional) after = 'after_example' # str | return items after this value (optional) amount = 100 # int | how many items to return (optional) (default to 100) + search = 'search_example' # str | string for searching relevant entries (optional) try: # list repositories - api_response = api_instance.list_repositories(prefix=prefix, after=after, amount=amount) + api_response = api_instance.list_repositories(prefix=prefix, after=after, amount=amount, search=search) print("The response of RepositoriesApi->list_repositories:\n") pprint(api_response) except Exception as e: @@ -1100,6 +1101,7 @@ Name | Type | Description | Notes **prefix** | **str**| return items prefixed with this value | [optional] **after** | **str**| return items after this value | [optional] **amount** | **int**| how many items to return | [optional] [default to 100] + **search** | **str**| string for searching relevant entries | [optional] ### Return type diff --git a/clients/python/lakefs_sdk/api/branches_api.py b/clients/python/lakefs_sdk/api/branches_api.py index b17a83d0342..734716c67fa 100644 --- a/clients/python/lakefs_sdk/api/branches_api.py +++ b/clients/python/lakefs_sdk/api/branches_api.py @@ -863,13 +863,13 @@ def get_branch_with_http_info(self, repository : StrictStr, branch : StrictStr, _request_auth=_params.get('_request_auth')) @validate_arguments - def list_branches(self, repository : StrictStr, prefix : Annotated[Optional[StrictStr], Field(description="return items prefixed with this value")] = None, after : Annotated[Optional[StrictStr], Field(description="return items after this value")] = None, amount : Annotated[Optional[conint(strict=True, le=1000, ge=-1)], Field(description="how many items to return")] = None, **kwargs) -> RefList: # noqa: E501 + def list_branches(self, repository : StrictStr, prefix : Annotated[Optional[StrictStr], Field(description="return items prefixed with this value")] = None, after : Annotated[Optional[StrictStr], Field(description="return items after this value")] = None, amount : Annotated[Optional[conint(strict=True, le=1000, ge=-1)], Field(description="how many items to return")] = None, show_hidden : Optional[StrictBool] = None, **kwargs) -> RefList: # noqa: E501 """list branches # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_branches(repository, prefix, after, amount, async_req=True) + >>> thread = api.list_branches(repository, prefix, after, amount, show_hidden, async_req=True) >>> result = thread.get() :param repository: (required) @@ -880,6 +880,8 @@ def list_branches(self, repository : StrictStr, prefix : Annotated[Optional[Stri :type after: str :param amount: how many items to return :type amount: int + :param show_hidden: + :type show_hidden: bool :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _request_timeout: timeout setting for this request. If one @@ -894,16 +896,16 @@ def list_branches(self, repository : StrictStr, prefix : Annotated[Optional[Stri kwargs['_return_http_data_only'] = True if '_preload_content' in kwargs: raise ValueError("Error! Please call the list_branches_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data") - return self.list_branches_with_http_info(repository, prefix, after, amount, **kwargs) # noqa: E501 + return self.list_branches_with_http_info(repository, prefix, after, amount, show_hidden, **kwargs) # noqa: E501 @validate_arguments - def list_branches_with_http_info(self, repository : StrictStr, prefix : Annotated[Optional[StrictStr], Field(description="return items prefixed with this value")] = None, after : Annotated[Optional[StrictStr], Field(description="return items after this value")] = None, amount : Annotated[Optional[conint(strict=True, le=1000, ge=-1)], Field(description="how many items to return")] = None, **kwargs) -> ApiResponse: # noqa: E501 + def list_branches_with_http_info(self, repository : StrictStr, prefix : Annotated[Optional[StrictStr], Field(description="return items prefixed with this value")] = None, after : Annotated[Optional[StrictStr], Field(description="return items after this value")] = None, amount : Annotated[Optional[conint(strict=True, le=1000, ge=-1)], Field(description="how many items to return")] = None, show_hidden : Optional[StrictBool] = None, **kwargs) -> ApiResponse: # noqa: E501 """list branches # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_branches_with_http_info(repository, prefix, after, amount, async_req=True) + >>> thread = api.list_branches_with_http_info(repository, prefix, after, amount, show_hidden, async_req=True) >>> result = thread.get() :param repository: (required) @@ -914,6 +916,8 @@ def list_branches_with_http_info(self, repository : StrictStr, prefix : Annotate :type after: str :param amount: how many items to return :type amount: int + :param show_hidden: + :type show_hidden: bool :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the ApiResponse.data will @@ -945,7 +949,8 @@ def list_branches_with_http_info(self, repository : StrictStr, prefix : Annotate 'repository', 'prefix', 'after', - 'amount' + 'amount', + 'show_hidden' ] _all_params.extend( [ @@ -988,6 +993,9 @@ def list_branches_with_http_info(self, repository : StrictStr, prefix : Annotate if _params.get('amount') is not None: # noqa: E501 _query_params.append(('amount', _params['amount'])) + if _params.get('show_hidden') is not None: # noqa: E501 + _query_params.append(('show_hidden', _params['show_hidden'])) + # process the header parameters _header_params = dict(_params.get('_headers', {})) # process the form parameters diff --git a/clients/python/lakefs_sdk/api/repositories_api.py b/clients/python/lakefs_sdk/api/repositories_api.py index f31d2c1d818..8f717b953bb 100644 --- a/clients/python/lakefs_sdk/api/repositories_api.py +++ b/clients/python/lakefs_sdk/api/repositories_api.py @@ -1344,13 +1344,13 @@ def get_repository_metadata_with_http_info(self, repository : StrictStr, **kwarg _request_auth=_params.get('_request_auth')) @validate_arguments - def list_repositories(self, prefix : Annotated[Optional[StrictStr], Field(description="return items prefixed with this value")] = None, after : Annotated[Optional[StrictStr], Field(description="return items after this value")] = None, amount : Annotated[Optional[conint(strict=True, le=1000, ge=-1)], Field(description="how many items to return")] = None, **kwargs) -> RepositoryList: # noqa: E501 + def list_repositories(self, prefix : Annotated[Optional[StrictStr], Field(description="return items prefixed with this value")] = None, after : Annotated[Optional[StrictStr], Field(description="return items after this value")] = None, amount : Annotated[Optional[conint(strict=True, le=1000, ge=-1)], Field(description="how many items to return")] = None, search : Annotated[Optional[StrictStr], Field(description="string for searching relevant entries")] = None, **kwargs) -> RepositoryList: # noqa: E501 """list repositories # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_repositories(prefix, after, amount, async_req=True) + >>> thread = api.list_repositories(prefix, after, amount, search, async_req=True) >>> result = thread.get() :param prefix: return items prefixed with this value @@ -1359,6 +1359,8 @@ def list_repositories(self, prefix : Annotated[Optional[StrictStr], Field(descri :type after: str :param amount: how many items to return :type amount: int + :param search: string for searching relevant entries + :type search: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _request_timeout: timeout setting for this request. If one @@ -1373,16 +1375,16 @@ def list_repositories(self, prefix : Annotated[Optional[StrictStr], Field(descri kwargs['_return_http_data_only'] = True if '_preload_content' in kwargs: raise ValueError("Error! Please call the list_repositories_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data") - return self.list_repositories_with_http_info(prefix, after, amount, **kwargs) # noqa: E501 + return self.list_repositories_with_http_info(prefix, after, amount, search, **kwargs) # noqa: E501 @validate_arguments - def list_repositories_with_http_info(self, prefix : Annotated[Optional[StrictStr], Field(description="return items prefixed with this value")] = None, after : Annotated[Optional[StrictStr], Field(description="return items after this value")] = None, amount : Annotated[Optional[conint(strict=True, le=1000, ge=-1)], Field(description="how many items to return")] = None, **kwargs) -> ApiResponse: # noqa: E501 + def list_repositories_with_http_info(self, prefix : Annotated[Optional[StrictStr], Field(description="return items prefixed with this value")] = None, after : Annotated[Optional[StrictStr], Field(description="return items after this value")] = None, amount : Annotated[Optional[conint(strict=True, le=1000, ge=-1)], Field(description="how many items to return")] = None, search : Annotated[Optional[StrictStr], Field(description="string for searching relevant entries")] = None, **kwargs) -> ApiResponse: # noqa: E501 """list repositories # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.list_repositories_with_http_info(prefix, after, amount, async_req=True) + >>> thread = api.list_repositories_with_http_info(prefix, after, amount, search, async_req=True) >>> result = thread.get() :param prefix: return items prefixed with this value @@ -1391,6 +1393,8 @@ def list_repositories_with_http_info(self, prefix : Annotated[Optional[StrictStr :type after: str :param amount: how many items to return :type amount: int + :param search: string for searching relevant entries + :type search: str :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the ApiResponse.data will @@ -1421,7 +1425,8 @@ def list_repositories_with_http_info(self, prefix : Annotated[Optional[StrictStr _all_params = [ 'prefix', 'after', - 'amount' + 'amount', + 'search' ] _all_params.extend( [ @@ -1461,6 +1466,9 @@ def list_repositories_with_http_info(self, prefix : Annotated[Optional[StrictStr if _params.get('amount') is not None: # noqa: E501 _query_params.append(('amount', _params['amount'])) + if _params.get('search') is not None: # noqa: E501 + _query_params.append(('search', _params['search'])) + # process the header parameters _header_params = dict(_params.get('_headers', {})) # process the form parameters diff --git a/clients/python/lakefs_sdk/models/branch_creation.py b/clients/python/lakefs_sdk/models/branch_creation.py index e9db41e4bea..d20faf88635 100644 --- a/clients/python/lakefs_sdk/models/branch_creation.py +++ b/clients/python/lakefs_sdk/models/branch_creation.py @@ -32,7 +32,8 @@ class BranchCreation(BaseModel): name: StrictStr = Field(...) source: StrictStr = Field(...) force: Optional[StrictBool] = False - __properties = ["name", "source", "force"] + hidden: Optional[StrictBool] = Field(False, description="When set, branch will not show up when listing branches by default. *EXPERIMENTAL*") + __properties = ["name", "source", "force", "hidden"] class Config: """Pydantic configuration""" @@ -72,7 +73,8 @@ def from_dict(cls, obj: dict) -> BranchCreation: _obj = BranchCreation.parse_obj({ "name": obj.get("name"), "source": obj.get("source"), - "force": obj.get("force") if obj.get("force") is not None else False + "force": obj.get("force") if obj.get("force") is not None else False, + "hidden": obj.get("hidden") if obj.get("hidden") is not None else False }) return _obj diff --git a/clients/python/lakefs_sdk/models/group.py b/clients/python/lakefs_sdk/models/group.py index a9cbbfdc374..9b6e454c88b 100644 --- a/clients/python/lakefs_sdk/models/group.py +++ b/clients/python/lakefs_sdk/models/group.py @@ -31,8 +31,9 @@ class Group(BaseModel): """ id: StrictStr = Field(...) name: Optional[StrictStr] = None + description: Optional[StrictStr] = None creation_date: StrictInt = Field(..., description="Unix Epoch in seconds") - __properties = ["id", "name", "creation_date"] + __properties = ["id", "name", "description", "creation_date"] class Config: """Pydantic configuration""" @@ -72,6 +73,7 @@ def from_dict(cls, obj: dict) -> Group: _obj = Group.parse_obj({ "id": obj.get("id"), "name": obj.get("name"), + "description": obj.get("description"), "creation_date": obj.get("creation_date") }) return _obj diff --git a/clients/python/lakefs_sdk/models/group_creation.py b/clients/python/lakefs_sdk/models/group_creation.py index afd9533b94e..63aee7cf05d 100644 --- a/clients/python/lakefs_sdk/models/group_creation.py +++ b/clients/python/lakefs_sdk/models/group_creation.py @@ -19,7 +19,7 @@ import json - +from typing import Optional try: from pydantic.v1 import BaseModel, Field, StrictStr except ImportError: @@ -30,7 +30,8 @@ class GroupCreation(BaseModel): GroupCreation """ id: StrictStr = Field(...) - __properties = ["id"] + description: Optional[StrictStr] = None + __properties = ["id", "description"] class Config: """Pydantic configuration""" @@ -68,7 +69,8 @@ def from_dict(cls, obj: dict) -> GroupCreation: return GroupCreation.parse_obj(obj) _obj = GroupCreation.parse_obj({ - "id": obj.get("id") + "id": obj.get("id"), + "description": obj.get("description") }) return _obj diff --git a/clients/python/lakefs_sdk/models/merge.py b/clients/python/lakefs_sdk/models/merge.py index 274f42988b3..d0032333177 100644 --- a/clients/python/lakefs_sdk/models/merge.py +++ b/clients/python/lakefs_sdk/models/merge.py @@ -34,7 +34,8 @@ class Merge(BaseModel): strategy: Optional[StrictStr] = Field(None, description="In case of a merge conflict, this option will force the merge process to automatically favor changes from the dest branch ('dest-wins') or from the source branch('source-wins'). In case no selection is made, the merge process will fail in case of a conflict") force: Optional[StrictBool] = Field(False, description="Allow merge into a read-only branch or into a branch with the same content") allow_empty: Optional[StrictBool] = Field(False, description="Allow merge when the branches have the same content") - __properties = ["message", "metadata", "strategy", "force", "allow_empty"] + squash_merge: Optional[StrictBool] = Field(False, description="If set, set only the destination branch as a parent, which \"squashes\" the merge to appear as a single commit on the destination branch. The source commit is no longer a part of the merge commit; consider adding it to the 'metadata' or 'message' fields. This behaves like a GitHub or GitLab \"squash merge\", or in Git terms 'git merge --squash; git commit ...'. ") + __properties = ["message", "metadata", "strategy", "force", "allow_empty", "squash_merge"] class Config: """Pydantic configuration""" @@ -76,7 +77,8 @@ def from_dict(cls, obj: dict) -> Merge: "metadata": obj.get("metadata"), "strategy": obj.get("strategy"), "force": obj.get("force") if obj.get("force") is not None else False, - "allow_empty": obj.get("allow_empty") if obj.get("allow_empty") is not None else False + "allow_empty": obj.get("allow_empty") if obj.get("allow_empty") is not None else False, + "squash_merge": obj.get("squash_merge") if obj.get("squash_merge") is not None else False }) return _obj diff --git a/clients/python/test/test_branch_creation.py b/clients/python/test/test_branch_creation.py index 6d5842f8876..8798d44e20b 100644 --- a/clients/python/test/test_branch_creation.py +++ b/clients/python/test/test_branch_creation.py @@ -41,7 +41,8 @@ def make_instance(self, include_optional): return BranchCreation( name = '', source = '', - force = True + force = True, + hidden = True ) else : return BranchCreation( diff --git a/clients/python/test/test_group.py b/clients/python/test/test_group.py index 14581363560..037c0a1f976 100644 --- a/clients/python/test/test_group.py +++ b/clients/python/test/test_group.py @@ -41,6 +41,7 @@ def make_instance(self, include_optional): return Group( id = '', name = '', + description = '', creation_date = 56 ) else : diff --git a/clients/python/test/test_group_creation.py b/clients/python/test/test_group_creation.py index 177c3e79222..d0b051563a6 100644 --- a/clients/python/test/test_group_creation.py +++ b/clients/python/test/test_group_creation.py @@ -39,7 +39,8 @@ def make_instance(self, include_optional): model = lakefs_sdk.models.group_creation.GroupCreation() # noqa: E501 if include_optional : return GroupCreation( - id = '' + id = '', + description = '' ) else : return GroupCreation( diff --git a/clients/python/test/test_group_list.py b/clients/python/test/test_group_list.py index f0595ddb09c..e490a588b3c 100644 --- a/clients/python/test/test_group_list.py +++ b/clients/python/test/test_group_list.py @@ -48,6 +48,7 @@ def make_instance(self, include_optional): lakefs_sdk.models.group.Group( id = '', name = '', + description = '', creation_date = 56, ) ] ) @@ -62,6 +63,7 @@ def make_instance(self, include_optional): lakefs_sdk.models.group.Group( id = '', name = '', + description = '', creation_date = 56, ) ], ) diff --git a/clients/python/test/test_merge.py b/clients/python/test/test_merge.py index d22970adb56..206559b31f9 100644 --- a/clients/python/test/test_merge.py +++ b/clients/python/test/test_merge.py @@ -45,7 +45,8 @@ def make_instance(self, include_optional): }, strategy = '', force = True, - allow_empty = True + allow_empty = True, + squash_merge = True ) else : return Merge( diff --git a/clients/rust/docs/BranchCreation.md b/clients/rust/docs/BranchCreation.md index 4f17664ba99..b06f9cf3920 100644 --- a/clients/rust/docs/BranchCreation.md +++ b/clients/rust/docs/BranchCreation.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **name** | **String** | | **source** | **String** | | **force** | Option<**bool**> | | [optional][default to false] +**hidden** | Option<**bool**> | When set, branch will not show up when listing branches by default. *EXPERIMENTAL* | [optional][default to false] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/clients/rust/docs/BranchesApi.md b/clients/rust/docs/BranchesApi.md index 6bd59f2bf15..ef01e17a6c2 100644 --- a/clients/rust/docs/BranchesApi.md +++ b/clients/rust/docs/BranchesApi.md @@ -168,7 +168,7 @@ Name | Type | Description | Required | Notes ## list_branches -> models::RefList list_branches(repository, prefix, after, amount) +> models::RefList list_branches(repository, prefix, after, amount, show_hidden) list branches ### Parameters @@ -180,6 +180,7 @@ Name | Type | Description | Required | Notes **prefix** | Option<**String**> | return items prefixed with this value | | **after** | Option<**String**> | return items after this value | | **amount** | Option<**i32**> | how many items to return | |[default to 100] +**show_hidden** | Option<**bool**> | | |[default to false] ### Return type diff --git a/clients/rust/docs/Group.md b/clients/rust/docs/Group.md index bd3ca9daefc..3fc97664cd9 100644 --- a/clients/rust/docs/Group.md +++ b/clients/rust/docs/Group.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **String** | | **name** | Option<**String**> | | [optional] +**description** | Option<**String**> | | [optional] **creation_date** | **i64** | Unix Epoch in seconds | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/clients/rust/docs/GroupCreation.md b/clients/rust/docs/GroupCreation.md index fbfdc2e4b01..aadebc2de88 100644 --- a/clients/rust/docs/GroupCreation.md +++ b/clients/rust/docs/GroupCreation.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **String** | | +**description** | Option<**String**> | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/clients/rust/docs/Merge.md b/clients/rust/docs/Merge.md index a51ace6df16..7043cadeee2 100644 --- a/clients/rust/docs/Merge.md +++ b/clients/rust/docs/Merge.md @@ -9,6 +9,7 @@ Name | Type | Description | Notes **strategy** | Option<**String**> | In case of a merge conflict, this option will force the merge process to automatically favor changes from the dest branch ('dest-wins') or from the source branch('source-wins'). In case no selection is made, the merge process will fail in case of a conflict | [optional] **force** | Option<**bool**> | Allow merge into a read-only branch or into a branch with the same content | [optional][default to false] **allow_empty** | Option<**bool**> | Allow merge when the branches have the same content | [optional][default to false] +**squash_merge** | Option<**bool**> | If set, set only the destination branch as a parent, which \"squashes\" the merge to appear as a single commit on the destination branch. The source commit is no longer a part of the merge commit; consider adding it to the 'metadata' or 'message' fields. This behaves like a GitHub or GitLab \"squash merge\", or in Git terms 'git merge --squash; git commit ...'. | [optional][default to false] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/clients/rust/docs/RepositoriesApi.md b/clients/rust/docs/RepositoriesApi.md index 01567f9637a..3ac3c845855 100644 --- a/clients/rust/docs/RepositoriesApi.md +++ b/clients/rust/docs/RepositoriesApi.md @@ -278,7 +278,7 @@ Name | Type | Description | Required | Notes ## list_repositories -> models::RepositoryList list_repositories(prefix, after, amount) +> models::RepositoryList list_repositories(prefix, after, amount, search) list repositories ### Parameters @@ -289,6 +289,7 @@ Name | Type | Description | Required | Notes **prefix** | Option<**String**> | return items prefixed with this value | | **after** | Option<**String**> | return items after this value | | **amount** | Option<**i32**> | how many items to return | |[default to 100] +**search** | Option<**String**> | string for searching relevant entries | | ### Return type diff --git a/clients/rust/src/apis/branches_api.rs b/clients/rust/src/apis/branches_api.rs index a8f8364ee74..e9a0adc657f 100644 --- a/clients/rust/src/apis/branches_api.rs +++ b/clients/rust/src/apis/branches_api.rs @@ -298,7 +298,7 @@ pub async fn get_branch(configuration: &configuration::Configuration, repository } } -pub async fn list_branches(configuration: &configuration::Configuration, repository: &str, prefix: Option<&str>, after: Option<&str>, amount: Option) -> Result> { +pub async fn list_branches(configuration: &configuration::Configuration, repository: &str, prefix: Option<&str>, after: Option<&str>, amount: Option, show_hidden: Option) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -315,6 +315,9 @@ pub async fn list_branches(configuration: &configuration::Configuration, reposit if let Some(ref local_var_str) = amount { local_var_req_builder = local_var_req_builder.query(&[("amount", &local_var_str.to_string())]); } + if let Some(ref local_var_str) = show_hidden { + local_var_req_builder = local_var_req_builder.query(&[("show_hidden", &local_var_str.to_string())]); + } if let Some(ref local_var_user_agent) = local_var_configuration.user_agent { local_var_req_builder = local_var_req_builder.header(reqwest::header::USER_AGENT, local_var_user_agent.clone()); } diff --git a/clients/rust/src/apis/repositories_api.rs b/clients/rust/src/apis/repositories_api.rs index 87217f1235c..8f895e2408f 100644 --- a/clients/rust/src/apis/repositories_api.rs +++ b/clients/rust/src/apis/repositories_api.rs @@ -483,7 +483,7 @@ pub async fn get_repository_metadata(configuration: &configuration::Configuratio } } -pub async fn list_repositories(configuration: &configuration::Configuration, prefix: Option<&str>, after: Option<&str>, amount: Option) -> Result> { +pub async fn list_repositories(configuration: &configuration::Configuration, prefix: Option<&str>, after: Option<&str>, amount: Option, search: Option<&str>) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client; @@ -500,6 +500,9 @@ pub async fn list_repositories(configuration: &configuration::Configuration, pre if let Some(ref local_var_str) = amount { local_var_req_builder = local_var_req_builder.query(&[("amount", &local_var_str.to_string())]); } + if let Some(ref local_var_str) = search { + local_var_req_builder = local_var_req_builder.query(&[("search", &local_var_str.to_string())]); + } if let Some(ref local_var_user_agent) = local_var_configuration.user_agent { local_var_req_builder = local_var_req_builder.header(reqwest::header::USER_AGENT, local_var_user_agent.clone()); } diff --git a/clients/rust/src/models/branch_creation.rs b/clients/rust/src/models/branch_creation.rs index 7a093ad0acf..be0e71f887e 100644 --- a/clients/rust/src/models/branch_creation.rs +++ b/clients/rust/src/models/branch_creation.rs @@ -18,6 +18,9 @@ pub struct BranchCreation { pub source: String, #[serde(rename = "force", skip_serializing_if = "Option::is_none")] pub force: Option, + /// When set, branch will not show up when listing branches by default. *EXPERIMENTAL* + #[serde(rename = "hidden", skip_serializing_if = "Option::is_none")] + pub hidden: Option, } impl BranchCreation { @@ -26,6 +29,7 @@ impl BranchCreation { name, source, force: None, + hidden: None, } } } diff --git a/clients/rust/src/models/group.rs b/clients/rust/src/models/group.rs index 49522cbd8f5..57b38348ede 100644 --- a/clients/rust/src/models/group.rs +++ b/clients/rust/src/models/group.rs @@ -16,6 +16,8 @@ pub struct Group { pub id: String, #[serde(rename = "name", skip_serializing_if = "Option::is_none")] pub name: Option, + #[serde(rename = "description", skip_serializing_if = "Option::is_none")] + pub description: Option, /// Unix Epoch in seconds #[serde(rename = "creation_date")] pub creation_date: i64, @@ -26,6 +28,7 @@ impl Group { Group { id, name: None, + description: None, creation_date, } } diff --git a/clients/rust/src/models/group_creation.rs b/clients/rust/src/models/group_creation.rs index 5586a8e97d1..cdf272ad182 100644 --- a/clients/rust/src/models/group_creation.rs +++ b/clients/rust/src/models/group_creation.rs @@ -14,12 +14,15 @@ use crate::models; pub struct GroupCreation { #[serde(rename = "id")] pub id: String, + #[serde(rename = "description", skip_serializing_if = "Option::is_none")] + pub description: Option, } impl GroupCreation { pub fn new(id: String) -> GroupCreation { GroupCreation { id, + description: None, } } } diff --git a/clients/rust/src/models/merge.rs b/clients/rust/src/models/merge.rs index 8dedae1f09b..490bedde59f 100644 --- a/clients/rust/src/models/merge.rs +++ b/clients/rust/src/models/merge.rs @@ -25,6 +25,9 @@ pub struct Merge { /// Allow merge when the branches have the same content #[serde(rename = "allow_empty", skip_serializing_if = "Option::is_none")] pub allow_empty: Option, + /// If set, set only the destination branch as a parent, which \"squashes\" the merge to appear as a single commit on the destination branch. The source commit is no longer a part of the merge commit; consider adding it to the 'metadata' or 'message' fields. This behaves like a GitHub or GitLab \"squash merge\", or in Git terms 'git merge --squash; git commit ...'. + #[serde(rename = "squash_merge", skip_serializing_if = "Option::is_none")] + pub squash_merge: Option, } impl Merge { @@ -35,6 +38,7 @@ impl Merge { strategy: None, force: None, allow_empty: None, + squash_merge: None, } } } diff --git a/clients/spark/src/test/scala/io/treeverse/jpebble/BlockParserSpec.scala b/clients/spark/src/test/scala/io/treeverse/jpebble/BlockParserSpec.scala index 74b08a732d9..cacbe92c980 100644 --- a/clients/spark/src/test/scala/io/treeverse/jpebble/BlockParserSpec.scala +++ b/clients/spark/src/test/scala/io/treeverse/jpebble/BlockParserSpec.scala @@ -304,7 +304,7 @@ class CountedIteratorSpec extends AnyFunSpec with Matchers { class GolangContainerSpec extends AnyFunSpec with ForAllTestContainer { override val container: GenericContainer = GenericContainer( - "golang:1.22.6-alpine", + "golang:1.23-alpine", classpathResourceMapping = Seq( FileSystemBind("parser-test/sst_files_generator.go", "/local/sst_files_generator.go", diff --git a/cmd/lakectl/cmd/merge.go b/cmd/lakectl/cmd/merge.go index 473a842c787..805c1be3b26 100644 --- a/cmd/lakectl/cmd/merge.go +++ b/cmd/lakectl/cmd/merge.go @@ -42,6 +42,7 @@ var mergeCmd = &cobra.Command{ strategy := Must(cmd.Flags().GetString("strategy")) force := Must(cmd.Flags().GetBool("force")) allowEmpty := Must(cmd.Flags().GetBool("allow-empty")) + squash := Must(cmd.Flags().GetBool("squash")) fmt.Println("Source:", sourceRef) fmt.Println("Destination:", destinationRef) @@ -54,11 +55,12 @@ var mergeCmd = &cobra.Command{ } body := apigen.MergeIntoBranchJSONRequestBody{ - Message: &message, - Metadata: &apigen.Merge_Metadata{AdditionalProperties: kvPairs}, - Strategy: &strategy, - Force: &force, - AllowEmpty: &allowEmpty, + Message: &message, + Metadata: &apigen.Merge_Metadata{AdditionalProperties: kvPairs}, + Strategy: &strategy, + Force: &force, + AllowEmpty: &allowEmpty, + SquashMerge: &squash, } resp, err := client.MergeIntoBranchWithResponse(cmd.Context(), destinationRef.Repository, sourceRef.Ref, destinationRef.Ref, body) @@ -89,6 +91,7 @@ func init() { flags.String("strategy", "", "In case of a merge conflict, this option will force the merge process to automatically favor changes from the dest branch (\"dest-wins\") or from the source branch(\"source-wins\"). In case no selection is made, the merge process will fail in case of a conflict") flags.Bool("force", false, "Allow merge into a read-only branch or into a branch with the same content") flags.Bool("allow-empty", false, "Allow merge when the branches have the same content") + flags.Bool("squash", false, "Squash all changes from source into a single commit on destination") withCommitFlags(mergeCmd, true) rootCmd.AddCommand(mergeCmd) } diff --git a/cmd/lakectl/cmd/root.go b/cmd/lakectl/cmd/root.go index 57c65a8c608..a4f5eec261a 100644 --- a/cmd/lakectl/cmd/root.go +++ b/cmd/lakectl/cmd/root.go @@ -463,7 +463,7 @@ func sendStats(cmd *cobra.Command, cmdSuffix string) { errStr = resp.Status() } if errStr != "" { - _, _ = fmt.Fprintf(os.Stderr, "Warning: failed sending statistics: %s\n", errStr) + logging.ContextUnavailable().Debugf("Warning: failed sending statistics: %s\n", errStr) } } } diff --git a/cmd/lakefs/cmd/root.go b/cmd/lakefs/cmd/root.go index 6c9ebac80d3..15f21a0f101 100644 --- a/cmd/lakefs/cmd/root.go +++ b/cmd/lakefs/cmd/root.go @@ -38,6 +38,10 @@ func Execute() { } } +func GetRoot() *cobra.Command { + return rootCmd +} + var initOnce sync.Once //nolint:gochecknoinits diff --git a/cmd/lakefs/cmd/run.go b/cmd/lakefs/cmd/run.go index abf1e91bfde..7e1e832f01a 100644 --- a/cmd/lakefs/cmd/run.go +++ b/cmd/lakefs/cmd/run.go @@ -57,14 +57,20 @@ type Shutter interface { Shutdown(context.Context) error } -var errSimplifiedOrExternalAuth = errors.New(`cannot set auth.ui_config.rbac to non-simplified without setting an external auth service`) +var ( + errAuthNoEndpoint = errors.New("cannot set auth.ui_config.rbac to non-basic without setting an external auth service endpoint") + errInvalidAuth = errors.New("invalid auth configuration") +) func checkAuthModeSupport(cfg *config.Config) error { if cfg.IsAuthBasic() { // Basic mode return nil } - if !cfg.IsAuthUISimplified() && !cfg.IsAuthTypeAPI() { - return errSimplifiedOrExternalAuth + if !cfg.IsAuthUISimplified() && !cfg.IsAdvancedAuth() { + return fmt.Errorf("%s: %w", cfg.Auth.UIConfig.RBAC, errInvalidAuth) + } + if !cfg.IsAuthTypeAPI() { + return errAuthNoEndpoint } return nil } @@ -431,7 +437,7 @@ func checkRepos(ctx context.Context, logger logging.Logger, authMetadataManager for hasMore { var err error var repos []*catalog.Repository - repos, hasMore, err = c.ListRepositories(ctx, -1, "", next) + repos, hasMore, err = c.ListRepositories(ctx, -1, "", "", next) if err != nil { logger.WithError(err).Fatal("Checking existing repositories failed") } diff --git a/cmd/lakefs/cmd/run_test.go b/cmd/lakefs/cmd/run_test.go index a5fb3444946..77dcf89faf3 100644 --- a/cmd/lakefs/cmd/run_test.go +++ b/cmd/lakefs/cmd/run_test.go @@ -14,6 +14,7 @@ import ( func TestGetAuthService(t *testing.T) { t.Run("maintain_inviter", func(t *testing.T) { cfg := &config.Config{} + cfg.Auth.UIConfig.RBAC = config.AuthRBACInternal cfg.Auth.API.Endpoint = "http://localhost:8000" cfg.Auth.API.SkipHealthCheck = true service := cmd.NewAuthService(context.Background(), cfg, logging.ContextUnavailable(), nil, nil) diff --git a/contrib/auth/acl/controller.go b/contrib/auth/acl/controller.go index 2917f5b1a8b..4f7efce9d7e 100644 --- a/contrib/auth/acl/controller.go +++ b/contrib/auth/acl/controller.go @@ -75,6 +75,7 @@ func (c *Controller) ListGroups(w http.ResponseWriter, r *http.Request, params a for _, g := range groups { response.Results = append(response.Results, apigen.Group{ Name: g.DisplayName, + Description: g.Description, CreationDate: g.CreatedAt.Unix(), }) } @@ -86,6 +87,7 @@ func (c *Controller) CreateGroup(w http.ResponseWriter, r *http.Request, body ap g, err := c.Auth.CreateGroup(ctx, &model.Group{ CreatedAt: time.Now().UTC(), DisplayName: body.Id, + Description: body.Description, }) if c.handleAPIError(w, err) { return @@ -93,6 +95,7 @@ func (c *Controller) CreateGroup(w http.ResponseWriter, r *http.Request, body ap response := apigen.Group{ CreationDate: g.CreatedAt.Unix(), Name: g.DisplayName, + Description: g.Description, } writeResponse(w, http.StatusCreated, response) } @@ -124,6 +127,7 @@ func (c *Controller) GetGroup(w http.ResponseWriter, r *http.Request, groupID st response := apigen.Group{ Name: g.DisplayName, CreationDate: g.CreatedAt.Unix(), + Description: g.Description, } writeResponse(w, http.StatusOK, response) } @@ -151,6 +155,7 @@ func (c *Controller) ListGroupMembers(w http.ResponseWriter, r *http.Request, gr Username: u.Username, CreationDate: u.CreatedAt.Unix(), Email: u.Email, + FriendlyName: u.FriendlyName, }) } writeResponse(w, http.StatusOK, response) diff --git a/contrib/auth/acl/service.go b/contrib/auth/acl/service.go index cc83c528847..a4a151bd68a 100644 --- a/contrib/auth/acl/service.go +++ b/contrib/auth/acl/service.go @@ -432,8 +432,9 @@ func (s *AuthService) CreateGroup(ctx context.Context, group *model.Group) (*mod return nil, fmt.Errorf("save group (groupKey %s): %w", groupKey, err) } retGroup := &model.Group{ - DisplayName: group.DisplayName, ID: group.DisplayName, + DisplayName: group.DisplayName, + Description: group.Description, CreatedAt: group.CreatedAt, } return retGroup, nil diff --git a/contrib/auth/apigen/authapi.gen.go b/contrib/auth/apigen/authapi.gen.go index 194cb504e73..3bb1446249c 100644 --- a/contrib/auth/apigen/authapi.gen.go +++ b/contrib/auth/apigen/authapi.gen.go @@ -82,13 +82,15 @@ type Group struct { // Unix Epoch in seconds CreationDate int64 `json:"creation_date"` + Description *string `json:"description,omitempty"` Id *string `json:"id,omitempty"` Name string `json:"name"` } // GroupCreation defines model for GroupCreation. type GroupCreation struct { - Id string `json:"id"` + Description *string `json:"description,omitempty"` + Id string `json:"id"` } // GroupList defines model for GroupList. @@ -115,6 +117,8 @@ type Pagination struct { // Policy defines model for Policy. type Policy struct { + + // Access control list assigned to this policy (if exists) Acl *string `json:"acl,omitempty"` // Unix Epoch in seconds @@ -2196,55 +2200,55 @@ func HandlerWithOptions(si ServerInterface, options ChiServerOptions) http.Handl // Base64 encoded, gzipped, json marshaled Swagger object var swaggerSpec = []string{ - "H4sIAAAAAAAC/+xdW1PkuPX/Kir9/1V58dLNhkpVeJuwy4Zkd0KFZfZhiqKEfdytHVvySjLQofq7pyT5", - "ItvyBegLTXiaaqzbuf10zpGO5gmHPM04A6YkPn3CGREkBQXC/LokC8qIopx9ihUI/SeSJPzhxzRTqy8k", - "yQGfKpFDgCOQoaCZbopPsQCVC4aoglQiorsitaQS3ZsuAaa60R85iBUOMCMp4FNsmuEAy3AJKdFTqVWm", - "P0glKFvg9Tpw15PynCndqjnzkj+glLBVMbfiyK6lb1I7jDtrBDHJE4VPj+fzAKfkkaZ5an7pn5TZn98d", - "B+X6KFOwANFa4KWAmD6+jGOZ6QsReqBqOc4523yQdesAC5AZZxKMYM84ixMaGgaGnCmwvCRZltDQrH/2", - "u9QLe3IG/X8BMT7F/zerVWZmv8rZj0JwYSdqElbNtA7wZ67Oec6i7c/6b5A8FyGgz1whO+c6wFcg7kHY", - "TltfwgVTIBhJkJ0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AwAA///hBsPGw2IAAA==", } // GetSwaggerSpecReader returns a reader to the Swagger specification corresponding to the generated code in this file. diff --git a/docs/_config.yml b/docs/_config.yml index 9f9b54c25d4..d9a32bf83b9 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -18,7 +18,6 @@ social: - https://www.linkedin.com/company/treeverse/ - https://twitter.com/lakeFS - https://github.com/treeverse/lakeFS - - https://data-folks.masto.host/@lakeFS # Add an image with absolute path to each page by default # so that Twitter cards work @@ -103,8 +102,6 @@ footer_social: - "https://github.com/treeverse/lakeFS" "twitter": - "https://twitter.com/lakeFS" - "mastodon": - - "https://data-folks.masto.host/@lakeFS" "slack": - "https://lakefs.io/slack" diff --git a/docs/_includes/head_custom.html b/docs/_includes/head_custom.html index e63bd2134f8..93e1de653be 100644 --- a/docs/_includes/head_custom.html +++ b/docs/_includes/head_custom.html @@ -14,12 +14,12 @@ - - - + + + - \ No newline at end of file diff --git a/docs/assets/icons/mastodon-hover.svg b/docs/assets/icons/mastodon-hover.svg deleted file mode 100644 index 9cd766431ca..00000000000 --- a/docs/assets/icons/mastodon-hover.svg +++ /dev/null @@ -1,60 +0,0 @@ - - - icon / slack copy 2@2x - - - - - - - - icon / slack copy 2@2x - - - - diff --git a/docs/assets/icons/mastodon.svg b/docs/assets/icons/mastodon.svg deleted file mode 100644 index 34945a3999d..00000000000 --- a/docs/assets/icons/mastodon.svg +++ /dev/null @@ -1,60 +0,0 @@ - - - icon / slack copy 2@2x - - - - - - - - icon / slack copy 2@2x - - - - diff --git a/docs/assets/img/lakeFSArchitecture.excalidraw b/docs/assets/img/lakeFSArchitecture.excalidraw index 71a103afa5d..36bc1a59caf 100644 --- a/docs/assets/img/lakeFSArchitecture.excalidraw +++ b/docs/assets/img/lakeFSArchitecture.excalidraw @@ -6,10 +6,10 @@ { "id": "fKdWdkNM9XYc-7n1H_JyG", "type": "rectangle", - "x": 312.9164573811969, - "y": 3388.097421006752, - "width": 380.5651135070273, - "height": 404.61738013091576, + "x": 358.7510170252085, + "y": 3361.6559190850235, + "width": 389.40315290385337, + "height": 461.69072919178734, "angle": 0, "strokeColor": "#1e1e1e", "backgroundColor": "transparent", @@ -25,8 +25,8 @@ "type": 3 }, "seed": 1911862587, - "version": 450, - "versionNonce": 1619321077, + "version": 901, + "versionNonce": 1470497424, "isDeleted": false, "boundElements": [ { @@ -42,7 +42,7 @@ "type": "arrow" } ], - "updated": 1722538161167, + "updated": 1731847128060, "link": null, "locked": false }, @@ -88,8 +88,8 @@ { "id": "iw67kxGsUMx8mEWqnsFSX", "type": "text", - "x": 367.03899487340925, - "y": 3290.2646968477534, + "x": 408.4219476901487, + "y": 3312.2646968477534, "width": 290.91986206173897, "height": 35, "angle": 0, @@ -105,11 +105,11 @@ "index": "aW", "roundness": null, "seed": 1345709877, - "version": 360, - "versionNonce": 1668099541, + "version": 488, + "versionNonce": 1720203920, "isDeleted": false, - "boundElements": null, - "updated": 1722538620807, + "boundElements": [], + "updated": 1731847128061, "link": null, "locked": false, "text": "Applications / Clients", @@ -145,7 +145,7 @@ "version": 188, "versionNonce": 1377980475, "isDeleted": false, - "boundElements": null, + "boundElements": [], "updated": 1722537743081, "link": null, "locked": false, @@ -261,7 +261,7 @@ "version": 675, "versionNonce": 904819125, "isDeleted": false, - "boundElements": null, + "boundElements": [], "updated": 1722538759880, "link": null, "locked": false, @@ -298,7 +298,7 @@ "version": 503, "versionNonce": 518870299, "isDeleted": false, - "boundElements": null, + "boundElements": [], "updated": 1722538174899, "link": null, "locked": false, @@ -315,10 +315,10 @@ { "id": "xluZVa0RqMjTBXzbb4Q1-", "type": "image", - "x": 359.1391441738752, - "y": 3421.4096646204985, - "width": 87.77337951151338, - "height": 45.34957941428191, + "x": 419.965696581165, + "y": 3384.0780312077163, + "width": 81.20410969829025, + "height": 41.95545667744996, "angle": 0, "strokeColor": "transparent", "backgroundColor": "transparent", @@ -332,11 +332,11 @@ "index": "aX", "roundness": null, "seed": 1509193627, - "version": 261, - "versionNonce": 878351131, + "version": 614, + "versionNonce": 1019373712, "isDeleted": false, - "boundElements": null, - "updated": 1722538408255, + "boundElements": [], + "updated": 1731847128061, "link": null, "locked": false, "status": "saved", @@ -344,15 +344,16 @@ "scale": [ 1, 1 - ] + ], + "crop": null }, { "id": "HkpOPASwk5EvC4_E-VpJp", "type": "image", - "x": 508.0206088078272, - "y": 3379.5743775546794, - "width": 136.52711342222398, - "height": 136.52711342222398, + "x": 552.1739989997923, + "y": 3347.066295811333, + "width": 126.30894192327354, + "height": 126.30894192327354, "angle": 0, "strokeColor": "transparent", "backgroundColor": "transparent", @@ -366,14 +367,10 @@ "index": "aY", "roundness": null, "seed": 198202651, - "version": 524, - "versionNonce": 749691, + "version": 1290, + "versionNonce": 1736890000, "isDeleted": false, "boundElements": [ - { - "id": "eHKoneov90pPABr2ptWme", - "type": "arrow" - }, { "id": "GyPIp862EuIWsednp_LJE", "type": "arrow" @@ -383,7 +380,7 @@ "type": "arrow" } ], - "updated": 1722538406488, + "updated": 1731847128061, "link": null, "locked": false, "status": "saved", @@ -391,15 +388,16 @@ "scale": [ 1, 1 - ] + ], + "crop": null }, { "id": "4YsWiagkSZ8dcCTLG9cME", "type": "image", - "x": 340.9209831759811, - "y": 3710.5993705099286, - "width": 125.37156463400277, - "height": 57.200776364263774, + "x": 403.4820510628298, + "y": 3752.6177834090313, + "width": 115.98831381729387, + "height": 52.91966817914034, "angle": 0, "strokeColor": "transparent", "backgroundColor": "transparent", @@ -413,11 +411,11 @@ "index": "aa", "roundness": null, "seed": 134767253, - "version": 533, - "versionNonce": 34969435, + "version": 762, + "versionNonce": 1536001168, "isDeleted": false, - "boundElements": null, - "updated": 1722538400805, + "boundElements": [], + "updated": 1731847128061, "link": null, "locked": false, "status": "saved", @@ -425,15 +423,16 @@ "scale": [ 1, 1 - ] + ], + "crop": null }, { "id": "kcyl4yj8L_MmIInlnhzHu", "type": "image", - "x": 498.53338805880844, - "y": 3696.439888738266, - "width": 160.50066330115664, - "height": 72.22529848552048, + "x": 548.9271827941639, + "y": 3738.8980800186364, + "width": 148.48822663420256, + "height": 66.81970198539115, "angle": 0, "strokeColor": "transparent", "backgroundColor": "transparent", @@ -447,11 +446,11 @@ "index": "ab", "roundness": null, "seed": 218255285, - "version": 428, - "versionNonce": 1405984763, + "version": 664, + "versionNonce": 915305104, "isDeleted": false, "boundElements": [], - "updated": 1722538398712, + "updated": 1731847128061, "link": null, "locked": false, "status": "saved", @@ -459,7 +458,8 @@ "scale": [ 1, 1 - ] + ], + "crop": null }, { "id": "XC4ZfmwenvusZshR_P-vg", @@ -484,7 +484,7 @@ "version": 393, "versionNonce": 204275739, "isDeleted": false, - "boundElements": null, + "boundElements": [], "updated": 1722538040803, "link": null, "locked": false, @@ -493,7 +493,8 @@ "scale": [ 1, 1 - ] + ], + "crop": null }, { "id": "PLXjmnHvBPwOF5s_2M80N", @@ -518,7 +519,7 @@ "version": 242, "versionNonce": 1515296795, "isDeleted": false, - "boundElements": null, + "boundElements": [], "updated": 1722537740595, "link": null, "locked": false, @@ -527,7 +528,8 @@ "scale": [ 1, 1 - ] + ], + "crop": null }, { "type": "ellipse", @@ -584,7 +586,7 @@ "roundness": { "type": 2 }, - "boundElements": null, + "boundElements": [], "updated": 1722538174899, "link": null, "locked": false @@ -655,7 +657,7 @@ "groupIds": [], "frameId": null, "roundness": null, - "boundElements": null, + "boundElements": [], "updated": 1722538174899, "link": null, "locked": false, @@ -741,7 +743,7 @@ "groupIds": [], "frameId": null, "roundness": null, - "boundElements": null, + "boundElements": [], "updated": 1722538174899, "link": null, "locked": false, @@ -835,7 +837,7 @@ "roundness": { "type": 2 }, - "boundElements": null, + "boundElements": [], "updated": 1722538174899, "link": null, "locked": false, @@ -876,7 +878,7 @@ "y": 3447.863697266036, "strokeColor": "#1e1e1e", "backgroundColor": "#12b886", - "width": 204.20793772300004, + "width": 204.20793772300001, "height": 73.92223842015714, "seed": 629102677, "groupIds": [], @@ -953,7 +955,7 @@ "roundness": { "type": 2 }, - "boundElements": null, + "boundElements": [], "updated": 1722538174899, "link": null, "locked": false, @@ -1000,10 +1002,10 @@ { "id": "rV6rckVoN-g4RRvph38Hu", "type": "image", - "x": 393.6469711667261, - "y": 3644.4456908611864, - "width": 181.3168927593951, - "height": 50.36580354427642, + "x": 451.890835890738, + "y": 3695.0442749081635, + "width": 167.7464959390759, + "height": 46.59624887196553, "angle": 0, "strokeColor": "transparent", "backgroundColor": "transparent", @@ -1017,11 +1019,11 @@ "index": "as", "roundness": null, "seed": 2014252859, - "version": 594, - "versionNonce": 1871393179, + "version": 851, + "versionNonce": 524394640, "isDeleted": false, "boundElements": [], - "updated": 1722538401888, + "updated": 1731847128061, "link": null, "locked": false, "status": "saved", @@ -1029,7 +1031,8 @@ "scale": [ 1, 1 - ] + ], + "crop": null }, { "type": "line", @@ -1166,7 +1169,7 @@ ], "frameId": null, "roundness": null, - "boundElements": null, + "boundElements": [], "updated": 1722538773231, "link": null, "locked": false, @@ -1227,7 +1230,7 @@ ], "frameId": null, "roundness": null, - "boundElements": null, + "boundElements": [], "updated": 1722538773231, "link": null, "locked": false, @@ -1276,7 +1279,7 @@ ], "frameId": null, "roundness": null, - "boundElements": null, + "boundElements": [], "updated": 1722538776295, "link": null, "locked": false, @@ -1337,7 +1340,7 @@ ], "frameId": null, "roundness": null, - "boundElements": null, + "boundElements": [], "updated": 1722538776295, "link": null, "locked": false, @@ -1386,7 +1389,7 @@ ], "frameId": null, "roundness": null, - "boundElements": null, + "boundElements": [], "updated": 1722538776295, "link": null, "locked": false, @@ -1447,7 +1450,7 @@ ], "frameId": null, "roundness": null, - "boundElements": null, + "boundElements": [], "updated": 1722538776295, "link": null, "locked": false, @@ -1552,7 +1555,7 @@ "version": 13, "versionNonce": 145362939, "isDeleted": false, - "boundElements": null, + "boundElements": [], "updated": 1722538051132, "link": null, "locked": false, @@ -1569,10 +1572,10 @@ { "id": "GyPIp862EuIWsednp_LJE", "type": "arrow", - "x": 694.649249610705, - "y": 3453.837060602186, - "width": 185.09610033441322, - "height": 4.325101477211319, + "x": 749.1541699290619, + "y": 3449.289653386231, + "width": 130.59118001605634, + "height": 0.2223057387436711, "angle": 0, "strokeColor": "#1e1e1e", "backgroundColor": "#ffffff", @@ -1588,11 +1591,11 @@ "type": 2 }, "seed": 52134741, - "version": 518, - "versionNonce": 1106378875, + "version": 1003, + "versionNonce": 846712464, "isDeleted": false, - "boundElements": null, - "updated": 1722538787508, + "boundElements": [], + "updated": 1731847150799, "link": null, "locked": false, "points": [ @@ -1601,20 +1604,22 @@ 0 ], [ - 185.09610033441322, - -4.325101477211319 + 130.59118001605634, + 0.2223057387436711 ] ], "lastCommittedPoint": null, "startBinding": { "elementId": "fKdWdkNM9XYc-7n1H_JyG", - "focus": -0.6388986216549432, - "gap": 1.1676787224807867 + "focus": -0.6209306908899385, + "gap": 1, + "fixedPoint": null }, "endBinding": { "elementId": "rc8yXewY6HEPU-FwSwn3-", - "focus": 0.005457017152149088, - "gap": 2.3707090880450323 + "focus": -0.04447413942394212, + "gap": 2.3707090880450323, + "fixedPoint": null }, "startArrowhead": "arrow", "endArrowhead": "arrow" @@ -1622,10 +1627,10 @@ { "id": "94vLrbjNaZ-Is-8OTvFrb", "type": "arrow", - "x": 696.787588532765, - "y": 3737.2255527835255, - "width": 525.4833997273535, - "height": 3.7847871274498175, + "x": 752.8003605164386, + "y": 3749.072631682589, + "width": 471.93596538921497, + "height": 2.3734459621564383, "angle": 0, "strokeColor": "#1971c2", "backgroundColor": "#ffffff", @@ -1641,8 +1646,8 @@ "type": 2 }, "seed": 382577883, - "version": 488, - "versionNonce": 394028315, + "version": 1016, + "versionNonce": 1653985904, "isDeleted": false, "boundElements": [ { @@ -1650,7 +1655,7 @@ "id": "K2M3nmYuNkeXvtPaSRB-X" } ], - "updated": 1722538767196, + "updated": 1731847156943, "link": null, "locked": false, "points": [ @@ -1659,15 +1664,16 @@ 0 ], [ - 525.4833997273535, - 3.7847871274498175 + 471.93596538921497, + 2.3734459621564383 ] ], "lastCommittedPoint": null, "startBinding": { "elementId": "fKdWdkNM9XYc-7n1H_JyG", - "focus": 0.7139910422910517, - "gap": 3.3060176445407023 + "focus": 0.6710626336478095, + "gap": 4.646190587376623, + "fixedPoint": null }, "endBinding": null, "startArrowhead": "arrow", @@ -1696,7 +1702,7 @@ "version": 7, "versionNonce": 2025606677, "isDeleted": false, - "boundElements": null, + "boundElements": [], "updated": 1722538767196, "link": null, "locked": false, @@ -1713,10 +1719,10 @@ { "id": "FoG-M0XjPajxjfIcaEGnO", "type": "arrow", - "x": 698.2630736392339, - "y": 3558.9587485940547, - "width": 529.9001614314932, - "height": 0.6071894283768415, + "x": 751.3083437605845, + "y": 3557.286409892364, + "width": 476.85489131014253, + "height": 1.0651492733136365, "angle": 0, "strokeColor": "#1971c2", "backgroundColor": "#ffffff", @@ -1732,8 +1738,8 @@ "type": 2 }, "seed": 915786645, - "version": 892, - "versionNonce": 1035156891, + "version": 1343, + "versionNonce": 958418064, "isDeleted": false, "boundElements": [ { @@ -1741,7 +1747,7 @@ "id": "e1j3hXwZh4R5fHWNy3zFH" } ], - "updated": 1722538791963, + "updated": 1731847128060, "link": null, "locked": false, "points": [ @@ -1750,15 +1756,15 @@ 0 ], [ - 529.9001614314932, - -0.6071894283768415 + 476.85489131014253, + 1.0651492733136365 ] ], "lastCommittedPoint": null, "startBinding": { "elementId": "fKdWdkNM9XYc-7n1H_JyG", "focus": -0.1541714895390519, - "gap": 4.7815027510096115 + "gap": 3.1541738315226464 }, "endBinding": { "elementId": "9amrjmm6vzKNvV1txfde1", @@ -1791,7 +1797,7 @@ "version": 47, "versionNonce": 942598901, "isDeleted": false, - "boundElements": null, + "boundElements": [], "updated": 1722538756147, "link": null, "locked": false, @@ -1808,10 +1814,10 @@ { "id": "WdkrYra56assCyd-YXdgZ", "type": "image", - "x": 387.4187034983581, - "y": 3485.882509753072, - "width": 235.0192366810598, - "height": 62.67179644828261, + "x": 446.1287137782343, + "y": 3557.9775185064696, + "width": 217.4295667190742, + "height": 57.98121779175312, "angle": 0, "strokeColor": "transparent", "backgroundColor": "#ffffff", @@ -1825,11 +1831,11 @@ "index": "b0O", "roundness": null, "seed": 66171035, - "version": 301, - "versionNonce": 1657220219, + "version": 569, + "versionNonce": 626986640, "isDeleted": false, - "boundElements": null, - "updated": 1722538345803, + "boundElements": [], + "updated": 1731847128061, "link": null, "locked": false, "status": "saved", @@ -1837,15 +1843,16 @@ "scale": [ 1, 1 - ] + ], + "crop": null }, { "id": "sFbdpiCJ6bbj4yMSWgtQQ", "type": "image", - "x": 340.86626496980244, - "y": 3568.785474244225, - "width": 122.21054171253093, - "height": 47.35658491360573, + "x": 403.06042421214914, + "y": 3630.0467361993547, + "width": 113.06387301869914, + "height": 43.812250794745914, "angle": 0, "strokeColor": "transparent", "backgroundColor": "#ffffff", @@ -1859,11 +1866,11 @@ "index": "b0P", "roundness": null, "seed": 1476771035, - "version": 235, - "versionNonce": 1673623515, + "version": 501, + "versionNonce": 564051088, "isDeleted": false, - "boundElements": null, - "updated": 1722538410304, + "boundElements": [], + "updated": 1731847128061, "link": null, "locked": false, "status": "saved", @@ -1871,15 +1878,16 @@ "scale": [ 1, 1 - ] + ], + "crop": null }, { "id": "z5AUyrD2Xi7HOoCOe7774", "type": "image", - "x": 547.4960521538019, - "y": 3577.6217443948617, - "width": 102.655193953193, - "height": 37.78281444110576, + "x": 594.2253081303182, + "y": 3633.2216686746606, + "width": 94.972116571869, + "height": 34.955015127146225, "angle": 0, "strokeColor": "transparent", "backgroundColor": "#ffffff", @@ -1893,11 +1901,11 @@ "index": "b0Q", "roundness": null, "seed": 849362939, - "version": 280, - "versionNonce": 1516248827, + "version": 519, + "versionNonce": 364423824, "isDeleted": false, - "boundElements": null, - "updated": 1722538526994, + "boundElements": [], + "updated": 1731847128061, "link": null, "locked": false, "status": "saved", @@ -1905,7 +1913,8 @@ "scale": [ 1, 1 - ] + ], + "crop": null }, { "id": "9OvAOafyzEx2eTcf6a6sZ", @@ -1930,7 +1939,7 @@ "version": 57, "versionNonce": 1717000277, "isDeleted": false, - "boundElements": null, + "boundElements": [], "updated": 1722538651923, "link": null, "locked": false, @@ -1947,8 +1956,8 @@ { "id": "Fhakw2nF56ggm_i2A1Hlz", "type": "text", - "x": 317.8442255491933, - "y": 3839.670578499913, + "x": 367.03081660045905, + "y": 3856.102039602422, "width": 595.9036865234375, "height": 20, "angle": 0, @@ -1964,11 +1973,11 @@ "index": "b0S", "roundness": null, "seed": 1798373467, - "version": 528, - "versionNonce": 1326136149, + "version": 792, + "versionNonce": 622779504, "isDeleted": false, - "boundElements": null, - "updated": 1722538964014, + "boundElements": [], + "updated": 1731847183579, "link": null, "locked": false, "text": "* All Data & Metadata is always stored within your Account and Network", @@ -1980,10 +1989,124 @@ "originalText": "* All Data & Metadata is always stored within your Account and Network", "autoResize": true, "lineHeight": 1.25 + }, + { + "id": "o8X_Fx326X8JiZIkuuFA9", + "type": "image", + "x": 484.73042132190164, + "y": 3441.4926633490163, + "width": 119.0231773445256, + "height": 47.53260544515676, + "angle": 0, + "strokeColor": "transparent", + "backgroundColor": "#1e6b61", + "fillStyle": "solid", + "strokeWidth": 4, + "strokeStyle": "solid", + "roughness": 2, + "opacity": 100, + "groupIds": [], + "frameId": null, + "index": "b0U", + "roundness": null, + "seed": 865759344, + "version": 847, + "versionNonce": 207935632, + "isDeleted": false, + "boundElements": null, + "updated": 1731847128061, + "link": null, + "locked": false, + "status": "saved", + "fileId": "b001d66de9fa144d4d413562a3a62181d0d4450e", + "scale": [ + 1, + 1 + ], + "crop": null + }, + { + "id": "JaEdbiO1wbDmtQyyd6isX", + "type": "image", + "x": 369.14936862099376, + "y": 3505.4835047322053, + "width": 176.6006152010927, + "height": 44.388175607862905, + "angle": 0, + "strokeColor": "transparent", + "backgroundColor": "#1e6b61", + "fillStyle": "solid", + "strokeWidth": 4, + "strokeStyle": "solid", + "roughness": 2, + "opacity": 100, + "groupIds": [], + "frameId": null, + "index": "b0W", + "roundness": null, + "seed": 585527920, + "version": 961, + "versionNonce": 2036024976, + "isDeleted": false, + "boundElements": null, + "updated": 1731847128061, + "link": null, + "locked": false, + "status": "saved", + "fileId": "f6104a267b941b1e71e4188461fabc63c1406c02", + "scale": [ + 1, + 1 + ], + "crop": { + "x": 14.061882697898454, + "y": 17.14293450507074, + "width": 1181.0609396595476, + "height": 296.85706549492926, + "naturalWidth": 1208, + "naturalHeight": 314 + } + }, + { + "id": "TXSTOQI5F5qlrOUNCuuHb", + "type": "image", + "x": 559.6305978501075, + "y": 3496.5944271721455, + "width": 170.64923206272238, + "height": 60.146860481123454, + "angle": 0, + "strokeColor": "transparent", + "backgroundColor": "#1e6b61", + "fillStyle": "solid", + "strokeWidth": 4, + "strokeStyle": "solid", + "roughness": 2, + "opacity": 100, + "groupIds": [], + "frameId": null, + "index": "b0X", + "roundness": null, + "seed": 208157808, + "version": 490, + "versionNonce": 1143701616, + "isDeleted": false, + "boundElements": null, + "updated": 1731847139613, + "link": null, + "locked": false, + "status": "saved", + "fileId": "0909b69b3afd8b5bbaf69e31cbd2868cc931bde5", + "scale": [ + 1, + 1 + ], + "crop": null } ], "appState": { - "gridSize": null, + "gridSize": 20, + "gridStep": 5, + "gridModeEnabled": false, "viewBackgroundColor": "#ffffff" }, "files": { @@ -2056,6 +2179,27 @@ "dataURL": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABaAAAAISCAYAAAA6BWg4AAAAAXNSR0IArs4c6QAAIABJREFUeF7svQe4dFV9tn9/9KogiAVBFFSwi0qsoILYe+w9USyJfv6NSWz5EnuMxhhjSYw1drGLiNhLsDewYhcsgBRFesl/P7hWHMfzvu+cc6bstefe1zXXOWfOzN5r3b81e9Z61m896//gIQEJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKYAYH/M4NzekoJSEACEpCABCQgAQlIQAISkIAEJCABCUhAAhKQAArQNgIJSEACEpCABCSwPAQ2AzaHS/qA9eeW5ff8XR+j/6/9xUn7jXldHv8DXAxcCFwAXFR+z9+jj7zOQwISkIAEJCABCUhAAhIYKIFJB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m//lg88Ex2KZ9+Pe+nmcIykQwf7f8mhGWSQT4vfoQrdwil/kO0czfTkKkc/suP9vvbMsHD2iE6lnhfDytYk0kIAEJSEACEpCABCQgAQlIQAJrJrCvF/Y1V8/DS0ACEpDAxAi05w4/iYxGRD5b/eRvTahuPxGgEaqb2Izf9DnL9qP9xAKE75yx9tmipltUMwIx4jMRy01YRnhGcEZkbh+EZyKZEZ2x1ODvCssT64CejgQkIAEJSEACEpCABCQgAQmsloAC9Gp5ezQJSEACEjgtASKiZ4Xj9r9NgOY5hQiNWE00NdHQRE23SOv2k78TcY0QzffYvkUo87OJyyck4YMo3SKg+TdezQjWzXqD/9c2w94qAQlIQAISkIAEJCABCUhAAhKYk4AC9JwA3VwCEpCABFZOAPsOxOb2aeJzs+pAoEZMRlhuthlNeG6WGQjNiM4mCVx583lACUhAAhKQgAQkIAEJSEACEtgkAgrQm9TanqsEJCCB6RLYNTEiZzobwWw083Tb3jOTgAQkIAEJSEACEpCABCQggRET+P+cUSL/ZLHLPgAAAABJRU5ErkJggg==", "created": 1722538515722, "lastRetrieved": 1722538515722 + }, + "b001d66de9fa144d4d413562a3a62181d0d4450e": { + "mimeType": "image/png", + "id": "b001d66de9fa144d4d413562a3a62181d0d4450e", + "dataURL": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABNoAAAHwCAYAAABwhAK9AAAAAXNSR0IArs4c6QAAIABJREFUeF7snQm4jtX6/9dpEoWMlQybSH6oiJSKXCSFilRHw0lJVJo1J42nTpNGpVJySMoxnAaOyCE/kgyVkkhHSqNMSYN//a/PfX7L2Tli7/2+63mf93m+67reaxv2fobPWvt51vqu733ff/j1119/dWoiIAIiIAIiIAIiIAIiIAIiIAIiIAIiIAIiIAIZEfiDhLaM+OmHRUAEREAEREAEREAEREAEREAEREAEREAERMAISGjTQBABERABERABERABERABERABERABERABERCBLBCQ0JYFiDqECIiACIiACIiACIiACIiACIiACIiACIiACEho0xgQAREQAREQAREQAREQAREQAREQAREQAREQgSwQkNCWBYg6hAiIgAiIgAiIgAiIgAiIgAiIgAiIgAiIgAhIaNMYEAEREAEREAEREAEREAEREAEREAEREAEREIEsEJDQlgWIOoQIiIAIiIAIiIAIiIAIiIAIiIAIiIAIiIAISGjTGBABERABERABERABERABERABERABERABERCBLBCQ0JYFiDqECIiACIiACIiACIiACIiACIiACIiACIiACEho0xgQAREQAREQAREQAREQAREQAREQAREQAREQgSwQkNCWBYg6hAiIgAiIgAiIgAiIgAiIgAiIgAiIgAiIgAhIaNMYEAEREAEREAEREAEREAEREAEREAEREAEREIEsEJDQlgWIOoQIiIAIiIAIiIAIiIAIiIAIiIAIiIAIiIAISGjTGBABERABERABERABERABERABERABERABERCBLBCQ0JYFiDqECIiACIiACIiACIiACIiACIiACIiACIiACEho0xgQAREQAREQAREQAREQAREQAREQAREQAREQgSwQkNCWBYg6hAiIgAiIgAiIgAiIgAiIgAiIgAiIgAiIgAhIaNMYEAEREAEREAEREAEREAEREAEREAEREAEREIEsEJDQlgWIOoQIiIAIiIAIiIAIiIAIiIAIiIAIiIAIiIAISGjTGBABERABERABERABERABERABERABERABERCBLBCQ0JYFiDqECIiACIiACIiACIiACIiACIiACIiACIiACEho0xgQAREQAREQAREQAREQAREQAREQAREQAREQgSwQkNCWBYg6hAiIgAiIgAiIgAiIgAiIgAiIgAiIgAiIgAhIaNMYEIEEEPj555+d//z444+Ozw8//OA2btxof+b/vv/+e/fdd9+53Xff3ZUvX97tsMMObuedd3alSpXa/ClTpoz9/4477pgAKroFERABERABERABERABERABERABEYiWgIS2aHnrbCIQhAAi2tq1a92aNWvc6tWr3apVq9xXX31lH/7Mv61cudL99NNPbtddd3UNGjQwcQ1hrUKFCq5SpUquatWqrnr16q5GjRr2PWoiIAIiIAIiIAIiIAIiIAIiIAIiIALFIyChrXi89N0ikDMC33zzzWYBzYtn69atM4ENpxp/9q61DRs2uF9++eU3n//3//6f44NbDScb7Q9/+IM52/ggriG48UF8K1eunDnfcLjx4e985f8Q5fwxcgZEJxYBERABERABERABERABERABERCBmBGQ0BazDtHliMDvEVi4cKFbsGCBfd577z0LCcWhRlgoAtqvv/76mx/d8u/bI4vo5ttOO+3kdtllFxPT+FSrVs2cbrVq1TI3XOPGjV3ZsmW3d0j9vwiIgAiIgAiIgAiIgAiIgAiIgAikioCEtlR1t242HwisX7/effrpp27FihW/+fBvmzZtso93p/EV5xqiWnGFtW2xwOGG88273fyf+coHVxvCG5+6deu6OnXquL322sv+XU0EREAEREAEREAEREAEREAEREAE0kpAQltae173HQsCCGU0X8AAd9oXX3zh5s6d6+bNm+c++OADK2rAxwtqub5wnG98cLyVLl3aFRQUuJYtW7qGDRua4EbuN19kQUUVct1bOr8IiIAIiIAIiIAIiIAIiIAIiECUBCS0RUlb5xKBLQjgXiO3GqLa/PnzTVj7+uuv/8u5houNlk3XWiad4XO7EWKKmMZXxLW9997bHXTQQa5Jkyb2VQ63TCjrZ0VABERABERABERABERABERABPKNgIS2fOsxXW9eE/ChnhQw8JVAly9f7qZOner4unHjRsu7FhdBrTiwfZEFKpkisrVp08YcbnvssYcVUVBOt+LQ1PeKgAiIgAiIgAiIgAiIgAiIgAjkIwEJbfnYa7rmvCVACCgVQnGwTZo0yb3zzjsmrm2Zcy0fb9C73LzDjdBSiie0bdvWhLdGjRrl423pmkVABERABERABERABERABERABESgyAQktBUZlb5RBEpGABHt+++/t9xrFDRYsmSJmz17tlu2bJnlXiM/W9IaohuC26677mqOthYtWrjmzZtb8QQqmOJ6I9RUTQREQAREQAREQAREQAREQAREQASSREBCW5J6U/cSSwKIaStXrjQHG59Vq1ZZeCh51+JS4CAEOO9wo3Ip7jZEt2OOOca1b9/eBDflbwtBXccUAREQAREQAREQAREQAREQARHIJQEJbbmkr3MnmgB52BDVFixY4ObMmWOVRAkTjVMF0ag6oHD+trp167oDDjjAqpQ2aNDABDe526LqCZ1HBERABERABERABERABERABEQgJAEJbSHp6tipJkCI6LvvvusGDx5slUWT7mDbXmfjcKMhuu22224msp199tkmuJUqVcr+XU0EREAEREAEREAEREAEREAEREAE8pmAhLZ87j1deywJILDhYps1a5YJbbjYyMOW5DDR4nQEghsONkJJydd21FFHudatW7u99trLlS9fvjiH0veKgAiIgAiIgAiIgAiIgAiIgAiIQKwISGiLVXfoYvKZwM8//+z4kIdt2LBh7uuvv3YbNmzI51sKeu1ecCtbtqw799xzXdOmTS13GyKc3G1B0evgIiACIiACIiACIiACIiACIiACgQhIaAsEVodNDwGqiiKwLVq0yL366qtuypQpJrB54S09JIp3pwhtfCiUULp0aXfggQe6E044wdWpU8cENzUREAEREAEREAEREAEREAEREAERyDcCEtryrcd0vbEigMj23XffuRUrVpjA9ve//919//33VlX0119/jdW1xvliENxwth1yyCHuyCOPdM2aNbMw0jJlysT5snVtIiACIiACIiACIiACIiACIiACIvAbAhLaNCBEoIQEvMiGk41QUb5SURQnG/nY1IpHgJBRPghuRx99tGvXrp1VJ1UTAREQAREQAREQAREQAREQAREQgXwhIKEtX3pK1xkrAohpONcoejB16lT3z3/+0/6O+CYnW2ZdRRgpTrZjjjnGtW3b1kJJVSQhM6b6aREQAREQAREQAREQAREQAREQgWgISGiLhrPOkjAC69evdytXrnQDBw5077//vlUV3bRpk0S2LPTzDjvs4HbaaSfL21a/fn3Xu3dv16RJkywcWYcQAREQAREQAREQAREQAREQAREQgbAEJLSF5aujJ4yAL3Awe/ZsN23aNPtQ+EBOtux2NDnbvNh21FFHuQ4dOriGDRtaWKmaCIiACIiACIiACIiACIiACIiACMSVgIS2uPaMriuWBAgPpfjBnXfe6ebMmWNFDxDf1LJPALFtxx13tDDSpk2buosvvtgVFBRk/0Q6ogiIgAiIgAiIgAiIgAiIgAiIgAhkiYCEtiyB1GHSQQBxjZxs//jHPxzho3Kyhe13xDYKJOy2226Ws61Vq1bu4IMPtn9TEwEREAEREAEREAEREAEREAEREIG4EZDQFrce0fXElgCi2pAhQ9yzzz5r1UVxs6lFQ8CLbVQj7du3r0JIo8Gus4iACIiACIiACIiACIiACIiACBSTgIS2YgLTt6eTwL/+9S8LFR05cqQVQUB046MWDQEKJCC2lStXzp177rnugAMOsEIJaiIgAiIgAiIgAiIgAiIgAiIgAiIQJwIS2uLUG7qW2BFATKOi6MyZM93QoUPdJ598Yjna1HJDgBDSWrVqua5du7rjjjvOxDfyuKmJgAiIgAiIgAiIgAiIgAiIgAiIQBwISGiLQy/oGmJLYO3atW7ZsmVu7Nix7p///KeJbip+kLvuohIp4hrFEQghrVq1qqtQoULuLkhnFgEREAEREAEREAEREAEREAEREIFCBCS0aTiIwO8QQFBDZJs4caJ76aWX3Jo1axQuGpPRgrh22mmnuZYtW7oGDRrE5Kp0GSIgAiIgAiIgAiIgAiIgAiIgAmknIKEt7SNA979VAohsuNlmzJjhHnnkEQsXpfjBr7/+KmIxILDrrrtaJdLzzjvPnXzyyTG4Il2CCIiACIiACIiACIiACIiACIiACDgnoU2jQAS2QgCRjbxs48ePd++++65VGZXIFp+hQl42Qkhbt27tevXq5apUqaJKpPHpHl2JCIiACIiACIiACIiACIiACKSWgIS21Ha9bnxbBD777DN36623uvfee89ENlUYjd94QWyrWLGiO/PMM90RRxzhCgoK4neRuiIREAEREAEREAEREAEREAEREIFUEZDQlqru1s0WhcCKFSvcggUL3AMPPODWrVtnIls+utn+8Ic/uB122ME+hRv3wueXX37Jy/vy98L9ET5avXp117t3b9eiRQtVIS3KANf3iIAIiIAIiIAIiIAIiIAIiIAIBCMgoS0YWh04Hwkgqk2fPt1NmDDBzZo1y23YsCEfb8OuGSFql112cVTq5M++IbBt2rTJBMR8d+rhaiNfW48ePVy3bt1cmTJlTGxTEwEREAEREAEREAEREAEREAEREIFcEJDQlgvqOmdsCSA8DRw40L3yyivu+++/twII+dAQnBDUEJn4ID7VqFHDVa1a1ZUrV+434tOPP/5o94Zbj1x0q1evNkHRC2+IcHz8vcfZzefFxHr16llRhMMOO8xVrlw5H7pM1ygCIiACIiACIiACIiACIiACIpBAAhLaEtipuqWSEaDSKNVF+/Tp4z7++ONYh4wiMBX+eHGtZs2armnTpu7ggw92++23n9t9991NdNtaI/fcxo0bHfnoCJflw30vXrzYrVmzxv4P95v/cIw4im6IjNwn90xhhLp16zr+TU0EREAEREAEREAEREAEREAEREAEoiYgoS1q4jpfbAksWrTIzZ071z399NMmNMVZWPLCGgITghrutWrVqpmDrVKlSvapUKHCNnOW4WBDXERQQ2D0H1xuq1atcl999ZWDydKlS+17cMLFMV8dgiM8YHHJJZdYrjbuX2JbbH/VdGEiIAIiIAIiIAIiIAIiIAIikFgCEtoS27W6seISePHFF93IkSPN2RXH3Gw+PJS8a7jUmjVr5po3b+4OOuggE9jIT5btNn/+fDdv3jw3adIkE94IJ0Wci6Pgxv23b9/edezY0TVs2PB3nXzZZqTjiYAIiIAIiIAIiIAIiIAIiIAIiIAnIKFNY0EE/o/Afffd58aNG2fOLcSkuDQfIkqFTQS1Vq1ambiGY81/SpUqFcTB5XO4ff31127ZsmVu5syZbuHCheZ+I49bnEJJESDJR9e1a1fXvXt3V758+bh0oa5DBERABERABERABERABERABEQgJQQktKWko3Wbv09g/fr1Fip55513mnurcE6yXHJDYNthhx2sciif+vXruzZt2piLrU6dOpFfGkUT3nnnHTdt2jT3+uuvbw4nhVccBDdfgbRx48auf//+JkoqfDTyYaITioAIiIAIiIAIiIAIiIAIiECqCUhoS3X36+YhgFNrzpw5bsiQISa4xUE04roQicg9RhVNkvzXqlXL8rBtq8BByB7F5Ue1UkJIly9f7kaPHm3uNsJJcbflunlhsmLFiu7+++83XiHCaXN9nzq/CIiACIiACIiACIiACIiACIhAfAlIaItv3+jKIiKAO2vEiBGW+B93W64bgtFOO+3kSpcubcJahw4d7IPAFgfhiGqlhI7OmjXLkdduyZIlltMuDk5A2BEyev7551sV0lw4/3I9fnR+ERABERABERABERABERABERCB3BGQ0JY79jpzTAiMGjXKDR48eHMoZK4vC5ENQY0QyN69e292ZsUpDJJiCLjb1q1b5wYOHOjeeOON2DjbyGVH5VHEyXbt2uW6O3V+ERABERABERABERABERABERCBFBGQ0Jaiztat/pYAoZA4swgZHTt2rAlFCEi5arixyMWGkw2hiHxsfMXJFieRzfOBFQynT5/uJk+ebOG38Mx1zjYKQyC2devWzfXp0ydX3anzioAIiIAIiIAIiIAIiIAIiIAIpJCAhLYUdrpu+d8ECBNduXKlGzRokIVB5jLPmM8vVrZsWdesWTPXs2dPK36QD41QUnLb3XDDDe7DDz/MuWDpc9u1bNnS/eUvfzGEcRQq86FvdY0iIAIiIAIiIAIiIAIiIAIiIALFIyChrXi89N0JIrBixQqroPnXv/7Vffvttzl1s+HCwsnWqlUr1759e9egQQNXoUKFvKDtw0gnTpxoOdsoLrFx48acFZXwomVBQYEJbZUqVbK8bWoiIAIiIAIiIAIiIAIiIAIiIAIiEJqAhLbQhHX82BJ455133NChQ938+fPN3UbIYy4awlC5cuUsef+pp57qmjdvnovLyOiciG1UI33rrbfcAw88YDxxCOaygisC29VXX23OwBo1amR0f/phERABERABERABERABERABERABESgKAQltRaGk70kkAaqN3nbbbZZXjPDHXIhCO+ywg4U1NmrUyPKJ1a5d21WuXDkveVMcYfny5W748OFWHMGLbbm6GVxsHTt2tFx3iJhqIiACIiACIiACIiACIiACIiACIhCagIS20IR1/NgRwH2Fe41Qx/vuu89t2LAhZ/nZCBnddddd3RlnnOH+9Kc/OS+8xQ5aES9o7dq1VhRhzJgx7u2333Y//vhjzpyCFJHYd999Xffu3S0cV00EREAEREAEREAEREAEREAEREAEQhOQ0BaasI4fOwK+2ui4cePcU0895XBi5cLNBhhcV8cee6y5rpo2bZr3Sfs920mTJrnBgwdvFjFzwRcBk+qj55xzjoltaiIgAiIgAiIgAiIgAiIgAiIgAiIQmoCEttCEdfzYEUBYI2H/6NGjHYIQYaNRN/KyETK61157uQEDBlgOsapVq0Z9GcHOR967Rx991C1evNhCc3MhtO28884Ox+Af//hHd8EFFwS7Vx1YBERABERABERABERABERABERABDwBCW0aC6kjsHr1ajdjxgw3atQot3TpUvfTTz9FzmCnnXYyEYgqo/3793eIQghvSWmfffaZmzlzphWboEgC4bpRNx+GS562G2+8MerT63wiIAIiIAIiIAIiIAIiIAIiIAIpJCChLYWdnvZb/vzzz9348ePd2LFj3Zo1axzhjlG30qVLW6XR008/3fKzJa1RCGHlypVuyJAhjqITMI66qiuuQT6HHHKIu/76612FChVcmTJlkoZa9yMCIiACIiACIiACIiACIiACIhAjAhLaYtQZupRoCKxYsWKzAJSryphly5Z1Xbt2dUcccUSiK2I+/fTTjg9FEXIhaCK01apVy/Xr18/VrVs3UeG50fy26CwiIAIiIAIiIAIiIAIiIAIiIALFISChrTi09L2JIEB+tnvuuce99957VgghyrBG77LaY489LGS0QYMGiRZ/JkyY4B5++GFHNVJY56JVrlzZ9ezZ07Vo0cIVFBTk4hJ0ThEQAREQAREQAREQAREQAREQgZQQkNCWko7Wbf6HAAn6b7jhBgttxGkVZUgjQhv52fbcc0+ryrn33nsnumsoivDKK6+4KVOmWJhuLlrFihVd586dXfv27U3YVBMBERABERABERABERABERABERCBUAQktIUiq+PGlsDChQvd5Zdfbi6rTZs2RVoRk4IHu+yyi9t///3dHXfckWg3GwOAMN1Fixa5e++913399dc5GRO4BwnR7dKli2vSpElOrkEnFQEREAEREAEREAEREAEREAERSAcBCW3p6GfdZSECuKzI2YXQ9uuvv0YqtOFmIyH/YYcd5q644gpHWGOSGznwVq1aZVU/CdWFd9SNohONGze2whOHHnpo1KfX+URABERABERABERABERABERABFJEQEJbijpbt+osH9u8efPcVVdd5datWxe58IObjUIInTp1cj169HDly5dPdLfAm/BcQnWpPkqYbtRi2+677+6qV6/uevfu7Vq3bp1o3ro5ERABERABERABERABERABERCB3BKQ0JZb/jp7xARIyD9nzhw3YMAAE9qibqVKlXJVqlRx3bp1s1BGRLc0tFtuucVNnDjRKo9GWXwCtjgI4YyDsF27dmnArXsUAREQAREQAREQAREQAREQARHIEQEJbTkCr9NGTwCBZ/Xq1W727Nnu7rvvzonQtuuuu1pC/q5du7o2bdqYCJSGNmjQIPfCCy+4jRs3up9++inSW4b5brvt5i699FLXsWPHSM+tk4mACIiACIiACIiACIiACIiACKSLgIS2dPV3qu8Woe2LL75wM2bMcAg/5A+LupUuXdrys1EFs3nz5qkR2oYNG+b44Cj84YcfIsWOixBB86KLLnInnnhipOfWyURABERABERABERABERABERABNJFQEJbuvo71XeL0LZs2TI3ffp098wzz7jvvvsuch4IPu3btzdnVcOGDR1uqzQ03GxPPvmkMcfVFmXbeeedHQLn+eef70499dQoT61ziYAIiIAIiIAIiIAIiIAIiIAIpIyAhLaUdXiabxehbenSpW7atGlu+PDhORPacFV16NDB1a9f3yECpaG9+OKL5mj7/PPPzdUWZZPQFiVtnUsEREAEREAEREAEREAEREAE0k1AQlu6+z9Vd++FtqlTp7pnn302J0IbucJOOeUUE9oKCgpSI7RNmDDBjR492n344Yduw4YNkY47L7RdeOGF7uSTT4703DqZCIiACIiACIiACIiACIiACIhAughIaEtXf6f6bhHaEHoQ2p577rmcCm2Ej9apUydVQtvzzz9vjsJcCG2E7F5wwQUS2lL9BNDNi4AIiIAIiIAIiIAIiIAIiEB4AhLawjPWGWJCIC5CW7du3czRliah7eWXX3ajRo1yH3/8ceRC2y677GI52iS0xeQXUZchAiIgAiIgAiIgAiIgAiIgAgkmIKEtwZ2rW/stgbiEjp5wwgmpy9GG0DZy5Ei3fPnynAhtONr69u3runbtql8LERABERABERABERABERABERABEQhGQEJbMLQ6cNwIILQh9FAMYejQoW79+vWRX2Jaq46OGTPGmH/77beRF0MoVaqUg/tFF13kKEShJgIiIAIiIAIiIAIiIAIiIAIiIAKhCEhoC0VWx40dAYS2L774ws2YMcMNGjQoJ0IbIYwtWrRwnTt3tq8IQGloVHl95plnzM32ww8/RHrLEtoixa2TiYAIiIAIiIAIiIAIiIAIiECqCUhoS3X3p+vmEdpWr17tZs2a5e699163bt26yAHsuuuulpuNPG1t27Z1ZcuWjfwacnHCxx57zHK0IbL9+OOPkV4CzBE0L7nkEhM41URABERABERABERABERABERABEQgFAEJbaHI6rixJEC46FtvveVuvvnmnAhtuKv22GMPd8opp5jYlhah7b777nNjx451P/30k/v5558jHRu4CHfffXd3xRVXOKq9qomACIiACIiACIiACIiACIiACIhAKAIS2kKR1XFjSQCRZ+7cue7aa681oe3XX3+N9Dp33nlnE33atWvn+vTp4ypUqBDp+aM+GS5CmCNsvvbaa46///LLL5FeBryrV6/uevfu7Vq3bh3puXUyERABERABERABERABERABERCBdBGQ0Jau/tbdOufmz5/v+vXr59auXRu56LPjjjs6QhmbNm3q+vfv7ypXrpzoPiFUdOPGjcYb7rlo5cqVcwceeKA744wzXPPmzXNxCTqnCIiACIiACIiACIiACIiACIhASghIaEtJR+s2/0Ng4cKF7vLLLzehbdOmTZG62nbYYQe30047uWrVqrkHHnjAviK+JbV9/vnnbunSpe7OO+90/DkXDdcgDsKOHTu6Aw44IBeXoHOKgAiIgAiIgAiIgAiIgAiIgAikhICEtpR0tG7zPwQWL17sbrjhBrdy5UpLzB9lKOMf/vAHxwfx56677rLCCOXLl09s9yBqTp061Y0bN84KUeSiVapUyZ122mnuiCOOcPXq1cvFJeicIiACIiACIiACIiACIiACIiACKSEgoS0lHa3b/A+BZcuWmci1aNEi9/3331vesCgbQhvhjIQytmjRwjVq1CjK00d6rsmTJ7snnnjCRM0NGzZEem5OBmvCcy+++GJzs9WoUSPya9AJRUAEREAEREAEREAEREAEREAE0kNAQlt6+lp3+n8EVqxY4YYMGeKmT5/uvvvuOwsfjbqVKVPG1a9f35144omuc+fOUZ8++PkQL3ELjho1yg0bNszytFFxNOqG0Fa3bl3LEVe7du3E58SLmq/OJwIiIAIiIAIiIAIiIAIiIAIi8FsCEto0IlJHgFxhY8eOtXBG8rRRFTPqtssuu7jSpUubyEa+uKQ1nIKrVq0yN9urr75qIlvUFV5hitB28MEHuwEDBli4LgKnmgiIgAiIgAiIgAiIgAiIgAiIgAiEIiChLRRZHTe2BMgVNmPGDPfCCy+4Dz/8MCdOKwogUBShcePGJgIRSlq2bNnYMivuheEanDlzphs6dKj75ptvIg/P9SIbnNu2beuuu+46q/a68847F/dW9P0iIAIiIAIiIAIiIAIiIAIiIAIiUGQCEtqKjErfmBQCuK0oiICrjRxiP/zwQ05uDbcVifqvvfZaC29MUv6wOXPmuIEDBzoEN3jnws2GkImwdtJJJ7lLLrkk0dVdczKAdVIREAEREAEREAEREAEREAEREIH/IiChTYMidQQIFcXVNmbMGDf+GXMsAAAgAElEQVR8+HDLH5YLIQjwu+++u9t3331d9+7dXfv27fO+LxAtEdcmTpxofBHZyIGXC7442AjPPfvss63whJoIiIAIiIAIiIAIiIAIiIAIiIAIhCYgoS00YR0/tgRefvllqz6ai8qjHop3XXXp0sVddtllee+6IkyUIhMUQVi+fHlOwnI926SJmLH9RdKFiYAIiIAIiIAIiIAIiIAIiIAIbCYgoU2DIbUEpk2b5m677TarPJrLZP3kEatSpYrr0aOHa968uSsoKMjLPvEhuQ8++KD76KOPzClI9dFctT322MMhYB5xxBGuSZMmuboMnVcEREAEREAEREAEREAEREAERCBFBCS0paizdau/JTB37lw3aNAgt3TpUhPbchHe6K8I91XNmjVNbGvZsqUrVapUXrnbENRwsFFk4umnn3br1693v/zyS06HXOXKlV3//v1dnTp13D777JPTa9HJRUAEREAEREAEREAEREAEREAE0kFAQls6+ll3uRUCy5Yts2IIo0ePtpxtuXRfkbQfce2oo44yFxbiUPny5fOm38jNNnLkSPf888+7tWvXuh9//DFnwiVFJvjUrl3bPfLII5YHr0yZMnnDUhcqAiIgAiIgAiIgAiIgAiIgAiKQvwQktOVv3+nKMySAuEb10aeeesq9/fbbOUva72+DEFLCHY899ljXrl07E4oQiPj3ODYvTH7xxRcO0fLRRx91n3zyiYlsuRQt4UXuu0MOOcQ98MADcUSnaxIBERABERABERABERABERABEUgoAQltCe1Y3db2CVB9lJDRIUOGWIVM8rTlMtwRFxbONsQ1XG1t2rRxdevWdVTPjGODHx8cgbjZYImzDYa5DMPdZZddjGGnTp3c5ZdfHkd0uiYREAEREAEREAEREAEREAEREIGEEpDQltCO1W0VnQAVMgcPHmzJ+3Fj5bJ5sa1cuXKudevWlsifMNIaNWrk8rJ+c27canAit90777xjQtvXX39totumTZtyfp2IbPXr13ddu3Z1HTt2zPn16AJEQAREQAREQAREQAREQAREQATSQ0BCW3r6Wnf6OwSoPjpixAgLIyWJf64bYtsOO+xgrqyGDRuaWNShQ4fYhJBSXZSwWwS28ePHm4vNC5S5dLL5fiO3XZ8+fayCKyKlmgiIgAiIgAiIgAiIgAiIgAiIgAhERUBCW1SkdZ7YEliyZImbPXu2e+aZZ9yqVatic52EkZYuXdpVqVLFwkgPOuggE94ompCLcFIENiqLLlq0yFGx9c033zRhEodbLnOy+Q5DoCQ3G3nu7rzzzrwrKBGbgacLEQEREAEREAEREAEREAEREAERKDEBCW0lRqcfTAoBxKI1a9a4a6+91r3//vuxuy1yjiGuEUrao0cPV6lSpZxUJP3888/dlClTzMW2cuVKy2kXB4HNdxgiGwJks2bN3HXXXecqV64cu77UBYmACIiACIiACIiACIiACIiACCSbgIS2ZPev7q4IBMgtRvjjwIED3aRJk0xAikOuMX/phJFSSRN3W8WKFd2hhx5qYZG426pWrVqEOyz5t3z22WfmYsPBNm/ePLdixQoLE/WVReMQKurvDjES91+3bt2smETZsmVLfuP6SREQAREQAREQAREQAREQAREQAREoAQEJbSWAph9JJgGKIjz11FNWPZPCCHFrPncbAhKurc6dO1vSf4Q4wkz9xwtzxb1+3GlUDEV0RGhEgFywYIGbOXOme/31192GDRvs33NZmXVb97Tbbru54447zvLZNWjQICfhtcVlru8XAREQAREQAREQAREQAREQARFIFgEJbcnqT91NBgSooImo9Pzzz7u1a9e6OLm1/G35qqSEk/IhjJSE/7Vr13YFBQWuVq1aVqHUi25FxeFdfZ9++qnlYPOfL7/80txr/D8fmMSNC0xw/CFAXnrppe6www5zFSpUiE3xiKL2gb5PBERABERABERABERABERABEQg/wlIaMv/PtQdZIkAlTS/+uord8MNN1iIZJzdW4hLXnQjZJLPfvvtZ5+6deu63Xff3aqWFtXdhpj2zTffuA8//NDNmTPHcrDh6oNBnPKwba2ruUfuf88993Q33XSTO+CAA7I0InQYERABERABERABERABERABERABES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rFnTde3a1bVo0cKKJfBvO+64Y/xvQFcoAiIgAiIgAiIgAiIgAiIgAiKQNwQktOVNV+lCc0nAh5AuWrTInG3PPvusW7NmjV2SnG257JminRuxrVSpUm633XZzF1xwgWvZsqU52xDb1ERABERABERABERABERABERABEQgWwQktGWLpI6TCgJr1651q1atckOGDHEzZ840Z9tPP/0ksS0Pet+LbdWrV3cdO3Z0rVq1smqkhJWqiYAIiIAIiIAIiIAIiIAIiIAIiEA2CEhoywZFHSM1BLyzbeHChW7WrFnuhRdecOvXrzehTc62+A8DxLaddtrJKpD269fPNW7c2O29997xv3BdoQiIgAiIgAiIgAiIgAiIgAiIQF4QkNCWF92ki4wbAQoirFixwo0dO9acbVQjlbMtbr209etBbKNAQsWKFV2nTp3M3YbwVrZs2fy4AV2lCIiACIiACIiACIiACIiACIhAbAlIaItt1+jC4k7g559/NrFt6tSpbtiwYSa2UY1ULf4EqEiK4IbYNmDAAFerVi23zz77xP/CdYUiIAIiIAIiIAIiIAIiIAIiIAKxJiChLdbdo4uLMwHCSL/77ju3dOlSN3r0aPfmm29aZVL+XS3eBBDaaKVLl7YCCSeddJI52yiQoJxt8e47XZ0IiIAIiIAIiIAIiIAIiIAIxJmAhLY4946uLS8IkKPtww8/dGPGjHHTp0+3Agk425SzLf7d551t5Gk7//zzXf369V2NGjXM7bbjjjvG/wZ0hSIgAiIgAiIgAiIgAiIgAiIgArEiIKEtVt2hi8lHAoSQUo100aJFbsqUKW7GjBmbnW0S2+Ldo4WdbTjZTj31VNehQwc52+Ldbbo6ERABERABERABERABERABEYgtAQltse0aXVi+EUBsI2fb+PHj3eTJkx0CHB/cbT53m4S3ePaqr0ZarVo1E9uaNm1qOdtKlSolZ1s8u0xXJQIiIAIiIAIiIAIiIAIiIAKxJCChLZbdoovKRwKIaoSNLl++3Nxts2bNcu+++6778ccfrSLppk2bVCwhxh2L2LbLLrtYzrYzzzzTtWrVyu21115WoVRNBERABERABERABERABERABERABIpCQEJbUSjpe0SgGAS+//57x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azYbPlibMUa39rXwvxVnDefnBzVr1nR33nmnCfq835PcJLQluXd1b7EnQO42BCdENj4rV660rwhS7B544S2Oedz85Mw72Pbdd197mdeqVcsennwQ2Vgs+UZuOha1r776qrlIWOxyn8V5UOeiU72zjZ2X448/3kTEKlWqKGdbLjpD5xSBLBD45ptvbINj1KhRtvDJl5D2LNx68EP4nJz+K8/P4jbeL3y23MjhfYK4xofJOsIb4sB+++1nAlzSd8eLy1Hfn58EcNriMMHNxrwwZPObiaVLlzZhm43Shx56KOQpU3vsM844w6JYmPcjpIZsCKdEYJx44omuX79+IU+lY+cpAdaWPGdGjhxpUVasSb0AvDXHml+rldQEwvOFVEKHHnqou+WWW8xJW3iNmKcYt3nZEtqS2Ku6p7wkgDUX4Wn58uVu7ty55vz66KOPNhcQ8A+2wl+50S3/ns2b9wsk70govIDybgJCQwk5YNesbt26tgDalquAnVomjjNmzHDDhg0zJwn37ndOsnn92TwWLLgvJi6nn3765mqk27vfbF6DjiUCIpAdAl999ZUbPny4GzdunPvXv/5l4RJq8SbA89c73ZicIwwgrLGgbNasmTmNCS1lg4d/YxLvP3Igx7tvdXW/JfD444+7ESNG2Mbk119/HQke3KdsnNarV882IHzYdiQnT8lJbr/9djdx4kT3+eef23w/5CazdwTzXHziiSeU9iQlY6yot8m6i/XYdddd595880335ZdfBk2hwRoKgwLv6NNOO82dd955Rb3UvP4+CW153X26+CQRYGeBBx+7XLyAvduNiRYON8QpvvqQS76fDxZ0PiFcbyxsfPiPd7DxoGzcuLEtagjnwUXAh8UNE7Pthe5wnYhr3A+7tq+88oqJi7j3QtxDNscILwoWeizuTjnlFAuv4KUhF0U2KetYIhCegIS28IyzfQbvvOEd44Uz73zjPVVYfOO5zOaP/0g0yHZv6HghCfTs2dPy2TLfi8pt63+/iE645JJLTLxGdFPLHoH58+fbnBchk7k9c95QYpt/NuL8JccwkRhsiquJAARYZzIGEbxw9bP2ZB0WovmQUSKerrrqKnsvp+XZIqEtxIjSMUUgiwQQ3HggIkx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M+DX9LeT6Ay5c/2+OVjAKE66NU3W0AACAASURBVBrR8KYuS7fnc4oCbRhlap+bKB1FGYYUYwmMCiUzgLb2vFizuhNOwC677JLKQ2Q+RwXQyFodSnECaGvnOuV8aFgxShn5wa6jgusA2tq5NkvcVQBtJazarWt6/zU7IOdAryc368G0KMWAmlkACGhbbLHFElCzxBJLJOAmxsQtIPbAVjG/pRn0WIjKRffaa68kCTIqUjVjnR3xX+7qCFxR1ltyeJeAGd4jTbiAbjEnJS0+9mvzsTCHxUDKiuuOB4BrYi5rBPBm1An2+TysOiWj6623XrXNNttUX/7yl8duwPjJTlqgONCmGUJd9Ps8A14i5TgWsayGwHEURgBt7Z9lYsebbbZZte6666YNdlTowgAcbClOb0lR4vavgPbeoYDhF7/4RerONCo6bQIxwe2TTz6ZHK46OgvmFcDho9EmGbT33ntXiy++eHsXRw/vLIC2Hk7qGB/JOfT++++nsiGyBsA26wHQXuce4HbtAcCAr3/960ksfJR0hcc4XWP+MSVgmh8ceOCBSZuNr1FqPgXqYg3xhViDX6ej4agkT8c6KeK/Z555JukeajrkPSsJZANTzA3tU1VN2KFxto51tur5ufPOOy/FAxin3tkmhnXiq2RZ+eBz+SzlqxivgHkdkb/61a+ODBGoiTluy2cWBdqg1q+88krtQJuDjvAhujLUWOA4CiOAtvbPsmzG6quvXm244YapnfOoZNrOOuus6oYbbqi9JKf9K6I9dyjAE6AAfkZlzwS0eebnn38+lRHUVcZg1p1TGK461NEMWXTRRduzGEbgTgJoG4FJnsUjKhe69957k5wBlk1uelAXi23wtgA1NHroWGFixZi4BbBk6ED5euedd4ru50A2IKm5+/nPfx7lvrOZNueqZBbW3z/+4z8mQLukPhdQY/75509zg62q02SM9ljAe4pxiukIGB+FkXU4VY7ARmhxBig/CjNfVUWBNkKUNC9klEpuqjNOVQ5gVlxxxbSYRyWbEUBb+19awBogY+ONN07loxy1URi6DREnrhvMGAXbDusZldhnFvDXvva1YV221df585//XO2+++6p5XwTzGvZTXqiW2+9dWrvHq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48aNrUuXLta8eXPXhZQNAQQQQAABBBBAAAEEEEAAgSAFCNqC1OZYkRRQqKTH0KFD7ZNPPnFNAqK0NpvWXdPUTwVJNWvWdCGSQraqVauapkv6uWnq6N69e111mx5ff/21W7tORppmGqWptTJSVVuHDh3slltucWvTsSGAAAIIIIAAAggggAACCCAQpABBW5DaHCuSAlqD7NChQ/bwww/b0qVLXXgUpQBJAZuqs6677jrr3r27q2Aryuq1vA6KKv0Utk2ePNlWrFhxImzL6/P9/j6v4k8B5JAhQ6xSpUp+H5L9I4AAAggggAACCCCAAAIIIPAzAYI2XhAJL7BhwwZbsmSJDRs2zFVvRSFk8xb4L1WqlFt7TVVsWodNFW2q3FKnzaA3TSXV9NG1a9c6L63fpoo3r0tp0Odz8vG8NexSU1Otf//+bu26c889N+zT4vgIIIAAAggggAACCCCAAAIJJEDQlkCDzaX+ssCCBQtszJgxrkorJycndCZVZmm6qEK2zp0726WXXurWHgsjXPslDAVuqgCcMGGCjR071q3bpqmkUakE1PTR1q1bW/v27S0zMzP08eQEEEAAAQQQQAABBBBAAAEEEkeAoC1xxpor/RWBcePG2euvv+4aICgwCnNTVZamhlapUsXatWtnGRkZruHBWWedFeZp/ezY6jyqNew2b95sq1evtvHjx7s/e51Jwz5RTavV2nWaavvnP/857NPh+AgggAACCCCAAAIIIIAAAgkkQNCWQIPNpf5cQGGRwrXhw4fbhx9+6IIihUhhbd50UVVk3Xzzza4a65xzznFTRaO8qbJNFYGaVqpGCWFXtqkaUGFlixYt7PHHHzdVCEalGjDK48i5IYAAAggggAACCCCAAAIIFF6AoK3whuwhRgUOHDhgWp/t7bffti+//DL0LpoKiNQpU5VYWpNN64uFtR5bfoZ0586dtnHjRnvuueds9+7drtrt+PHj+dlFkX6vt1ZbrVq1XFMENZLQgw0BBBBAAAEEEEAAAQQQQAABvwUI2vwWZv+RFdi6davNmzfPRo4cad9++22o1WxJSUmm7qJdunRxD00djaVwyKsM/Pjjj936baoODLupRFpamj366KNWo0YN58mGAAII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HD/RYajjx8ssvO+ew1sIrX768XXnllda2bVurW7duoNfPwRBAAAEEEEAAAQQQQAABBBJLgKAtscabqzWzdevW2TPPPGNZWVmu0kpdSIPaFLJpUX6FP6+99pprhhBPa7Od7Lho0SLXdEKhpqaThrEp1NRaeOo+2qhRozBOgWMigAACCCCAAAIIIIAAAggkiABBW4IMNJf5X4E1a9bYPffcY7t373bTRo8fPx4Yz+mnn+6CtZo1a9qgQYOsYsWKgR07jANt2rTJli1b5ioItTZeGJs6utavX9+thxeP03TDMOWYCCCAAAIIIIAAAggggAACvyxA0MYrI+EEVq5caVocXxVWqmb76aefAjNQyFayZElr2bKl9evXz8qVKxfYscM4kNZpU9fRBx54wOQexla6dGmrWrWq3Xrrrc6dDQEEEEAAAQQQQAABBBBAAAG/BAja/JJlv5EV+Oqrr2zgwIEuaAuymk0gSUlJrtvoFVdc4bqNpqamRtapKE5MFYOanvvwww/bggULnHeQwaauoVSpUpaWluaCTTWfYEMAAQQQQAABBBBAAAEEEEDALwGCNr9k2W8kBVTBtnTpUrv33ntDWTPszDPPtLPPPtu6d+/uFuhX6JYI26OPPmrTp093FYRBroknW1UQKmy7++67rX379onAzTUigAACCCCAAAIIIIAAAgiEJEDQFhI8hw1H4ODBg7Z48WJ74oknLCcnJ/CTSE5Otjp16li3bt2sTZs2LgRKhO2ll16yiRMn2rFjx9y6eEFuJUqUcEGbpgt36tQpyENzLAQQQAABBBBAAAEEEEAAgQQTIGhLsAFP5MtVJdXevXvdFMbBgwebQregN4U+F154oV111VXWrFmzhAna3nzzTXv//fftyJEjdvTo0UDZFW4qaLvrrrusc+fOgR6bgyGAAAIIIIAAAggggAACCCSWAEFbYo13Ql+tgrbs7GybN2+e64IZVtDWokUL69KlizVu3NgUAiXCNmrUKHv33Xft8OHDbs22IDdN11XloII2ubMhgAACCCCAAAIIIIAAAggg4JcAQZtfsuw3cgIK2rZu3eqCtmHDhoUStCnwadu2rausql+/fsIEbWPGjLERI0a4oE1VbUFuakAh99tvv91N2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QQAABBBBAAAEEEEAAAQSiJEDQFqXR4FwQQAABBBBAAAEEEEAAAQQQQAABBGJWgKAtZoeOE0cAAQQQQAABBBBAAAEEEEAAAQQQiJIAQVuURoNzQQABBBBAAAEEEEAAAQQQQAABBBCIWQGCtpgdOk4cAQQQQAABBBBAAAEEEEAAAQQQQCBKAgRtURoNzgUBBBBAAAEEEEAAAQQQQAABBBBAIGYFCNpidug4cQQQQAABBBBAAAEEEEAAAQQQQACBKAn8P9nqS5HBreztAAAAAElFTkSuQmCC", + "created": 1731846113674, + "lastRetrieved": 1731846113674 + }, + "f6104a267b941b1e71e4188461fabc63c1406c02": { + "mimeType": "image/png", + "id": "f6104a267b941b1e71e4188461fabc63c1406c02", + "dataURL": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABLgAAAE6CAYAAAAV5esiAAAAAXNSR0IArs4c6QAAIABJREFUeF7snQn8bVPd/9fvVookSopSFxkyK3HVP4+Ekkw9KJI0aFBSiTx56kaolDKlkHm40UCkQsS9XFNyiSR0H5VIKXpIhuf+/q/3Wnvtvfbaa5+zzzlr77PPOd/18nN/v3P2XsNnfdf0Wd9has2ZG08vUkpNTSs1PaWCyX7Hv26yz09N80X2spuPfYfP3Pcpc4aaVovS99w8bEF+haaVeYrP7e/8lpXuVdFUN1+9Qhv9r3N50LapEmB03tn30/p3A+TU1JRuXTBlwKVfT+tW0SbKMu1zvjS/etWYnl6kpqZmhMvo8VPTH0rXeGp6kZqukK/FLa2plgMycCoaws9+5mPXpc45qdDCZNquce+QOn9b9qJFhJ7I9+OUW64r1L6Q26zLPk/qrmXFa4P9LPRdj11beDxrmelvm8w4Rnyz/rOf2eeoD5+VSHYqQ73W0ci9FXM7Djrn4sqD/p2ZbGpGNnqSv91c/Hq7baYPQu1z+wLEpp0JbmpqOvd35xo7yKcTblIji7nOO/+ZlQ3qwdxSjj5Db0r9n5o2EupNbGkfJsD58z1VcqUeOQAf/rXYuO0Ljzvmvuwpd0rIhr07Ir25Lq122efZzOg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VEcffbS65ZZbxriV1ZrG+GZfAOn35JNPVnupw1PPfOYztcsBfvh9khN7nu9+97tCbk2yEEjbBQFBYKIQEIJrorq7NY2dWnvmJtr60FwsGo2FMNGVEVzjpMH1t7/9TRNbOJVv+pCKZgVmiR/+8IcbFwiIvPPPP19ddNFFioiRbOQ5tLMBh9TaZJNN1Pbbb69e85rXNF43KXB0EKiD4Np8883V5Zdf3koQjjjiCHX33Xeru+66S2t9Qo6T+L3p+aNXgCC51ltvPfXzn/98bC4oesVAnhcEuiHwxz/+UX3mM59RF1xwQZD87va+/z0XRmuttZY6/fTT1dprr93r6/K8ICAICAKCgCAwsggIwTWyXTfSFU+dzBcJLt/zlm3nlFpw97yxOCCxkT311FPVj370I31j22RaeumltUN51PU5eDaVOIh/7WtfU/gZs1pb3FjbH0wo+OGmFTMxNMwwnaSekgQBH4FJI7ggtCCH0fp66KGHFJpeEMP8ftppp2mi+O9//7smje3nbZEaxvQLX/hCtfrqq6t58+a1pVpSD0GgVQgIwdWq7pDKCAKCgCAgCIwwAkJwjXDnjXDVp9ZZaeNppWboJmR+uMrILZ6aUr9eOH+Em2yqjkP5448/Xl111VVRbml7AcSSWzvssINabrnlenm172c5lF9//fXq8MMPVw8//LAmt7r5GILoQqNriSWWUJtuuqk64IADtD8fSYKARWDSCK5OPf/73/9em/yi4XXddddp316YfkF4/fnPf9ZaXk2aQIfqimn5CiusoDU0zz33XBFkQUAQ8BAQgktEQhAQBAQBQUAQiIOAEFxxcJRcekOghOAymUxNodlTdIo66iaKNlriNddc06hDeetz693vfrfadttttU+OptKll16qvvrVr2qTql79ilBvHH9vueWWWptrxRVXbKraUk7LERCCq3sHQXYRxfCee+7R8w3Oq//yl79oMiwU3KN7joM9gQkycw+bjqOOOkpI68HglLfHDAEhuMasQ6U5goAgIAgIAkNDQAiuoUE/0QU7TubBIXM0byMr5kkuo9k1ygQXm9djjz1WXX311fqA2VSy0RLxufWOd7yjUbPEm266SR188MHqvvvu69sUE3l47nOfq3bddVd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lncnRxo0bZ3379nW+PKQwsXCpVjcBntmItEfcIlqDtMRibhK4im90qTJ6yimnuEgurAKoQCihK9w4E7nZqlUrJxxG2SRwRUlXAlfWAleZK68YVFdMenG9O3tsvKPl8WgDBgyw5557zolcK1as0A0yDbbkauMrwYsXlb0OPfRQV3EHzy210iYggau0x79Urx5fIIpp8JDt2/yatAGit1iQUYufgASu+JlnekQ+f9dee62LouRZzvdnMNPzydfteXZjMZKI0BYtWtjVV1/tPFKLvUngKt4RHjhwoN1///2umBhC1/Lly4v3YiO6MjJwEL0DH74333wzoiMlu5XAFSnetTpXimISSeUIrgqD+TILUhTZCJErYYHhvBW0wBXMBCph4aPCCiBmoPlg/BnvRyC9oyFsYUiKsNWzZ0/r0qXLWlWD0utJWxUjAQlcxTiquqa6CJAycfLJJzuPRzyCfDYeTm644Qbr3Lmzz27VV5oEJHClCSrHm02ePNnZI+C3ishFNIeErvIH+/JFScQtPLYQBfh/qTQJXMU/0nz2hw8f7oQuPvuK5qp7zBG8ycKhoMR2221nZ5xxhnuOibpJ4IqacOX+JXDVInChaOG9tcaHi43XRHGNnzHSqlaOiXf4wh+Niou8mLACeMUVV9i3334rkasKVsxICWvnJnjggQe60teIXYU+9uFnj3oICEjg0lwoRQIsiixevNhFRfiu7sS9Fu8t7rVq8ROQwBU/82yOGHwG+fz9/e9/t+nTp7uIDjWriNrixfKmm25yXjul9Nwmgav4PwWI2nz2iebEn49Fp+oqlxY/ifSuEHFr8803d8Vrzj77bDv44INd4EIczxkSuNIbI19bSeBKFbiI3HJhWmXJfy3/M6thfCgqr4rVs2IQuIKJhMiFnwMPtXiefP31195X5H1N2rj6wTz+d7/7nR133HHWoUMHV3EHc1I1EahKQAKX5kQpE2jbtq3NnDnTpSr6aCwo4Gv46KOP+uhOfWRBQAJXFtByvAseMtdcc40zoF+wYIF7nivFxnPatttu64T30047zfbcc0+XnlhqTQJX6Yw4ItfQoUPtuuuucwLXN998433RqZBpEphAKiL3hG7duhnP7DvssEOsRcEk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mS5+8FkP7GMCykEF1OA+wPsb9hz4InOv6Ny5s3u3474gcbs056auOnsCFQIXiW4VbvNVUhKrilzvKkUxe+I17MlLEqkuQUPIKkTF1DsYdSgCIiACeUZg+PDhLgWc6Nyw1Zko442v4957760Ktnk2zjqd0iUwc+ZMe++991w1tqAR6UXUR3WRQQhhwb8H1amr0uPfgwVKjIA7dOjgFia32247Ffop3ammK89TAlRhxX5m/vz5LjCBKC8aEWDVWdAggAX/zuc8WLAiKpM/VxW4+Hv79u3ddz/iFoVmCG5QEwERCE/ACVyVxK1q+iQ1MWFJ43JLlNnEWe+EP7J6EAEREAEREIECI0Do9+233279+/d31UMzXclNvVxeePF24WVaTQREoHAJYEdBgQIaERiqhlq4Y6kzF4FMCSB6vfbaaxUR3URkqlhSphS1vQj4I5AUuBKJuksmB1FdErj80VdPIiACIiACBUVg2LBhdvnll7vojrCN9ES8E6nEqCYCIiACIiACIiACIiACIhCOQDJFsZaUxOq6HzdjpFIpwnHX3iIgAiIgAgVI4Pzzz3emtKQshGksLOGz2LdvXzv55JPDdKV9RUAEREAEREAEREAEREAESDh0Alc6LUUEmygPrnSIaRsREAEREIEiI9C1a1cbOnRo6KvCZ5E0hjFjxmjBKDRNdSACIiACIiACIiACIiACZon2rfYvC0zx8OKiOcUrNaqrSmVFCVyaOiIgAiIgAqVGYNy4cXbBBRcYVRTDNqqk9ezZ0y666KKwXWl/ERABERABERABERABERCB2iK4ajOel8CluSMCIiACIlBqBHr06GEjR46sVPE2Wwb77LOPPffcc6qalC1A7ScCIiACIiACIiACIiACVQhUSlGsq5pisK8ELs0jERABERCBUiJAyfDTTz/dPvroI1u2bFmoS19//fVdeXAqr6mJgAiIgAiIgAiIgAiIgAj4IZCsokhfVSsp1mI8L4HLD3z1IgIiIAIiUBgErrzySnv88cdt1qxZoU94++23tyOPPNLuuOOO0H2pAxEQAREQAREQAREQAREQgSSBRPuWfyjDc4uKToEXVwCHf7OysqQnV0pTFUVNHxEQAREQgVIi0LlzZ/v000/tm2++CX3ZHTt2dOJWu3btQvelDkRABERABERABERABERABFIErqTUVVngcuIWhvNO/qrcRn3ypjVo0ECVnzSLREAEREAEip7Ar7/+agcccIBNmzbNfv7551DXy3friSeeaI8++miofrSzCIiACIiACIiACIiACIhAZQIugqs6KNX+Y3naolIUNY1EQAREQARKhcCAAQPslltusblz51a76JMJh80339zOOussI+VRTQREQAREQAREQAREQAREwB+BGgUuDrGWyFUucClF0d8AqCcREAEREIH8JkDFw88++8wWL14c6kSJ3sJc/uabb7b9998/VF/aWQREQAREQAREQAREQAREoDKBWgWuakUuM1MEl6aRCIiACIhAqRBo2bKlffnll/bbb79lfcn16tWzTTfd1Pr27Ws9e/a0TTbZJOu+tKMIiIAIiIAIiIAIiIAIiMDaBCpM5vkVrlupUVvVGc+znSK4NJVEQAREQASKncDKlSvtnXfesb/+9a+2YMGCUJe7/vrr26677mpPPPGE7bzzzqH60s4iIAIiIAIiIAIiIAIiIAK1CFxJS/k1AlcgdlUVvSRwaRqJgAiIgAiUAgEM5Y888kh7//337aeffgp1yY0aNXLm8ldffbXhw6UmAiIgAiIgAiIgAiIgAiLgl0BFBFcgcAXdE8nlKimWlVVEdQVil1IU/Q6CehMBERABEcgvAkRvffTRR3b00Ufbt99+a/w928Z36WabbWbnn3++nX322UpPzBak9hMBERABERABERABERCBWggkPbjKhayq2wUiV1lZZbt5CVyaUyIgAiIgAsVM4IsvvrBevXrZG2+8YcuXLw91qeutt55tv/32Nm3atFD9aGcREAEREAEREAEREAEREIGaCZSbzJfHZiF0kaZYVub8uFJbqsQlDy5NKREQAREQgWIm4FPgatq0qR166KE2cODAYkamaxMBERABERABERABERCBnBJItG+5f1ll5y0nca0lbqV6cSmCK6djpoOLgAiIgAhETGDIkCF23nnn2Zw5c0JVT+Q0t9tuO3vzzTdtxx13jPis1b0IiIAIiIAIiIAIiIAIlC6B8giu2gFUlrtURbF0p4uuXAREQASKn0AQvfXWW2/Z0qVLXVRztm3ddde1HXbYwT7++ONsu9B+IiACIiACIiACIiACIiACaRCoW+BKJCoe7oO0xbEzRto666yTRvfaRAREQAREQAQKi8BDDz1k//3vf72IUk2aNLHddtvNRowYUVgQdLYiIAIiIAIiIAIiIAIiUGAE6ha41kpYVARXgY2xTlcEREAERCBNAgsWLLATTjjBJk2aZD/99FOae1W/Wf369W3nnXe2m266ybp27RqqL+0sAiIgAiIgAiIgAiIgAiJQO4E6BS5XSTGlD/7+zvS3rUGDBmIrAiIgAiIgAkVFACP422+/3aZOnRr6uho3bmx77LGHvf3226H7UgciIAIiIAIiIAIiIAIiIAIhBa6quyNwyWRe00oEREAERKAYCRxwwAH24Ycf2o8//hj68hC3/vOf/1j37t1D96UOREAEREAEREAEREAEREAEIhC4xsmDS/NKBERABESgCAnsvffe9v7774eunAiaPffc06644go7+uiji5CULkkEREAEREAEREAEREAE8otAnSmKVU9XEVz5NYA6GxEQAREQAT8Ehg8fbueee659+umnoTts1KiRtWvXzgYNGmRbb7116P7UgQiIgAiIgAiIgAiIgAiIQO0EEu1b7l9mFjht1V4KPdhqwuwx4ioCIiACIiACRUXgoIMOsk8++cS++eab0Ne1yy672Omnn+4EMzUREAEREAEREAEREAEREIHoCWQkcHE6iuCKflB0BBEQAREQgXgJfPTRR3b88cfb7Nmzbfny5aEOvt5669kf/vAHGzBggO24446h+tLOIiACIiACIiACIiACIiAC6RHIKkVRHlzpwdVWIiACIiAChUEAn6zx48fbggULQp3wOuusY82bN7ebbrrJunXrFqov7SwCIiACIiACIiACIiACIpA+gYwFLroeK5P59AlrSxEQAREQgbwm8Ouvv9pee+1lX375pS1btizUuTZs2NC6du1qt912m22//fah+tLOIiACIiACIiACIiACIiAC6RPISuCSB1f6gLWlCIiACIhA/hL46aef7MYbb7T77rvPfvzxx9AnSnri6NGjrW3btkY0l5oIiIAIiIAIiIAIiIAIiEA8BGoVuAJTebNEufsWJ5WwsTNG6ME9nvHRUURABERABCIkMG3aNDv22GPt888/D+29Vb9+fWvSpImNHTtW0VsRjpm6FgEREAEREAEREAEREIHqCCiCS/NCBERABESgJAlQLfGWW26xBx980H755RcrK6u9knBdkBo1amRt2rSxl19+2TbbbLO6NtfvRUAEREAEREAEREAEREAEPBKQwOURproSAREQAREoHAJDhgyxvn372tSpU2316tWhTpzorS233NL69+9vXbp0sQYNGoTqTzuLgAiIgAiIgAiIgAiIgAhkRiArgUsm85lB1tYiIAIiIAL5ReC7776zXr162dChQw0frrBtk002sV122cUmTJgQtivtLwIiIAIiIAIiIAIiIAIikAWBRPuW+7ucjISttjLntVVdS/XgMhsz/W2tTmcBW7uIgAiIgAjkB4EXXnjBrrvuOpsyZYqXE9puu+3ssssus549e3rpT52IgAiIgAiIgAiIgAiIgAhkRsAJXGvkq+r8RwLRa83vVEUxM8jaWgREQAREIL8IHHLIITZ58mT7/vvvvZzYzjvvbNOnT/fSlzoRAREQAREQAREQAREQARHInECiQ3kEV1K+qkngqvzvErgyB609REAEREAE8oPAOeecY8OGDXOVE8N6b3FFTZs2td12283efvvt/LhAnYUIiIAIiIAIiIAIiIAIlCCBCoHLak1RrExGAlcJzhRdsgiIgAgUAYFXXnnFGcvPmjXLli5d6uWK9thjD7vvvvusQ4cOXvpTJyIgAiIgAiIgAiIgAiIgApkTcAJXmYvcquyzVVtXMpnPHLT2EAEREAERyD2BTp062aeffmoLFy70cjKNGze2Pffc04YPH+6lP3UiAiIgAiIgAiIgAiIgAiKQHYFEh1b7l5WVBSmIa/ttVdetBK7sYGsvERABERCB3BD47bffXJTVrbfeavPmzbMVK1aEPpH11lvPfv/739uFF15o3bt3D92fOhABERABERABERABERABEcieQKJ9yz+UJSxha6K46KzMEgn+jT+m+m8lXKDXhFmjsz8uETAbAAANzUlEQVSi9hQBERABERCBGAksW7bM+W0hQs2ZM8eWLFni5ehUTjzzzDPtoosu8tKfOhEBERABERABERABERABEcieQIrJfJkhdCXlrerM5tccRB5c2QPXniIgAiIgAvERWLlypX322Wd23nnn2dixY735btWrV89Id7zjjjts9913j++CdCQREAEREAEREAEREAEREIFqCVSqohg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4bOiksm8/k3kDojERABEcglAfyuWrdubb/88kudp5FIJJyIxQ/iFf8nhbFx48buZ5999qnog0ivHXfc0f2dtEMqF9LGjx9vq1atcumQ8+fPd8IXf4+q4bt11lln2ZlnnhnVIdSvCIiACIiACIiACIiACIhACAKJ/15/Z9nRfz3Sfrf575yoRSNlEXFrxbIVtuzXpTblvQ/tqjOut3U3bmD16tezsTNGKoIrBHTtKgIiIALFRIDoLaKo+vfvn7WhO9UJidbCnD61iElqRNfq1asrIrhWrFhhZWVlrjoif46ykZrYpk0bGzhwoDVp0iTKQ6lvERABERABERABERABERCBLAkkPpo8tWzXPXYxXi6qa7xALPrxJzvv1H/blHEf2XrrNrB3vxib5eG0mwiIgAiIQLERGD58uJ133nk2ffr0SKOocsGNyo/4biHgtWvXLhenoGOKgAiIgAiIgAiIgAiIgAikQSCx+KfFZY02rr10O6kfY0eOsxN6nGVb1N/QPvi/iWl0rU1EQAREQARKgcCAAQOsT58+Lj2RRZFiaaRO7rLLLnbllVdat27diuWydB0iIAIiIAIiIAIiIAIiUJQEEmVpvo3gbXLZBVfYiOdG24SvZLJblLNBFyUCIiACGRL46aefrHfv3va///0vwz3ze3OimjHBpzLkJZdcYttuu21+n7DOTgREQAREQAREQAREQARKnEDaAhecPpryof25299t+oz35cFV4hNHly8CIiACECA98dJLL7WJE4snspfILczuMZQn9RIDfDUREAEREAEREAEREAEREIH8JpCRwLX012V24zU321U3XJ7fV6WzEwEREAERiIXAySefbEOGDLGFCxfGcrw4DrLZZpsZVRNHjRqlxZw4gOsYIiACIiACIiACIiACIuCBQEYCF9mMk8ZNsnYd2umh3wN8dSECIiAChU6gR48eNmzYMPvuu+8K/VLc+W+xxRa200472b333mu77757UVyTLkIEREAEREAEREAEREAESoFARgIXQGZMn2mtdmwpgasUZoeuUQREQARqITBp0iQ799xzbfLkybZixYqCZ9WkSRMnbl199dV2wAEHFPz16AJEQAREQAREQAREQAREoJQIZCRwLVu6zAbccK+dc9lZ1qBBg1LipGsVAREQAR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BBIdWu6fdAVOrDmpwCbYCVrB78rMkn8ts7EzRiqCK3/GUGciAiIgAnlP4Mknn3SeXUR3LVq0yIldRHhRxIRGpBd/5t9T24oVKyoivxCtGjZsWPHrBg0aVHwXkVq/8cYbu6qI/J8qiV27drXzzz8/79noBEVABERABERABERABERABMITSHRoVS5w1dRXedSWq46VSDiVa8Ls0eGPrB5EQAREQARKmgBpi3fffbcTtsaMGeOqMVb17UIMQ/yiIW4hYAUNISsQvIjaevPNN0uapy5eBERABERABERABERABEqZQDKCKyV6qyqMoOo72lbQlKJYylNG1y4CIiACIiACIiACIiACIiACIiACIiAC+UWg1gguorYSgbLlUhTRwhI2XhFc+TWKOhsREAEREAEREAEREAEREAEREAEREAERKGECdacoAiclTRHBa/wspSiW8JzRpYuACIiACIiACIiACIiACIiACIiACIhAXhFIT+CqcspKUcyrMdTJiIAIiIAIiIAIiIAIiIAIiIAIiIAIiEBJE5DAVdLDr4sXAREQAREQAREQAREQAREQAREQAREQgcInkCJw4SJPLmI1LUhRNHN+9EpRLPyB1xWIgAiIgAiIgAiIgAiIgAiIgAiIgAiIQLEQqLOKYuqFYjpviYRNkAdXsYy/rkMEREAEREAEREAEREAEREAEREAEREAECp5ARimK5YFciuAq+GHXBYiACIiACIiACIiACIiACIiACIiACIhA8RBIK0UxELaCy5bJfPFMAF2JCIiACIiACIiACIiACIiACIiACIiACBQ6gYwiuNzFlpmNnz260K9b5y8CIiACIiACIiACIiACIiACIiACIiACIlAkBBIdWv2xrEZz+SoXKQ+uIhl1XYYIiIAIiIAIiIAIiIAIiIAIiIAIiIAIFBGBtCO4KtIUFcFVRMOvSxEBERABERABERABERABERABERABERCBwifgBK5EMvOw1rZG4Fpt42e/U/hXrisQAREQAREQAREQAREQAREQAREQAREQAREoCgJpR3ClXu34WfLgKorR10WIgAiIgAiIgAiIgAiIgAiIgAiIgAiIQBEQ+P8AygSmdvCSETsAAAAASUVORK5CYII=", + "created": 1731846238642, + "lastRetrieved": 1731846238642 + }, + "0909b69b3afd8b5bbaf69e31cbd2868cc931bde5": { + "mimeType": "image/png", + "id": "0909b69b3afd8b5bbaf69e31cbd2868cc931bde5", + "dataURL": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAtwAAAECCAYAAADNdQCrAAAAAXNSR0IArs4c6QAAIABJREFUeF7tnYe3LVWV9YucBREQA6hkDAQF0ZagREFpBUHFALYJtU3do3sMfP0faPMpCjZm27YVeCC0ioAo8SmKIooCKogJQQEREFFBeN/4bZzX9coTau+qE+reWWOcce9795xTu+Zee+25wl5rtZUrV66sfBkBI2AEjIARMAJGwAgYASMwEQRWM+GeCK7+UiNgBIyAETACRsAIGAEjkBAw4bYgGAEjYASMgBEwAkbACBiBCSJgwj1BcP3VRsAIGAEjYASMgBEwAkbAhNsyYASMgBEwAkbACBgBI2AEJoiACfcEwfVXGwEjYASMgBEwAkbACBgBE27LgBEwAkbACBgBI2AEjIARmCACJtwTBNdfbQSMgBEwAkbACBgBI2AETLgtA0bACBgBI2AEjIARMAJGYIIImHBPEFx/tREwAkbACBgBI2AEjIARMOG2DBgBI2AEjIARMAJGwAgYgQkiYMI9QXD91UbACBgBI2AEjIARMAJGwITbMmAEjIARMAJGwAgYASNgBCaIgAn3BMH1VxsBI2AEjIARMAJGwAgYARNuy4ARMAJGwAgYASNgBIyAEZggAibcEwTXX20EjIARMAJGwAgYASNgBEy4LQNGwAgYASNgBIyAETACRmCCCJhwTxBcf7URMAJGwAgYASNgBIyAETDhtgwYASNgBIyAETACRsAIGIEJImDCPUFw/dVGwAgYASNgBIyAETACRsCE2zJgBIyAETACRsAIGAEjYAQmiIAJ9wTB9VcbASNgBIyAETACRsAIGAETbsuAETACRsAIGAEjYASMgBGYIAIm3BMEd9Jf/cADD1T33ntvdf3111enn356ddVVV6V/8/8PPfRQq9uvscYa1brrrlttuOGG1b777lu99KUvrXbcccdq9dVXr/ibLyNgBIyAETACRsAIGIFmCJhwN8NpLt/1pz/9qfrd735XXXHFFdUHP/jB6pZbbqnuuuuu6s9//nP14IMPFo955cqV1VprrVVtsMEG1SMf+cjqMY95THXCCSdUe+21V/p/E+5iaP1BI2AEjIARMAJGYAkiYMLd40mvE+5f/epXnRBuIIFYr7/++olwb7nlltWyZctMuHssKx66ETACRsAIGAEjMDsETLhnh33rO0fCfcopp1RdE255uE24W0+Vv8AIGAEjYASMgBFYwgiYcPd48kW4V6xYUZ166qmJcJNicv/996eUElJDSq7VVlttlZQSE+4SFP0ZI2AEjIARMAJGwAg8jIAJd48lwYS7x5PnoRsBI2AEjIARMAJLBgET7h5PtQl3jyfPQzcCRsAIGAEjYASWDAIm3D2eahPuHk+eh24EjIARMAJGwAgsGQR6T7jblL+Ls9zHUncm3EtmnfpBjYARMAJGwAgYgR4j0GvCDdlu2+CFuaOZC1ffSLcJd49XnoduBIyAETACRsAILBkEekW46aAIyfzjH/+YOiqqq2Lb2YJw01Vxk002SbWn11lnnV40eDHhbjvz/rwRMAJGwAgYASNgBCaPQK8I99133526Kf7sZz+rfvzjH1c33XRTKoPX9qLJy+Me97hqt912q570pCel32n4wv/P82XCPc+z47EZASNgBIyAETACRuBhBHpFuKkz/d3vfre69NJLq6uuuqq67777KrzebS/qTuPh3m677aqDDz44Ee8nPOEJyds9z5cJ9zzPjsdmBIyAETACRsAIGIEeEu4bbrihuvjii6uzzjortTDH402Tl7YXKSWQ680226w64IAD0mvnnXeuNt5447ZfPdHPm3BPFF5/uREwAkbACBgBI2AEOkGgVx7u66+/vjrnnHOqL3/5y9Udd9yR0kkgnW0uvNsQ7o022qiio+IznvGM6vDDD08/SSuZ58uEe55nx2MzAkbACBgBI2AEjEAPPdzXXHNNdfrpp1eXX355dfvtt1e//e1vWxNuYKA6ySMe8YjqMY95TPWUpzyletnLXlY9/elPTx7veb5MuOd5djw2I2AEjIARMAJGwAj0nHDfdttt1Z133pkqlrS55OGGcD/2sY9NqSTHHHOMCfdaa1UbbLBB8vLj+V+2bFm111579aJ6Sxt58GeNgBEwAkbACBgBI9A1Ar1KKYkebh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VxBu8rZ33XXX6thjj03E2x7uPkiDxzgNBEy4TbhNuKex0nwPI2AEjMAcITAJwk1EFMK9yy67mHDP0Vx7KPOBgAm3CbcJ93ysRY/CCBgBIzA1BEy4pwa1b2QEEgIm3CbcJtxWBkbACBiBJYaACfcSm3A/7swRMOE24Tbhnvky9ACMgBEwAtNFwIR7unj7bkbAhNuE24TbesAIGAEjsMQQMOFeYhPux505AibcJtwm3DNfhh6AETACRmC6CJhwTxdv380ImHCbcJtwWw8YASNgBJYYAibcS2zC/bgzR8CE24TbhHvmy9ADMAJGwAhMFwET7uni7bsZARNuE24TbusBI2AEjMASQ8CEe4lNuB935gg0JtwPPPDARAa7+uqrN24Vfs0111Snn356dfnll1e33XZbdeedd1Z//OMfW42LNuaM4RGPeET12Mc+ttp5552rY445JnXI2myzzUZ+94MPPpj+/tBDD7UaQ/3DjIdrXAt1KcwVK1ZUp556avWrX/0qdQ67//77U2velStXFo3Lrd2LYPOHjIARMAK9QcCEuzdT5YEuEgQaE27avv75z3/u7LHXWmutRHRp+7rhhhtW/HvcNS+EGzILycYI4QUu/OyCeIPJOuusk15gwmsY8TbhHicx/rsRMAJGwAgMQsCE23JhBKaLQGPC/Y1vfKP67W9/25pUQlYhkBBKiPajHvWoasstt6zWX3/9saR7ngg3JPu+++5LHmVwuffee1fBRl7qptMJWeczEGza4+Jx33jjjUcaIybcTdH1+4yAETACRiAiYMJteTAC00WgMeF+17veVX33u99tTbh5PIglRHurrbaqnvKUp1R77rln9YQnPCF5u0dd80K4pahuueWW6tprr024kM4BaVaaSe40inCTxrLddttVO+ywQ0pvIc1lo402Gvh1Jty5KPv9RsAIGAEjAAIm3JYDIzBdBBoT7r333ru6++670+hKc4P1WQj32muvXa233nopT/qtb31rtddeeyUv96i85Xkh3ODwy1/+svrWt75VnXbaaQkXcsnb4kLuNLjg+YdwH3744QmXLbbYwoR7uuvCdzMCRsAILGoETLgX9fT64eYQgcaE+2lPe1pKnYBUtiGW8nDjzd5ggw2qTTfdtH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ACBgBI2AEligCJtwFE2/CXQCaP2IEjIARMAJGwAgYgSWKgAl3wcSbcBeA5o8YASNgBIyAETACRmCJImDCXTDxJtwFoPkjRsAIGAEjYASMgBFYogiYcBdMvAl3AWj+iBEwAkbACBgBI2AEligCJtwFE2/CXQCaP2IEjIARMAJGwAgYgSWKgAl3wcSbcBeA5o8YASNgBIyAETACRmCJImDCXTDxt912W3XttddWy5cvr6666qrqN7/5TfX73/++WrlyZXqVXquttlq13nrrVZtuuml6HX744dWRRx5ZbbPNNqVf6c8ZASNgBIyAETACRsAIzBgBE+6CCbjjjjuqG2+8sTr//POriy66qLr99tur++67r3rooYdaE+5111232mSTTdLr6KOPrg499NBqq622KhilP2IEjIARMAJGwAgYASMwDwiYcBfMwt13313dcsst1be+9a3q9NNPr+68887qT3/6UyLcba+111672nDDDasdd9wxebj33HPPaosttmj7tf68ETACRsAIGAEjYASMwIwQMOEuAB5v9u9+97vqpptuqq644opqxYoV1R/+8IeCb/r7j6yxxhrVzjvvXO22227VLrvsUm233XbVxhtv3Ml3+0uMgBEwAkbACBgBI2AEpo+ACXcB5g888EDyaN9zzz0V+dx4u5VS0sbLvfrqq1frrLNO9ahHParabLPN0s9HPOIRFWkmvoyAETACRsAIGAEjYAT6iYAJd+G8PfjggymFBPLNqw3Rrg9hzTXXrNZaa60KbzcknJ++jIARMAJGwAgYASNgBPqJgAl3P+fNozYCRsAIGAEjYASMgBHoCQIm3D2ZKA/TCBgBI2AEjIARMAJGoJ8ImHD3c948aiNgBIyAETACRsAIGIGeIGDC3ZOJ8jCNgBEwAkbACBgBI2AE+omACXc/582jNgJGwAgYASNgBIyAEegJAibcPZkoD9MIGAEjYASMgBEwAkagnwhkEW5qTq9cubJV+3JgotQdtaWpMU296WOPPbY66qijUoMXyuH5MgJGwAgYASNgBIyAETACiwWBxoSbVuMi3Dw8xLv0qhPu4447rjryyCNNuEsB9eeMgBEwAkbACBgBI2AE5haBxoR7p512WiDcbch29HBvtNFGycNtwj238uGBGQEjYASMgBEwAkbACLREoDHhfsUrXlHdeuutrW4nor7aaqtVdFPcfPPNqz322KM68MADq+222y61NXdXxVYQ+8NGwAgYASNgBIyAETACc4ZAY8I9Z+P2cIyAETACRsAIGAEjYASMQC8QMOHuxTR5kEbACBgBI2AEjIARMAJ9RcCEu68z53EbASNgBIyAETACRsAI9AIBE+5eTJMHaQSMgBEwAkbACBgBI9BXBEy4+zpzHrcRMAJGwAgYASNgBIxALxAw4e7FNHmQRsAIGAEjYASMgBEwAn1FwIS7rzPncRsBI2AEjIARMAJGwAj0AgET7l5MkwdpBIyAETACRsAIGAEj0FcETLj7OnMetxEwAkbACBgBI2AEjEAvEDDh7sU0eZBGwAgYASNgBIyAETACfUXAhLuvM+dxGwEjYASMgBEwAkbACPQCARPuXkyTB2kEjIARMAJGwAgYASPQVwRMuPs6cx63ETACRsAIGAEjYASMQC8QMOHuxTR5kEbACBgBI2AEjIARMAJ9RcCEu68z53EbASNgBIyAETACRsAI9AIBE+5eTJMHaQSMgBEwAkbACBgBI9BXBEy4+zpzHrcRMAJGwAgYASNgBIxALxAw4e7FNHmQRsAIGAEjYASMgBEwAn1FwIS7rzPncRsBI2AEjIARMAJGwAj0AgET7l5MkwdpBIyAETACRsAIGAEj0FcETLj7OnMetxEwAkbACBgBI2AEjEAvEDDh7sU0eZBGwAgYASNgBIyAETACfUXAhLuvM+dxGwEjYASMgBEwAkbACPQCARPuXkyTB2kEjIARMAJGwAgYASPQVwRMuPs6cx63ETACRsAIGAEjYASMQC8QMOHuxTR5kEbACBgBI2AEjIARMAJ9RcCEu68z53EbASNgBIyAETACRsAI9AIBE+5eTJMHaQSMgBEwAkbACBgBI9BXBEy4+zpzHrcRMAJGwAgYASNgBIxALxAw4e7FNHmQRsAIGAEjYASMgBEwAn1FwIS7rzPncRsBI2AEjIARMAJGwAj0AgET7l5MkwdpBIyAETACRsAIGAEj0FcE/j+54NsfJr5DmQAAAABJRU5ErkJggg==", + "created": 1731846356834, + "lastRetrieved": 1731846356834 } } } \ No newline at end of file diff --git a/docs/assets/img/lakeFSArchitecture.png b/docs/assets/img/lakeFSArchitecture.png index ffa5d1f3ea4..8e86ecd1889 100644 Binary files a/docs/assets/img/lakeFSArchitecture.png and b/docs/assets/img/lakeFSArchitecture.png differ diff --git a/docs/assets/img/logos/red_hat_openshift_ai.png b/docs/assets/img/logos/red_hat_openshift_ai.png new file mode 100644 index 00000000000..c3df4c43527 Binary files /dev/null and b/docs/assets/img/logos/red_hat_openshift_ai.png differ diff --git a/docs/assets/img/pull-request-merged.png b/docs/assets/img/pull-request-merged.png new file mode 100644 index 00000000000..7308e479faa Binary files /dev/null and b/docs/assets/img/pull-request-merged.png differ diff --git a/docs/assets/img/pull-request-open.png b/docs/assets/img/pull-request-open.png new file mode 100644 index 00000000000..4a098d47688 Binary files /dev/null and b/docs/assets/img/pull-request-open.png differ diff --git a/docs/assets/img/pull-request-review.png b/docs/assets/img/pull-request-review.png new file mode 100644 index 00000000000..847fd9c70da Binary files /dev/null and b/docs/assets/img/pull-request-review.png differ diff --git a/docs/assets/img/red-hat/OpenShiftAIDemoArchitecture.png b/docs/assets/img/red-hat/OpenShiftAIDemoArchitecture.png new file mode 100644 index 00000000000..946c5aabafa Binary files /dev/null and b/docs/assets/img/red-hat/OpenShiftAIDemoArchitecture.png differ diff --git a/docs/assets/img/red-hat/OpenShiftDeploymentArchitecture.png b/docs/assets/img/red-hat/OpenShiftDeploymentArchitecture.png new file mode 100644 index 00000000000..c1ae3a5badf Binary files /dev/null and b/docs/assets/img/red-hat/OpenShiftDeploymentArchitecture.png differ diff --git a/docs/assets/img/s3gatewayvsclientdataflow.png b/docs/assets/img/s3gatewayvsclientdataflow.png new file mode 100644 index 00000000000..9431c18ccb5 Binary files /dev/null and b/docs/assets/img/s3gatewayvsclientdataflow.png differ diff --git a/docs/assets/js/swagger.yml b/docs/assets/js/swagger.yml index 0c59b35be6f..8bbd763c01f 100644 --- a/docs/assets/js/swagger.yml +++ b/docs/assets/js/swagger.yml @@ -70,6 +70,13 @@ components: description: delimiter used to group common prefixes by schema: type: string + + SearchString: + in: query + name: search + description: string for searching relevant entries + schema: + type: string IfNoneMatch: in: header @@ -679,7 +686,15 @@ components: type: boolean default: false description: Allow merge when the branches have the same content - + squash_merge: + type: boolean + default: false + description: | + If set, set only the destination branch as a parent, which "squashes" the merge to + appear as a single commit on the destination branch. The source commit is no longer + a part of the merge commit; consider adding it to the 'metadata' or 'message' + fields. This behaves like a GitHub or GitLab "squash merge", or in Git terms 'git + merge --squash; git commit ...'. BranchCreation: type: object required: @@ -693,6 +708,10 @@ components: force: type: boolean default: false + hidden: + type: boolean + description: When set, branch will not show up when listing branches by default. *EXPERIMENTAL* + default: false TagCreation: type: object @@ -738,7 +757,7 @@ components: error: type: string refs: - $ref: "#/components/schemas/RefsDump" + $ref: "#/components/schemas/RefsDump" RepositoryRestoreStatus: type: object @@ -1035,6 +1054,8 @@ components: type: string name: type: string + description: + type: string creation_date: type: integer format: int64 @@ -1134,6 +1155,8 @@ components: properties: id: type: string + description: + type: string Statement: type: object @@ -1468,7 +1491,7 @@ components: properties: type: type: string - enum: [ common_prefix, object ] + enum: [common_prefix, object] description: Path type, can either be 'common_prefix' or 'object' path: type: string @@ -1701,7 +1724,7 @@ components: - installation_id - reports - ExternalPrincipalList: + ExternalPrincipalList: type: object required: - pagination @@ -1748,7 +1771,7 @@ components: properties: status: type: string - enum: [ open, closed, merged ] + enum: [open, closed, merged] title: type: string description: @@ -1756,36 +1779,36 @@ components: PullRequest: allOf: - - $ref: '#/components/schemas/PullRequestBasic' - - required: + - $ref: '#/components/schemas/PullRequestBasic' + - required: - status - title - description - - type: object - required: - - id - - creation_date - - author - - source_branch - - destination_branch - properties: - id: - type: string - creation_date: - type: string - format: date-time - author: - type: string - source_branch: - type: string - destination_branch: - type: string - merged_commit_id: - type: string - description: the commit id of merged PRs - closed_date: - type: string - format: date-time + - type: object + required: + - id + - creation_date + - author + - source_branch + - destination_branch + properties: + id: + type: string + creation_date: + type: string + format: date-time + author: + type: string + source_branch: + type: string + destination_branch: + type: string + merged_commit_id: + type: string + description: the commit id of merged PRs + closed_date: + type: string + format: date-time PullRequestsList: type: object @@ -2664,11 +2687,11 @@ paths: - experimental operationId: createUserExternalPrincipal summary: attach external principal to user - requestBody: + requestBody: required: false - content: - application/json: - schema: + content: + application/json: + schema: $ref: "#/components/schemas/ExternalPrincipalCreation" responses: 201: @@ -2749,7 +2772,7 @@ paths: - external - experimental operationId: getExternalPrincipal - summary: describe external principal by id + summary: describe external principal by id responses: 200: description: external principal @@ -2895,7 +2918,7 @@ paths: description: too many requests default: $ref: "#/components/responses/ServerError" - + /repositories: get: tags: @@ -2904,6 +2927,7 @@ paths: - $ref: "#/components/parameters/PaginationPrefix" - $ref: "#/components/parameters/PaginationAfter" - $ref: "#/components/parameters/PaginationAmount" + - $ref: "#/components/parameters/SearchString" operationId: listRepositories summary: list repositories responses: @@ -3544,6 +3568,12 @@ paths: - $ref: "#/components/parameters/PaginationPrefix" - $ref: "#/components/parameters/PaginationAfter" - $ref: "#/components/parameters/PaginationAmount" + - in: query + name: show_hidden + schema: + type: boolean + default: false + description: When set - list all branches including hidden branches. *EXPERIMENTAL* responses: 200: description: branch list @@ -4554,10 +4584,10 @@ paths: application/json: schema: $ref: "#/components/schemas/StagingMetadata" - + parameters: - $ref: "#/components/parameters/IfNoneMatch" - + responses: 200: # This actually violates HTTP, which requires returning 201 if a new object was @@ -5745,7 +5775,7 @@ paths: name: status schema: type: string - enum: [ open, closed, all ] + enum: [open, closed, all] default: all description: filter pull requests by status responses: diff --git a/docs/enterprise/getstarted/quickstart.md b/docs/enterprise/getstarted/quickstart.md index 1ac1601c88b..373add0fcf2 100644 --- a/docs/enterprise/getstarted/quickstart.md +++ b/docs/enterprise/getstarted/quickstart.md @@ -69,7 +69,7 @@ You can choose from the the following options: version: "3" services: lakefs: - image: "treeverse/lakefs:1.25.0" + image: "treeverse/lakefs:latest" command: "RUN" ports: - "8080:8080" @@ -102,7 +102,7 @@ services: POSTGRES_PASSWORD: lakefs fluffy: - image: "${FLUFFY_REPO:-treeverse}/fluffy:${TAG:-0.4.4}" + image: "${FLUFFY_REPO:-treeverse}/fluffy:${TAG:-latest}" command: "${COMMAND:-run}" ports: - "8000:8000" @@ -160,7 +160,7 @@ LAKEFS_AUTH_OIDC_FRIENDLY_NAME_CLAIM_NAME= version: "3" services: lakefs: - image: "treeverse/lakefs:1.25.0" + image: "treeverse/lakefs:latest" command: "RUN" ports: - "8080:8080" @@ -196,7 +196,7 @@ services: POSTGRES_PASSWORD: lakefs fluffy: - image: "${FLUFFY_REPO:-treeverse}/fluffy:${TAG:-0.4.4}" + image: "${FLUFFY_REPO:-treeverse}/fluffy:${TAG:-latest}" command: "${COMMAND:-run}" ports: - "8000:8000" diff --git a/docs/howto/garbage-collection/standalone-gc.md b/docs/howto/garbage-collection/standalone-gc.md index bb1136aeff6..23fd6dddccb 100644 --- a/docs/howto/garbage-collection/standalone-gc.md +++ b/docs/howto/garbage-collection/standalone-gc.md @@ -18,67 +18,60 @@ experimental {: .label .label-red } {: .note } -> Standalone GC is only available for [lakeFS Enterprise]({% link enterprise/index.md %}). \ -Please verify with your account manager that your license includes this feature. - +> Standalone GC is only available for [lakeFS Enterprise]({% link enterprise/index.md %}). {: .note .warning } -> Standalone GC is experimental and offers limited capabilities compared to the [Spark-backed GC]({% link howto/garbage-collection/gc.md %}). Read through the [limitations](./standalone-gc.md#limitations) carefully before using it. +> Standalone GC is experimental and offers limited capabilities compared to the [Spark-backed GC]({% link howto/garbage-collection/gc.md %}). For large scale environments, we recommend using the Spark-backed solution. -{% include toc_2-4.html %} +{% include toc_2-3.html %} -## About +## What is Standalone GC? -Standalone GC is a limited version of the Spark-backed GC that runs without any external dependencies, as a standalone docker image. +Standalone GC is a simplified version of the Spark-backed GC that runs without any external dependencies, delivered as a standalone +docker image. It supports S3 and [self-managed S3 compatible storages](#using-s3-compatible-clients) such as MinIO. ## Limitations -1. Except for the [Lab tests](./standalone-gc.md#lab-tests) performed, there are no further guarantees about the performance profile of the Standalone GC. -2. Horizontal scale is not supported - Only a single instance of `lakefs-sgc` can operate at a time on a given repository. -3. Standalone GC only marks objects and does not delete them - Equivalent to the GC's [mark only mode]({% link howto/garbage-collection/gc.md %}#mark-only-mode). \ - More about that in the [Get the List of Objects Marked for Deletion](./standalone-gc.md#get-the-list-of-objects-marked-for-deletion) section. - -### Lab tests +1. **No horizontal scalability**: Only a single instance of `lakefs-sgc` can operate on a given repository at a time. +2. **Mark phase only**: Standalone GC supports only the mark phase, identifying objects for deletion but not executing +the sweep stage to delete them. It functions similarly to the GC's [mark-only mode]({% link howto/garbage-collection/gc.md %}#mark-only-mode). +3. Only supports AWS S3 and S3-compatible object storages. However, supporting Azure blob and GCS are in our roadmap. -Repository spec: +## Installation -- 100k objects -- 250 commits -- 100 branches - -Machine spec: -- 4GiB RAM -- 8 CPUs +### Step 1: Obtain Dockerhub token -In this setup, we measured: +#### lakeFS Enterprise customers -- Time: < 5m -- Disk space: 123MB +Contact your account manager to verify that Standalone GC is included in your license. Then use your dockerhub token for +the `externallakefs` user. -## Installation +#### New to lakeFS Enterprise -### Step 1: Obtain Dockerhub token -As an enterprise customer, you should already have a dockerhub token for the `externallakefs` user. -If not, contact us at [support@treeverse.io](mailto:support@treeverse.io). +Please [contact us](https://lakefs.io/contact-sales/) to get trial access to Standalone GC. ### Step 2: Login to Dockerhub with this token + ```bash docker login -u ``` ### Step 3: Download the docker image + Download the image from the [lakefs-sgc](https://hub.docker.com/repository/docker/treeverse/lakefs-sgc/general) repository: ```bash docker pull treeverse/lakefs-sgc: ``` -## Usage +## Setup ### Permissions -To run `lakefs-sgc`, you'll need AWS and LakeFS users, with the following permissions: -#### AWS -The minimal required permissions on AWS are: +To run `lakefs-sgc`, you need both AWS (or S3-compatible) storage and lakeFS user permissions as outlined below: + +#### Storage permissions + +The minimum required permissions for AWS or S3-compatible storage are: ```json { "Version": "2012-10-17", @@ -114,10 +107,11 @@ The minimal required permissions on AWS are: ] } ``` -In this permissions file, the example repository storage namespace is `s3://some-bucket/some/prefix`. +In this example, the repository storage namespace is `s3://some-bucket/some/prefix`. -#### LakeFS -The minimal required permissions on LakeFS are: +#### lakeFS permissions + +The minimum required permissions for lakeFS are: ```json { "statement": [ @@ -136,16 +130,18 @@ The minimal required permissions on LakeFS are: ] } ``` -### AWS Credentials -Currently, `lakefs-sgc` does not provide an option to explicitly set AWS credentials. It relies on the hosting machine -to be set up correctly, and reads the AWS credentials from the machine. -This means, you should set up your machine however AWS expects you to set it. \ -For example, by following their guide on [configuring the AWS CLI](https://docs.aws.amazon.com/cli/v1/userguide/cli-chap-configure.html). +### Credentials + +Standalone GC supports S3 and S3-compatible storage backends and relies on AWS credentials for authentication. To set up +credentials on the `lakefs-sgc` docker container, follow AWS guidelines, such as those outlined in [this guide](https://docs.aws.amazon.com/cli/v1/userguide/cli-chap-configure.html). +For details on how to pass credentials to `lakefs-sgc`, refer to the instructions in [How to Run Standalone GC](#how-to-run-standalone-gc). + +### Using S3-compatible clients + +`lakefs-sgc` leverages AWS credentials to work seamlessly with S3-compatible storage solutions, such as [MinIO](https://min.io/). +Follow the steps below to set up and use `lakefs-sgc` with an S3-compatible client: -#### S3-compatible clients -Naturally, this method of configuration allows for `lakefs-sgc` to work with any S3-compatible client (such as [MinIO](https://min.io/)). \ -An example setup for working with MinIO: 1. Add a profile to your `~/.aws/config` file: ``` [profile minio] @@ -164,6 +160,7 @@ An example setup for working with MinIO: 3. Run the `lakefs-sgc` docker image and pass it the `minio` profile - see [example](./standalone-gc.md#mounting-the-aws-directory) below. ### Configuration + The following configuration keys are available: | Key | Description | Default value | Possible values | @@ -202,12 +199,14 @@ lakefs: secret_access_key: ``` +## How to Run Standalone GC? + ### Command line reference -#### Flags: +#### Flags - `-c, --config`: config file to use (default is $HOME/.lakefs-sgc.yaml) -#### Commands: +#### Commands **run** Usage: \ @@ -218,7 +217,8 @@ Flags: - `--parallelism`: number of parallel downloads for metadata files (default 10) - `--presign`: use pre-signed URLs when downloading/uploading data (recommended) (default true) -### How to Run Standalone GC + +To run standalone GC, choose the method you prefer to pass AWS credentials and invoke the commands below. #### Directly passing in credentials parsed from `~/.aws/credentials` @@ -257,7 +257,9 @@ docker run \ -e LAKEFS_SGC_LOGGING_LEVEL=debug \ treeverse/lakefs-sgc: run ``` + ### Get the List of Objects Marked for Deletion + `lakefs-sgc` will write its reports to `/_lakefs/retention/gc/reports//`. \ _RUN_ID_ is generated during runtime by the Standalone GC. You can find it in the logs: ``` @@ -286,13 +288,12 @@ In this prefix, you'll find 2 objects: ### Delete marked objects -To delete the objects marked by the GC, you'll need to read the `deleted.csv` file, and manually delete each address from AWS. +We recommend starting by backing up the marked objects to a different bucket before deleting them. After ensuring the +backup is complete, you can proceed to delete the objects directly from the backup location. -It is recommended to move all the marked objects to a different bucket instead of deleting them directly. - -Here's an example bash script to perform this operation: +Use the following script to backup marked objects to another bucket: ```bash -# Change these to your correct values +# Update these variables with your actual values storage_ns= output_bucket= run_id= @@ -303,3 +304,35 @@ aws s3 cp "$storage_ns/_lakefs/retention/gc/reports/$run_id/deleted.csv" "./run_ # Move all addresses to the output bucket under the "run_id=$run_id" prefix cat run_id-$run_id.csv | tail -n +2 | xargs -I {} aws s3 mv "$storage_ns/{}" "$output_bucket/run_id=$run_id/" ``` + +To delete the marked objects, use the following script: +```bash +# Update these variables with your actual values +output_bucket= +run_id= + +aws s3 rm $output_bucket/run_id=$run_id --recursive +``` + +{: .note } +> Tip: Remember to periodically delete the backups to actually reduce storage costs. + +## Lab tests + +Standalone GC was tested on the lakeFS setup below. + +#### Repository spec + +- 100k objects +- 250 commits +- 100 branches + +#### Machine spec + +- 4GiB RAM +- 8 CPUs + +#### Testing results + +- Time: < 5m +- Disk space: 123MB diff --git a/docs/howto/index.md b/docs/howto/index.md index d0b42a2476f..b04df99d84b 100644 --- a/docs/howto/index.md +++ b/docs/howto/index.md @@ -33,6 +33,10 @@ has_toc: false * [Branch Protection](/howto/protect-branches.html) prevents commits directly to a branch. This is a good way to enforce good practice and make sure that changes to important branches are only done by a merge. +## Pull Requests + +* Improve collaboration over data with [Pull Requests](/howto/pull-requests.html). + ## lakeFS Sizing Guide * This [comprehensive guide](/howto/sizing-guide.html) details all you need to know to correctly size and test your lakeFS deployment for production use at scale, including: diff --git a/docs/howto/pull-requests.md b/docs/howto/pull-requests.md new file mode 100644 index 00000000000..533b1aa417b --- /dev/null +++ b/docs/howto/pull-requests.md @@ -0,0 +1,50 @@ +--- +title: Pull Requests +description: Improve collaboration over data with Pull Requests. +parent: How-To +redirect_from: + - /reference/pull_requests.html +--- + +# Pull Requests + +A pull request is a proposal to merge a set of changes from one branch into another. +In a pull request, collaborators can review the proposed set of changes before they integrate the changes. +Pull requests display the differences, or diffs, between the content in the source branch and the content in the target branch. + +{% include toc.html %} + +## Open a Pull Request + +Create a branch, and make all the necessary changes in that branch. +When your changes are ready for review, head over to the _Pull Requests_ tab in your repository. +Choose your source branch and target branch, add a title and description (optional, and markdown is supported). + +![Open Pull Request]({{ site.baseurl }}/assets/img/pull-request-open.png) + +When ready, click _Create Pull Request_. You will be redirected to the newly created pull request page. + +## Review Changes + +Run validation checks or automated data quality tests to ensure that the changes meet your standards. + +![Review Pull Request]({{ site.baseurl }}/assets/img/pull-request-review.png) + +Every Pull Request is assigned a unique ID. You can share the Pull Request's URL with others to review the change. + +As with any lakeFS reference, reviewers can take the source branch, query, test and modify it as necessary prior to merging. + +## Merge or Close + +Once the review is complete and all checks have passed, click the _Merge pull request_ button to merge the changes into the target branch. + +![Merged Pull Request]({{ site.baseurl }}/assets/img/pull-request-merged.png) + +The data is now updated in a controlled and transparent manner. + +If the changes are not ready to be merged, you can close the pull request without merging the changes, by clicking the _Close pull request_ button. + +## View Pull Requests + +You can view all open and closed pull requests in the _Pull Requests_ tab in your repository. +The tabs (_Open_, _Closed_) allow you to filter the list of pull requests according to their status. \ No newline at end of file diff --git a/docs/howto/scim.md b/docs/howto/scim.md index a5178219397..6ba822d5764 100644 --- a/docs/howto/scim.md +++ b/docs/howto/scim.md @@ -74,10 +74,26 @@ To set up your IdP, you'll need the lakeFS Cloud SCIM provisioning endpoint and In the Entra ID admin dashboard, go to **Enterprise Applications** and choose the lakeFS Cloud enterprise application from the list. Then click **Provisioning** in the sidebar and then **Get Started**. 1. In the provisioning settings set mode to **Automatic** -2. In **Tenant URL** enter the URL from the lakeFS Cloud provisioning settings +2. In **Tenant URL** enter the URL from the lakeFS Cloud provisioning settings. You will need to append `?aadOptscim062020` to the end of the URL to ensure proper integration with Entra ID. 3. In **Secret Token** paste the token you copied in the previous step. If you haven't created a token yet, you may do so now 4. Click **Test Connection** 5. If the test fails, please ensure you've entered the correct SCIM endpoint URL from lakeFS Cloud and copied the token correctly. Otherwise, click "Save" at the top of the settings panel +6. Configure provisioning attribute mappings(this determines which attributes are sent to the lakeFS SCIM endpoint) + +## Required Attributes +The LakeFS SCIM implementation has a number of attributes that it expects to see in requests. Missing, incorrect, or extraneous attributes will generally result in a 400 error code. + +### User Resource Attributes + * username: Unique identifier for the User, typically used by the user to directly authenticate to the service provider. Each User MUST include a non-empty userName value. This identifier MUST be unique across the service provider's entire set of Users. REQUIRED. + * externalId: A String that is an identifier for the resource as defined by the provisioning client. REQUIRED. + * emails: Email addresses for the user. The value SHOULD be canonicalized by the service provider, e.g., 'bjensen@example.com' instead of 'bjensen@EXAMPLE.COM'. Canonical type values of 'work', 'home', and 'other'. One should be marked as primary. REQUIRED. + * active: A Boolean value indicating the User's administrative status. + +### Group Resource Attributes + * displayName: A human-readable name for the Group. REQUIRED. + * externalId: A String that is an identifier for the resource as defined by the provisioning client. REQUIRED. + * members: A list of members of the Group. + {: .note} > **Note:** lakeFS Cloud is designed to work with the default attribute mapping for users and groups provided by Entra ID. diff --git a/docs/index.md b/docs/index.md index 3d975717aa7..c6231ed17f3 100755 --- a/docs/index.md +++ b/docs/index.md @@ -10,7 +10,7 @@ redirect_from: /downloads.html -**lakeFS brings software engineering best practices and applies them to data engineering.** +**lakeFS brings software engineering best practices and applies them to data.** lakeFS provides version control over the data lake, and uses Git-like semantics to create and access those versions. If you know git, you'll be right at home with lakeFS. diff --git a/docs/integrations/huggingface_datasets.md b/docs/integrations/huggingface_datasets.md index f9bc2824bad..ed9252deaa0 100644 --- a/docs/integrations/huggingface_datasets.md +++ b/docs/integrations/huggingface_datasets.md @@ -10,7 +10,7 @@ parent: Integrations {% include toc_2-3.html %} -[HuggingFace 🤗 Datasets](https://www.kubeflow.org/docs/about/kubeflow/) is a library for easily accessing and sharing datasets for Audio, Computer Vision, and Natural Language Processing (NLP) tasks. +[HuggingFace 🤗 Datasets](https://huggingface.co/docs/datasets) is a library for easily accessing and sharing datasets for Audio, Computer Vision, and Natural Language Processing (NLP) tasks. 🤗 Datasets supports access to [cloud storage](https://huggingface.co/docs/datasets/en/filesystems) providers through [fsspec](https://filesystem-spec.readthedocs.io/en/latest/) FileSystem implementations. diff --git a/docs/integrations/index.md b/docs/integrations/index.md index b2c2a57ee60..944a35118b4 100644 --- a/docs/integrations/index.md +++ b/docs/integrations/index.md @@ -30,25 +30,25 @@ See below for detailed instructions for using different technologies with lakeFS cli logo
AWS CLI
cloudera logo
Cloudera
+ Databricks Logo
Databricks
delta lake logo
Delta Lake
- git logo
Git
dremio logo
Dremio
duckdb logo
DuckDB
+ git logo
Git
glue logo
Glue / Hive metastore
- kubeflow logo
Kubeflow
+ Hugging Face Logo
HuggingFace Datasets
+ kubeflow logo
Kubeflow
presto and trino logos
Presto / Trino
python logo
Python
- r logo
R
- Vertex AI Logo
Vertex AI
- Hugging Face Logo
HuggingFace Datasets
- Databricks Logo
Databricks
- + r logo
R
+ Red Hat OpenShift AI Logo
Red Hat OpenShift AI
+ Vertex AI Logo
Vertex AI
diff --git a/docs/integrations/red_hat_openshift_ai.md b/docs/integrations/red_hat_openshift_ai.md new file mode 100644 index 00000000000..28af577544c --- /dev/null +++ b/docs/integrations/red_hat_openshift_ai.md @@ -0,0 +1,28 @@ +--- +title: Red Hat OpenShift AI +parent: Integrations +redirect_from: +--- + +# Using lakeFS with Red Hat OpenShift AI +Red Hat® OpenShift® is an enterprise-ready Kubernetes container platform with full-stack automated operations to manage hybrid cloud, multi-cloud, and edge deployments. OpenShift includes an enterprise-grade Linux operating system, container runtime, networking, monitoring, registry, and authentication and authorization solutions. + +[Red Hat® OpenShift® AI](https://www.redhat.com/en/technologies/cloud-computing/openshift/openshift-ai) is a flexible, scalable artificial intelligence (AI) and machine learning (ML) platform that enables enterprises to create and deliver AI-enabled applications at scale across hybrid cloud environments. Built using open source technologies, OpenShift AI provides trusted, operationally consistent capabilities for teams to experiment, serve models, and deliver innovative apps. + +OpenShift AI and lakeFS can be deployed in OpenShift cluster in 3 different architectures: +1. OpenShift AI, lakeFS and object storage are delpoyed in OpenShift cluster +2. OpenShift AI and lakeFS are deployed in OpenShift cluster while object storage is external +3. OpenShift AI is deployed in OpenShift cluster while lakeFS and object storage are external + +OpenShift AI and lakeFS Deployment Architecture + +Refer to an example in [lakeFS-samples](https://github.com/treeverse/lakeFS-samples/tree/main/01_standalone_examples/red-hat-openshift-ai) to deploy lakeFS, MinIO and OpenShift AI tutorial ([Fraud Detection demo](https://docs.redhat.com/en/documentation/red_hat_openshift_ai_self-managed/2-latest/html/openshift_ai_tutorial_-_fraud_detection_example/index)) in OpenShift cluster. Fraud detection demo is a step-by-step guide for using OpenShift AI to train an example model in JupyterLab, deploy the model, and refine the model by using automated pipelines. + +In this example, OpenShift AI is configured to connect over S3 interace to lakeFS, which will version the data in a backend MinIO instance. This is the architecture to run Fraud Detection demo with or without lakeFS: +OpenShift AI and lakeFS Deployment Architecture for the demo + +lakeFS-samples also includes multiple Helm chart examples to deploy lakeFS and MinIO in different scenarios: +1. [lakefs-local.yaml](https://github.com/treeverse/lakeFS-samples/blob/main/01_standalone_examples/red-hat-openshift-ai/cluster-configuration/lakefs-local.yaml): Bring up lakeFS using local object storage. This would be useful for a quick demo where MinIO is not included. +2. [lakefs-minio.yaml](https://github.com/treeverse/lakeFS-samples/blob/main/01_standalone_examples/red-hat-openshift-ai/cluster-configuration/lakefs-minio.yaml): Bring up lakeFS configured to use MinIO as backend object storage. This will be used in the lakeFS demo. +3. [minio-direct.yaml](https://github.com/treeverse/lakeFS-samples/blob/main/01_standalone_examples/red-hat-openshift-ai/cluster-configuration/minio-direct.yaml): This file would only be used if lakeFS is not in the picture and OpenShift AI will communicate directly with MinIO. It will bring up MinIO as it is in the default Fraud Detection demo, complete with configuring MinIO storage buckets and the OpenShift AI data connections. It may serve useful in debugging an issue. +4. [minio-via-lakefs.yaml](https://github.com/treeverse/lakeFS-samples/blob/main/01_standalone_examples/red-hat-openshift-ai/cluster-configuration/minio-via-lakefs.yaml): Bring up MinIO for the modified Fraud Detection demo that includes lakeFS, complete with configuring MinIO storage buckets, but do NOT configure the OpenShift AI data connections. This will be used in the lakeFS demo. diff --git a/docs/project/contributing.md b/docs/project/contributing.md index cf05b6a003c..2728a3aa62f 100644 --- a/docs/project/contributing.md +++ b/docs/project/contributing.md @@ -130,3 +130,20 @@ Any user-facing change should be labeled with `include-changelog`. The PR title should contain a concise summary of the feature or fix and the description should have the GitHub issue number. When we publish a new version of lakeFS, we will add this to the relevant version section of the changelog. If the change should not be included in the changelog, label it with `exclude-changelog`. + +### User-Facing Changes Examples +1. UI/UX modifications: Changes to the layout, color scheme, or navigation structure. +1. New features: Adding functionality that users can directly interact with, unless defined as internal. +1. Configuration changes: Updates to settings that users can adjust. +1. Performance improvements: Enhancements that noticeably speed up the application. +1. Bug fixes. +1. Security updates: Changes that address vulnerabilities or privacy concerns. + +### Non-User-Facing Changes: +1. Code refactoring: Restructuring the codebase without changing its external behavior. +1. Backend optimizations: Improvements to server-side processes that don't noticeably affect performance. +1. Database schema changes: Modifications to the data structure that don't alter the user interface **and** do not require data migration. +1. Development tooling updates: Changes to build processes or development environments. +1. Internal API: Adding/Altering APIs tagged as internal. +1. Documentation updates. +1. Imported libraries: Updates to third-party libraries that don't introduce security updates. \ No newline at end of file diff --git a/docs/quickstart/learning-more-lakefs.md b/docs/quickstart/learning-more-lakefs.md index 7e82f10b6fc..40233a58609 100644 --- a/docs/quickstart/learning-more-lakefs.md +++ b/docs/quickstart/learning-more-lakefs.md @@ -127,7 +127,7 @@ If you're interested in getting involved in the development of lakeFS, head over We love speaking at meetups and chatting to community members at them - you can find a list of these [here](https://lakefs.io/community/). -Finally, make sure to drop by to say hi on [Twitter](https://twitter.com/lakeFS), [Mastodon](https://data-folks.masto.host/@lakeFS), and [LinkedIn](https://www.linkedin.com/company/treeverse/) 👋🏻 +Finally, make sure to drop by to say hi on [Twitter](https://twitter.com/lakeFS) or [LinkedIn](https://www.linkedin.com/company/treeverse/) 👋🏻 ## lakeFS Concepts and Internals diff --git a/docs/reference/cli.md b/docs/reference/cli.md index 3c23ec50751..f1e44fa4813 100644 --- a/docs/reference/cli.md +++ b/docs/reference/cli.md @@ -2384,6 +2384,7 @@ lakectl merge [flags] -h, --help help for merge -m, --message string commit message --meta strings key value pair in the form of key=value + --squash Squash all changes from source into a single commit on destination --strategy string In case of a merge conflict, this option will force the merge process to automatically favor changes from the dest branch ("dest-wins") or from the source branch("source-wins"). In case no selection is made, the merge process will fail in case of a conflict ``` diff --git a/docs/reference/mount.md b/docs/reference/mount.md index af8e2de078e..78f0cd57735 100644 --- a/docs/reference/mount.md +++ b/docs/reference/mount.md @@ -29,31 +29,31 @@ This functionality is currently in limited support and is a Read-Only file syste * **Simplified Data Loading**: With lakeFS Mount, there's no need to write custom data loaders or use special SDKs. You can use your existing tools to read files directly from the filesystem. * **Handle Large-scale Data Without changing Work Habits**: Seamlessly scale from a few local files to millions without changing your tools or workflow. Use the same code from early experimentation all the way to production. -* **Enhanced Data Loading Efficiency**: lakeFS Mount supports billions of files and offers fast data fetching, making it ideal for optimizing GPU utilization and other performance-sensitive tasks. +* **Enhanced Data Loading Efficiency**: lakeFS Mount supports billions of files and offers fast data fetching, making it ideal for optimizing GPU utilization and other performance-sensitive tasks. ## Requirements - For enterprise installations: lakeFS Version `1.25.0` or higher. - + ### OS and Protocol Support -Currently the implemented protocols are `nfs` and `fuse`. +Currently the implemented protocols are `nfs` and `fuse`. - NFS V3 (Network File System) is supported on macOS. -- FUSE is supported on Linux (no root required). +- FUSE is supported on Linux (no root required). -## Authentication with lakeFS +## Authentication with lakeFS The authentication with the target lakeFS server is equal to [lakectl CLI][lakectl]. Searching for lakeFS credentials and server endpoint in the following order: - Command line flags `--lakectl-access-key-id`, `--lakectl-secret-access-key` and `--lakectl-server-url` - `LAKECTL_*` Environment variables - `~/.lakectl.yaml` Configuration file or via `--lakectl-config` flag - + ## Command Line Interface ### Mount Command -The `mount` command is used to mount a lakeFS repository to a local directory, it does it in 2 steps: +The `mount` command is used to mount a lakeFS repository to a local directory, it does it in 2 steps: - Step 1: Starting a server that listens on a local address and serves the data from the remote lakeFS repository. - Step 2: Running the required mount command on the OS level to connect the server to the local directory. @@ -163,6 +163,32 @@ lakeFS Mount supports Linux and MacOS. Windows support is on the roadmap. You can use lakeFS’s existing [Role-Based Access Control mechanism](../security/rbac.md), which includes repository and path-level policies. lakeFS Mount translates filesystem operations into lakeFS API operations and authorizes them based on these policies. +The minimal RBAC permissions required for mounting a prefix from a lakeFS repository looks like this: +```json +{ + "id": "MountPolicy", + "statement": [ + { + "action": [ + "fs:ReadObject" + ], + "effect": "allow", + "resource": "arn:lakefs:fs:::repository//object//*" + }, + { + "action": [ + "fs:ListObjects", + "fs:ReadCommit", + "fs:ReadRepository" + + ], + "effect": "allow", + "resource": "arn:lakefs:fs:::repository/" + } + ] +} +``` + ### Does data pass through the lakeFS server when using lakeFS Mount? lakeFS Mount leverages pre-signed URLs to read data directly from the underlying object store, meaning data doesn’t pass through the lakeFS server. By default, presign is enabled. To disable it, use: @@ -191,7 +217,7 @@ It is perfectly safe to mount a lakeFS path within a Git repository. lakeFS Mount prevents git from adding mounted objects to the git repository (i.e when running `git add -A`) by adding a virtual `.gitignore` file to the mounted directory. -The .gitignore file will also instruct Git to ignore all files except `.everest/source` and in its absence, it will try to find a `.everest/source` file in the destination folder, and read the lakeFS URI from there. +The .gitignore file will also instruct Git to ignore all files except `.everest/source` and in its absence, it will try to find a `.everest/source` file in the destination folder, and read the lakeFS URI from there. Since `.everest/source` is in source control, it will mount the same lakeFS commit every time! ### I’m already using lakectl local for working with lakeFS data locally, why should I use lakeFS Mount? @@ -210,7 +236,7 @@ For read-only local data access. lakeFS Mount offers several benefits over lakec * **Reduced initial latency**: Start working on your data immediately without waiting for downloads. **Note** -Note: Write support for lakeFS Mount is on our roadmap. +Write support for lakeFS Mount is on our roadmap. {: .note } diff --git a/docs/security/external-principals-aws.md b/docs/security/external-principals-aws.md index 2d6b49b3ed7..80a19c62866 100644 --- a/docs/security/external-principals-aws.md +++ b/docs/security/external-principals-aws.md @@ -159,7 +159,7 @@ for r in repos: ``` -[external-principal-admin]: {% link reference/cli.md %}#external +[external-principal-admin]: {% link reference/api.md %}#external [login-api]: {% link reference/api.md %}#auth/externalPrincipalLogin [lakefs-hadoopfs]: {% link integrations/spark.md %}#lakefs-hadoop-filesystem [lakefs-spark]: {% link integrations/spark.md %}#usage-with-temporaryawscredentialslakefstokenprovider diff --git a/docs/security/sso.md b/docs/security/sso.md index 0990cc9cce7..94a3439fa45 100644 --- a/docs/security/sso.md +++ b/docs/security/sso.md @@ -283,13 +283,31 @@ auth:
## LDAP -In order for Fluffy to work, the following values must be configured. Update (or override) the following attributes in the chart's `values.yaml` file. -1. Replace `lakefsConfig.auth.remote_authenticator.endpoint` with the lakeFS server URL combined with the `api/v1/ldap/login` suffix (e.g `http://lakefs.company.com/api/v1/ldap/login`) -2. Repalce `fluffyConfig.auth.ldap.remote_authenticator.server_endpoint` with your LDAP server endpoint (e.g `ldaps://ldap.ldap-address.com:636`) -3. Replace `fluffyConfig.auth.ldap.remote_authenticator.bind_dn` with the LDAP bind user/permissions to query your LDAP server. -4. Replace `fluffyConfig.auth.ldap.remote_authenticator.user_base_dn` with the user base to search users in. +Fluffy is incharge of providing LDAP authentication for lakeFS Enterprise. +The authentication works by querying the LDAP server for user information and authenticating the user based on the provided credentials. -lakeFS Server Configuration (Update in helm's `values.yaml` file): +**Important:** An administrative bind user must be configured. It should have search permissions for the LDAP server that will be used to query the LDAP server for user information. + +**For Helm:** set the following attributes in the Helm chart values, for lakeFS `lakefsConfig.*` and `fluffyConfig.*` for fluffy. + +**No Helm:** If not using Helm use the YAML below to directly update the configuration file for each service. + +**lakeFS Configuration:** + +1. Replace `auth.remote_authenticator.enabled` with `true` +2. Replace `auth.remote_authenticator.endpoint` with the fluffy authentication server URL combined with the `api/v1/ldap/login` suffix (e.g `http://lakefs.company.com/api/v1/ldap/login`) + +**fluffy Configuration:** + +See [Fluffy configuration][fluffy-configuration] reference. + +1. Repalce `auth.ldap.remote_authenticator.server_endpoint` with your LDAP server endpoint (e.g `ldaps://ldap.ldap-address.com:636`) +2. Replace `auth.ldap.remote_authenticator.bind_dn` with the LDAP bind user/permissions to query your LDAP server. +3. Replace `auth.ldap.remote_authenticator.user_base_dn` with the user base to search users in. + +**lakeFS Server Configuration file:** + +`$lakefs run -c ./lakefs.yaml` ```yaml # Important: make sure to include the rest of your lakeFS Configuration here! @@ -305,7 +323,9 @@ auth: - internal_auth_session ``` -Fluffy Configuration (Update in helm's `values.yaml` file): +Fluffy Configuration file: + +`$fluffy run -c ./fluffy.yaml` ```yaml logging: @@ -319,14 +339,63 @@ auth: post_login_redirect_url: / ldap: server_endpoint: 'ldaps://ldap.company.com:636' - bind_dn: uid=,ou=Users,o=,dc=,dc=com + bind_dn: uid=,ou=,o=,dc=,dc=com bind_password: '' username_attribute: uid - user_base_dn: ou=Users,o=,dc=,dc=com + user_base_dn: ou=,o=,dc=,dc=com user_filter: (objectClass=inetOrgPerson) connection_timeout_seconds: 15 request_timeout_seconds: 7 ``` + +## Troubleshooting LDAP issues + +### Inspecting Logs + +If you encounter LDAP connection errors, you should inspect the **fluffy container** logs to get more information. + +### Authentication issues + +Auth issues (e.g. user not found, invalid credentials) can be debugged with the [ldapwhoami](https://www.unix.com/man-page/osx/1/ldapwhoami) CLI tool. + +The Examples are based on the fluffy config above: + +To verify that the main bind user can connect: + +```sh +ldapwhoami -H ldap://ldap.company.com:636 -D "uid=,ou=,o=,dc=,dc=com" -x -W +``` + +To verify that a specific lakeFS user `dev-user` can connect: + +```sh +ldapwhoami -H ldap://ldap.company.com:636 -D "uid=dev-user,ou=,o=,dc=,dc=com" -x -W +``` + +### User not found issue + +Upon a login request in fluffy, the bind user will search for the user in the LDAP server. If the user is not found it will be presented in the logs. + +We can search the user using [ldapsearch](https://docs.ldap.com/ldap-sdk/docs/tool-usages/ldapsearch.html) CLI tool. + +Search ALL users in the base DN (no filters): + +**Note:** `-b` is the `user_base_dn`, `-D` is `bind_dn` and `-w` is `bind_password` from the fluffy configuration. + +```sh +ldapsearch -H ldap://ldap.company.com:636 -x -b "ou=,o=,dc=,dc=com" -D "uid=,ou=,o=,dc=,dc=com" -w '' +``` + +If the user is found, we should now use filters for the specific user the same way fluffy does it and expect to see the user. + +For example, to repdocue the same search as fluffy does: +- user `dev-user` set from `uid` attribute in LDAP +- Fluffy configuration values: `user_filter: (objectClass=inetOrgPerson)` and `username_attribute: uid` + +```sh +ldapsearch -H ldap://ldap.company.com:636 -x -b "ou=,o=,dc=,dc=com" -D "uid=,ou=,o=,dc=,dc=com" -w '' "(&(uid=dev-user)(objectClass=inetOrgPerson))" +``` +
@@ -345,3 +414,4 @@ Notes: * Fluffy docker image: replace the `fluffy.image.privateRegistry.secretToken` with real token to dockerhub for the fluffy docker image. [rbac-preconfigured]: {% link security/rbac.md %}#preconfigured-groups +[fluffy-configuration]: {% link enterprise/configuration.md %}#fluffy-server-configuration \ No newline at end of file diff --git a/docs/understand/architecture.md b/docs/understand/architecture.md index 3da64fc6f98..7af37d77167 100644 --- a/docs/understand/architecture.md +++ b/docs/understand/architecture.md @@ -112,6 +112,15 @@ Using [lakeFSFileSystem][hadoopfs] increases Spark ETL jobs performance by execu and all data operations directly through the same underlying object store that lakeFS uses. +## How lakeFS Clients and Gateway Handle Metadata and Data Access + + +When using the Python client, lakeCTL, or the lakeFS Spark client, these clients communicate with the lakeFS server to retrieve metadata information. For example, they may query lakeFS to understand which version of a file is needed or to track changes in branches and commits. This communication does not include the actual data transfer, but instead involves passing only metadata about data locations and versions. +Once the client knows the exact data location from the lakeFS metadata, it directly accesses the data in the underlying object storage (potentially using presigned URLs) without routing through lakeFS. For instance, if data is stored in S3, the Spark client will retrieve the S3 paths from lakeFS, then directly read and write to those paths in S3 without involving lakeFS in the data transfer. + +lakeFS Clients vs Gateway Data Flow + + [data-quality-gates]: {% link understand/use_cases/cicd_for_data.md %}#using-hooks-as-data-quality-gates [dynamodb-permissions]: {% link howto/deploy/aws.md %}#grant-dynamodb-permissions-to-lakefs [roadmap]: {% link project/index.md %}#roadmap diff --git a/esti/golden/lakectl_merge_with_squashed_commit.golden b/esti/golden/lakectl_merge_with_squashed_commit.golden new file mode 100644 index 00000000000..17f08396e5e --- /dev/null +++ b/esti/golden/lakectl_merge_with_squashed_commit.golden @@ -0,0 +1,15 @@ + +ID: +Author: esti +Date: