diff --git a/.circleci/config.yml b/.circleci/config.yml index 7b20abc02..9230a98c9 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,11 +1,13 @@ -# Golang CircleCI 2.0 configuration file -# -# Check https://circleci.com/docs/2.0/language-go/ for more details -version: 2 +version: 2.1 + +orbs: + changelog: ory/changelog@0.0.5 + sdk: ory/sdk@0.1.13 + jobs: format: docker: - - image: circleci/golang:1.11 + - image: circleci/golang:1.13 working_directory: /go/src/github.com/ory/keto steps: - checkout @@ -18,22 +20,9 @@ jobs: - run: go mod download - run: golangci-lint run ./... - release-npm: - docker: - - image: circleci/node:8.9.3 - working_directory: ~/hydra - steps: - - checkout - - run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/.npmrc - - run: | - npm version -f --no-git-tag-version $CIRCLE_TAG - - run: npm view ory-hydra-sdk - - run: npm whoami - - run: npm publish - test: docker: - - image: circleci/golang:1.11 + - image: circleci/golang:1.13 environment: - TEST_DATABASE_POSTGRESQL=postgres://test:test@localhost:5432/keto?sslmode=disable - TEST_DATABASE_MYSQL=root:test@(localhost:3306)/mysql?parseTime=true @@ -101,26 +90,6 @@ jobs: - run: "cp configuration.md ../docs/docs/keto/configuration.md" - run: "(cd ../docs && git add -A && git commit -a -m \"Updates ORY Keto Swagger and config definitions\" && git push origin) || exit 0" - release-changelog: - docker: - - image: circleci/ruby:2.4-node - steps: - - checkout - - run: gem install github_changelog_generator - - run: sudo npm i -g doctoc - - run: github_changelog_generator -u ory -p keto -o CHANGELOG.md --token $GITHUB_TOKEN - - run: doctoc CHANGELOG.md - - run: doctoc README.md - - run: git config --global user.email "circleci@ory.am" - - run: git config --global user.name "ORY Continuous Integration" - - run: git add CHANGELOG.md - - run: git add README.md - - run: | - git commit -a -m "docs: Incorporates changes from version $(git describe --tags)" || true - - run: git remote rm origin - - run: git remote add origin https://arekkas:$GITHUB_TOKEN@github.com/ory/keto.git - - run: git push origin HEAD:master || true - workflows: version: 2 "test, build, and relase": @@ -146,20 +115,27 @@ workflows: filters: branches: only: master - - release-npm: + - changelog/generate: requires: - - release + - test + - format filters: tags: only: /.*/ branches: - ignore: /.*/ - - release-changelog: + only: master + - sdk/generate: + appname: Ory_Keto requires: + - test + - format + - sdk/release: + requires: + - test + - format - release - - release-npm filters: tags: only: /.*/ branches: - ignore: /.*/ \ No newline at end of file + ignore: /.*/ diff --git a/Makefile b/Makefile index 3198bff27..5af7ea161 100644 --- a/Makefile +++ b/Makefile @@ -1,36 +1,6 @@ .PHONY: format format: goreturns -w -local github.com/ory $$(listx .) - # goimports -w -v -local github.com/ory $$(listx .) - -.PHONY: swagger -swagger: - swagger generate spec -m -o ./docs/api.swagger.json - -.PHONY: sdk -sdk: - GO111MODULE=on go mod tidy - GO111MODULE=on go mod vendor - GO111MODULE=off swagger generate spec -m -o ./docs/api.swagger.json - GO111MODULE=off swagger validate ./docs/api.swagger.json - - rm -rf ./sdk/go/keto/* - rm -rf ./sdk/js/swagger - rm -rf ./sdk/php/swagger - - GO111MODULE=off swagger generate client -f ./docs/api.swagger.json -t sdk/go/keto -A Ory_Keto - - java -jar scripts/swagger-codegen-cli-2.2.3.jar generate -i ./docs/api.swagger.json -l javascript -o ./sdk/js/swagger - java -jar scripts/swagger-codegen-cli-2.2.3.jar generate -i ./docs/api.swagger.json -l php -o ./sdk/php/ \ - --invoker-package keto\\SDK --git-repo-id swagger --git-user-id ory --additional-properties "packagePath=swagger,description=Client for keto" - - make format - - rm -f ./sdk/js/swagger/package.json - rm -rf ./sdk/js/swagger/test - rm -f ./sdk/php/swagger/composer.json ./sdk/php/swagger/phpunit.xml.dist - rm -rf ./sdk/php/swagger/test - rm -rf ./vendor .PHONY: install-stable install-stable: @@ -48,3 +18,15 @@ install: $(go env GOPATH)/bin/packr GO111MODULE=on go install . $(go env GOPATH)/bin/packr clean + +# Generates the SDKs +.PHONY: sdk +sdk: + $$(go env GOPATH)/bin/swagger generate spec -m -o ./docs/api.swagger.json -x internal/httpclient + $$(go env GOPATH)/bin/swagutil sanitize ./docs/api.swagger.json + $$(go env GOPATH)/bin/swagger flatten --with-flatten=remove-unused -o ./docs/api.swagger.json ./docs/api.swagger.json + $$(go env GOPATH)/bin/swagger validate ./docs/api.swagger.json + rm -rf internal/httpclient + mkdir -p internal/httpclient + $$(go env GOPATH)/bin/swagger generate client -f ./docs/api.swagger.json -t internal/httpclient -A Ory_Keto + make format diff --git a/README.md b/README.md index 62b5ab873..7ee059b82 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,8 @@ Chat | Forums | Newsletter

- Guide | - API Docs | + Guide | + API Docs | Code Docs

Support this project! diff --git a/UPGRADE.md b/UPGRADE.md index c720fb4e9..949bf2f2a 100644 --- a/UPGRADE.md +++ b/UPGRADE.md @@ -7,24 +7,54 @@ before finalizing the upgrade process. -- [Upgrading](#upgrading) - - [0.2.0-sandbox](#020-sandbox) - - [Conceptual changes](#conceptual-changes) - - [Deprecated](#deprecated) - - [Changes](#changes) - - [Additions](#additions) - - [Untouched](#untouched) - - [API Changes](#api-changes) - - [Renamed Endpoints](#renamed-endpoints) - - [Reworked Endpoints](#reworked-endpoints) - - [New Endpoints](#new-endpoints) - - [Migration](#migration) - - [SQL](#sql) - - [0.0.1](#001) - - [CORS is disabled by default](#cors-is-disabled-by-default) + +- [0.4.0](#040) +- [0.3.0-sandbox](#030-sandbox) + - [Configuration](#configuration) + - [ORY Access Control Policies Allowed Endpoint](#ory-access-control-policies-allowed-endpoint) + - [SDK](#sdk) +- [0.2.0-sandbox](#020-sandbox) + - [Conceptual changes](#conceptual-changes) + - [Deprecated](#deprecated) + - [Changes](#changes) + - [Additions](#additions) + - [Untouched](#untouched) + - [API Changes](#api-changes) + - [Renamed Endpoints](#renamed-endpoints) + - [Reworked Endpoints](#reworked-endpoints) + - [New Endpoints](#new-endpoints) + - [Migration](#migration) + - [SQL](#sql) +- [0.0.1](#001) + - [CORS is disabled by default](#cors-is-disabled-by-default) +## 0.4.0-sandbox + +This release focuses on a rework of the SDK pipeline. First of all, we have introduced new SDKs for all popular programming +languages and published them on their respective package repositories: + +- [Python](https://pypi.org/project/ory-keto-client/) +- [PHP](https://packagist.org/packages/ory/keto-client) +- [Go](https://github.com/ory/keto-client-go) +- [NodeJS](https://www.npmjs.com/package/@oryd/keto-client) (with TypeScript) +- [Java](https://search.maven.org/artifact/sh.ory.keto/keto-client) +- [Ruby](https://rubygems.org/gems/ory-keto-client) + +The SDKs hosted in this repository (under ./sdk/...) have been completely removed. Please use only the SDKs from the +above sources from now on as it will also remove several issues that were caused by the previous SDK pipeline. + +Unfortunately, there were breaking changes introduced by the new SDK generation: + +- Several structs and fields have been renamed in the Go SDK. However, nothing else changed so upgrading should be a matter of +half an hour if you made extensive use of the SDK, or several minutes if just one or two methods are being used. +- All other SDKs changed to `openapi-generator`, which is a better maintained generator that creates +better code than the one previously used. This manifests in TypeScript definitions for the NodeJS SDK and +several other goodies. We do not have a proper migration path for those, unfortunately. + +If you have issues with upgrading the SDK, please let us know in an issue on this repository! + ## 0.3.0-sandbox ### Configuration diff --git a/cmd/client/helper.go b/cmd/client/helper.go index 0d53b7ac8..6b4e48c0a 100644 --- a/cmd/client/helper.go +++ b/cmd/client/helper.go @@ -23,10 +23,11 @@ import ( "path/filepath" "strings" - "github.com/ory/keto/sdk/go/keto/client" + "github.com/ory/keto/internal/httpclient/client" "github.com/spf13/cobra" - "github.com/spf13/viper" + + "github.com/ory/viper" "github.com/ory/keto/engine/ladon" "github.com/ory/x/cmdx" diff --git a/cmd/engines_acp_ory_allowed.go b/cmd/engines_acp_ory_allowed.go index 9d0d2b6b0..0b9bc2b17 100644 --- a/cmd/engines_acp_ory_allowed.go +++ b/cmd/engines_acp_ory_allowed.go @@ -17,8 +17,8 @@ package cmd import ( "fmt" - "github.com/ory/keto/sdk/go/keto/client/engines" - "github.com/ory/keto/sdk/go/keto/models" + "github.com/ory/keto/internal/httpclient/client/engines" + "github.com/ory/keto/internal/httpclient/models" "github.com/spf13/cobra" diff --git a/cmd/engines_acp_ory_policies_delete.go b/cmd/engines_acp_ory_policies_delete.go index 75ad72d61..b7996c4f8 100644 --- a/cmd/engines_acp_ory_policies_delete.go +++ b/cmd/engines_acp_ory_policies_delete.go @@ -15,7 +15,7 @@ package cmd import ( - "github.com/ory/keto/sdk/go/keto/client/engines" + "github.com/ory/keto/internal/httpclient/client/engines" "github.com/spf13/cobra" diff --git a/cmd/engines_acp_ory_policies_get.go b/cmd/engines_acp_ory_policies_get.go index f53a4eada..80f5272cb 100644 --- a/cmd/engines_acp_ory_policies_get.go +++ b/cmd/engines_acp_ory_policies_get.go @@ -17,7 +17,7 @@ package cmd import ( "fmt" - "github.com/ory/keto/sdk/go/keto/client/engines" + "github.com/ory/keto/internal/httpclient/client/engines" "github.com/spf13/cobra" diff --git a/cmd/engines_acp_ory_policies_import.go b/cmd/engines_acp_ory_policies_import.go index 0b40ce667..8f689bb98 100644 --- a/cmd/engines_acp_ory_policies_import.go +++ b/cmd/engines_acp_ory_policies_import.go @@ -15,8 +15,8 @@ package cmd import ( - "github.com/ory/keto/sdk/go/keto/client/engines" - "github.com/ory/keto/sdk/go/keto/models" + "github.com/ory/keto/internal/httpclient/client/engines" + "github.com/ory/keto/internal/httpclient/models" "github.com/spf13/cobra" diff --git a/cmd/engines_acp_ory_policies_list.go b/cmd/engines_acp_ory_policies_list.go index 6162a1c0c..18ce3a38f 100644 --- a/cmd/engines_acp_ory_policies_list.go +++ b/cmd/engines_acp_ory_policies_list.go @@ -17,7 +17,7 @@ package cmd import ( "fmt" - "github.com/ory/keto/sdk/go/keto/client/engines" + "github.com/ory/keto/internal/httpclient/client/engines" "github.com/spf13/cobra" diff --git a/cmd/engines_acp_ory_roles_delete.go b/cmd/engines_acp_ory_roles_delete.go index bdd11f700..df0985701 100644 --- a/cmd/engines_acp_ory_roles_delete.go +++ b/cmd/engines_acp_ory_roles_delete.go @@ -17,7 +17,7 @@ package cmd import ( "github.com/spf13/cobra" - "github.com/ory/keto/sdk/go/keto/client/engines" + "github.com/ory/keto/internal/httpclient/client/engines" "github.com/ory/keto/cmd/client" "github.com/ory/x/cmdx" diff --git a/cmd/engines_acp_ory_roles_get.go b/cmd/engines_acp_ory_roles_get.go index f068a4fb9..4fd0ddca8 100644 --- a/cmd/engines_acp_ory_roles_get.go +++ b/cmd/engines_acp_ory_roles_get.go @@ -17,7 +17,7 @@ package cmd import ( "fmt" - "github.com/ory/keto/sdk/go/keto/client/engines" + "github.com/ory/keto/internal/httpclient/client/engines" "github.com/spf13/cobra" diff --git a/cmd/engines_acp_ory_roles_import.go b/cmd/engines_acp_ory_roles_import.go index a8abf5730..59adf511a 100644 --- a/cmd/engines_acp_ory_roles_import.go +++ b/cmd/engines_acp_ory_roles_import.go @@ -15,8 +15,8 @@ package cmd import ( - "github.com/ory/keto/sdk/go/keto/client/engines" - "github.com/ory/keto/sdk/go/keto/models" + "github.com/ory/keto/internal/httpclient/client/engines" + "github.com/ory/keto/internal/httpclient/models" "github.com/spf13/cobra" diff --git a/cmd/engines_acp_ory_roles_list.go b/cmd/engines_acp_ory_roles_list.go index 14e7117ff..0c7ed818c 100644 --- a/cmd/engines_acp_ory_roles_list.go +++ b/cmd/engines_acp_ory_roles_list.go @@ -17,7 +17,7 @@ package cmd import ( "fmt" - "github.com/ory/keto/sdk/go/keto/client/engines" + "github.com/ory/keto/internal/httpclient/client/engines" "github.com/spf13/cobra" diff --git a/cmd/root.go b/cmd/root.go index 2add009b9..f8c004fc9 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -23,7 +23,8 @@ import ( "github.com/sirupsen/logrus" "github.com/spf13/cobra" - "github.com/spf13/viper" + + "github.com/ory/viper" "github.com/ory/x/logrusx" ) diff --git a/cmd/root_test.go b/cmd/root_test.go index 42ddd4a36..607ceff9f 100644 --- a/cmd/root_test.go +++ b/cmd/root_test.go @@ -28,9 +28,12 @@ import ( "time" "github.com/stretchr/testify/assert" + + "github.com/ory/viper" ) func TestExecute(t *testing.T) { + viper.Set("dsn", "memory") ep := fmt.Sprintf("http://127.0.0.1:%d", port) for _, c := range []struct { diff --git a/cmd/serve.go b/cmd/serve.go index 049bfe563..3b880d019 100644 --- a/cmd/serve.go +++ b/cmd/serve.go @@ -41,7 +41,7 @@ on configuration options, open the configuration documentation: func init() { RootCmd.AddCommand(serveCmd) - disableTelemetryEnv := viperx.GetBool(logrusx.New(), "sqa.opt_out", "DISABLE_TELEMETRY") + disableTelemetryEnv := viperx.GetBool(logrusx.New(), "sqa.opt_out", false, "DISABLE_TELEMETRY") serveCmd.PersistentFlags().Bool("disable-telemetry", disableTelemetryEnv, "Disable anonymized telemetry reports - for more information please visit https://www.ory.sh/docs/ecosystem/sqa") serveCmd.PersistentFlags().Bool("sqa-opt-out", disableTelemetryEnv, "Disable anonymized telemetry reports - for more information please visit https://www.ory.sh/docs/ecosystem/sqa") } diff --git a/cmd/server/.gitignore b/cmd/server/.gitignore deleted file mode 100644 index 34aa176d1..000000000 --- a/cmd/server/.gitignore +++ /dev/null @@ -1 +0,0 @@ -*-packr.go \ No newline at end of file diff --git a/cmd/server/serve.go b/cmd/server/serve.go index cb20b92ee..82428bfa4 100644 --- a/cmd/server/serve.go +++ b/cmd/server/serve.go @@ -33,9 +33,10 @@ import ( "github.com/pkg/errors" "github.com/sirupsen/logrus" "github.com/spf13/cobra" - "github.com/spf13/viper" "github.com/urfave/negroni" + "github.com/ory/viper" + "github.com/ory/graceful" "github.com/ory/keto/engine/ladon" "github.com/ory/x/stringslice" diff --git a/cmd/tools.go b/cmd/tools.go index d7c4bbf98..1d572bad5 100644 --- a/cmd/tools.go +++ b/cmd/tools.go @@ -12,5 +12,7 @@ import ( _ "github.com/gobuffalo/packr/packr" _ "github.com/sqs/goreturns" + _ "github.com/ory/sdk/swagutil" + _ "github.com/ory/x/tools/listx" ) diff --git a/docs/api.swagger.json b/docs/api.swagger.json old mode 100644 new mode 100755 index aa171949b..582b47ae4 --- a/docs/api.swagger.json +++ b/docs/api.swagger.json @@ -11,7 +11,7 @@ ], "swagger": "2.0", "info": { - "description": "A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs.", + "description": "Ory Keto is a cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs.", "title": "ORY Keto", "contact": { "name": "ORY", @@ -47,7 +47,6 @@ "parameters": [ { "type": "string", - "x-go-name": "Flavor", "description": "The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\".", "name": "flavor", "in": "path", @@ -75,7 +74,37 @@ } }, "500": { - "$ref": "#/responses/genericError" + "description": "The standard error format", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + }, + "message": { + "type": "string" + }, + "reason": { + "type": "string" + }, + "request": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } } } } @@ -97,7 +126,6 @@ "parameters": [ { "type": "string", - "x-go-name": "Flavor", "description": "The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\"", "name": "flavor", "in": "path", @@ -106,7 +134,6 @@ { "type": "integer", "format": "int64", - "x-go-name": "Limit", "description": "The maximum amount of policies returned.", "name": "limit", "in": "query" @@ -114,28 +141,24 @@ { "type": "integer", "format": "int64", - "x-go-name": "Offset", "description": "The offset from where to start looking.", "name": "offset", "in": "query" }, { "type": "string", - "x-go-name": "Subject", "description": "The subject for whom the policies are to be listed.", "name": "subject", "in": "query" }, { "type": "string", - "x-go-name": "Resource", "description": "The resource for which the policies are to be listed.", "name": "resource", "in": "query" }, { "type": "string", - "x-go-name": "Action", "description": "The action for which policies are to be listed.", "name": "action", "in": "query" @@ -143,10 +166,46 @@ ], "responses": { "200": { - "$ref": "#/responses/oryAccessControlPolicies" + "description": "Policies is an array of policies.", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/oryAccessControlPolicy" + } + } }, "500": { - "$ref": "#/responses/genericError" + "description": "The standard error format", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + }, + "message": { + "type": "string" + }, + "reason": { + "type": "string" + }, + "request": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } } } }, @@ -169,7 +228,6 @@ "parameters": [ { "type": "string", - "x-go-name": "Flavor", "description": "The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\".", "name": "flavor", "in": "path", @@ -191,7 +249,37 @@ } }, "500": { - "$ref": "#/responses/genericError" + "description": "The standard error format", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + }, + "message": { + "type": "string" + }, + "reason": { + "type": "string" + }, + "request": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } } } } @@ -213,7 +301,6 @@ "parameters": [ { "type": "string", - "x-go-name": "Flavor", "description": "The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\".", "name": "flavor", "in": "path", @@ -221,7 +308,6 @@ }, { "type": "string", - "x-go-name": "ID", "description": "The ID of the ORY Access Control Policy Role.", "name": "id", "in": "path", @@ -236,10 +322,70 @@ } }, "404": { - "$ref": "#/responses/genericError" + "description": "The standard error format", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + }, + "message": { + "type": "string" + }, + "reason": { + "type": "string" + }, + "request": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } }, "500": { - "$ref": "#/responses/genericError" + "description": "The standard error format", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + }, + "message": { + "type": "string" + }, + "reason": { + "type": "string" + }, + "request": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } } } }, @@ -259,7 +405,6 @@ "parameters": [ { "type": "string", - "x-go-name": "Flavor", "description": "The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\".", "name": "flavor", "in": "path", @@ -267,7 +412,6 @@ }, { "type": "string", - "x-go-name": "ID", "description": "The ID of the ORY Access Control Policy Role.", "name": "id", "in": "path", @@ -276,10 +420,40 @@ ], "responses": { "204": { - "$ref": "#/responses/emptyResponse" + "description": "An empty response" }, "500": { - "$ref": "#/responses/genericError" + "description": "The standard error format", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + }, + "message": { + "type": "string" + }, + "reason": { + "type": "string" + }, + "request": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } } } } @@ -302,7 +476,6 @@ "parameters": [ { "type": "string", - "x-go-name": "Flavor", "description": "The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\"", "name": "flavor", "in": "path", @@ -311,7 +484,6 @@ { "type": "integer", "format": "int64", - "x-go-name": "Limit", "description": "The maximum amount of policies returned.", "name": "limit", "in": "query" @@ -319,14 +491,12 @@ { "type": "integer", "format": "int64", - "x-go-name": "Offset", "description": "The offset from where to start looking.", "name": "offset", "in": "query" }, { "type": "string", - "x-go-name": "Member", "description": "The member for which the roles are to be listed.", "name": "member", "in": "query" @@ -334,10 +504,46 @@ ], "responses": { "200": { - "$ref": "#/responses/oryAccessControlPolicyRoles" + "description": "Roles is an array of roles.", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/oryAccessControlPolicyRole" + } + } }, "500": { - "$ref": "#/responses/genericError" + "description": "The standard error format", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + }, + "message": { + "type": "string" + }, + "reason": { + "type": "string" + }, + "request": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } } } }, @@ -361,7 +567,6 @@ "parameters": [ { "type": "string", - "x-go-name": "Flavor", "description": "The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\".", "name": "flavor", "in": "path", @@ -383,7 +588,37 @@ } }, "500": { - "$ref": "#/responses/genericError" + "description": "The standard error format", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + }, + "message": { + "type": "string" + }, + "reason": { + "type": "string" + }, + "request": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } } } } @@ -406,7 +641,6 @@ "parameters": [ { "type": "string", - "x-go-name": "Flavor", "description": "The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\".", "name": "flavor", "in": "path", @@ -414,7 +648,6 @@ }, { "type": "string", - "x-go-name": "ID", "description": "The ID of the ORY Access Control Policy Role.", "name": "id", "in": "path", @@ -429,10 +662,70 @@ } }, "404": { - "$ref": "#/responses/genericError" + "description": "The standard error format", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + }, + "message": { + "type": "string" + }, + "reason": { + "type": "string" + }, + "request": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } }, "500": { - "$ref": "#/responses/genericError" + "description": "The standard error format", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + }, + "message": { + "type": "string" + }, + "reason": { + "type": "string" + }, + "request": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } } } }, @@ -453,7 +746,6 @@ "parameters": [ { "type": "string", - "x-go-name": "Flavor", "description": "The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\".", "name": "flavor", "in": "path", @@ -461,7 +753,6 @@ }, { "type": "string", - "x-go-name": "ID", "description": "The ID of the ORY Access Control Policy Role.", "name": "id", "in": "path", @@ -470,10 +761,40 @@ ], "responses": { "204": { - "$ref": "#/responses/emptyResponse" + "description": "An empty response" }, "500": { - "$ref": "#/responses/genericError" + "description": "The standard error format", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + }, + "message": { + "type": "string" + }, + "reason": { + "type": "string" + }, + "request": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } } } } @@ -499,7 +820,6 @@ "parameters": [ { "type": "string", - "x-go-name": "Flavor", "description": "The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\".", "name": "flavor", "in": "path", @@ -507,7 +827,6 @@ }, { "type": "string", - "x-go-name": "ID", "description": "The ID of the ORY Access Control Policy Role.", "name": "id", "in": "path", @@ -529,7 +848,37 @@ } }, "500": { - "$ref": "#/responses/genericError" + "description": "The standard error format", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + }, + "message": { + "type": "string" + }, + "reason": { + "type": "string" + }, + "request": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } } } } @@ -555,7 +904,6 @@ "parameters": [ { "type": "string", - "x-go-name": "Flavor", "description": "The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\".", "name": "flavor", "in": "path", @@ -563,7 +911,6 @@ }, { "type": "string", - "x-go-name": "ID", "description": "The ID of the ORY Access Control Policy Role.", "name": "id", "in": "path", @@ -571,7 +918,6 @@ }, { "type": "string", - "x-go-name": "Member", "description": "The member to be removed.", "name": "member", "in": "path", @@ -580,10 +926,40 @@ ], "responses": { "201": { - "$ref": "#/responses/emptyResponse" + "description": "An empty response" }, "500": { - "$ref": "#/responses/genericError" + "description": "The standard error format", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + }, + "message": { + "type": "string" + }, + "reason": { + "type": "string" + }, + "request": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } } } } @@ -607,7 +983,37 @@ } }, "500": { - "$ref": "#/responses/genericError" + "description": "The standard error format", + "schema": { + "type": "object", + "properties": { + "code": { + "type": "integer", + "format": "int64" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": { + "type": "object" + } + } + }, + "message": { + "type": "string" + }, + "reason": { + "type": "string" + }, + "request": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } } } } @@ -662,32 +1068,7 @@ } }, "definitions": { - "AddOryAccessControlPolicyRoleMembers": { - "description": "AddOryAccessControlPolicyRoleMembers AddOryAccessControlPolicyRoleMembers AddOryAccessControlPolicyRoleMembers add ory access control policy role members", - "type": "object", - "required": [ - "flavor", - "id" - ], - "properties": { - "Body": { - "$ref": "#/definitions/AddOryAccessControlPolicyRoleMembersBody" - }, - "flavor": { - "description": "The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\".\n\nin: path", - "type": "string", - "x-go-name": "Flavor" - }, - "id": { - "description": "The ID of the ORY Access Control Policy Role.\n\nin: path", - "type": "string", - "x-go-name": "ID" - } - }, - "x-go-package": "github.com/sum2000/keto/sdk/go/keto/models" - }, - "AddOryAccessControlPolicyRoleMembersBody": { - "description": "AddOryAccessControlPolicyRoleMembersBody AddOryAccessControlPolicyRoleMembersBody add ory access control policy role members body", + "addOryAccessControlPolicyRoleMembersBody": { "type": "object", "properties": { "members": { @@ -695,2030 +1076,141 @@ "type": "array", "items": { "type": "string" - }, - "x-go-name": "Members" - } - }, - "x-go-package": "github.com/sum2000/keto/sdk/go/keto/models" - }, - "AddOryAccessControlPolicyRoleMembersInternalServerError": { - "description": "The standard error format", - "type": "object", - "title": "AddOryAccessControlPolicyRoleMembersInternalServerError AddOryAccessControlPolicyRoleMembersInternalServerError handles this case with default header values.", - "properties": { - "Payload": { - "$ref": "#/definitions/AddOryAccessControlPolicyRoleMembersInternalServerErrorBody" - } - }, - "x-go-package": "github.com/ory/keto/sdk/go/keto/models" - }, - "AddOryAccessControlPolicyRoleMembersInternalServerErrorBody": { - "description": "AddOryAccessControlPolicyRoleMembersInternalServerErrorBody add ory access control policy role members internal server error body", - "type": "object", - "properties": { - "code": { - "description": "code", - "type": "integer", - "format": "int64", - "x-go-name": "Code" - }, - "details": { - "description": "details", - "type": "array", - "items": { - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "x-go-name": "Details" - }, - "message": { - "description": "message", - "type": "string", - "x-go-name": "Message" - }, - "reason": { - "description": "reason", - "type": "string", - "x-go-name": "Reason" - }, - "request": { - "description": "request", - "type": "string", - "x-go-name": "Request" - }, - "status": { - "description": "status", - "type": "string", - "x-go-name": "Status" - } - }, - "x-go-package": "github.com/sum2000/keto/sdk/go/keto/client/engines" - }, - "AddOryAccessControlPolicyRoleMembersOK": { - "description": "oryAccessControlPolicyRole", - "type": "object", - "title": "AddOryAccessControlPolicyRoleMembersOK AddOryAccessControlPolicyRoleMembersOK handles this case with default header values.", - "properties": { - "Payload": { - "$ref": "#/definitions/oryAccessControlPolicyRole" + } } - }, - "x-go-package": "github.com/ory/keto/sdk/go/keto/models" - }, - "AddOryAccessControlPolicyRoleMembersReader": { - "type": "object", - "title": "AddOryAccessControlPolicyRoleMembersReader AddOryAccessControlPolicyRoleMembersReader AddOryAccessControlPolicyRoleMembersReader is a Reader for the AddOryAccessControlPolicyRoleMembers structure.", - "x-go-package": "github.com/sum2000/keto/sdk/go/keto/models" + } }, - "AuthorizationResult": { + "authorizationResult": { "type": "object", - "title": "AuthorizationResult AuthorizationResult AuthorizationResult is the result of an access control decision. It contains the decision outcome.", + "title": "AuthorizationResult is the result of an access control decision. It contains the decision outcome.", "required": [ "allowed" ], "properties": { "allowed": { "description": "Allowed is true if the request should be allowed and false otherwise.", - "type": "boolean", - "x-go-name": "Allowed" + "type": "boolean" } - }, - "x-go-package": "github.com/sum2000/keto/sdk/go/keto/models" - }, - "Context": { - "description": "Context Context Context Context Context Context Context Context Context context", - "type": "object", - "additionalProperties": { - "type": "object" - }, - "x-go-package": "github.com/ory/keto/sdk/go/keto/models" + } }, - "DeleteOryAccessControlPolicy": { - "description": "DeleteOryAccessControlPolicy DeleteOryAccessControlPolicy delete ory access control policy", + "healthNotReadyStatus": { + "description": "HealthNotReadyStatus health not ready status", "type": "object", - "required": [ - "flavor", - "id" - ], "properties": { - "flavor": { - "description": "The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\".\n\nin: path", - "type": "string", - "x-go-name": "Flavor" - }, - "id": { - "description": "The ID of the ORY Access Control Policy Role.\n\nin: path", - "type": "string", - "x-go-name": "ID" + "errors": { + "description": "Errors contains a list of errors that caused the not ready status.", + "type": "object", + "additionalProperties": { + "type": "string" + } } - }, - "x-go-package": "github.com/sum2000/keto/sdk/go/keto/models" - }, - "DeleteOryAccessControlPolicyCreated": { - "description": "An empty response", - "type": "object", - "title": "DeleteOryAccessControlPolicyCreated DeleteOryAccessControlPolicyCreated DeleteOryAccessControlPolicyCreated DeleteOryAccessControlPolicyCreated DeleteOryAccessControlPolicyCreated handles this case with default header values.", - "x-go-package": "github.com/ory/keto/sdk/go/keto/models" + } }, - "DeleteOryAccessControlPolicyInternalServerError": { - "description": "The standard error format", + "healthStatus": { + "description": "HealthStatus health status", "type": "object", - "title": "DeleteOryAccessControlPolicyInternalServerError DeleteOryAccessControlPolicyInternalServerError DeleteOryAccessControlPolicyInternalServerError DeleteOryAccessControlPolicyInternalServerError handles this case with default header values.", "properties": { - "Payload": { - "$ref": "#/definitions/DeleteOryAccessControlPolicyInternalServerErrorBody" + "status": { + "description": "Status always contains \"ok\".", + "type": "string" } - }, - "x-go-package": "github.com/sum2000/keto/sdk/go/keto/models" + } }, - "DeleteOryAccessControlPolicyInternalServerErrorBody": { - "description": "DeleteOryAccessControlPolicyInternalServerErrorBody DeleteOryAccessControlPolicyInternalServerErrorBody delete ory access control policy internal server error body", + "oryAccessControlPolicy": { "type": "object", + "title": "OryAccessControlPolicy OryAccessControlPolicy oryAccessControlPolicy specifies an ORY Access Policy document.", "properties": { - "code": { - "description": "code", - "type": "integer", - "format": "int64", - "x-go-name": "Code" - }, - "details": { - "description": "details", + "actions": { + "description": "Actions is an array representing all the actions this ORY Access Policy applies to.", "type": "array", "items": { - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "x-go-name": "Details" - }, - "message": { - "description": "message", - "type": "string", - "x-go-name": "Message" + "type": "string" + } }, - "reason": { - "description": "reason", - "type": "string", - "x-go-name": "Reason" + "conditions": { + "description": "Conditions represents a keyed object of conditions under which this ORY Access Policy is active.", + "type": "object", + "additionalProperties": { + "type": "object" + } }, - "request": { - "description": "request", - "type": "string", - "x-go-name": "Request" + "description": { + "description": "Description is an optional, human-readable description.", + "type": "string" }, - "status": { - "description": "status", - "type": "string", - "x-go-name": "Status" - } - }, - "x-go-package": "github.com/ory/keto/sdk/go/keto/models" - }, - "DeleteOryAccessControlPolicyNoContent": { - "description": "An empty response", - "type": "object", - "title": "DeleteOryAccessControlPolicyNoContent DeleteOryAccessControlPolicyNoContent DeleteOryAccessControlPolicyNoContent handles this case with default header values.", - "x-go-package": "github.com/sum2000/keto/sdk/go/keto/models" - }, - "DeleteOryAccessControlPolicyReader": { - "type": "object", - "title": "DeleteOryAccessControlPolicyReader DeleteOryAccessControlPolicyReader DeleteOryAccessControlPolicyReader is a Reader for the DeleteOryAccessControlPolicy structure.", - "x-go-package": "github.com/sum2000/keto/sdk/go/keto/models" - }, - "DeleteOryAccessControlPolicyRole": { - "description": "DeleteOryAccessControlPolicyRole DeleteOryAccessControlPolicyRole DeleteOryAccessControlPolicyRole delete ory access control policy role", - "type": "object", - "required": [ - "flavor", - "id" - ], - "properties": { - "flavor": { - "description": "The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\".\n\nin: path", - "type": "string", - "x-go-name": "Flavor" + "effect": { + "description": "Effect is the effect of this ORY Access Policy. It can be \"allow\" or \"deny\".", + "type": "string" }, "id": { - "description": "The ID of the ORY Access Control Policy Role.\nin: path", - "type": "string", - "x-go-name": "ID" - } - }, - "x-go-package": "github.com/sum2000/keto/sdk/go/keto/models" - }, - "DeleteOryAccessControlPolicyRoleCreated": { - "description": "An empty response", - "type": "object", - "title": "DeleteOryAccessControlPolicyRoleCreated DeleteOryAccessControlPolicyRoleCreated DeleteOryAccessControlPolicyRoleCreated DeleteOryAccessControlPolicyRoleCreated DeleteOryAccessControlPolicyRoleCreated DeleteOryAccessControlPolicyRoleCreated DeleteOryAccessControlPolicyRoleCreated handles this case with default header values.", - "x-go-package": "github.com/sum2000/keto/sdk/go/keto/models" - }, - "DeleteOryAccessControlPolicyRoleInternalServerError": { - "description": "The standard error format", - "type": "object", - "title": "DeleteOryAccessControlPolicyRoleInternalServerError DeleteOryAccessControlPolicyRoleInternalServerError handles this case with default header values.", - "properties": { - "Payload": { - "$ref": "#/definitions/DeleteOryAccessControlPolicyRoleInternalServerErrorBody" - } - }, - "x-go-package": "github.com/ory/keto/sdk/go/keto/models" - }, - "DeleteOryAccessControlPolicyRoleInternalServerErrorBody": { - "description": "DeleteOryAccessControlPolicyRoleInternalServerErrorBody delete ory access control policy role internal server error body", - "type": "object", - "properties": { - "code": { - "description": "code", - "type": "integer", - "format": "int64", - "x-go-name": "Code" + "description": "ID is the unique identifier of the ORY Access Policy. It is used to query, update, and remove the ORY Access Policy.", + "type": "string" }, - "details": { - "description": "details", + "resources": { + "description": "Resources is an array representing all the resources this ORY Access Policy applies to.", "type": "array", "items": { - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "x-go-name": "Details" - }, - "message": { - "description": "message", - "type": "string", - "x-go-name": "Message" - }, - "reason": { - "description": "reason", - "type": "string", - "x-go-name": "Reason" - }, - "request": { - "description": "request", - "type": "string", - "x-go-name": "Request" + "type": "string" + } }, - "status": { - "description": "status", - "type": "string", - "x-go-name": "Status" + "subjects": { + "description": "Subjects is an array representing all the subjects this ORY Access Policy applies to.", + "type": "array", + "items": { + "type": "string" + } } - }, - "x-go-package": "github.com/sum2000/keto/sdk/go/keto/client/engines" - }, - "DeleteOryAccessControlPolicyRoleNoContent": { - "description": "An empty response", - "type": "object", - "title": "DeleteOryAccessControlPolicyRoleNoContent DeleteOryAccessControlPolicyRoleNoContent handles this case with default header values.", - "x-go-package": "github.com/ory/keto/sdk/go/keto/models" - }, - "DeleteOryAccessControlPolicyRoleReader": { - "type": "object", - "title": "DeleteOryAccessControlPolicyRoleReader DeleteOryAccessControlPolicyRoleReader DeleteOryAccessControlPolicyRoleReader DeleteOryAccessControlPolicyRoleReader is a Reader for the DeleteOryAccessControlPolicyRole structure.", - "x-go-package": "github.com/sum2000/keto/sdk/go/keto/models" + } }, - "DoOryAccessControlPoliciesAllow": { - "description": "DoOryAccessControlPoliciesAllow DoOryAccessControlPoliciesAllow do ory access control policies allow", + "oryAccessControlPolicyAllowedInput": { "type": "object", - "required": [ - "flavor" - ], + "title": "Input for checking if a request is allowed or not.", "properties": { - "Body": { - "$ref": "#/definitions/OryAccessControlPolicyAllowedInput" + "action": { + "description": "Action is the action that is requested on the resource.", + "type": "string" }, - "flavor": { - "description": "The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\".\n\nin: path", - "type": "string", - "x-go-name": "Flavor" - } - }, - "x-go-package": "github.com/sum2000/keto/sdk/go/keto/models" - }, - "DoOryAccessControlPoliciesAllowForbidden": { - "description": "authorizationResult", - "type": "object", - "title": "DoOryAccessControlPoliciesAllowForbidden DoOryAccessControlPoliciesAllowForbidden DoOryAccessControlPoliciesAllowForbidden handles this case with default header values.", - "properties": { - "Payload": { - "$ref": "#/definitions/AuthorizationResult" - } - }, - "x-go-package": "github.com/sum2000/keto/sdk/go/keto/models" - }, - "DoOryAccessControlPoliciesAllowInternalServerError": { - "description": "The standard error format", - "type": "object", - "title": "DoOryAccessControlPoliciesAllowInternalServerError DoOryAccessControlPoliciesAllowInternalServerError DoOryAccessControlPoliciesAllowInternalServerError handles this case with default header values.", - "properties": { - "Payload": { - "$ref": "#/definitions/DoOryAccessControlPoliciesAllowInternalServerErrorBody" + "context": { + "description": "Context is the request's environmental context.", + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "resource": { + "description": "Resource is the resource that access is requested to.", + "type": "string" + }, + "subject": { + "description": "Subject is the subject that is requesting access.", + "type": "string" } - }, - "x-go-package": "github.com/sum2000/keto/sdk/go/keto/models" + } }, - "DoOryAccessControlPoliciesAllowInternalServerErrorBody": { - "description": "DoOryAccessControlPoliciesAllowInternalServerErrorBody DoOryAccessControlPoliciesAllowInternalServerErrorBody do ory access control policies allow internal server error body", + "oryAccessControlPolicyRole": { + "description": "oryAccessControlPolicyRole represents a group of users that share the same role. A role could be an administrator, a moderator, a regular\nuser or some other sort of role.", "type": "object", "properties": { - "code": { - "description": "code", - "type": "integer", - "format": "int64", - "x-go-name": "Code" + "id": { + "description": "ID is the role's unique id.", + "type": "string" }, - "details": { - "description": "details", + "members": { + "description": "Members is who belongs to the role.", "type": "array", "items": { - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "x-go-name": "Details" - }, - "message": { - "description": "message", - "type": "string", - "x-go-name": "Message" - }, - "reason": { - "description": "reason", - "type": "string", - "x-go-name": "Reason" - }, - "request": { - "description": "request", - "type": "string", - "x-go-name": "Request" - }, - "status": { - "description": "status", - "type": "string", - "x-go-name": "Status" - } - }, - "x-go-package": "github.com/ory/keto/sdk/go/keto/models" - }, - "DoOryAccessControlPoliciesAllowOK": { - "description": "authorizationResult", - "type": "object", - "title": "DoOryAccessControlPoliciesAllowOK DoOryAccessControlPoliciesAllowOK handles this case with default header values.", - "properties": { - "Payload": { - "$ref": "#/definitions/AuthorizationResult" + "type": "string" + } } - }, - "x-go-package": "github.com/ory/keto/sdk/go/keto/models" - }, - "DoOryAccessControlPoliciesAllowReader": { - "type": "object", - "title": "DoOryAccessControlPoliciesAllowReader DoOryAccessControlPoliciesAllowReader is a Reader for the DoOryAccessControlPoliciesAllow structure.", - "x-go-package": "github.com/ory/keto/sdk/go/keto/models" + } }, - "GetOryAccessControlPolicy": { - "description": "GetOryAccessControlPolicy GetOryAccessControlPolicy get ory access control policy", - "type": "object", - "required": [ - "flavor", - "id" - ], - "properties": { - "flavor": { - "description": "The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\".\n\nin: path", - "type": "string", - "x-go-name": "Flavor" - }, - "id": { - "description": "The ID of the ORY Access Control Policy Role.\n\nin: path", - "type": "string", - "x-go-name": "ID" - } - }, - "x-go-package": "github.com/sum2000/keto/sdk/go/keto/models" - }, - "GetOryAccessControlPolicyInternalServerError": { - "description": "The standard error format", - "type": "object", - "title": "GetOryAccessControlPolicyInternalServerError GetOryAccessControlPolicyInternalServerError GetOryAccessControlPolicyInternalServerError GetOryAccessControlPolicyInternalServerError handles this case with default header values.", - "properties": { - "Payload": { - "$ref": "#/definitions/GetOryAccessControlPolicyInternalServerErrorBody" - } - }, - "x-go-package": "github.com/sum2000/keto/sdk/go/keto/models" - }, - "GetOryAccessControlPolicyInternalServerErrorBody": { - "description": "GetOryAccessControlPolicyInternalServerErrorBody GetOryAccessControlPolicyInternalServerErrorBody get ory access control policy internal server error body", - "type": "object", - "properties": { - "code": { - "description": "code", - "type": "integer", - "format": "int64", - "x-go-name": "Code" - }, - "details": { - "description": "details", - "type": "array", - "items": { - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "x-go-name": "Details" - }, - "message": { - "description": "message", - "type": "string", - "x-go-name": "Message" - }, - "reason": { - "description": "reason", - "type": "string", - "x-go-name": "Reason" - }, - "request": { - "description": "request", - "type": "string", - "x-go-name": "Request" - }, - "status": { - "description": "status", - "type": "string", - "x-go-name": "Status" - } - }, - "x-go-package": "github.com/sum2000/keto/sdk/go/keto/models" - }, - "GetOryAccessControlPolicyNotFound": { - "description": "The standard error format", - "type": "object", - "title": "GetOryAccessControlPolicyNotFound GetOryAccessControlPolicyNotFound handles this case with default header values.", - "properties": { - "Payload": { - "$ref": "#/definitions/GetOryAccessControlPolicyNotFoundBody" - } - }, - "x-go-package": "github.com/ory/keto/sdk/go/keto/models" - }, - "GetOryAccessControlPolicyNotFoundBody": { - "description": "GetOryAccessControlPolicyNotFoundBody GetOryAccessControlPolicyNotFoundBody get ory access control policy not found body", - "type": "object", - "properties": { - "code": { - "description": "code", - "type": "integer", - "format": "int64", - "x-go-name": "Code" - }, - "details": { - "description": "details", - "type": "array", - "items": { - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "x-go-name": "Details" - }, - "message": { - "description": "message", - "type": "string", - "x-go-name": "Message" - }, - "reason": { - "description": "reason", - "type": "string", - "x-go-name": "Reason" - }, - "request": { - "description": "request", - "type": "string", - "x-go-name": "Request" - }, - "status": { - "description": "status", - "type": "string", - "x-go-name": "Status" - } - }, - "x-go-package": "github.com/ory/keto/sdk/go/keto/models" - }, - "GetOryAccessControlPolicyOK": { - "description": "oryAccessControlPolicy", - "type": "object", - "title": "GetOryAccessControlPolicyOK GetOryAccessControlPolicyOK GetOryAccessControlPolicyOK handles this case with default header values.", - "properties": { - "Payload": { - "$ref": "#/definitions/OryAccessControlPolicy" - } - }, - "x-go-package": "github.com/sum2000/keto/sdk/go/keto/models" - }, - "GetOryAccessControlPolicyReader": { - "type": "object", - "title": "GetOryAccessControlPolicyReader GetOryAccessControlPolicyReader GetOryAccessControlPolicyReader GetOryAccessControlPolicyReader is a Reader for the GetOryAccessControlPolicy structure.", - "x-go-package": "github.com/sum2000/keto/sdk/go/keto/models" - }, - "GetOryAccessControlPolicyRole": { - "description": "GetOryAccessControlPolicyRole GetOryAccessControlPolicyRole GetOryAccessControlPolicyRole get ory access control policy role", - "type": "object", - "required": [ - "flavor", - "id" - ], - "properties": { - "flavor": { - "description": "The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\".\n\nin: path", - "type": "string", - "x-go-name": "Flavor" - }, - "id": { - "description": "The ID of the ORY Access Control Policy Role.\n\nin: path", - "type": "string", - "x-go-name": "ID" - } - }, - "x-go-package": "github.com/sum2000/keto/sdk/go/keto/models" - }, - "GetOryAccessControlPolicyRoleInternalServerError": { - "description": "The standard error format", - "type": "object", - "title": "GetOryAccessControlPolicyRoleInternalServerError GetOryAccessControlPolicyRoleInternalServerError handles this case with default header values.", - "properties": { - "Payload": { - "$ref": "#/definitions/GetOryAccessControlPolicyRoleInternalServerErrorBody" - } - }, - "x-go-package": "github.com/ory/keto/sdk/go/keto/models" - }, - "GetOryAccessControlPolicyRoleInternalServerErrorBody": { - "description": "GetOryAccessControlPolicyRoleInternalServerErrorBody get ory access control policy role internal server error body", - "type": "object", - "properties": { - "code": { - "description": "code", - "type": "integer", - "format": "int64", - "x-go-name": "Code" - }, - "details": { - "description": "details", - "type": "array", - "items": { - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "x-go-name": "Details" - }, - "message": { - "description": "message", - "type": "string", - "x-go-name": "Message" - }, - "reason": { - "description": "reason", - "type": "string", - "x-go-name": "Reason" - }, - "request": { - "description": "request", - "type": "string", - "x-go-name": "Request" - }, - "status": { - "description": "status", - "type": "string", - "x-go-name": "Status" - } - }, - "x-go-package": "github.com/ory/keto/sdk/go/keto/client/engines" - }, - "GetOryAccessControlPolicyRoleNotFound": { - "description": "The standard error format", - "type": "object", - "title": "GetOryAccessControlPolicyRoleNotFound GetOryAccessControlPolicyRoleNotFound GetOryAccessControlPolicyRoleNotFound handles this case with default header values.", - "properties": { - "Payload": { - "$ref": "#/definitions/GetOryAccessControlPolicyRoleNotFoundBody" - } - }, - "x-go-package": "github.com/sum2000/keto/sdk/go/keto/models" - }, - "GetOryAccessControlPolicyRoleNotFoundBody": { - "description": "GetOryAccessControlPolicyRoleNotFoundBody GetOryAccessControlPolicyRoleNotFoundBody GetOryAccessControlPolicyRoleNotFoundBody get ory access control policy role not found body", - "type": "object", - "properties": { - "code": { - "description": "code", - "type": "integer", - "format": "int64", - "x-go-name": "Code" - }, - "details": { - "description": "details", - "type": "array", - "items": { - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "x-go-name": "Details" - }, - "message": { - "description": "message", - "type": "string", - "x-go-name": "Message" - }, - "reason": { - "description": "reason", - "type": "string", - "x-go-name": "Reason" - }, - "request": { - "description": "request", - "type": "string", - "x-go-name": "Request" - }, - "status": { - "description": "status", - "type": "string", - "x-go-name": "Status" - } - }, - "x-go-package": "github.com/sum2000/keto/sdk/go/keto/models" - }, - "GetOryAccessControlPolicyRoleOK": { - "description": "oryAccessControlPolicyRole", - "type": "object", - "title": "GetOryAccessControlPolicyRoleOK GetOryAccessControlPolicyRoleOK handles this case with default header values.", - "properties": { - "Payload": { - "$ref": "#/definitions/oryAccessControlPolicyRole" - } - }, - "x-go-package": "github.com/ory/keto/sdk/go/keto/models" - }, - "GetOryAccessControlPolicyRoleReader": { - "type": "object", - "title": "GetOryAccessControlPolicyRoleReader GetOryAccessControlPolicyRoleReader GetOryAccessControlPolicyRoleReader is a Reader for the GetOryAccessControlPolicyRole structure.", - "x-go-package": "github.com/sum2000/keto/sdk/go/keto/models" - }, - "Input": { - "type": "object", - "title": "Input Input Input Input Input for checking if a request is allowed or not.", - "properties": { - "action": { - "description": "Action is the action that is requested on the resource.", - "type": "string", - "x-go-name": "Action" - }, - "context": { - "description": "Context is the request's environmental context.", - "type": "object", - "additionalProperties": { - "type": "object" - }, - "x-go-name": "Context" - }, - "resource": { - "description": "Resource is the resource that access is requested to.", - "type": "string", - "x-go-name": "Resource" - }, - "subject": { - "description": "Subject is the subject that is requesting access.", - "type": "string", - "x-go-name": "Subject" - } - }, - "x-go-package": "github.com/sum2000/keto/sdk/go/keto/models" - }, - "IsInstanceAliveInternalServerError": { - "description": "The standard error format", - "type": "object", - "title": "IsInstanceAliveInternalServerError IsInstanceAliveInternalServerError handles this case with default header values.", - "properties": { - "Payload": { - "$ref": "#/definitions/IsInstanceAliveInternalServerErrorBody" - } - }, - "x-go-package": "github.com/ory/keto/sdk/go/keto/models" - }, - "IsInstanceAliveInternalServerErrorBody": { - "description": "IsInstanceAliveInternalServerErrorBody is instance alive internal server error body", - "type": "object", - "properties": { - "code": { - "description": "code", - "type": "integer", - "format": "int64", - "x-go-name": "Code" - }, - "details": { - "description": "details", - "type": "array", - "items": { - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "x-go-name": "Details" - }, - "message": { - "description": "message", - "type": "string", - "x-go-name": "Message" - }, - "reason": { - "description": "reason", - "type": "string", - "x-go-name": "Reason" - }, - "request": { - "description": "request", - "type": "string", - "x-go-name": "Request" - }, - "status": { - "description": "status", - "type": "string", - "x-go-name": "Status" - } - }, - "x-go-package": "github.com/sum2000/keto/sdk/go/keto/client/health" - }, - "IsInstanceAliveOK": { - "description": "healthStatus", - "type": "object", - "title": "IsInstanceAliveOK IsInstanceAliveOK IsInstanceAliveOK handles this case with default header values.", - "properties": { - "Payload": { - "$ref": "#/definitions/swaggerHealthStatus" - } - }, - "x-go-package": "github.com/sum2000/keto/sdk/go/keto/models" - }, - "IsInstanceAliveReader": { - "type": "object", - "title": "IsInstanceAliveReader IsInstanceAliveReader IsInstanceAliveReader IsInstanceAliveReader is a Reader for the IsInstanceAlive structure.", - "x-go-package": "github.com/sum2000/keto/sdk/go/keto/models" - }, - "ListOryAccessControlPolicies": { - "description": "ListOryAccessControlPolicies ListOryAccessControlPolicies ListOryAccessControlPolicies list ory access control policies", - "type": "object", - "required": [ - "flavor" - ], - "properties": { - "flavor": { - "description": "The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\"\n\nin: path", - "type": "string", - "x-go-name": "Flavor" - }, - "limit": { - "description": "The maximum amount of policies returned.\n\nin: query", - "type": "integer", - "format": "int64", - "x-go-name": "Limit" - }, - "offset": { - "description": "The offset from where to start looking.\n\nin: query", - "type": "integer", - "format": "int64", - "x-go-name": "Offset" - } - }, - "x-go-package": "github.com/sum2000/keto/sdk/go/keto/models" - }, - "ListOryAccessControlPoliciesInternalServerError": { - "description": "The standard error format", - "type": "object", - "title": "ListOryAccessControlPoliciesInternalServerError ListOryAccessControlPoliciesInternalServerError ListOryAccessControlPoliciesInternalServerError handles this case with default header values.", - "properties": { - "Payload": { - "$ref": "#/definitions/ListOryAccessControlPoliciesInternalServerErrorBody" - } - }, - "x-go-package": "github.com/sum2000/keto/sdk/go/keto/models" - }, - "ListOryAccessControlPoliciesInternalServerErrorBody": { - "description": "ListOryAccessControlPoliciesInternalServerErrorBody ListOryAccessControlPoliciesInternalServerErrorBody ListOryAccessControlPoliciesInternalServerErrorBody ListOryAccessControlPoliciesInternalServerErrorBody list ory access control policies internal server error body", - "type": "object", - "properties": { - "code": { - "description": "code", - "type": "integer", - "format": "int64", - "x-go-name": "Code" - }, - "details": { - "description": "details", - "type": "array", - "items": { - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "x-go-name": "Details" - }, - "message": { - "description": "message", - "type": "string", - "x-go-name": "Message" - }, - "reason": { - "description": "reason", - "type": "string", - "x-go-name": "Reason" - }, - "request": { - "description": "request", - "type": "string", - "x-go-name": "Request" - }, - "status": { - "description": "status", - "type": "string", - "x-go-name": "Status" - } - }, - "x-go-package": "github.com/sum2000/keto/sdk/go/keto/models" - }, - "ListOryAccessControlPoliciesOK": { - "description": "Policies is an array of policies.", - "type": "object", - "title": "ListOryAccessControlPoliciesOK ListOryAccessControlPoliciesOK handles this case with default header values.", - "properties": { - "Payload": { - "description": "payload", - "type": "array", - "items": { - "$ref": "#/definitions/OryAccessControlPolicy" - } - } - }, - "x-go-package": "github.com/ory/keto/sdk/go/keto/models" - }, - "ListOryAccessControlPoliciesReader": { - "type": "object", - "title": "ListOryAccessControlPoliciesReader ListOryAccessControlPoliciesReader ListOryAccessControlPoliciesReader is a Reader for the ListOryAccessControlPolicies structure.", - "x-go-package": "github.com/sum2000/keto/sdk/go/keto/models" - }, - "ListOryAccessControlPolicyRoles": { - "description": "ListOryAccessControlPolicyRoles ListOryAccessControlPolicyRoles list ory access control policy roles", - "type": "object", - "required": [ - "flavor" - ], - "properties": { - "flavor": { - "description": "The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\"\n\nin: path", - "type": "string", - "x-go-name": "Flavor" - }, - "limit": { - "description": "The maximum amount of policies returned.\n\nin: query", - "type": "integer", - "format": "int64", - "x-go-name": "Limit" - }, - "offset": { - "description": "The offset from where to start looking.\n\nin: query", - "type": "integer", - "format": "int64", - "x-go-name": "Offset" - } - }, - "x-go-package": "github.com/sum2000/keto/sdk/go/keto/models" - }, - "ListOryAccessControlPolicyRolesInternalServerError": { - "description": "The standard error format", - "type": "object", - "title": "ListOryAccessControlPolicyRolesInternalServerError ListOryAccessControlPolicyRolesInternalServerError ListOryAccessControlPolicyRolesInternalServerError handles this case with default header values.", - "properties": { - "Payload": { - "$ref": "#/definitions/ListOryAccessControlPolicyRolesInternalServerErrorBody" - } - }, - "x-go-package": "github.com/sum2000/keto/sdk/go/keto/models" - }, - "ListOryAccessControlPolicyRolesInternalServerErrorBody": { - "description": "ListOryAccessControlPolicyRolesInternalServerErrorBody ListOryAccessControlPolicyRolesInternalServerErrorBody list ory access control policy roles internal server error body", - "type": "object", - "properties": { - "code": { - "description": "code", - "type": "integer", - "format": "int64", - "x-go-name": "Code" - }, - "details": { - "description": "details", - "type": "array", - "items": { - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "x-go-name": "Details" - }, - "message": { - "description": "message", - "type": "string", - "x-go-name": "Message" - }, - "reason": { - "description": "reason", - "type": "string", - "x-go-name": "Reason" - }, - "request": { - "description": "request", - "type": "string", - "x-go-name": "Request" - }, - "status": { - "description": "status", - "type": "string", - "x-go-name": "Status" - } - }, - "x-go-package": "github.com/sum2000/keto/sdk/go/keto/models" - }, - "ListOryAccessControlPolicyRolesOK": { - "description": "Roles is an array of roles.", - "type": "object", - "title": "ListOryAccessControlPolicyRolesOK ListOryAccessControlPolicyRolesOK handles this case with default header values.", - "properties": { - "Payload": { - "description": "payload", - "type": "array", - "items": { - "$ref": "#/definitions/oryAccessControlPolicyRole" - } - } - }, - "x-go-package": "github.com/ory/keto/sdk/go/keto/models" - }, - "ListOryAccessControlPolicyRolesReader": { - "type": "object", - "title": "ListOryAccessControlPolicyRolesReader ListOryAccessControlPolicyRolesReader ListOryAccessControlPolicyRolesReader is a Reader for the ListOryAccessControlPolicyRoles structure.", - "x-go-package": "github.com/sum2000/keto/sdk/go/keto/models" - }, - "OryAccessControlPolicies": { - "type": "object", - "title": "OryAccessControlPolicies OryAccessControlPolicies OryAccessControlPolicies Policies is an array of policies.", - "properties": { - "Body": { - "description": "The request body.\n\nin: body\ntype: array", - "type": "array", - "items": { - "$ref": "#/definitions/OryAccessControlPolicy" - } - } - }, - "x-go-package": "github.com/sum2000/keto/sdk/go/keto/models" - }, - "OryAccessControlPolicy": { - "type": "object", - "title": "OryAccessControlPolicy OryAccessControlPolicy oryAccessControlPolicy specifies an ORY Access Policy document.", - "properties": { - "actions": { - "description": "Actions is an array representing all the actions this ORY Access Policy applies to.", - "type": "array", - "items": { - "type": "string" - }, - "x-go-name": "Actions" - }, - "conditions": { - "description": "Conditions represents a keyed object of conditions under which this ORY Access Policy is active.", - "type": "object", - "additionalProperties": { - "type": "object" - }, - "x-go-name": "Conditions" - }, - "description": { - "description": "Description is an optional, human-readable description.", - "type": "string", - "x-go-name": "Description" - }, - "effect": { - "description": "Effect is the effect of this ORY Access Policy. It can be \"allow\" or \"deny\".", - "type": "string", - "x-go-name": "Effect" - }, - "id": { - "description": "ID is the unique identifier of the ORY Access Policy. It is used to query, update, and remove the ORY Access Policy.", - "type": "string", - "x-go-name": "ID" - }, - "resources": { - "description": "Resources is an array representing all the resources this ORY Access Policy applies to.", - "type": "array", - "items": { - "type": "string" - }, - "x-go-name": "Resources" - }, - "subjects": { - "description": "Subjects is an array representing all the subjects this ORY Access Policy applies to.", - "type": "array", - "items": { - "type": "string" - }, - "x-go-name": "Subjects" - } - }, - "x-go-package": "github.com/sum2000/keto/sdk/go/keto/models" - }, - "OryAccessControlPolicyAllowedInput": { - "type": "object", - "title": "OryAccessControlPolicyAllowedInput OryAccessControlPolicyAllowedInput OryAccessControlPolicyAllowedInput Input for checking if a request is allowed or not.", - "properties": { - "action": { - "description": "Action is the action that is requested on the resource.", - "type": "string", - "x-go-name": "Action" - }, - "context": { - "description": "Context is the request's environmental context.", - "type": "object", - "additionalProperties": { - "type": "object" - }, - "x-go-name": "Context" - }, - "resource": { - "description": "Resource is the resource that access is requested to.", - "type": "string", - "x-go-name": "Resource" - }, - "subject": { - "description": "Subject is the subject that is requesting access.", - "type": "string", - "x-go-name": "Subject" - } - }, - "x-go-package": "github.com/sum2000/keto/sdk/go/keto/models" - }, - "OryAccessControlPolicyRole": { - "description": "OryAccessControlPolicyRole OryAccessControlPolicyRole OryAccessControlPolicyRole oryAccessControlPolicyRole represents a group of users that share the same role. A role could be an administrator, a moderator, a regular\nuser or some other sort of role.", - "type": "object", - "properties": { - "id": { - "description": "ID is the role's unique id.", - "type": "string", - "x-go-name": "ID" - }, - "members": { - "description": "Members is who belongs to the role.", - "type": "array", - "items": { - "type": "string" - }, - "x-go-name": "Members" - } - }, - "x-go-package": "github.com/sum2000/keto/sdk/go/keto/models" - }, - "OryAccessControlPolicyRoles": { - "type": "object", - "title": "OryAccessControlPolicyRoles OryAccessControlPolicyRoles Roles is an array of roles.", - "properties": { - "Body": { - "description": "The request body.\n\nin: body\ntype: array", - "type": "array", - "items": { - "$ref": "#/definitions/OryAccessControlPolicyRole" - } - } - }, - "x-go-package": "github.com/sum2000/keto/sdk/go/keto/models" - }, - "Policies": { - "type": "array", - "title": "Policies Policies Policies Policies Policies is an array of policies.", - "items": { - "$ref": "#/definitions/Policy" - }, - "x-go-package": "github.com/ory/keto/sdk/go/keto/models" - }, - "Policy": { - "type": "object", - "title": "Policy Policy Policy Policy Policy Policy Policy specifies an ORY Access Policy document.", - "properties": { - "actions": { - "description": "Actions is an array representing all the actions this ORY Access Policy applies to.", - "type": "array", - "items": { - "type": "string" - }, - "x-go-name": "Actions" - }, - "conditions": { - "description": "Conditions represents a keyed object of conditions under which this ORY Access Policy is active.", - "type": "object", - "additionalProperties": { - "type": "object" - }, - "x-go-name": "Conditions" - }, - "description": { - "description": "Description is an optional, human-readable description.", - "type": "string", - "x-go-name": "Description" - }, - "effect": { - "description": "Effect is the effect of this ORY Access Policy. It can be \"allow\" or \"deny\".", - "type": "string", - "x-go-name": "Effect" - }, - "id": { - "description": "ID is the unique identifier of the ORY Access Policy. It is used to query, update, and remove the ORY Access Policy.", - "type": "string", - "x-go-name": "ID" - }, - "resources": { - "description": "Resources is an array representing all the resources this ORY Access Policy applies to.", - "type": "array", - "items": { - "type": "string" - }, - "x-go-name": "Resources" - }, - "subjects": { - "description": "Subjects is an array representing all the subjects this ORY Access Policy applies to.", - "type": "array", - "items": { - "type": "string" - }, - "x-go-name": "Subjects" - } - }, - "x-go-package": "github.com/sum2000/keto/sdk/go/keto/models" - }, - "RemoveOryAccessControlPolicyRoleMembers": { - "description": "RemoveOryAccessControlPolicyRoleMembers RemoveOryAccessControlPolicyRoleMembers RemoveOryAccessControlPolicyRoleMembers remove ory access control policy role members", - "type": "object", - "required": [ - "flavor", - "id", - "member" - ], - "properties": { - "flavor": { - "description": "The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\".\n\nin: path", - "type": "string", - "x-go-name": "Flavor" - }, - "id": { - "description": "The ID of the ORY Access Control Policy Role.\n\nin: path", - "type": "string", - "x-go-name": "ID" - }, - "member": { - "description": "The member to be removed.\n\nin: path", - "type": "string", - "x-go-name": "Member" - } - }, - "x-go-package": "github.com/sum2000/keto/sdk/go/keto/models" - }, - "RemoveOryAccessControlPolicyRoleMembersCreated": { - "description": "An empty response", - "type": "object", - "title": "RemoveOryAccessControlPolicyRoleMembersCreated RemoveOryAccessControlPolicyRoleMembersCreated RemoveOryAccessControlPolicyRoleMembersCreated RemoveOryAccessControlPolicyRoleMembersCreated handles this case with default header values.", - "x-go-package": "github.com/sum2000/keto/sdk/go/keto/models" - }, - "RemoveOryAccessControlPolicyRoleMembersInternalServerError": { - "description": "The standard error format", - "type": "object", - "title": "RemoveOryAccessControlPolicyRoleMembersInternalServerError RemoveOryAccessControlPolicyRoleMembersInternalServerError RemoveOryAccessControlPolicyRoleMembersInternalServerError RemoveOryAccessControlPolicyRoleMembersInternalServerError handles this case with default header values.", - "properties": { - "Payload": { - "$ref": "#/definitions/RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody" - } - }, - "x-go-package": "github.com/sum2000/keto/sdk/go/keto/models" - }, - "RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody": { - "description": "RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody remove ory access control policy role members internal server error body", - "type": "object", - "properties": { - "code": { - "description": "code", - "type": "integer", - "format": "int64", - "x-go-name": "Code" - }, - "details": { - "description": "details", - "type": "array", - "items": { - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "x-go-name": "Details" - }, - "message": { - "description": "message", - "type": "string", - "x-go-name": "Message" - }, - "reason": { - "description": "reason", - "type": "string", - "x-go-name": "Reason" - }, - "request": { - "description": "request", - "type": "string", - "x-go-name": "Request" - }, - "status": { - "description": "status", - "type": "string", - "x-go-name": "Status" - } - }, - "x-go-package": "github.com/ory/keto/sdk/go/keto/client/engines" - }, - "RemoveOryAccessControlPolicyRoleMembersReader": { - "type": "object", - "title": "RemoveOryAccessControlPolicyRoleMembersReader RemoveOryAccessControlPolicyRoleMembersReader is a Reader for the RemoveOryAccessControlPolicyRoleMembers structure.", - "x-go-package": "github.com/ory/keto/sdk/go/keto/models" - }, - "Role": { - "description": "Role Role Role Role Role Role Role Role Role represents a group of users that share the same role. A role could be an administrator, a moderator, a regular\nuser or some other sort of role.", - "type": "object", - "properties": { - "id": { - "description": "ID is the role's unique id.", - "type": "string", - "x-go-name": "ID" - }, - "members": { - "description": "Members is who belongs to the role.", - "type": "array", - "items": { - "type": "string" - }, - "x-go-name": "Members" - } - }, - "x-go-package": "github.com/sum2000/keto/sdk/go/keto/models" - }, - "Roles": { - "type": "array", - "title": "Roles Roles Roles Roles A list of roles.", - "items": { - "$ref": "#/definitions/Role" - }, - "x-go-package": "github.com/ory/keto/sdk/go/keto/models" - }, - "UpsertOryAccessControlPolicy": { - "description": "UpsertOryAccessControlPolicy UpsertOryAccessControlPolicy upsert ory access control policy", - "type": "object", - "required": [ - "flavor" - ], - "properties": { - "Body": { - "$ref": "#/definitions/OryAccessControlPolicy" - }, - "flavor": { - "description": "The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\".\n\nin: path", - "type": "string", - "x-go-name": "Flavor" - } - }, - "x-go-package": "github.com/sum2000/keto/sdk/go/keto/models" - }, - "UpsertOryAccessControlPolicyInternalServerError": { - "description": "The standard error format", - "type": "object", - "title": "UpsertOryAccessControlPolicyInternalServerError UpsertOryAccessControlPolicyInternalServerError UpsertOryAccessControlPolicyInternalServerError handles this case with default header values.", - "properties": { - "Payload": { - "$ref": "#/definitions/UpsertOryAccessControlPolicyInternalServerErrorBody" - } - }, - "x-go-package": "github.com/sum2000/keto/sdk/go/keto/models" - }, - "UpsertOryAccessControlPolicyInternalServerErrorBody": { - "description": "UpsertOryAccessControlPolicyInternalServerErrorBody UpsertOryAccessControlPolicyInternalServerErrorBody UpsertOryAccessControlPolicyInternalServerErrorBody upsert ory access control policy internal server error body", - "type": "object", - "properties": { - "code": { - "description": "code", - "type": "integer", - "format": "int64", - "x-go-name": "Code" - }, - "details": { - "description": "details", - "type": "array", - "items": { - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "x-go-name": "Details" - }, - "message": { - "description": "message", - "type": "string", - "x-go-name": "Message" - }, - "reason": { - "description": "reason", - "type": "string", - "x-go-name": "Reason" - }, - "request": { - "description": "request", - "type": "string", - "x-go-name": "Request" - }, - "status": { - "description": "status", - "type": "string", - "x-go-name": "Status" - } - }, - "x-go-package": "github.com/sum2000/keto/sdk/go/keto/models" - }, - "UpsertOryAccessControlPolicyOK": { - "description": "oryAccessControlPolicy", - "type": "object", - "title": "UpsertOryAccessControlPolicyOK UpsertOryAccessControlPolicyOK UpsertOryAccessControlPolicyOK UpsertOryAccessControlPolicyOK handles this case with default header values.", - "properties": { - "Payload": { - "$ref": "#/definitions/OryAccessControlPolicy" - } - }, - "x-go-package": "github.com/sum2000/keto/sdk/go/keto/models" - }, - "UpsertOryAccessControlPolicyReader": { - "type": "object", - "title": "UpsertOryAccessControlPolicyReader UpsertOryAccessControlPolicyReader UpsertOryAccessControlPolicyReader is a Reader for the UpsertOryAccessControlPolicy structure.", - "x-go-package": "github.com/sum2000/keto/sdk/go/keto/models" - }, - "UpsertOryAccessControlPolicyRole": { - "description": "UpsertOryAccessControlPolicyRole UpsertOryAccessControlPolicyRole upsert ory access control policy role", - "type": "object", - "required": [ - "flavor" - ], - "properties": { - "Body": { - "$ref": "#/definitions/OryAccessControlPolicyRole" - }, - "flavor": { - "description": "The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\".\n\nin: path", - "type": "string", - "x-go-name": "Flavor" - } - }, - "x-go-package": "github.com/sum2000/keto/sdk/go/keto/models" - }, - "UpsertOryAccessControlPolicyRoleInternalServerError": { - "description": "The standard error format", - "type": "object", - "title": "UpsertOryAccessControlPolicyRoleInternalServerError UpsertOryAccessControlPolicyRoleInternalServerError UpsertOryAccessControlPolicyRoleInternalServerError handles this case with default header values.", - "properties": { - "Payload": { - "$ref": "#/definitions/UpsertOryAccessControlPolicyRoleInternalServerErrorBody" - } - }, - "x-go-package": "github.com/sum2000/keto/sdk/go/keto/models" - }, - "UpsertOryAccessControlPolicyRoleInternalServerErrorBody": { - "description": "UpsertOryAccessControlPolicyRoleInternalServerErrorBody upsert ory access control policy role internal server error body", - "type": "object", - "properties": { - "code": { - "description": "code", - "type": "integer", - "format": "int64", - "x-go-name": "Code" - }, - "details": { - "description": "details", - "type": "array", - "items": { - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "x-go-name": "Details" - }, - "message": { - "description": "message", - "type": "string", - "x-go-name": "Message" - }, - "reason": { - "description": "reason", - "type": "string", - "x-go-name": "Reason" - }, - "request": { - "description": "request", - "type": "string", - "x-go-name": "Request" - }, - "status": { - "description": "status", - "type": "string", - "x-go-name": "Status" - } - }, - "x-go-package": "github.com/sum2000/keto/sdk/go/keto/client/engines" - }, - "UpsertOryAccessControlPolicyRoleOK": { - "description": "oryAccessControlPolicyRole", - "type": "object", - "title": "UpsertOryAccessControlPolicyRoleOK UpsertOryAccessControlPolicyRoleOK handles this case with default header values.", - "properties": { - "Payload": { - "$ref": "#/definitions/oryAccessControlPolicyRole" - } - }, - "x-go-package": "github.com/ory/keto/sdk/go/keto/models" - }, - "UpsertOryAccessControlPolicyRoleReader": { - "type": "object", - "title": "UpsertOryAccessControlPolicyRoleReader UpsertOryAccessControlPolicyRoleReader UpsertOryAccessControlPolicyRoleReader is a Reader for the UpsertOryAccessControlPolicyRole structure.", - "x-go-package": "github.com/sum2000/keto/sdk/go/keto/models" - }, - "addOryAccessControlPolicyRoleMembers": { - "description": "AddOryAccessControlPolicyRoleMembers add ory access control policy role members", - "type": "object", - "required": [ - "flavor", - "id" - ], - "properties": { - "Body": { - "$ref": "#/definitions/addOryAccessControlPolicyRoleMembersBody" - }, - "flavor": { - "description": "The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\".\n\nin: path", - "type": "string", - "x-go-name": "Flavor" - }, - "id": { - "description": "The ID of the ORY Access Control Policy Role.\n\nin: path", - "type": "string", - "x-go-name": "ID" - } - }, - "x-go-name": "AddOryAccessControlPolicyRoleMembers", - "x-go-package": "github.com/ory/keto/sdk/go/keto/models" - }, - "addOryAccessControlPolicyRoleMembersBody": { - "type": "object", - "properties": { - "members": { - "description": "The members to be added.", - "type": "array", - "items": { - "type": "string" - }, - "x-go-name": "Members" - } - }, - "x-go-name": "AddOryAccessControlPolicyRoleMembersBody", - "x-go-package": "github.com/sum2000/keto/engine/ladon" - }, - "authorizationResult": { - "type": "object", - "title": "AuthorizationResult is the result of an access control decision. It contains the decision outcome.", - "required": [ - "allowed" - ], - "properties": { - "allowed": { - "description": "Allowed is true if the request should be allowed and false otherwise.", - "type": "boolean", - "x-go-name": "Allowed" - } - }, - "x-go-name": "AuthorizationResult", - "x-go-package": "github.com/ory/keto/engine" - }, - "deleteOryAccessControlPolicy": { - "description": "DeleteOryAccessControlPolicy delete ory access control policy", - "type": "object", - "required": [ - "flavor", - "id" - ], - "properties": { - "flavor": { - "description": "The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\".\n\nin: path", - "type": "string", - "x-go-name": "Flavor" - }, - "id": { - "description": "The ID of the ORY Access Control Policy Role.\n\nin: path", - "type": "string", - "x-go-name": "ID" - } - }, - "x-go-name": "DeleteOryAccessControlPolicy", - "x-go-package": "github.com/ory/keto/sdk/go/keto/models" - }, - "deleteOryAccessControlPolicyRole": { - "description": "DeleteOryAccessControlPolicyRole delete ory access control policy role", - "type": "object", - "required": [ - "flavor", - "id" - ], - "properties": { - "flavor": { - "description": "The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\".\n\nin: path", - "type": "string", - "x-go-name": "Flavor" - }, - "id": { - "description": "The ID of the ORY Access Control Policy Role.\nin: path", - "type": "string", - "x-go-name": "ID" - } - }, - "x-go-name": "DeleteOryAccessControlPolicyRole", - "x-go-package": "github.com/ory/keto/sdk/go/keto/models" - }, - "doOryAccessControlPoliciesAllow": { - "description": "DoOryAccessControlPoliciesAllow do ory access control policies allow", - "type": "object", - "required": [ - "flavor" - ], - "properties": { - "Body": { - "$ref": "#/definitions/oryAccessControlPolicyAllowedInput" - }, - "flavor": { - "description": "The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\".\n\nin: path", - "type": "string", - "x-go-name": "Flavor" - } - }, - "x-go-name": "DoOryAccessControlPoliciesAllow", - "x-go-package": "github.com/ory/keto/sdk/go/keto/models" - }, - "getOryAccessControlPolicy": { - "description": "GetOryAccessControlPolicy get ory access control policy", - "type": "object", - "required": [ - "flavor", - "id" - ], - "properties": { - "flavor": { - "description": "The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\".\n\nin: path", - "type": "string", - "x-go-name": "Flavor" - }, - "id": { - "description": "The ID of the ORY Access Control Policy Role.\n\nin: path", - "type": "string", - "x-go-name": "ID" - } - }, - "x-go-name": "GetOryAccessControlPolicy", - "x-go-package": "github.com/ory/keto/sdk/go/keto/models" - }, - "getOryAccessControlPolicyRole": { - "description": "GetOryAccessControlPolicyRole get ory access control policy role", - "type": "object", - "required": [ - "flavor", - "id" - ], - "properties": { - "flavor": { - "description": "The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\".\n\nin: path", - "type": "string", - "x-go-name": "Flavor" - }, - "id": { - "description": "The ID of the ORY Access Control Policy Role.\n\nin: path", - "type": "string", - "x-go-name": "ID" - } - }, - "x-go-name": "GetOryAccessControlPolicyRole", - "x-go-package": "github.com/ory/keto/sdk/go/keto/models" - }, - "healthNotReadyStatus": { - "type": "object", - "properties": { - "errors": { - "description": "Errors contains a list of errors that caused the not ready status.", - "type": "object", - "additionalProperties": { - "type": "string" - }, - "x-go-name": "Errors" - } - }, - "x-go-name": "swaggerNotReadyStatus", - "x-go-package": "github.com/ory/x/healthx" - }, - "healthStatus": { - "type": "object", - "properties": { - "status": { - "description": "Status always contains \"ok\".", - "type": "string", - "x-go-name": "Status" - } - }, - "x-go-name": "swaggerHealthStatus", - "x-go-package": "github.com/ory/x/healthx" - }, - "listOryAccessControlPolicies": { - "description": "ListOryAccessControlPolicies list ory access control policies", - "type": "object", - "required": [ - "flavor" - ], - "properties": { - "flavor": { - "description": "The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\"\n\nin: path", - "type": "string", - "x-go-name": "Flavor" - }, - "limit": { - "description": "The maximum amount of policies returned.\n\nin: query", - "type": "integer", - "format": "int64", - "x-go-name": "Limit" - }, - "offset": { - "description": "The offset from where to start looking.\n\nin: query", - "type": "integer", - "format": "int64", - "x-go-name": "Offset" - } - }, - "x-go-name": "ListOryAccessControlPolicies", - "x-go-package": "github.com/ory/keto/sdk/go/keto/models" - }, - "listOryAccessControlPolicyRoles": { - "description": "ListOryAccessControlPolicyRoles list ory access control policy roles", - "type": "object", - "required": [ - "flavor" - ], - "properties": { - "flavor": { - "description": "The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\"\n\nin: path", - "type": "string", - "x-go-name": "Flavor" - }, - "limit": { - "description": "The maximum amount of policies returned.\n\nin: query", - "type": "integer", - "format": "int64", - "x-go-name": "Limit" - }, - "offset": { - "description": "The offset from where to start looking.\n\nin: query", - "type": "integer", - "format": "int64", - "x-go-name": "Offset" - } - }, - "x-go-name": "ListOryAccessControlPolicyRoles", - "x-go-package": "github.com/ory/keto/sdk/go/keto/models" - }, - "oryAccessControlPolicies": { - "type": "object", - "title": "OryAccessControlPolicies Policies is an array of policies.", - "properties": { - "Body": { - "description": "The request body.\n\nin: body\ntype: array", - "type": "array", - "items": { - "$ref": "#/definitions/OryAccessControlPolicy" - } - } - }, - "x-go-name": "OryAccessControlPolicies", - "x-go-package": "github.com/ory/keto/sdk/go/keto/models" - }, - "oryAccessControlPolicy": { - "type": "object", - "title": "oryAccessControlPolicy specifies an ORY Access Policy document.", - "properties": { - "actions": { - "description": "Actions is an array representing all the actions this ORY Access Policy applies to.", - "type": "array", - "items": { - "type": "string" - }, - "x-go-name": "Actions" - }, - "conditions": { - "description": "Conditions represents a keyed object of conditions under which this ORY Access Policy is active.", - "type": "object", - "additionalProperties": { - "type": "object" - }, - "x-go-name": "Conditions" - }, - "description": { - "description": "Description is an optional, human-readable description.", - "type": "string", - "x-go-name": "Description" - }, - "effect": { - "description": "Effect is the effect of this ORY Access Policy. It can be \"allow\" or \"deny\".", - "type": "string", - "x-go-name": "Effect" - }, - "id": { - "description": "ID is the unique identifier of the ORY Access Policy. It is used to query, update, and remove the ORY Access Policy.", - "type": "string", - "x-go-name": "ID" - }, - "resources": { - "description": "Resources is an array representing all the resources this ORY Access Policy applies to.", - "type": "array", - "items": { - "type": "string" - }, - "x-go-name": "Resources" - }, - "subjects": { - "description": "Subjects is an array representing all the subjects this ORY Access Policy applies to.", - "type": "array", - "items": { - "type": "string" - }, - "x-go-name": "Subjects" - } - }, - "x-go-package": "github.com/ory/keto/engine/ladon" - }, - "oryAccessControlPolicyAllowedInput": { - "type": "object", - "title": "Input for checking if a request is allowed or not.", - "properties": { - "action": { - "description": "Action is the action that is requested on the resource.", - "type": "string", - "x-go-name": "Action" - }, - "context": { - "description": "Context is the request's environmental context.", - "type": "object", - "additionalProperties": { - "type": "object" - }, - "x-go-name": "Context" - }, - "resource": { - "description": "Resource is the resource that access is requested to.", - "type": "string", - "x-go-name": "Resource" - }, - "subject": { - "description": "Subject is the subject that is requesting access.", - "type": "string", - "x-go-name": "Subject" - } - }, - "x-go-name": "OryAccessControlPolicyAllowedInput", - "x-go-package": "github.com/ory/keto/engine/ladon" - }, - "oryAccessControlPolicyRole": { - "description": "oryAccessControlPolicyRole represents a group of users that share the same role. A role could be an administrator, a moderator, a regular\nuser or some other sort of role.", - "type": "object", - "properties": { - "id": { - "description": "ID is the role's unique id.", - "type": "string", - "x-go-name": "ID" - }, - "members": { - "description": "Members is who belongs to the role.", - "type": "array", - "items": { - "type": "string" - }, - "x-go-name": "Members" - } - }, - "x-go-name": "OryAccessControlPolicyRole", - "x-go-package": "github.com/sum2000/keto/engine/ladon" - }, - "removeOryAccessControlPolicyRoleMembers": { - "description": "RemoveOryAccessControlPolicyRoleMembers remove ory access control policy role members", - "type": "object", - "required": [ - "flavor", - "id", - "member" - ], - "properties": { - "flavor": { - "description": "The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\".\n\nin: path", - "type": "string", - "x-go-name": "Flavor" - }, - "id": { - "description": "The ID of the ORY Access Control Policy Role.\n\nin: path", - "type": "string", - "x-go-name": "ID" - }, - "member": { - "description": "The member to be removed.\n\nin: path", - "type": "string", - "x-go-name": "Member" - } - }, - "x-go-name": "RemoveOryAccessControlPolicyRoleMembers", - "x-go-package": "github.com/ory/keto/sdk/go/keto/models" - }, - "swaggerHealthStatus": { - "description": "SwaggerHealthStatus swagger health status", - "type": "object", - "properties": { - "status": { - "description": "Status always contains \"ok\".", - "type": "string", - "x-go-name": "Status" - } - }, - "x-go-name": "SwaggerHealthStatus", - "x-go-package": "github.com/ory/keto/sdk/go/keto/models" - }, - "swaggerNotReadyStatus": { - "description": "SwaggerNotReadyStatus swagger not ready status", - "type": "object", - "properties": { - "errors": { - "description": "Errors contains a list of errors that caused the not ready status.", - "type": "object", - "additionalProperties": { - "type": "string" - }, - "x-go-name": "Errors" - } - }, - "x-go-name": "SwaggerNotReadyStatus", - "x-go-package": "github.com/sum2000/keto/sdk/go/keto/models" - }, - "swaggerVersion": { - "description": "SwaggerVersion swagger version", - "type": "object", - "properties": { - "version": { - "description": "Version is the service's version.", - "type": "string", - "x-go-name": "Version" - } - }, - "x-go-name": "SwaggerVersion", - "x-go-package": "github.com/sum2000/keto/sdk/go/keto/models" - }, - "upsertOryAccessControlPolicy": { - "description": "UpsertOryAccessControlPolicy upsert ory access control policy", - "type": "object", - "required": [ - "flavor" - ], - "properties": { - "Body": { - "$ref": "#/definitions/OryAccessControlPolicy" - }, - "flavor": { - "description": "The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\".\n\nin: path", - "type": "string", - "x-go-name": "Flavor" - } - }, - "x-go-name": "UpsertOryAccessControlPolicy", - "x-go-package": "github.com/ory/keto/sdk/go/keto/models" - }, - "upsertOryAccessControlPolicyRole": { - "description": "UpsertOryAccessControlPolicyRole upsert ory access control policy role", - "type": "object", - "required": [ - "flavor" - ], - "properties": { - "Body": { - "$ref": "#/definitions/oryAccessControlPolicyRole" - }, - "flavor": { - "description": "The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\".\n\nin: path", - "type": "string", - "x-go-name": "Flavor" - } - }, - "x-go-name": "UpsertOryAccessControlPolicyRole", - "x-go-package": "github.com/ory/keto/sdk/go/keto/models" - }, - "version": { + "version": { + "description": "Version version", "type": "object", "properties": { "version": { "description": "Version is the service's version.", - "type": "string", - "x-go-name": "Version" - } - }, - "x-go-name": "swaggerVersion", - "x-go-package": "github.com/ory/x/healthx" - } - }, - "responses": { - "emptyResponse": { - "description": "An empty response" - }, - "genericError": { - "description": "The standard error format", - "schema": { - "type": "object", - "properties": { - "code": { - "type": "integer", - "format": "int64", - "x-go-name": "Code" - }, - "details": { - "type": "array", - "items": { - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "x-go-name": "Details" - }, - "message": { - "type": "string", - "x-go-name": "Message" - }, - "reason": { - "type": "string", - "x-go-name": "Reason" - }, - "request": { - "type": "string", - "x-go-name": "Request" - }, - "status": { - "type": "string", - "x-go-name": "Status" - } - } - } - }, - "oryAccessControlPolicies": { - "description": "Policies is an array of policies.", - "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/oryAccessControlPolicy" - } - } - }, - "oryAccessControlPolicyRoles": { - "description": "Roles is an array of roles.", - "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/oryAccessControlPolicyRole" + "type": "string" } } } diff --git a/driver/registry_memory.go b/driver/registry_memory.go index d54f56cab..904a4dac8 100644 --- a/driver/registry_memory.go +++ b/driver/registry_memory.go @@ -14,7 +14,9 @@ type RegistryMemory struct { var _ Registry = new(RegistryMemory) func init() { - dbal.RegisterDriver(NewRegistryMemory()) + dbal.RegisterDriver(func() dbal.Driver { + return NewRegistryMemory() + }) } func NewRegistryMemory() *RegistryMemory { diff --git a/driver/registry_sql.go b/driver/registry_sql.go index 24667eef6..16f9b238e 100644 --- a/driver/registry_sql.go +++ b/driver/registry_sql.go @@ -5,10 +5,11 @@ import ( "github.com/jmoiron/sqlx" - "github.com/ory/keto/storage" "github.com/ory/x/dbal" "github.com/ory/x/sqlcon" "github.com/ory/x/urlx" + + "github.com/ory/keto/storage" ) type RegistrySQL struct { @@ -21,7 +22,9 @@ type RegistrySQL struct { var _ Registry = new(RegistrySQL) func init() { - dbal.RegisterDriver(NewRegistrySQL()) + dbal.RegisterDriver(func() dbal.Driver { + return NewRegistrySQL() + }) } func NewRegistrySQL() *RegistrySQL { diff --git a/engine/ladon/handler_helper_test.go b/engine/ladon/handler_helper_test.go index f8253db18..299fc92fc 100644 --- a/engine/ladon/handler_helper_test.go +++ b/engine/ladon/handler_helper_test.go @@ -1,7 +1,7 @@ package ladon import ( - "github.com/ory/keto/sdk/go/keto/models" + "github.com/ory/keto/internal/httpclient/models" kstorage "github.com/ory/keto/storage" ) diff --git a/engine/ladon/handler_test.go b/engine/ladon/handler_test.go index 89c65c8ba..8cdd9e3ab 100644 --- a/engine/ladon/handler_test.go +++ b/engine/ladon/handler_test.go @@ -6,9 +6,9 @@ import ( "net/url" "testing" - "github.com/ory/keto/sdk/go/keto/client" - "github.com/ory/keto/sdk/go/keto/client/engines" - "github.com/ory/keto/sdk/go/keto/models" + "github.com/ory/keto/internal/httpclient/client" + "github.com/ory/keto/internal/httpclient/client/engines" + "github.com/ory/keto/internal/httpclient/models" "github.com/gobuffalo/packr" "github.com/julienschmidt/httprouter" diff --git a/go.mod b/go.mod index 3de910394..5eea76353 100644 --- a/go.mod +++ b/go.mod @@ -1,70 +1,48 @@ module github.com/ory/keto require ( - cloud.google.com/go v0.37.2 // indirect github.com/Microsoft/go-winio v0.4.12 // indirect github.com/akutz/goof v0.1.2 // indirect github.com/akutz/gotil v0.1.0 - github.com/cespare/xxhash v1.1.0 // indirect github.com/go-errors/errors v1.0.1 - github.com/go-openapi/analysis v0.19.0 // indirect - github.com/go-openapi/errors v0.19.0 - github.com/go-openapi/inflect v0.19.0 // indirect - github.com/go-openapi/loads v0.19.0 // indirect - github.com/go-openapi/runtime v0.19.0 - github.com/go-openapi/spec v0.19.0 // indirect - github.com/go-openapi/strfmt v0.19.0 - github.com/go-openapi/swag v0.19.0 - github.com/go-openapi/validate v0.19.0 + github.com/go-openapi/errors v0.19.2 + github.com/go-openapi/runtime v0.19.5 + github.com/go-openapi/strfmt v0.19.3 + github.com/go-openapi/swag v0.19.5 + github.com/go-openapi/validate v0.19.3 github.com/go-sql-driver/mysql v1.4.1 - github.com/go-swagger/go-swagger v0.19.0 - github.com/go-swagger/scan-repo-boundary v0.0.0-20180623220736-973b3573c013 // indirect + github.com/go-swagger/go-swagger v0.21.1-0.20200107003254-1c98855b472d github.com/gobuffalo/packr v1.24.1 github.com/gobwas/glob v0.2.3 // indirect - github.com/golang/gddo v0.0.0-20190312205958-5a2505f3dbf0 // indirect - github.com/golang/protobuf v1.3.1 // indirect - github.com/gorilla/handlers v1.4.0 // indirect github.com/gorilla/mux v1.7.1 // indirect github.com/gorilla/sessions v1.1.3 - github.com/hashicorp/golang-lru v0.5.1 // indirect - github.com/jessevdk/go-flags v1.4.0 // indirect github.com/jmoiron/sqlx v1.2.0 github.com/julienschmidt/httprouter v1.2.0 github.com/kardianos/osext v0.0.0-20170510131534-ae77be60afb1 // indirect github.com/lib/pq v1.0.0 - github.com/luna-duclos/instrumentedsql v0.0.0-20190316074304-ecad98b20aec // indirect github.com/meatballhat/negroni-logrus v0.0.0-20170801195057-31067281800f github.com/open-policy-agent/opa v0.10.1 github.com/opencontainers/runc v1.0.0-rc5 // indirect - github.com/opentracing/opentracing-go v1.1.0 // indirect github.com/ory/go-acc v0.0.0-20181118080137-ddc355013f90 github.com/ory/graceful v0.1.1 - github.com/ory/herodot v0.6.0 - github.com/ory/x v0.0.42 + github.com/ory/herodot v0.6.2 + github.com/ory/sdk/swagutil v0.0.0-20200108122515-375eeddba1e8 + github.com/ory/viper v1.5.6 + github.com/ory/x v0.0.88 github.com/pborman/uuid v1.2.0 - github.com/pelletier/go-toml v1.3.0 // indirect github.com/pkg/errors v0.8.1 github.com/pkg/profile v1.3.0 // indirect + github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a // indirect github.com/rs/cors v1.6.0 github.com/rubenv/sql-migrate v0.0.0-20190327083759-54bad0a9b051 - github.com/sirupsen/logrus v1.4.1 - github.com/spf13/afero v1.2.2 // indirect - github.com/spf13/cobra v0.0.3 - github.com/spf13/jwalterweatherman v1.1.0 // indirect - github.com/spf13/viper v1.3.2 + github.com/sirupsen/logrus v1.4.2 + github.com/spf13/cobra v0.0.5 + github.com/spf13/viper v1.6.1 github.com/sqs/goreturns v0.0.0-20181028201513-538ac6014518 - github.com/stretchr/testify v1.3.0 - github.com/toqueteos/webbrowser v1.1.0 // indirect + github.com/stretchr/testify v1.4.0 github.com/urfave/negroni v1.0.0 github.com/yashtewari/glob-intersection v0.0.0-20180916065949-5c77d914dd0b // indirect - go.opencensus.io v0.20.0 // indirect - golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3 // indirect - golang.org/x/oauth2 v0.0.0-20190402181905-9f3314589c9a // indirect - golang.org/x/time v0.0.0-20190308202827-9d24e82272b4 // indirect - golang.org/x/tools v0.0.0-20190404132500-923d25813098 - google.golang.org/appengine v1.5.0 // indirect - google.golang.org/genproto v0.0.0-20190404172233-64821d5d2107 // indirect - google.golang.org/grpc v1.19.1 // indirect + golang.org/x/tools v0.0.0-20191224055732-dd894d0a8a40 ) // Fix for https://github.com/golang/lint/issues/436 diff --git a/go.sum b/go.sum index f12305aa0..c2adeb2af 100644 --- a/go.sum +++ b/go.sum @@ -1,21 +1,18 @@ cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= -cloud.google.com/go v0.31.0 h1:o9K5MWWt2wk+d9jkGn2DAZ7Q9nUdnFLOpK9eIkDwONQ= -cloud.google.com/go v0.31.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= -cloud.google.com/go v0.36.0/go.mod h1:RUoy9p/M4ge0HzT8L+SDZ8jg+Q6fth0CiBuhFJpSV40= -cloud.google.com/go v0.37.2 h1:4y4L7BdHenTfZL0HervofNTHh9Ad6mNX72cQvl+5eH0= -cloud.google.com/go v0.37.2/go.mod h1:H8IAquKe2L30IxoupDgqTaQvKSwF/c8prYHynGIWQbA= -dmitri.shuralyov.com/app/changes v0.0.0-20180602232624-0a106ad413e3/go.mod h1:Yl+fi1br7+Rr3LqpNJf1/uxUdtRUV+Tnj0o93V2B9MU= -dmitri.shuralyov.com/html/belt v0.0.0-20180602232347-f7d459c86be0/go.mod h1:JLBrvjyP0v+ecvNYvCpyZgu5/xkfAUhi6wJj28eUfSU= -dmitri.shuralyov.com/service/change v0.0.0-20181023043359-a85b471d5412/go.mod h1:a1inKt/atXimZ4Mv927x+r7UpyzRUf4emIoiiSC2TN4= -dmitri.shuralyov.com/state v0.0.0-20180228185332-28bcc343414c/go.mod h1:0PRwlb0D6DFvNNtx+9ybjezNCa8XF0xaYcETyp6rHWU= -git.apache.org/thrift.git v0.0.0-20180902110319-2566ecd5d999/go.mod h1:fPE2ZNJGynbRyZ4dJvy6G277gSllfV2HJqblrnkyeyg= -git.apache.org/thrift.git v0.0.0-20181218151757-9b75e4fe745a/go.mod h1:fPE2ZNJGynbRyZ4dJvy6G277gSllfV2HJqblrnkyeyg= -git.apache.org/thrift.git v0.12.0/go.mod h1:fPE2ZNJGynbRyZ4dJvy6G277gSllfV2HJqblrnkyeyg= +cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU= +cloud.google.com/go v0.44.1/go.mod h1:iSa0KzasP4Uvy3f1mN/7PiObzGgflwredwwASm/v6AU= +cloud.google.com/go v0.44.2/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY= +cloud.google.com/go v0.45.1/go.mod h1:RpBamKRgapWJb87xiFSdk4g1CME7QZg3uwTez+TSTjc= +cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o= +cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE= +cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I= github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78 h1:w+iIsaOQNcT7OZ575w+acHgRric5iCyQh+xv+KJ4HB8= github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78/go.mod h1:LmzpDX56iTiv29bbRTIsUNlaFfuhWRQBWjQdVyAevI8= github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= +github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= +github.com/DATA-DOG/go-sqlmock v1.3.3/go.mod h1:f/Ixk793poVmq4qj/V1dPUg2JEAKC73Q5eFN3EC/SaM= github.com/Masterminds/semver v1.4.2/go.mod h1:MB6lktGJrhw8PrUyiEoblNEGEQ+RzHPF078ddwwvV3Y= github.com/Microsoft/go-winio v0.4.11 h1:zoIOcVf0xPN1tnMVbTtEdI+P8OofVk3NObnwOQ6nK2Q= github.com/Microsoft/go-winio v0.4.11/go.mod h1:VhR8bwka0BXejwEJY73c50VrPtXAaKcyvVC4A4RozmA= @@ -30,8 +27,6 @@ github.com/PuerkitoBio/purell v1.1.1 h1:WEQqlqaGbrPkxLJWfBwQmfEAE1Z7ONdDLqrN38tN github.com/PuerkitoBio/purell v1.1.1/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0= github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 h1:d+Bc7a5rLufV/sSk/8dngufqelfh6jnri85riMAaF/M= github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578/go.mod h1:uGdkoq3SwY9Y+13GIhn11/XLaGBb4BfwItxLd5jeuXE= -github.com/Shopify/sarama v1.19.0/go.mod h1:FVkBWblsNy7DGZRfXLU0O9RCGt5g3g3yEuWXgklEdEo= -github.com/Shopify/toxiproxy v2.1.4+incompatible/go.mod h1:OXgGpZ6Cli1/URJOF1DMxUHB2q5Ap20/P/eIdh4G0pI= github.com/ajg/form v0.0.0-20160822230020-523a5da1a92f/go.mod h1:uL1WgH+h2mgNtvBq0339dVnzXdBETtL2LeUXaIv25UY= github.com/akutz/goof v0.1.2 h1:ZgsmzbhfcFTh1KhkWrWNAvlDobBUBEKAkSpowCuqOn4= github.com/akutz/goof v0.1.2/go.mod h1:w8jsAAm0/n4Tst8M4xYwGPMzn54u4pCA3wh4e2rNLlk= @@ -39,19 +34,22 @@ github.com/akutz/gotil v0.1.0 h1:CIYFCaONzf0OWdK0hv0bgpQINZ6flgbBl3yhJNmF9cg= github.com/akutz/gotil v0.1.0/go.mod h1:dQodnbCqWtMZSTC+JdTOerHMrsp0/EQx3qYG0c6PlxA= github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= -github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239/go.mod h1:2FmKhYUyUczH0OGQWaF5ceTx0UBShxjsH6f8oGKYe2c= -github.com/apache/thrift v0.12.0/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ= github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8= github.com/asaskevich/govalidator v0.0.0-20180720115003-f9ffefc3facf h1:eg0MeVzsP1G42dRafH3vf+al2vQIJU0YHX+1Tw87oco= github.com/asaskevich/govalidator v0.0.0-20180720115003-f9ffefc3facf/go.mod h1:lB+ZfQJz7igIIfQNfa7Ml4HSf2uFQQRzpGGRXenZAgY= +github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a h1:idn718Q4B6AGu/h5Sxe66HYVdqdGu2l9Iebqhi/AEoA= +github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a/go.mod h1:lB+ZfQJz7igIIfQNfa7Ml4HSf2uFQQRzpGGRXenZAgY= +github.com/aws/aws-sdk-go v1.23.19/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= +github.com/aws/aws-xray-sdk-go v0.9.4/go.mod h1:XtMKdBQfpVut+tJEwI7+dJFRxxRdxHDyVNp2tHXRq04= github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= +github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= github.com/bmizerany/assert v0.0.0-20160611221934-b7ed37b82869 h1:DDGfHa7BWjL4YnC6+E63dPcxHo2sUxDIu8g3QgEJdRY= github.com/bmizerany/assert v0.0.0-20160611221934-b7ed37b82869/go.mod h1:Ekp36dRnpXw/yCqJaO+ZrUyxD+3VXMFFr56k5XYrpB4= -github.com/bradfitz/go-smtpd v0.0.0-20170404230938-deb6d6237625/go.mod h1:HYsPBTaaSFSlLx/70C2HPIMNZpVV8+vt/A+FMnYP11g= github.com/cenkalti/backoff v2.1.1+incompatible h1:tKJnvO2kl0zmb/jA5UKAt4VoEVw1qxKWjE/Bpp46npY= github.com/cenkalti/backoff v2.1.1+incompatible/go.mod h1:90ReRw6GdpyfrHakVjL/QHaoyV4aDUVVkXQJJJ3NXXM= github.com/cespare/xxhash v1.1.0 h1:a6HrQnmkObjyL+Gs60czilIUGqrzKutQD6XZog3p+ko= github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc= +github.com/cihub/seelog v0.0.0-20170130134532-f561c5e57575/go.mod h1:9d6lWj8KzO/fd/NrVaLscBKmPigpZpn5YawRPw+e3Yo= github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= github.com/cockroachdb/apd v1.1.0/go.mod h1:8Sl8LxpKi29FqWXR16WEFZRNSz3SoPzUzeMeY4+DwBQ= github.com/cockroachdb/cockroach-go v0.0.0-20181001143604-e0a95dfd547c/go.mod h1:XGLbWH/ujMcbPbhZq52Nv6UrCghb1yGn//133kEsvDk= @@ -60,86 +58,113 @@ github.com/codahale/hdrhistogram v0.0.0-20161010025455-3a0bb77429bd/go.mod h1:sE github.com/codegangsta/negroni v1.0.0/go.mod h1:v0y3T5G7Y1UlFfyxFn/QLRU4a2EuNau2iZY63YTKWo0= github.com/containerd/continuity v0.0.0-20181203112020-004b46473808 h1:4BX8f882bXEDKfWIf0wa8HRvpnBoPszJJXL+TVbBw4M= github.com/containerd/continuity v0.0.0-20181203112020-004b46473808/go.mod h1:GL3xCUCBDV3CZiTSEKksMWbLE66hEyuu9qyDOOqM47Y= +github.com/corbym/gocrest v1.0.3 h1:gwEdq6RkTmq+09CTuM29DfKOCtZ7G7bcyxs3IZ6EVdU= +github.com/corbym/gocrest v1.0.3/go.mod h1:maVFL5lbdS2PgfOQgGRWDYTeunSWQeiEgoNdTABShCs= +github.com/coreos/bbolt v1.3.2/go.mod h1:iRUV2dpdMOn7Bo10OQBFzIJO9kkE559Wcmn+qkEiiKk= github.com/coreos/etcd v3.3.10+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= github.com/coreos/go-etcd v2.0.0+incompatible/go.mod h1:Jez6KQU2B/sWsbdaef3ED8NzMklzPG4d5KIOhIy30Tk= +github.com/coreos/go-oidc v2.1.0+incompatible/go.mod h1:CgnwVTmzoESiwO9qyAFEMiHoZ1nMCKZlZ9V6mm3/LKc= github.com/coreos/go-semver v0.2.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= -github.com/coreos/go-systemd v0.0.0-20181012123002-c6f51f82210d/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= +github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= +github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= +github.com/cpuguy83/go-md2man v1.0.10/go.mod h1:SmD6nW6nTyfqj6ABTjUi3V3JVMnlJmwcJI5acqYI6dE= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ= +github.com/dgryski/go-sip13 v0.0.0-20181026042036-e10d5fee7954/go.mod h1:vAd38F8PWV+bWy6jNmig1y/TA+kYO4g3RSRF0IAv0no= github.com/docker/go-connections v0.4.0 h1:El9xVISelRB7BuFusrZozjnkIM5YnzCViNKohAFqRJQ= github.com/docker/go-connections v0.4.0/go.mod h1:Gbd7IOopHjR8Iph03tsViu4nIes5XhDvyHbTtUxmeec= github.com/docker/go-units v0.3.3 h1:Xk8S3Xj5sLGlG5g67hJmYMmUgXv5N4PhkjJHHqrwnTk= github.com/docker/go-units v0.3.3/go.mod h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDDbaIK4Dk= +github.com/docker/go-units v0.4.0 h1:3uh0PgVws3nIA0Q+MwDC8yjEPf9zjRfZZWXZYDct3Tw= +github.com/docker/go-units v0.4.0/go.mod h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDDbaIK4Dk= github.com/dustin/go-humanize v0.0.0-20180713052910-9f541cc9db5d/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= github.com/dustin/go-humanize v1.0.0/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= -github.com/eapache/go-resiliency v1.1.0/go.mod h1:kFI+JgMyC7bLPUVY133qvEBtVayf5mFgVsvEsIPBvNs= -github.com/eapache/go-xerial-snappy v0.0.0-20180814174437-776d5712da21/go.mod h1:+020luEh2TKB4/GOp8oxxtq0Daoen/Cii55CzbTV6DU= -github.com/eapache/queue v1.1.0/go.mod h1:6eCeP0CKFpHLu8blIFXhExK/dRa7WDZfr6jVFPTqq+I= github.com/elazarl/goproxy v0.0.0-20181003060214-f58a169a71a5/go.mod h1:/Zj4wYkgs4iZTTu3o/KG3Itv/qCCa8VVMlb3i9OVuzc= github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= github.com/fatih/structs v1.0.0/go.mod h1:9NiDSp5zOcgEDl+j00MP/WkGVPOlPRLejGD8Ga6PJ7M= github.com/fatih/structs v1.1.0/go.mod h1:9NiDSp5zOcgEDl+j00MP/WkGVPOlPRLejGD8Ga6PJ7M= -github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568/go.mod h1:xEzjJPgXI435gkrCt3MPfRiAkVrwSbHsst4LCFVfpJc= github.com/fsnotify/fsnotify v1.4.7 h1:IXs+QLmnXW2CcXuY+8Mzv/fWEsPGWxqefPtCP5CnV9I= github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= github.com/ghodss/yaml v1.0.0 h1:wQHKEahhL6wmXdzwWG11gIVCkOv05bNOh+Rxn0yngAk= github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= -github.com/gliderlabs/ssh v0.1.1/go.mod h1:U7qILu1NlMHj9FlMhZLlkCdDnU1DBEAqr0aevW3Awn0= github.com/globalsign/mgo v0.0.0-20180905125535-1ca0a4f7cbcb/go.mod h1:xkRDCp4j0OGD1HRkm4kmhM+pmpv3AKq5SU7GMg4oO/Q= github.com/globalsign/mgo v0.0.0-20181015135952-eeefdecb41b8 h1:DujepqpGd1hyOd7aW59XpK7Qymp8iy83xq74fLr21is= github.com/globalsign/mgo v0.0.0-20181015135952-eeefdecb41b8/go.mod h1:xkRDCp4j0OGD1HRkm4kmhM+pmpv3AKq5SU7GMg4oO/Q= +github.com/go-bindata/go-bindata v3.1.1+incompatible/go.mod h1:xK8Dsgwmeed+BBsSy2XTopBn/8uK2HWuGSnA11C3Joo= github.com/go-errors/errors v1.0.1 h1:LUHzmkK3GUKUrL/1gfBUxAHzcev3apQlezX/+O7ma6w= github.com/go-errors/errors v1.0.1/go.mod h1:f4zRHt4oKfwPJE5k8C9vpYG+aDHdBFUsgrm6/TyX73Q= github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE= +github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk= github.com/go-openapi/analysis v0.0.0-20180825180245-b006789cd277/go.mod h1:k70tL6pCuVxPJOHXQ+wIac1FUrvNkHolPie/cLEU6hI= github.com/go-openapi/analysis v0.17.0/go.mod h1:IowGgpVeD0vNm45So8nr+IcQ3pxVtpRoBWb8PVZO0ik= github.com/go-openapi/analysis v0.18.0/go.mod h1:IowGgpVeD0vNm45So8nr+IcQ3pxVtpRoBWb8PVZO0ik= -github.com/go-openapi/analysis v0.19.0 h1:sYEyyO7OKQvJX0z4OyHWoGt0uLuALxB/ZJ4Jb3I6KNU= -github.com/go-openapi/analysis v0.19.0/go.mod h1:IowGgpVeD0vNm45So8nr+IcQ3pxVtpRoBWb8PVZO0ik= +github.com/go-openapi/analysis v0.19.2/go.mod h1:3P1osvZa9jKjb8ed2TPng3f0i/UY9snX6gxi44djMjk= +github.com/go-openapi/analysis v0.19.4/go.mod h1:3P1osvZa9jKjb8ed2TPng3f0i/UY9snX6gxi44djMjk= +github.com/go-openapi/analysis v0.19.5/go.mod h1:hkEAkxagaIvIP7VTn8ygJNkd4kAYON2rCu0v0ObL0AU= +github.com/go-openapi/analysis v0.19.6 h1:5Z7zgx/EAmE9bf7cuTU1hkGQlZGzGDf9a1m57xRfNZk= +github.com/go-openapi/analysis v0.19.6/go.mod h1:hkEAkxagaIvIP7VTn8ygJNkd4kAYON2rCu0v0ObL0AU= github.com/go-openapi/errors v0.17.0/go.mod h1:LcZQpmvG4wyF5j4IhA73wkLFQg+QJXOQHVjmcZxhka0= github.com/go-openapi/errors v0.18.0/go.mod h1:LcZQpmvG4wyF5j4IhA73wkLFQg+QJXOQHVjmcZxhka0= -github.com/go-openapi/errors v0.19.0 h1:guf3T2lnCBKlODmERt4T9GtMWRpJOikgKGyIvi0xcb8= -github.com/go-openapi/errors v0.19.0/go.mod h1:LcZQpmvG4wyF5j4IhA73wkLFQg+QJXOQHVjmcZxhka0= +github.com/go-openapi/errors v0.19.2 h1:a2kIyV3w+OS3S97zxUndRVD46+FhGOUBDFY7nmu4CsY= +github.com/go-openapi/errors v0.19.2/go.mod h1:qX0BLWsyaKfvhluLejVpVNwNRdXZhEbTA4kxxpKBC94= github.com/go-openapi/inflect v0.19.0 h1:9jCH9scKIbHeV9m12SmPilScz6krDxKRasNNSNPXu/4= github.com/go-openapi/inflect v0.19.0/go.mod h1:lHpZVlpIQqLyKwJ4N+YSc9hchQy/i12fJykb83CRBH4= github.com/go-openapi/jsonpointer v0.17.0/go.mod h1:cOnomiV+CVVwFLk0A/MExoFMjwdsUdVpsRhURCKh+3M= github.com/go-openapi/jsonpointer v0.18.0 h1:KVRzjXpMzgdM4GEMDmDTnGcY5yBwGWreJwmmk4k35yU= github.com/go-openapi/jsonpointer v0.18.0/go.mod h1:cOnomiV+CVVwFLk0A/MExoFMjwdsUdVpsRhURCKh+3M= +github.com/go-openapi/jsonpointer v0.19.2/go.mod h1:3akKfEdA7DF1sugOqz1dVQHBcuDBPKZGEoHC/NkiQRg= +github.com/go-openapi/jsonpointer v0.19.3 h1:gihV7YNZK1iK6Tgwwsxo2rJbD1GTbdm72325Bq8FI3w= +github.com/go-openapi/jsonpointer v0.19.3/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg= github.com/go-openapi/jsonreference v0.17.0/go.mod h1:g4xxGn04lDIRh0GJb5QlpE3HfopLOL6uZrK/VgnsK9I= github.com/go-openapi/jsonreference v0.18.0 h1:oP2OUNdG1l2r5kYhrfVMXO54gWmzcfAwP/GFuHpNTkE= github.com/go-openapi/jsonreference v0.18.0/go.mod h1:g4xxGn04lDIRh0GJb5QlpE3HfopLOL6uZrK/VgnsK9I= +github.com/go-openapi/jsonreference v0.19.2 h1:o20suLFB4Ri0tuzpWtyHlh7E7HnkqTNLq6aR6WVNS1w= +github.com/go-openapi/jsonreference v0.19.2/go.mod h1:jMjeRr2HHw6nAVajTXJ4eiUwohSTlpa0o73RUL1owJc= github.com/go-openapi/loads v0.17.0/go.mod h1:72tmFy5wsWx89uEVddd0RjRWPZm92WRLhf7AC+0+OOU= github.com/go-openapi/loads v0.18.0/go.mod h1:72tmFy5wsWx89uEVddd0RjRWPZm92WRLhf7AC+0+OOU= github.com/go-openapi/loads v0.19.0 h1:wCOBNscACI8L93tt5tvB2zOMkJ098XCw3fP0BY2ybDA= github.com/go-openapi/loads v0.19.0/go.mod h1:72tmFy5wsWx89uEVddd0RjRWPZm92WRLhf7AC+0+OOU= +github.com/go-openapi/loads v0.19.2/go.mod h1:QAskZPMX5V0C2gvfkGZzJlINuP7Hx/4+ix5jWFxsNPs= +github.com/go-openapi/loads v0.19.3 h1:jwIoahqCmaA5OBoc/B+1+Mu2L0Gr8xYQnbeyQEo/7b0= +github.com/go-openapi/loads v0.19.3/go.mod h1:YVfqhUCdahYwR3f3iiwQLhicVRvLlU/WO5WPaZvcvSI= github.com/go-openapi/runtime v0.0.0-20180920151709-4f900dc2ade9/go.mod h1:6v9a6LTXWQCdL8k1AO3cvqx5OtZY/Y9wKTgaoP6YRfA= github.com/go-openapi/runtime v0.19.0 h1:sU6pp4dSV2sGlNKKyHxZzi1m1kG4WnYtWcJ+HYbygjE= github.com/go-openapi/runtime v0.19.0/go.mod h1:OwNfisksmmaZse4+gpV3Ne9AyMOlP1lt4sK4FXt0O64= +github.com/go-openapi/runtime v0.19.4/go.mod h1:X277bwSUBxVlCYR3r7xgZZGKVvBd/29gLDlFGtJ8NL4= +github.com/go-openapi/runtime v0.19.5 h1:h4Zk7oTfB3ZYM2oMNliQvL+3BrDstTIX8lqP7yaYCuI= +github.com/go-openapi/runtime v0.19.5/go.mod h1:WIH6IYPXOrtgTClTV8xzdrD20jBlrK25D0aQbdSlqp8= github.com/go-openapi/spec v0.17.0/go.mod h1:XkF/MOi14NmjsfZ8VtAKf8pIlbZzyoTvZsdfssdxcBI= github.com/go-openapi/spec v0.18.0/go.mod h1:XkF/MOi14NmjsfZ8VtAKf8pIlbZzyoTvZsdfssdxcBI= -github.com/go-openapi/spec v0.19.0 h1:A4SZ6IWh3lnjH0rG0Z5lkxazMGBECtrZcbyYQi+64k4= -github.com/go-openapi/spec v0.19.0/go.mod h1:XkF/MOi14NmjsfZ8VtAKf8pIlbZzyoTvZsdfssdxcBI= +github.com/go-openapi/spec v0.19.2/go.mod h1:sCxk3jxKgioEJikev4fgkNmwS+3kuYdJtcsZsD5zxMY= +github.com/go-openapi/spec v0.19.3 h1:0XRyw8kguri6Yw4SxhsQA/atC88yqrk0+G4YhI2wabc= +github.com/go-openapi/spec v0.19.3/go.mod h1:FpwSN1ksY1eteniUU7X0N/BgJ7a4WvBFVA8Lj9mJglo= github.com/go-openapi/strfmt v0.17.0/go.mod h1:P82hnJI0CXkErkXi8IKjPbNBM6lV6+5pLP5l494TcyU= github.com/go-openapi/strfmt v0.18.0/go.mod h1:P82hnJI0CXkErkXi8IKjPbNBM6lV6+5pLP5l494TcyU= github.com/go-openapi/strfmt v0.19.0 h1:0Dn9qy1G9+UJfRU7TR8bmdGxb4uifB7HNrJjOnV0yPk= github.com/go-openapi/strfmt v0.19.0/go.mod h1:+uW+93UVvGGq2qGaZxdDeJqSAqBqBdl+ZPMF/cC8nDY= +github.com/go-openapi/strfmt v0.19.2/go.mod h1:0yX7dbo8mKIvc3XSKp7MNfxw4JytCfCD6+bY1AVL9LU= +github.com/go-openapi/strfmt v0.19.3 h1:eRfyY5SkaNJCAwmmMcADjY31ow9+N7MCLW7oRkbsINA= +github.com/go-openapi/strfmt v0.19.3/go.mod h1:0yX7dbo8mKIvc3XSKp7MNfxw4JytCfCD6+bY1AVL9LU= github.com/go-openapi/swag v0.17.0/go.mod h1:AByQ+nYG6gQg71GINrmuDXCPWdL640yX49/kXLo40Tg= github.com/go-openapi/swag v0.18.0/go.mod h1:AByQ+nYG6gQg71GINrmuDXCPWdL640yX49/kXLo40Tg= -github.com/go-openapi/swag v0.19.0 h1:Kg7Wl7LkTPlmc393QZQ/5rQadPhi7pBVEMZxyTi0Ii8= -github.com/go-openapi/swag v0.19.0/go.mod h1:AByQ+nYG6gQg71GINrmuDXCPWdL640yX49/kXLo40Tg= +github.com/go-openapi/swag v0.19.2/go.mod h1:POnQmlKehdgb5mhVOsnJFsivZCEZ/vjK9gh66Z9tfKk= +github.com/go-openapi/swag v0.19.5 h1:lTz6Ys4CmqqCQmZPBlbQENR1/GucA2bzYTE12Pw4tFY= +github.com/go-openapi/swag v0.19.5/go.mod h1:POnQmlKehdgb5mhVOsnJFsivZCEZ/vjK9gh66Z9tfKk= github.com/go-openapi/validate v0.18.0/go.mod h1:Uh4HdOzKt19xGIGm1qHf/ofbX1YQ4Y+MYsct2VUrAJ4= -github.com/go-openapi/validate v0.19.0 h1:SF5vyj6PBFM6D1cw2NJIFrlS8Su2YKk6ADPPjAH70Bw= -github.com/go-openapi/validate v0.19.0/go.mod h1:Uh4HdOzKt19xGIGm1qHf/ofbX1YQ4Y+MYsct2VUrAJ4= +github.com/go-openapi/validate v0.19.2/go.mod h1:1tRCw7m3jtI8eNWEEliiAqUIcBztB2KDnRCRMUi7GTA= +github.com/go-openapi/validate v0.19.3 h1:PAH/2DylwWcIU1s0Y7k3yNmeAgWOcKrNE2Q7Ww/kCg4= +github.com/go-openapi/validate v0.19.3/go.mod h1:90Vh6jjkTn+OT1Eefm0ZixWNFjhtOH7vS9k0lo6zwJo= github.com/go-sql-driver/mysql v1.4.0 h1:7LxgVwFb2hIQtMm87NdgAVfXjnt4OePseqT1tKx+opk= github.com/go-sql-driver/mysql v1.4.0/go.mod h1:zAC/RDZ24gD3HViQzih4MyKcchzm+sOG5ZlKdlhCg5w= github.com/go-sql-driver/mysql v1.4.1 h1:g24URVg0OFbNUTx9qqY1IRZ9D9z3iPyi5zKhQZpNwpA= github.com/go-sql-driver/mysql v1.4.1/go.mod h1:zAC/RDZ24gD3HViQzih4MyKcchzm+sOG5ZlKdlhCg5w= +github.com/go-stack/stack v1.8.0 h1:5SgMzNM5HxrEjV0ww2lTmX6E2Izsfxas4+YHWRs3Lsk= github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= -github.com/go-swagger/go-swagger v0.19.0 h1:w/tXke7vqKHgY8slisWOnSDuhQXujt4Qag2jP20kZ7U= -github.com/go-swagger/go-swagger v0.19.0/go.mod h1:fOcXeMI1KPNv3uk4u7cR4VSyq0NyrYx4SS1/ajuTWDg= +github.com/go-swagger/go-swagger v0.21.1-0.20200107003254-1c98855b472d h1:x6bMs6miV7mzMbdArYk/APT4+TyySD94rot1au2ku60= +github.com/go-swagger/go-swagger v0.21.1-0.20200107003254-1c98855b472d/go.mod h1:20SBEAunNzw1wD1ZPvWy5xQAxTcCB0UVDVOPeReIayA= github.com/go-swagger/scan-repo-boundary v0.0.0-20180623220736-973b3573c013 h1:l9rI6sNaZgNC0LnF3MiE+qTmyBA/tZAg1rtyrGbUMK0= github.com/go-swagger/scan-repo-boundary v0.0.0-20180623220736-973b3573c013/go.mod h1:b65mBPzqzZWxOZGxSWrqs4GInLIn+u99Q9q7p+GKni0= github.com/gobuffalo/attrs v0.0.0-20190224210810-a9411de4debd/go.mod h1:4duuawTqi2wkkpB4ePgWMaai6/Kc6WEz83bhFwpHzj0= @@ -340,46 +365,50 @@ github.com/gobwas/glob v0.2.3/go.mod h1:d3Ez4x06l9bZtSvzIay5+Yzi0fmZzPgnTbPcKjJA github.com/gofrs/uuid v3.1.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM= github.com/gofrs/uuid v3.2.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM= github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= -github.com/gogo/protobuf v1.2.0/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= +github.com/gogo/protobuf v1.2.1/go.mod h1:hp+jE20tsWTFYpLwKvXlhS1hjn+gTNwPg2I6zVXpSg4= github.com/golang/gddo v0.0.0-20180828051604-96d2a289f41e/go.mod h1:xEhNfoBDX1hzLm2Nf80qUvZ2sVwoMZ8d6IE2SrsQfh4= -github.com/golang/gddo v0.0.0-20181116215533-9bd4a3295021/go.mod h1:xEhNfoBDX1hzLm2Nf80qUvZ2sVwoMZ8d6IE2SrsQfh4= -github.com/golang/gddo v0.0.0-20190312205958-5a2505f3dbf0 h1:CfaPdCDbZu8jSwjq0flJv2u+WreQM0KqytUQahZ6Xf4= -github.com/golang/gddo v0.0.0-20190312205958-5a2505f3dbf0/go.mod h1:xEhNfoBDX1hzLm2Nf80qUvZ2sVwoMZ8d6IE2SrsQfh4= +github.com/golang/gddo v0.0.0-20190904175337-72a348e765d2 h1:xisWqjiKEff2B0KfFYGpCqc3M3zdTz+OHQHRc09FeYk= +github.com/golang/gddo v0.0.0-20190904175337-72a348e765d2/go.mod h1:xEhNfoBDX1hzLm2Nf80qUvZ2sVwoMZ8d6IE2SrsQfh4= github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b h1:VKtxabqXZkF25pY9ekfRL6a582T4P37/31XEstQ5p58= github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= -github.com/golang/lint v0.0.0-20181217174547-8f45f776aaf1/go.mod h1:tluoj9z5200jBnyusfRPU2LqT6J+DAorxEvtC7LHB+E= +github.com/golang/groupcache v0.0.0-20190129154638-5b532d6fd5ef/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= +github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= +github.com/golang/mock v1.3.1/go.mod h1:sBzyDLLjw3U8JLTeZvSv8jJB+tU5PVekmnlKIyFUx0Y= github.com/golang/protobuf v1.1.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.2.0 h1:P3YflyNX/ehuJFLhxviNdFxQPkGK5cDcApsge1SqnvM= github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.3.1 h1:YF8+flBXS5eO826T4nzqPrxfhQThhXl0YzfuUPu4SBg= github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= +github.com/golang/protobuf v1.3.2 h1:6nsPYzhq5kReh6QImI3k5qWzO4PEbvbIW2cwSfR/6xs= +github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= +github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= github.com/google/go-cmp v0.2.0 h1:+dTQ8DZQJz0Mb/HjFlkptS1FeQ4cWSnN941F8aEG4SQ= github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= -github.com/google/go-github v17.0.0+incompatible/go.mod h1:zLgOLi98H3fifZn+44m+umXrS52loVEgC2AApnigrVQ= -github.com/google/go-querystring v1.0.0/go.mod h1:odCYkC5MyYFN7vkCjXpyrEuKhc/BUO6wN/zVPAxq5ck= +github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= +github.com/google/go-cmp v0.3.1 h1:Xye71clBPdm5HgqGwUkwhbynsUJZhDbS20FvLhQ2izg= +github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= github.com/google/martian v2.1.0+incompatible h1:/CP5g8u/VJHijgedC/Legn3BAbAaWPgecwXBIDzw5no= github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= +github.com/google/pprof v0.0.0-20190515194954-54271f7e092f/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= github.com/google/uuid v1.0.0 h1:b4Gk+7WdP/d3HZH8EJsZpvV7EtDOgaZLtnaNGIu1adA= github.com/google/uuid v1.0.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.1.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.1.1 h1:Gkbcsh/GbpXz7lPftLA3P6TYMwjCLYm83jiFQZF/3gY= github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/googleapis/gax-go v2.0.0+incompatible h1:j0GKcs05QVmm7yesiZq2+9cxHkNK9YM6zKx4D2qucQU= -github.com/googleapis/gax-go v2.0.0+incompatible/go.mod h1:SFVmujtThgffbyetf+mdk2eWhX2bMyUtNHzFKcPA9HY= -github.com/googleapis/gax-go/v2 v2.0.3/go.mod h1:LLvjysVCY1JZeum8Z6l8qUty8fiNwE08qbEPm1M08qg= github.com/googleapis/gax-go/v2 v2.0.4 h1:hU4mGcQI4DaAYW+IbTun+2qEZVFxK0ySjQLTbS0VQKc= github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= +github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= github.com/gopherjs/gopherjs v0.0.0-20181004151105-1babbf986f6f/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= +github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1 h1:EGx4pi6eqNxGaHF6qqu48+N2wcFQ5qg5FXgOdqsJ5d8= github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= github.com/gorilla/context v1.1.1 h1:AWwleXJkX/nhcU9bZSnZoi3h/qGYqQAGhq6zZe/aQW8= github.com/gorilla/context v1.1.1/go.mod h1:kBGZzfjB9CEq2AlWe17Uuf7NDRt0dE0s8S51q0aT7Yg= -github.com/gorilla/handlers v1.4.0 h1:XulKRWSQK5uChr4pEgSE4Tc/OcmnU9GJuSwdog/tZsA= -github.com/gorilla/handlers v1.4.0/go.mod h1:Qkdc/uu4tH4g6mTK6auzZ766c4CA0Ng8+o/OAirnOIQ= +github.com/gorilla/handlers v1.4.2 h1:0QniY0USkHQ1RGCLfKxeNHK9bkDHGRYGNDFBCS+YARg= +github.com/gorilla/handlers v1.4.2/go.mod h1:Qkdc/uu4tH4g6mTK6auzZ766c4CA0Ng8+o/OAirnOIQ= github.com/gorilla/mux v1.6.2 h1:Pgr17XVTNXAk3q/r4CpKzC5xBM/qW1uVLV+IhRZpIIk= github.com/gorilla/mux v1.6.2/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs= github.com/gorilla/mux v1.7.0/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs= @@ -391,11 +420,12 @@ github.com/gorilla/securecookie v1.1.1/go.mod h1:ra0sb63/xPlUeL+yeDciTfxMRAA+MP+ github.com/gorilla/sessions v1.1.2/go.mod h1:8KCfur6+4Mqcc6S0FEfKuN15Vl5MgXW92AE8ovaJD0w= github.com/gorilla/sessions v1.1.3 h1:uXoZdcdA5XdXF3QzuSlheVRUvjl+1rKY7zBXL68L9RU= github.com/gorilla/sessions v1.1.3/go.mod h1:8KCfur6+4Mqcc6S0FEfKuN15Vl5MgXW92AE8ovaJD0w= +github.com/gorilla/websocket v1.4.0/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= github.com/gotestyourself/gotestyourself v2.2.0+incompatible h1:AQwinXlbQR2HvPjQZOmDhRqsv5mZf+Jb1RnSLxcqZcI= github.com/gotestyourself/gotestyourself v2.2.0+incompatible/go.mod h1:zZKM6oeNM8k+FRljX1mnzVYeS8wiGgQyvST1/GafPbY= -github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7/go.mod h1:FecbI9+v66THATjSRHfNgh1IVFe/9kFxbXtjV0ctIMA= -github.com/grpc-ecosystem/grpc-gateway v1.5.0/go.mod h1:RSKVYQBd5MCa4OVpNdGskqpgL2+G+NZTnrVHpWWfpdw= -github.com/grpc-ecosystem/grpc-gateway v1.6.2/go.mod h1:RSKVYQBd5MCa4OVpNdGskqpgL2+G+NZTnrVHpWWfpdw= +github.com/grpc-ecosystem/go-grpc-middleware v1.0.0/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= +github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk= +github.com/grpc-ecosystem/grpc-gateway v1.9.0/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/golang-lru v0.5.1 h1:0hERBMJE1eitiLkihrMvRVBYAkpHzc/J3QdDN+dAcgU= github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= @@ -406,9 +436,9 @@ github.com/inconshreveable/mousetrap v1.0.0 h1:Z8tu5sraLXCXIcARxBp/8cbvlwVa7Z1NH github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= github.com/jackc/fake v0.0.0-20150926172116-812a484cc733/go.mod h1:WrMFNQdiFJ80sQsxDoMokWK1W5TQtxBFNpzWTD84ibQ= github.com/jackc/pgx v3.2.0+incompatible/go.mod h1:0ZGrqGqkRlliWnWB4zKnWtjbSWbGkVEFm4TeybAXq+I= -github.com/jellevandenhooff/dkim v0.0.0-20150330215556-f50fe3d243e1/go.mod h1:E0B/fFc00Y+Rasa88328GlI/XbtyysCtTHZS8h7IrBU= github.com/jessevdk/go-flags v1.4.0 h1:4IU2WS7AumrZ/40jfhf4QVDMsQwqA7VEHozFRrGARJA= github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= +github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= github.com/jmoiron/sqlx v0.0.0-20180614180643-0dae4fefe7c0 h1:5B0uxl2lzNRVkJVg+uGHxWtRt4C0Wjc6kJKo5XYx8xE= github.com/jmoiron/sqlx v0.0.0-20180614180643-0dae4fefe7c0/go.mod h1:IiEW3SEiiErVyFdH8NTuWjSifiEQKUoyK3LNqr2kCHU= github.com/jmoiron/sqlx v1.2.0 h1:41Ip0zITnmWNR/vHV+S4m+VoUivnWY5E4OJfLZjCJMA= @@ -416,8 +446,11 @@ github.com/jmoiron/sqlx v1.2.0/go.mod h1:1FEQNm3xlJgrMD+FBdI9+xvCksHtbpVBBw5dYhB github.com/joho/godotenv v1.2.0/go.mod h1:7hK45KPybAkOC6peb+G5yklZfMxEjkZhHbwpqxOKXbg= github.com/joho/godotenv v1.3.0 h1:Zjp+RcGpHhGlrMbJzXTrZZPrWj+1vfm90La1wgB6Bhc= github.com/joho/godotenv v1.3.0/go.mod h1:7hK45KPybAkOC6peb+G5yklZfMxEjkZhHbwpqxOKXbg= +github.com/jonboulle/clockwork v0.1.0/go.mod h1:Ii8DK3G1RaLaWxj9trq07+26W01tbo22gdxWY5EU2bo= github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU= github.com/jtolds/gls v4.2.1+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU= +github.com/jtolds/gls v4.20.0+incompatible h1:xdiiI2gbIgH/gLH7ADydsJ1uDOEzR8yvV7C0MuV77Wo= +github.com/jtolds/gls v4.20.0+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU= github.com/julienschmidt/httprouter v1.2.0 h1:TDTW5Yz1mjftljbcKqRcrYhd4XeOoI98t+9HbQbYf7g= github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= github.com/kardianos/osext v0.0.0-20170510131534-ae77be60afb1 h1:PJPDf8OUfOK1bb/NeTKd4f1QXZItOX389VN3B6qC8ro= @@ -428,6 +461,8 @@ github.com/karrick/godirwalk v1.7.8/go.mod h1:2c9FRhkDxdIbgkOnCEvnSWs71Bhugbl46s github.com/karrick/godirwalk v1.8.0 h1:ycpSqVon/QJJoaT1t8sae0tp1Stg21j+dyuS7OoagcA= github.com/karrick/godirwalk v1.8.0/go.mod h1:H5KPZjojv4lE+QYImBI8xVtrBRgYrIVsaRPx4tDPEn4= github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51/go.mod h1:CzGEWj7cYgsdH8dAjBGEr58BoE7ScuLd+fwFZ44+/x8= +github.com/kevinburke/go-bindata v3.16.0+incompatible/go.mod h1:/pEEZ72flUW2p0yi30bslSp9YqD9pysLxunQDdb2CPM= +github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q= github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= github.com/konsorten/go-windows-terminal-sequences v0.0.0-20180402223658-b729f2633dfe/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/konsorten/go-windows-terminal-sequences v1.0.1 h1:mweAR1A6xJ3oS2pRaGiHgQ4OO8tzTaLawm8vnODuwDk= @@ -439,19 +474,23 @@ github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/pty v1.1.3/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= +github.com/kr/pty v1.1.5/go.mod h1:9r2w37qlBe7rQ6e1fg1S/9xpWHSnaqNdHD3WcMdbPDA= github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/lib/pq v1.0.0 h1:X5PMW56eZitiTeO7tKzZxFCSpbFZJtkMMooicw2us9A= github.com/lib/pq v1.0.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= -github.com/luna-duclos/instrumentedsql v0.0.0-20181127104832-b7d587d28109 h1:SSbnT1UH/TdSedRIy8XVB1dsVUOFP8iHaa/+QE0/q2k= -github.com/luna-duclos/instrumentedsql v0.0.0-20181127104832-b7d587d28109/go.mod h1:PWUIzhtavmOR965zfawVsHXbEuU1G29BPZ/CB3C7jXk= -github.com/luna-duclos/instrumentedsql v0.0.0-20190316074304-ecad98b20aec h1:KWGe9RPYdAnJMmFpP0HlnlthjfvQ0pWA9hrQlhz/cdM= -github.com/luna-duclos/instrumentedsql v0.0.0-20190316074304-ecad98b20aec/go.mod h1:PWUIzhtavmOR965zfawVsHXbEuU1G29BPZ/CB3C7jXk= +github.com/luna-duclos/instrumentedsql v1.1.2 h1:AZdd9TU/kFArfxF0Wi8PLNzniBUgo/c1vDhhjwZPANE= +github.com/luna-duclos/instrumentedsql v1.1.2/go.mod h1:4LGbEqDnopzNAiyxPPDXhLspyunZxgPTMJBKtC6U0BQ= github.com/magiconair/properties v1.8.0 h1:LLgXmsheXeRoUOBOjtwPQCWIYqM/LU1ayDtDePerRcY= github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= +github.com/magiconair/properties v1.8.1 h1:ZC2Vc7/ZFkGmsVC9KvOjumD+G5lXy2RtTKyzRKO2BQ4= +github.com/magiconair/properties v1.8.1/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= github.com/mailru/easyjson v0.0.0-20180823135443-60711f1a8329/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= github.com/mailru/easyjson v0.0.0-20190312143242-1de009706dbe h1:W/GaMY0y69G4cFlmsC6B9sbuo2fP8OFP1ABjt4kPz+w= github.com/mailru/easyjson v0.0.0-20190312143242-1de009706dbe/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= +github.com/mailru/easyjson v0.0.0-20190614124828-94de47d64c63/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= +github.com/mailru/easyjson v0.0.0-20190626092158-b2ccc519800e h1:hB2xlXdHp/pmPZq0y3QnmWAArdw9PqbmotexnWx/FU8= +github.com/mailru/easyjson v0.0.0-20190626092158-b2ccc519800e/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= github.com/markbates/deplist v1.0.4/go.mod h1:gRRbPbbuA8TmMiRvaOzUlRfzfjeCCBqX2A6arxN01MM= github.com/markbates/deplist v1.0.5/go.mod h1:gRRbPbbuA8TmMiRvaOzUlRfzfjeCCBqX2A6arxN01MM= github.com/markbates/going v1.0.2/go.mod h1:UWCk3zm0UKefHZ7l8BNqi26UyiEMniznk8naLdTcy6c= @@ -477,14 +516,17 @@ github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaO github.com/mattn/go-isatty v0.0.4/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= github.com/mattn/go-sqlite3 v1.9.0 h1:pDRiWfl+++eC2FEFRy6jXmQlvp4Yh3z1MJKg4UeYM/4= github.com/mattn/go-sqlite3 v1.9.0/go.mod h1:FPy6KqzDD04eiIsT53CuJW3U88zkxoIYsOqkbpncsNc= -github.com/mattn/go-sqlite3 v1.10.0 h1:jbhqpg7tQe4SupckyijYiy0mJJ/pRyHvXf7JdWK860o= -github.com/mattn/go-sqlite3 v1.10.0/go.mod h1:FPy6KqzDD04eiIsT53CuJW3U88zkxoIYsOqkbpncsNc= +github.com/mattn/go-sqlite3 v1.11.0 h1:LDdKkqtYlom37fkvqs8rMPFKAMe8+SgjbwZ6ex1/A/Q= +github.com/mattn/go-sqlite3 v1.11.0/go.mod h1:FPy6KqzDD04eiIsT53CuJW3U88zkxoIYsOqkbpncsNc= +github.com/mattn/goveralls v0.0.2/go.mod h1:8d1ZMHsd7fW6IRPKQh46F2WRpyib5/X4FOpevwGNQEw= github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= github.com/meatballhat/negroni-logrus v0.0.0-20170801195057-31067281800f h1:V6GHkMOIsnpGDasS1iYiNxEYTY8TmyjQXEF8PqYkKQ8= github.com/meatballhat/negroni-logrus v0.0.0-20170801195057-31067281800f/go.mod h1:Ylx55XGW4gjY7McWT0pgqU0aQquIOChDnYkOVbSuF/c= github.com/microcosm-cc/bluemonday v1.0.1/go.mod h1:hsXNsILzKxV+sX77C5b8FSuKF00vh2OMYv+xgHpAMF4= github.com/microcosm-cc/bluemonday v1.0.2/go.mod h1:iVP4YcDBq+n/5fb23BhYFvIMq/leAFZyRl6bYmGDlGc= github.com/mitchellh/go-homedir v1.0.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= +github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y= +github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= github.com/mitchellh/mapstructure v1.0.0/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= github.com/mitchellh/mapstructure v1.1.2 h1:fmNYVwqnSfB9mZU6OS2O6GsXM+wcskZDuKQzvN1EDeE= github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= @@ -492,9 +534,8 @@ github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826/go.mod h1:TaXosZuwd github.com/monoculum/formam v0.0.0-20180901015400-4e68be1d79ba/go.mod h1:RKgILGEJq24YyJ2ban8EO0RUVSJlF1pGsEvoLEACr/Q= github.com/moul/http2curl v0.0.0-20170919181001-9ac6cf4d929b/go.mod h1:8UbvGypXm98wA/IqH45anm5Y2Z6ep6O31QGOAZ3H0fQ= github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= -github.com/neelance/astrewrite v0.0.0-20160511093645-99348263ae86/go.mod h1:kHJEU3ofeGjhHklVoIGuVj85JJwZ6kWPaJwCIxgnFmo= -github.com/neelance/sourcemap v0.0.0-20151028013722-8c68805598ab/go.mod h1:Qr6/a/Q4r9LP1IltGz7tA7iOK1WonHEYhu1HRBA7ZiM= github.com/nicksnyder/go-i18n v1.10.0/go.mod h1:HrK7VCrbOvQoUAQ7Vpy7i87N7JZZZ7R2xBGjv0j365Q= +github.com/oklog/ulid v1.3.1/go.mod h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn4U= github.com/oleiade/reflections v1.0.0/go.mod h1:RbATFBbKYkVdqmSFtx13Bb/tVhR0lgOBXunWTZKeL4w= github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v1.7.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= @@ -510,37 +551,36 @@ github.com/opencontainers/image-spec v1.0.1/go.mod h1:BtxoFyWECRxE4U/7sNtV5W15zM github.com/opencontainers/runc v0.1.1/go.mod h1:qT5XzbpPznkRYVz/mWwUaVBUv2rmF59PVA73FjuZG0U= github.com/opencontainers/runc v1.0.0-rc5 h1:rYjdzMDXVly2Av0RLs3nf/iVkaWh2UrDhuTdTT2KggQ= github.com/opencontainers/runc v1.0.0-rc5/go.mod h1:qT5XzbpPznkRYVz/mWwUaVBUv2rmF59PVA73FjuZG0U= -github.com/opentracing/opentracing-go v1.0.2 h1:3jA2P6O1F9UOrWVpwrIo17pu01KWvNWg4X946/Y5Zwg= -github.com/opentracing/opentracing-go v1.0.2/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= github.com/opentracing/opentracing-go v1.1.0 h1:pWlfV3Bxv7k65HYwkikxat0+s3pV4bsqf19k25Ur8rU= github.com/opentracing/opentracing-go v1.1.0/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= -github.com/openzipkin/zipkin-go v0.1.1/go.mod h1:NtoC/o8u3JlF1lSlyPNswIbeQH9bJTmOf0Erfk+hxe8= -github.com/openzipkin/zipkin-go v0.1.3/go.mod h1:NtoC/o8u3JlF1lSlyPNswIbeQH9bJTmOf0Erfk+hxe8= -github.com/openzipkin/zipkin-go v0.1.6/go.mod h1:QgAqvLzwWbR/WpD4A3cGpPtJrZXNIiJc5AZX7/PBEpw= -github.com/ory/dockertest v3.3.4+incompatible h1:VrpM6Gqg7CrPm3bL4Wm1skO+zFWLbh7/Xb5kGEbJRh8= -github.com/ory/dockertest v3.3.4+incompatible/go.mod h1:1vX4m9wsvi00u5bseYwXaSnhNrne+V0E6LAcBILJdPs= +github.com/ory/dockertest v3.3.5+incompatible h1:iLLK6SQwIhcbrG783Dghaaa3WPzGc+4Emza6EbVUUGA= +github.com/ory/dockertest v3.3.5+incompatible/go.mod h1:1vX4m9wsvi00u5bseYwXaSnhNrne+V0E6LAcBILJdPs= github.com/ory/fosite v0.29.0/go.mod h1:0atSZmXO7CAcs6NPMI/Qtot8tmZYj04Nddoold4S2h0= github.com/ory/go-acc v0.0.0-20181118080137-ddc355013f90 h1:Bpk3eqc3rbJT2mE+uS9ETzmi2cEL4RuIKz2iUeteh04= github.com/ory/go-acc v0.0.0-20181118080137-ddc355013f90/go.mod h1:sxnvPCxChFuSmTJGj8FdMupeq1BezCiEpDjTUXQ4hf4= github.com/ory/go-convenience v0.1.0 h1:zouLKfF2GoSGnJwGq+PE/nJAE6dj2Zj5QlTgmMTsTS8= github.com/ory/go-convenience v0.1.0/go.mod h1:uEY/a60PL5c12nYz4V5cHY03IBmwIAEm8TWB0yn9KNs= +github.com/ory/gojsonreference v0.0.0-20190720135523-6b606c2d8ee8 h1:e2S2FmxqSbhFyVNP24HncpRY+X1qAZmtE3nZ0gJKR4Q= +github.com/ory/gojsonreference v0.0.0-20190720135523-6b606c2d8ee8/go.mod h1:wsH1C4nIeeQClDtD5AH7kF1uTS6zWyqfjVDTmB0Em7A= +github.com/ory/gojsonschema v1.1.1-0.20190919112458-f254ca73d5e9 h1:LDIG2Mnha10nFZuVXv3GIBqhQ1+JLwRXPcP4Ykx5VOY= +github.com/ory/gojsonschema v1.1.1-0.20190919112458-f254ca73d5e9/go.mod h1:BNZpdJgB74KOLSsWFvzw6roXg1I6O51WO8roMmW+T7Y= github.com/ory/graceful v0.1.1 h1:zx+8tDObLPrG+7Tc8jKYlXsqWnLtOQA1IZ/FAAKHMXU= github.com/ory/graceful v0.1.1/go.mod h1:zqu70l95WrKHF4AZ6tXHvAqAvpY6M7g6ttaAVcMm7KU= -github.com/ory/herodot v0.5.1/go.mod h1:3BOneqcyBsVybCPAJoi92KN2BpJHcmDqAMcAAaJiJow= -github.com/ory/herodot v0.6.0 h1:Dcs4yH1Qw1GIgGCvvvdafhT8xjwElTE//8xLmHtPEYA= -github.com/ory/herodot v0.6.0/go.mod h1:3BOneqcyBsVybCPAJoi92KN2BpJHcmDqAMcAAaJiJow= -github.com/ory/sqlcon v0.0.7 h1:PQl4ihs11Xzw9wyFk0YQmQEnPL0icdJjiStQNaoRTmM= -github.com/ory/sqlcon v0.0.7/go.mod h1:oOyCmOJWAs8F0bnGmmIvGA9/4K1JqVL0D9JgvAaVc3U= -github.com/ory/x v0.0.42 h1:5buEAEuI7TAq6WsZM8K4LIBllFhwpwMDlSBaPd2RiN0= -github.com/ory/x v0.0.42/go.mod h1:wY34Yfy/lRklrrVbChZHqOQxhbSHH2a6bSJ6o3YFKY8= +github.com/ory/herodot v0.6.2 h1:zOb5MsuMn7AH9/Ewc/EK83yqcNViK1m1l3C2UuP3RcA= +github.com/ory/herodot v0.6.2/go.mod h1:3BOneqcyBsVybCPAJoi92KN2BpJHcmDqAMcAAaJiJow= +github.com/ory/sdk/swagutil v0.0.0-20200108122515-375eeddba1e8 h1:HgdLBUUFatzSA2EVV2zyBbSYZW8+ccyYnriIGmWR+CE= +github.com/ory/sdk/swagutil v0.0.0-20200108122515-375eeddba1e8/go.mod h1:Ufg1eAyz+Zt3+oweSZVThG13ewewWCKwBmoNmK8Z0co= +github.com/ory/viper v1.5.6 h1:w4ceGgWwWLzAFYQ7bHaDZmwNsAto2JPVdyQjQnn7VWI= +github.com/ory/viper v1.5.6/go.mod h1:TYmpFpKLxjQwvT4f0QPpkOn4sDXU1kDgAwJpgLYiQ28= +github.com/ory/x v0.0.88 h1:epgeKh5kaT/89YQ9o/eIO3rgwmo3kOwyXcHJRZcZogI= +github.com/ory/x v0.0.88/go.mod h1:wrnJRjIfYXFY/AUiuUlcIUpLBDxFtWc+8x6toAeLZXU= github.com/parnurzeal/gorequest v0.2.15/go.mod h1:3Kh2QUMJoqw3icWAecsyzkpY7UzRfDhbRdTjtNwNiUE= github.com/pborman/uuid v1.2.0 h1:J7Q5mO4ysT1dv8hyrUGHb9+ooztCXu1D8MY8DZYsu3g= github.com/pborman/uuid v1.2.0/go.mod h1:X/NO0urCmaxf9VXbdlT7C2Yzkj2IKimNn4k+gtPdI/k= github.com/pelletier/go-toml v1.2.0 h1:T5zMGML61Wp+FlcbWjRDT7yAxhJNAiPPLOFECq181zc= github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic= -github.com/pelletier/go-toml v1.3.0 h1:e5+lF2E4Y2WCIxBefVowBuB0iHrUH4HZ8q+6mGF7fJc= -github.com/pelletier/go-toml v1.3.0/go.mod h1:PN7xzY2wHTK0K9p34ErDQMlFxa51Fk0OUruD3k1mMwo= -github.com/pierrec/lz4 v2.0.5+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY= +github.com/pelletier/go-toml v1.4.0 h1:u3Z1r+oOXJIkxqw34zVhyPgjBsm6X2wn21NWs/HfSeg= +github.com/pelletier/go-toml v1.4.0/go.mod h1:PN7xzY2wHTK0K9p34ErDQMlFxa51Fk0OUruD3k1mMwo= github.com/pkg/errors v0.8.0 h1:WdK/asTD0HN+q6hsWO3/vpuAkAr+tw6aNJNDFFf0+qw= github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.8.1 h1:iURUrRGxPUNPdy5/HRSm+Yj6okJ6UtLINN0Q9M4+h3I= @@ -551,22 +591,19 @@ github.com/pkg/profile v1.3.0 h1:OQIvuDgm00gWVWGTf4m4mCt6W1/0YqU7Ntg0mySWgaI= github.com/pkg/profile v1.3.0/go.mod h1:hJw3o1OdXxsrSjjVksARp5W95eeEaEfptyVZyv6JUPA= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/prometheus/client_golang v0.8.0/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= +github.com/pquerna/cachecontrol v0.0.0-20180517163645-1555304b9b35/go.mod h1:prYjPmNq4d1NPVmpShWobRqXY3q7Vp+80DqgxxUrUIA= github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= -github.com/prometheus/client_golang v0.9.2/go.mod h1:OsXs2jCmiKlQ1lTBmv21f2mNfw4xf/QclQDMrYNZzcM= -github.com/prometheus/client_golang v0.9.3-0.20190127221311-3c4408c8b829/go.mod h1:p2iRAGwDERtqlqzRXnrOVns+ignqQo//hLXqYxZYVNs= +github.com/prometheus/client_golang v0.9.3/go.mod h1:/TN21ttK/J9q6uSwhBd54HahCDft0ttaMvbicHlPoso= github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= -github.com/prometheus/client_model v0.0.0-20190115171406-56726106282f/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= -github.com/prometheus/common v0.0.0-20180801064454-c7de2306084e/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= -github.com/prometheus/common v0.0.0-20181126121408-4724e9255275/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= -github.com/prometheus/common v0.0.0-20181218105931-67670fe90761/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= -github.com/prometheus/common v0.2.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= -github.com/prometheus/procfs v0.0.0-20180725123919-05ee40e3a273/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= +github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= +github.com/prometheus/common v0.0.0-20181113130724-41aa239b4cce/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= +github.com/prometheus/common v0.4.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= -github.com/prometheus/procfs v0.0.0-20181204211112-1dc9a6cbc91a/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= -github.com/prometheus/procfs v0.0.0-20190117184657-bf6a532e95b1/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= +github.com/prometheus/procfs v0.0.0-20190507164030-5867b95ac084/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= +github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU= github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a h1:9ZKAASQSHhDYGoxY8uLVpewe1GDZ2vu2Tr/vTdVAkFQ= github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= +github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg= github.com/rogpeppe/go-internal v1.0.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= github.com/rogpeppe/go-internal v1.1.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= github.com/rogpeppe/go-internal v1.2.2/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= @@ -578,6 +615,10 @@ github.com/rubenv/sql-migrate v0.0.0-20190212093014-1007f53448d7/go.mod h1:WS0rl github.com/rubenv/sql-migrate v0.0.0-20190327083759-54bad0a9b051 h1:p32bQkgLiadYiOqs294BAx/7f1Aerfva8rj+rVvzR0A= github.com/rubenv/sql-migrate v0.0.0-20190327083759-54bad0a9b051/go.mod h1:WS0rl9eEliYI8DPnr3TOwz4439pay+qNgzJoVya/DmY= github.com/russross/blackfriday v1.5.2/go.mod h1:JO/DiYxRf+HjHt06OyowR9PTA263kcR/rfWxYHBV53g= +github.com/santhosh-tekuri/jsonschema v1.2.4 h1:hNhW8e7t+H1vgY+1QeEQpveR6D4+OwKPXCfD2aieJis= +github.com/santhosh-tekuri/jsonschema v1.2.4/go.mod h1:TEAUOeZSmIxTTuHatJzrvARHiuO9LYd+cIxzgEHCQI4= +github.com/santhosh-tekuri/jsonschema/v2 v2.1.0 h1:7KOtBzox6l1PbyZCuQfo923yIBpoMtGCDOD78P9lv9g= +github.com/santhosh-tekuri/jsonschema/v2 v2.1.0/go.mod h1:yzJzKUGV4RbWqWIBBP4wSOBqavX5saE02yirLS0OTyg= github.com/satori/go.uuid v1.2.0/go.mod h1:dA0hQrYB0VpLJoorglMZABFdXlWrHn1NEOzdhQKdks0= github.com/segmentio/analytics-go v3.0.1+incompatible h1:W7T3ieNQjPFMb+SE8SAVYo6mPkKK/Y37wYdiNf5lCVg= github.com/segmentio/analytics-go v3.0.1+incompatible/go.mod h1:C7CYBtQWk4vRk2RyLu0qOcbHJ18E3F1HV2C/8JvKN48= @@ -586,30 +627,12 @@ github.com/segmentio/backo-go v0.0.0-20160424052352-204274ad699c/go.mod h1:kJ9mm github.com/serenize/snaker v0.0.0-20171204205717-a683aaf2d516/go.mod h1:Yow6lPLSAXx2ifx470yD/nUe22Dv5vBvxK/UK9UUTVs= github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo= github.com/shopspring/decimal v0.0.0-20180709203117-cd690d0c9e24/go.mod h1:M+9NzErvs504Cn4c5DxATwIqPbtswREoFCre64PpcG4= -github.com/shurcooL/component v0.0.0-20170202220835-f88ec8f54cc4/go.mod h1:XhFIlyj5a1fBNx5aJTbKoIq0mNaPvOagO+HjB3EtxrY= -github.com/shurcooL/events v0.0.0-20181021180414-410e4ca65f48/go.mod h1:5u70Mqkb5O5cxEA8nxTsgrgLehJeAw6Oc4Ab1c/P1HM= -github.com/shurcooL/github_flavored_markdown v0.0.0-20181002035957-2122de532470/go.mod h1:2dOwnU2uBioM+SGy2aZoq1f/Sd1l9OkAeAUvjSyvgU0= github.com/shurcooL/go v0.0.0-20180423040247-9e1955d9fb6e/go.mod h1:TDJrrUr11Vxrven61rcy3hJMUqaf/CLWYhHNPmT14Lk= github.com/shurcooL/go-goon v0.0.0-20170922171312-37c2f522c041/go.mod h1:N5mDOmsrJOB+vfqUK+7DmDyjhSLIIBnXo9lvZJj3MWQ= -github.com/shurcooL/gofontwoff v0.0.0-20180329035133-29b52fc0a18d/go.mod h1:05UtEgK5zq39gLST6uB0cf3NEHjETfB4Fgr3Gx5R9Vw= -github.com/shurcooL/gopherjslib v0.0.0-20160914041154-feb6d3990c2c/go.mod h1:8d3azKNyqcHP1GaQE/c6dDgjkgSx2BZ4IoEi4F1reUI= github.com/shurcooL/highlight_diff v0.0.0-20170515013008-09bb4053de1b/go.mod h1:ZpfEhSmds4ytuByIcDnOLkTHGUI6KNqRNPDLHDk+mUU= github.com/shurcooL/highlight_go v0.0.0-20170515013102-78fb10f4a5f8/go.mod h1:UDKB5a1T23gOMUJrI+uSuH0VRDStOiUVSjBTRDVBVag= -github.com/shurcooL/highlight_go v0.0.0-20181028180052-98c3abbbae20/go.mod h1:UDKB5a1T23gOMUJrI+uSuH0VRDStOiUVSjBTRDVBVag= -github.com/shurcooL/home v0.0.0-20181020052607-80b7ffcb30f9/go.mod h1:+rgNQw2P9ARFAs37qieuu7ohDNQ3gds9msbT2yn85sg= -github.com/shurcooL/htmlg v0.0.0-20170918183704-d01228ac9e50/go.mod h1:zPn1wHpTIePGnXSHpsVPWEktKXHr6+SS6x/IKRb7cpw= -github.com/shurcooL/httperror v0.0.0-20170206035902-86b7830d14cc/go.mod h1:aYMfkZ6DWSJPJ6c4Wwz3QtW22G7mf/PEgaB9k/ik5+Y= -github.com/shurcooL/httpfs v0.0.0-20171119174359-809beceb2371/go.mod h1:ZY1cvUeJuFPAdZ/B6v7RHavJWZn2YPVFQ1OSXhCGOkg= -github.com/shurcooL/httpgzip v0.0.0-20180522190206-b1c53ac65af9/go.mod h1:919LwcH0M7/W4fcZ0/jy0qGght1GIhqyS/EgWGH2j5Q= -github.com/shurcooL/issues v0.0.0-20181008053335-6292fdc1e191/go.mod h1:e2qWDig5bLteJ4fwvDAc2NHzqFEthkqn7aOZAOpj+PQ= -github.com/shurcooL/issuesapp v0.0.0-20180602232740-048589ce2241/go.mod h1:NPpHK2TI7iSaM0buivtFUc9offApnI0Alt/K8hcHy0I= -github.com/shurcooL/notifications v0.0.0-20181007000457-627ab5aea122/go.mod h1:b5uSkrEVM1jQUspwbixRBhaIjIzL2xazXp6kntxYle0= github.com/shurcooL/octicon v0.0.0-20180602230221-c42b0e3b24d9/go.mod h1:eWdoE5JD4R5UVWDucdOPg1g2fqQRq78IQa9zlOV1vpQ= -github.com/shurcooL/octicon v0.0.0-20181028054416-fa4f57f9efb2/go.mod h1:eWdoE5JD4R5UVWDucdOPg1g2fqQRq78IQa9zlOV1vpQ= -github.com/shurcooL/reactions v0.0.0-20181006231557-f2e0b4ca5b82/go.mod h1:TCR1lToEk4d2s07G3XGfz2QrgHXg4RJBvjrOozvoWfk= github.com/shurcooL/sanitized_anchor_name v0.0.0-20170918181015-86672fcb3f95/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc= -github.com/shurcooL/users v0.0.0-20180125191416-49c67e49c537/go.mod h1:QJTqeLYEDaXHZDBsXlPCDqdhQuJkuw4NOtaxYe3xii4= -github.com/shurcooL/webdavfs v0.0.0-20170829043945-18c3829fa133/go.mod h1:hKmq5kWdCj2z2KEozexVbfEZIWiTjhE0+UjmZgPqehw= github.com/sirupsen/logrus v1.0.6/go.mod h1:pMByvHTf9Beacp5x1UXfOR9xyW/9antXMhjMPG0dEzc= github.com/sirupsen/logrus v1.1.0/go.mod h1:zrgwTnHtNr00buQ1vSptGe8m1f/BbgsPukg8qsT7A+A= github.com/sirupsen/logrus v1.1.1 h1:VzGj7lhU7KEB9e9gMpAV/v5XT2NVSvLJhJLCWbnkgXg= @@ -619,8 +642,14 @@ github.com/sirupsen/logrus v1.3.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPx github.com/sirupsen/logrus v1.4.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= github.com/sirupsen/logrus v1.4.1 h1:GL2rEmy6nsikmW0r8opw9JIRScdMF5hA8cOYLH7In1k= github.com/sirupsen/logrus v1.4.1/go.mod h1:ni0Sbl8bgC9z8RoU9G6nDWqqs/fq4eDPysMBDgk/93Q= +github.com/sirupsen/logrus v1.4.2 h1:SPIRibHv4MatM3XXNO2BJeFLZwZ2LvZgfQ5+UNI2im4= +github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= +github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d h1:zE9ykElWQ6/NYmHa3jpm/yHnI4xSofP+UP6SpjHcSeM= github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc= github.com/smartystreets/goconvey v0.0.0-20180222194500-ef6db91d284a/go.mod h1:XDJAKZRPZ1CvBcN2aX5YOUTYGHki24fSF0Iv48Ibg0s= +github.com/smartystreets/goconvey v1.6.4 h1:fv0U8FUIMPNf1L9lnHLvLhgicrIVChEkdzIKYqbNC9s= +github.com/smartystreets/goconvey v1.6.4/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA= +github.com/soheilhy/cmux v0.1.4/go.mod h1:IM3LyeVVIOuxMH7sFAkER9+bJ4dT7Ms6E4xg4kGIyLM= github.com/sourcegraph/annotate v0.0.0-20160123013949-f4cad6c6324d/go.mod h1:UdhH50NIW0fCiwBSr0co2m7BnFLdv4fQTgdqdJTHFeE= github.com/sourcegraph/syntaxhighlight v0.0.0-20170531221838-bd320f5d308e/go.mod h1:HuIsMU8RRBOtsCgI77wP899iHVBQpCmg4ErYMZB+2IA= github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72 h1:qLC7fQah7D6K1B0ujays3HV9gkFtllcxhzImRR7ArPQ= @@ -628,7 +657,6 @@ github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasO github.com/spf13/afero v1.1.2 h1:m8/z1t7/fwjysjQRYbP0RD+bUIF/8tJwPdEZsI83ACI= github.com/spf13/afero v1.1.2/go.mod h1:j4pytiNVoe2o6bmDsKpLACNPDBIoEAkihy7loJ1B0CQ= github.com/spf13/afero v1.2.0/go.mod h1:9ZxEEn6pIJ8Rxe320qSDBk6AsU0r9pR7Q4OcevTdifk= -github.com/spf13/afero v1.2.1/go.mod h1:9ZxEEn6pIJ8Rxe320qSDBk6AsU0r9pR7Q4OcevTdifk= github.com/spf13/afero v1.2.2 h1:5jhuqJyZCZf2JRofRvN/nIFgIWNzPa3/Vz8mYylgbWc= github.com/spf13/afero v1.2.2/go.mod h1:9ZxEEn6pIJ8Rxe320qSDBk6AsU0r9pR7Q4OcevTdifk= github.com/spf13/cast v1.2.0 h1:HHl1DSRbEQN2i8tJmtS6ViPyHx35+p51amrdsiTCrkg= @@ -637,6 +665,8 @@ github.com/spf13/cast v1.3.0 h1:oget//CVOEoFewqQxwr0Ej5yjygnqGkvggSE/gB35Q8= github.com/spf13/cast v1.3.0/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= github.com/spf13/cobra v0.0.3 h1:ZlrZ4XsMRm04Fr5pSFxBgfND2EBVa1nLpiy1stUsX/8= github.com/spf13/cobra v0.0.3/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ= +github.com/spf13/cobra v0.0.5 h1:f0B+LkLX6DtmRH1isoNA9VTtNUK9K8xYd28JNNfOv/s= +github.com/spf13/cobra v0.0.5/go.mod h1:3K3wKZymM7VvHMDS9+Akkh4K60UwM26emMESw8tLCHU= github.com/spf13/jwalterweatherman v1.0.0 h1:XHEdyB+EcvlqZamSM4ZOMGlc93t6AcsBEu9Gc1vn7yk= github.com/spf13/jwalterweatherman v1.0.0/go.mod h1:cQK4TGJAtQXfYWX+Ddv3mKDzgVb68N+wFjFa4jdeBTo= github.com/spf13/jwalterweatherman v1.1.0 h1:ue6voC5bR5F8YxI5S67j9i582FU4Qvo2bmqnqMYADFk= @@ -649,28 +679,51 @@ github.com/spf13/viper v1.2.1/go.mod h1:P4AexN0a+C9tGAnUFNwDMYYZv3pjFuvmeiMyKRaN github.com/spf13/viper v1.3.1/go.mod h1:ZiWeW+zYFKm7srdB9IoDzzZXaJaI5eL9QjNiN/DMA2s= github.com/spf13/viper v1.3.2 h1:VUFqw5KcqRf7i70GOzW7N+Q7+gxVBkSSqiXB12+JQ4M= github.com/spf13/viper v1.3.2/go.mod h1:ZiWeW+zYFKm7srdB9IoDzzZXaJaI5eL9QjNiN/DMA2s= +github.com/spf13/viper v1.4.0 h1:yXHLWeravcrgGyFSyCgdYpXQ9dR9c/WED3pg1RhxqEU= +github.com/spf13/viper v1.4.0/go.mod h1:PTJ7Z/lr49W6bUbkmS1V3by4uWynFiR9p7+dSq/yZzE= +github.com/spf13/viper v1.6.1 h1:VPZzIkznI1YhVMRi6vNFLHSwhnhReBfgTxIPccpfdZk= +github.com/spf13/viper v1.6.1/go.mod h1:t3iDnF5Jlj76alVNuyFBk5oUMCvsrkbvZK0WQdfDi5k= github.com/sqs/goreturns v0.0.0-20181028201513-538ac6014518 h1:iD+PFTQwKEmbwSdwfvP5ld2WEI/g7qbdhmHJ2ASfYGs= github.com/sqs/goreturns v0.0.0-20181028201513-538ac6014518/go.mod h1:CKI4AZ4XmGV240rTHfO0hfE83S6/a3/Q1siZJ/vXf7A= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/objx v0.2.0/go.mod h1:qt09Ya8vawLte6SNmTgCsAVtYtaKzEcn8ATUoHMkEqE= github.com/stretchr/testify v1.2.2 h1:bSDNvY7ZPG5RlJ8otE/7V6gMiyenm9RtJ7IUVIAoJ1w= github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.3.0 h1:TivCn/peBQ7UY8ooIcPgZFpTNSz0Q2U6UrFlUfqbe0Q= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= -github.com/tarm/serial v0.0.0-20180830185346-98f6abe2eb07/go.mod h1:kDXzergiv9cbyO7IOYJZWg1U88JhDg3PB6klq9Hg2pA= -github.com/toqueteos/webbrowser v1.1.0 h1:Prj1okiysRgHPoe3B1bOIVxcv+UuSt525BDQmR5W0x0= -github.com/toqueteos/webbrowser v1.1.0/go.mod h1:Hqqqmzj8AHn+VlZyVjaRWY20i25hoOZGAABCcg2el4A= +github.com/stretchr/testify v1.4.0 h1:2E4SXV/wtOkTonXsotYi4li6zVWxYlZuYNCXe9XRJyk= +github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= +github.com/subosito/gotenv v1.1.1/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw= +github.com/subosito/gotenv v1.2.0 h1:Slr1R9HxAlEKefgq5jn9U+DnETlIUa6HfgEzj0g5d7s= +github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw= +github.com/tidwall/gjson v1.3.2/go.mod h1:P256ACg0Mn+j1RXIDXoss50DeIABTYK1PULOJHhxOls= +github.com/tidwall/gjson v1.3.5 h1:2oW9FBNu8qt9jy5URgrzsVx/T/KSn3qn/smJQ0crlDQ= +github.com/tidwall/gjson v1.3.5/go.mod h1:P256ACg0Mn+j1RXIDXoss50DeIABTYK1PULOJHhxOls= +github.com/tidwall/match v1.0.1 h1:PnKP62LPNxHKTwvHHZZzdOAOCtsJTjo6dZLCwpKm5xc= +github.com/tidwall/match v1.0.1/go.mod h1:LujAq0jyVjBy028G1WhWfIzbpQfMO8bBZ6Tyb0+pL9E= +github.com/tidwall/pretty v1.0.0 h1:HsD+QiTn7sK6flMKIvNmpqz1qrpP3Ps6jOKIKMooyg4= +github.com/tidwall/pretty v1.0.0/go.mod h1:XNkn88O1ChpSDQmQeStsy+sBenx6DDtFZJxhVysOjyk= +github.com/tidwall/sjson v1.0.4 h1:UcdIRXff12Lpnu3OLtZvnc03g4vH2suXDXhBwBqmzYg= +github.com/tidwall/sjson v1.0.4/go.mod h1:bURseu1nuBkFpIES5cz6zBtjmYeOQmEESshn7VpF15Y= +github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= +github.com/toqueteos/webbrowser v1.2.0 h1:tVP/gpK69Fx+qMJKsLE7TD8LuGWPnEV71wBN9rrstGQ= +github.com/toqueteos/webbrowser v1.2.0/go.mod h1:XWoZq4cyp9WeUeak7w7LXRUQf1F1ATJMir8RTqb4ayM= github.com/uber-go/atomic v1.3.2 h1:Azu9lPBWRNKzYXSIwRfgRuDuS0YKsK4NFhiQv98gkxo= github.com/uber-go/atomic v1.3.2/go.mod h1:/Ct5t2lcmbJ4OSe/waGBoaVvVqtO0bmtfVNex1PFV8g= github.com/uber/jaeger-client-go v2.15.0+incompatible h1:NP3qsSqNxh8VYr956ur1N/1C1PjvOJnJykCzcD5QHbk= github.com/uber/jaeger-client-go v2.15.0+incompatible/go.mod h1:WVhlPFC8FDjOFMMWRy2pZqQJSXxYSwNYOkTr/Z6d3Kk= github.com/uber/jaeger-lib v1.5.0 h1:OHbgr8l656Ub3Fw5k9SWnBfIEwvoHQ+W2y+Aa9D1Uyo= github.com/uber/jaeger-lib v1.5.0/go.mod h1:ComeNDZlWwrWnDv8aPp0Ba6+uUTzImX/AauajbLI56U= +github.com/ugorji/go v1.1.4/go.mod h1:uQMGLiO92mf5W77hV/PUCpI3pbzQx3CRekS0kk+RGrc= github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8/go.mod h1:VFNgLljTbGfSG7qAOspJ7OScBnGdDN/yBr0sguwnwf0= github.com/unrolled/secure v0.0.0-20180918153822-f340ee86eb8b/go.mod h1:mnPT77IAdsi/kV7+Es7y+pXALeV3h7G6dQF6mNYjcLA= github.com/unrolled/secure v0.0.0-20181005190816-ff9db2ff917f/go.mod h1:mnPT77IAdsi/kV7+Es7y+pXALeV3h7G6dQF6mNYjcLA= github.com/urfave/negroni v1.0.0 h1:kIimOitoypq34K7TG7DUaJ9kq/N4Ofuwi1sjz0KipXc= github.com/urfave/negroni v1.0.0/go.mod h1:Meg73S6kFm/4PpbYdq35yYWoCZ9mS/YSx+lKnmiohz4= +github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f h1:J9EGpcZtP0E/raorCMxlFGSTBrsSlaDGf3jU/qvAE2c= +github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f/go.mod h1:N2zxlSyiKSe5eX1tZViRH5QA0qijqEDrYZiPEAiq3wU= +github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2/go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU= github.com/xordataexchange/crypt v0.0.3-0.20170626215501-b2862e3d0a77/go.mod h1:aYKd//L2LvnjZzWKhF00oedf4jCCReLcmhLdhm1A27Q= github.com/xtgo/uuid v0.0.0-20140804021211-a0b114877d4c h1:3lbZUMbMiGUW/LMkfsEABsc5zNT9+b1CvsJx47JzJ8g= github.com/xtgo/uuid v0.0.0-20140804021211-a0b114877d4c/go.mod h1:UrdRz5enIKZ63MEE3IF9l2/ebyx59GyGgPi+tICQdmM= @@ -678,18 +731,17 @@ github.com/yashtewari/glob-intersection v0.0.0-20180916065949-5c77d914dd0b h1:vV github.com/yashtewari/glob-intersection v0.0.0-20180916065949-5c77d914dd0b/go.mod h1:HptNXiXVDcJjXe9SqMd0v2FsL9f8dz4GnXgltU6q/co= github.com/ziutek/mymysql v1.5.4 h1:GB0qdRGsTwQSBVYuVShFBKaXSnSnYYC2d9knnE1LHFs= github.com/ziutek/mymysql v1.5.4/go.mod h1:LMSpPZ6DbqWFxNCHW77HeMg9I646SAhApZ/wKdgO/C0= -go.opencensus.io v0.18.0 h1:Mk5rgZcggtbvtAun5aJzAtjKKN/t0R3jJPlWILlv938= -go.opencensus.io v0.18.0/go.mod h1:vKdFvxhtzZ9onBp9VKHK8z/sRpBMnKAsufL7wlDrCOA= -go.opencensus.io v0.19.0/go.mod h1:AYeH0+ZxYyghG8diqaaIq/9P3VgCCt5GF2ldCY4dkFg= -go.opencensus.io v0.19.1/go.mod h1:gug0GbSHa8Pafr0d2urOSgoXHZ6x/RUlaiT0d9pqb4A= -go.opencensus.io v0.19.2/go.mod h1:NO/8qkisMZLZ1FCsKNqtJPwc8/TaclWyY0B6wcYNg9M= -go.opencensus.io v0.20.0 h1:L/ARO58pdktB6dLmYI0zAyW1XnavEmGziFd0MKfxnck= -go.opencensus.io v0.20.0/go.mod h1:NO/8qkisMZLZ1FCsKNqtJPwc8/TaclWyY0B6wcYNg9M= -go.uber.org/atomic v1.3.2 h1:2Oa65PReHzfn29GpvgsYwloV9AVFHPDk8tYxt2c2tr4= -go.uber.org/atomic v1.3.2/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= -go4.org v0.0.0-20180809161055-417644f6feb5/go.mod h1:MkTOUMDaeVYJUOUsaDXIhWPZYa1yOyC1qaOBpL57BhE= -golang.org/x/build v0.0.0-20190111050920-041ab4dc3f9d/go.mod h1:OWs+y06UdEOHN4y+MfF/py+xQ/tYqIWW03b70/CG9Rw= -golang.org/x/build v0.0.0-20190314133821-5284462c4bec/go.mod h1:atTaCNAy0f16Ah5aV1gMSwgiKVHwu/JncqDpuRr7lS4= +go.etcd.io/bbolt v1.3.2/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= +go.mongodb.org/mongo-driver v1.0.3/go.mod h1:u7ryQJ+DOzQmeO7zB6MHyr8jkEQvC8vH7qLUO4lqsUM= +go.mongodb.org/mongo-driver v1.1.1 h1:Sq1fR+0c58RME5EoqKdjkiQAmPjmfHlZOoRI6fTUOcs= +go.mongodb.org/mongo-driver v1.1.1/go.mod h1:u7ryQJ+DOzQmeO7zB6MHyr8jkEQvC8vH7qLUO4lqsUM= +go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= +go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= +go.opencensus.io v0.22.1/go.mod h1:Ap50jQcDJrx6rB6VgeeFPtuPIf3wMRvRfrfYDO6+BmA= +go.uber.org/atomic v1.4.0 h1:cxzIVoETapQEqDhQu3QfnvXAV4AlzcvUCxkVUFw3+EU= +go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= +go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0= +go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= golang.org/x/crypto v0.0.0-20180830192347-182538f80094/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20180910181607-0e37d006457b/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= @@ -701,24 +753,32 @@ golang.org/x/crypto v0.0.0-20181024171144-74cb1d3d52f4/go.mod h1:6SG95UA2DQfeDnf golang.org/x/crypto v0.0.0-20181025113841-85e1b3f9139a h1:Pg1/+l4/QV6z7N506eGnLiJ/Rl4IJf1FwYQKvP51OjA= golang.org/x/crypto v0.0.0-20181025113841-85e1b3f9139a/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20181025213731-e84da0312774/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= -golang.org/x/crypto v0.0.0-20181030102418-4d3f4d9ffa16/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20181106171534-e4dc69e5b2fd/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20181112202954-3d3f9f413869/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20181127143415-eb0de9b17e85/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20181203042331-505ab145d0a9/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20190102171810-8d7daa0c54b3/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20190103213133-ff983b9c42bc/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= -golang.org/x/crypto v0.0.0-20190211182817-74369b46fc67/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20190320223903-b7391e95e576/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20190403202508-8e1b8d32e692 h1:GRhHqDOgeDr6QDTtq9gn2O4iKvm5dsbfqD/TXb0KLX0= golang.org/x/crypto v0.0.0-20190403202508-8e1b8d32e692/go.mod h1:WFFai1msRO1wXaEeE5yQxYXgSfI8pQAWXbQop6sCtWE= +golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20190611184440-5c40567a22f8/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20190617133340-57b3e21c3d56/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550 h1:ObdrDkeb4kJdCP557AjRjq69pTHfNouLtWZG7j9rPN8= +golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/lint v0.0.0-20180702182130-06c8688daad7/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= +golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= +golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= -golang.org/x/lint v0.0.0-20181217174547-8f45f776aaf1/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= +golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/lint v0.0.0-20190409202823-959b441ac422/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE= +golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180816102801-aaf60122140d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -731,38 +791,40 @@ golang.org/x/net v0.0.0-20181011144130-49bb7cea24b1/go.mod h1:mL1N/T3taQHkDXs73r golang.org/x/net v0.0.0-20181017193950-04a2e542c03f/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20181023162649-9b4f9f5ad519 h1:x6rhz8Y9CjbgQkccRGmELH6K+LJj7tOoh3XWeC1yaQM= golang.org/x/net v0.0.0-20181023162649-9b4f9f5ad519/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20181029044818-c44066c5c816/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20181106065722-10aee1819953/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20181201002055-351d144fa1fc/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20181207154023-610586996380/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20181217023233-e147a9138326/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20181220203305-927f97764cc3/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190125091013-d26f9f9a57f3/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190320064053-1272bf9dcd53/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3 h1:0GoQqolDA55aaLxZyTzK/Y2ePZzZTUrRacwib7cNsYQ= golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190501004415-9ce7a6920f09/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190522155817-f3200d17e092/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= +golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= +golang.org/x/net v0.0.0-20190613194153-d28f0bde5980/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20190628185345-da137c7871d7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20190827160401-ba9fcec4b297 h1:k7pJ2yAPLPgbskkFdhRCsA77k2fySZ1zf2zCjvQCiIM= +golang.org/x/net v0.0.0-20190827160401-ba9fcec4b297/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20181003184128-c57b0facaced h1:4oqSq7eft7MdPKBGQK11X9WYUxmj6ZLgGTqYIbY1kyw= golang.org/x/oauth2 v0.0.0-20181003184128-c57b0facaced/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= -golang.org/x/oauth2 v0.0.0-20181017192945-9dcd33a902f4 h1:99CA0JJbUX4ozCnLon680Jc9e0T1i8HCaLVJMwtI8Hc= -golang.org/x/oauth2 v0.0.0-20181017192945-9dcd33a902f4/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= -golang.org/x/oauth2 v0.0.0-20181203162652-d668ce993890/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= -golang.org/x/oauth2 v0.0.0-20190212230446-3e8b2be13635/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/oauth2 v0.0.0-20190402181905-9f3314589c9a h1:tImsplftrFpALCYumobsd0K86vlAs/eXGFms2txfJfA= -golang.org/x/oauth2 v0.0.0-20190402181905-9f3314589c9a/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/perf v0.0.0-20180704124530-6e6d33e29852/go.mod h1:JLpeXjPJfIyPr5TlbXLkXWLhP8nz10XfvxElABhCtcw= +golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45 h1:SVwTIAaPC2U/AvvLNZ2a7OVsmBpC8L5BlwK1whH3hm0= +golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f h1:wMNYb4v58l5UBM7MYRLPG6ZhfOqbKu7X5eyFl8ZhKvA= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6 h1:bjcUS9ztw9kFmmIxJInhon/0Is3p+EHBKNgquIzo1OI= golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20190423024810-112230192c58 h1:8gQV6CLnAEikrhgkHFbMAEhagSSnXWGV915qUMm9mrU= +golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sys v0.0.0-20180816055513-1c9583448a9c/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180831094639-fa5fdf94c789/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -779,31 +841,39 @@ golang.org/x/sys v0.0.0-20181025063200-d989b31c8746 h1:zTiiIq2XH/ldZGPA59ILL7NbD golang.org/x/sys v0.0.0-20181025063200-d989b31c8746/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20181026064943-731415f00dce/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20181029174526-d69651ed3497/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20181106135930-3a76605856fd/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20181107165924-66b7b1311ac8/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20181122145206-62eef0e2fa9b/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20181205085412-a5c9d58dba9a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20181206074257-70b957f3b65e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20181218192612-074acd46bca6/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190102155601-82a175fd1598/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190116161447-11f53e031339/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190213121743-983097b1a8a3/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190321052220-f7bb7a8bee54/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190403152447-81d4e9dc473e h1:nFYrTHrdrAOpShe27kaFHjsqYSEQ0KWqdWLu3xuZJts= golang.org/x/sys v0.0.0-20190403152447-81d4e9dc473e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190616124812-15dcb6c0061f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190907184412-d223b2b6db03 h1:b3JiLYVaG9kHjTcOQIoUh978YMCO7oVTQQBLudU47zY= +golang.org/x/sys v0.0.0-20190907184412-d223b2b6db03/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191105231009-c1f44814a5cd h1:3x5uuvBgE6oaXJjCOvpCC1IpgJogqQ+PqGGU3ZxAgII= +golang.org/x/sys v0.0.0-20191105231009-c1f44814a5cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/text v0.3.0 h1:g61tztE5qeGQ89tm6NTjjM9VPIm088od1l6aSorWRWg= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2 h1:z99zHgr7hKfrUcX/KsoJk5FJfjTceCKIp96+biqP4To= golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2 h1:+DCIGbF/swA92ohVg0//6X2IVY3KZs6p9mix0ziNYJM= -golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/text v0.3.2 h1:tW2bmiBqwgJj/UpqtC8EpXEZVYOwU0yG4iWbprSVAcs= +golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4 h1:SvFZT6jyqRaOeXpc5h/JSfZenJ2O330aBsf7JfSUXmQ= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/tools v0.0.0-20180828015842-6cd1fcedba52/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20180221164845-07fd8470d635/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20181003024731-2f84ea8ef872/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20181006002542-f60d9635b16a/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= @@ -812,7 +882,6 @@ golang.org/x/tools v0.0.0-20181013182035-5e66757b835f/go.mod h1:n7NCudcB/nEzxVGm golang.org/x/tools v0.0.0-20181017214349-06f26fdaaa28/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20181024171208-a2dc47679d30/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20181026183834-f60e5f99f081/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20181030000716-a0a13e073c7b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20181105230042-78dc5bac0cac/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20181107215632-34b416bd17b3/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20181114190951-94339b83286c/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= @@ -824,51 +893,54 @@ golang.org/x/tools v0.0.0-20181205224935-3576414c54a4/go.mod h1:n7NCudcB/nEzxVGm golang.org/x/tools v0.0.0-20181206194817-bcd4e47d0288/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20181207183836-8bc39b988060/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20181212172921-837e80568c09/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20181219222714-6e267b5cc78e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190102213336-ca9055ed7d04/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190104182027-498d95493402/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190111214448-fc1d57b08d7b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190118193359-16909d206f00/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= +golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190328211700-ab21143f2384/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190329151228-23e29df326fe/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190404132500-923d25813098 h1:MtqjsZmyGRgMmLUgxnmMJ6RYdvd2ib8ipiayHhqSxs4= golang.org/x/tools v0.0.0-20190404132500-923d25813098/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -google.golang.org/api v0.0.0-20180910000450-7ca32eb868bf h1:rjxqQmxjyqerRKEj+tZW+MCm4LgpFXu18bsEoCMgDsk= -google.golang.org/api v0.0.0-20180910000450-7ca32eb868bf/go.mod h1:4mhQ8q/RsB7i+udVvVy5NUi08OU8ZlA0gRVgrF7VFY0= -google.golang.org/api v0.0.0-20181030000543-1d582fd0359e/go.mod h1:4mhQ8q/RsB7i+udVvVy5NUi08OU8ZlA0gRVgrF7VFY0= -google.golang.org/api v0.0.0-20181220000619-583d854617af/go.mod h1:4mhQ8q/RsB7i+udVvVy5NUi08OU8ZlA0gRVgrF7VFY0= -google.golang.org/api v0.1.0/go.mod h1:UGEZY7KEX120AnNLIHFMKIo4obdJhkp2tPbaPlQx13Y= -google.golang.org/api v0.2.0/go.mod h1:IfRCZScioGtypHNTlz3gFk67J8uePVW7uDTBzXuIkhU= -google.golang.org/api v0.3.0 h1:UIJY20OEo3+tK5MBlcdx37kmdH6EnRjGkW78mc6+EeA= -google.golang.org/api v0.3.0/go.mod h1:IuvZyQh8jgscv8qWfQ4ABd8m7hEudgBFM/EdhA3BnXw= +golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= +golang.org/x/tools v0.0.0-20190506145303-2d16b83fe98c/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= +golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= +golang.org/x/tools v0.0.0-20190614205625-5aca471b1d59/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= +golang.org/x/tools v0.0.0-20190617190820-da514acc4774/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= +golang.org/x/tools v0.0.0-20190628153133-6cdbf07be9d0/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= +golang.org/x/tools v0.0.0-20190711191110-9a621aea19f8/go.mod h1:jcCCGcm9btYwXyDqrUWc6MKQKKGJCWEQ3AfLSRIbEuI= +golang.org/x/tools v0.0.0-20191224055732-dd894d0a8a40 h1:UyP2XDSgSc8ldYCxAK735zQxeH3Gd81sK7Iy7AoaVxk= +golang.org/x/tools v0.0.0-20191224055732-dd894d0a8a40/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE= +google.golang.org/api v0.7.0/go.mod h1:WtwebWUNSVBH/HAw79HIFXZNqEvBhG+Ra+ax0hx3E3M= +google.golang.org/api v0.8.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= +google.golang.org/api v0.9.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= google.golang.org/appengine v1.2.0 h1:S0iUepdCWODXRvtE+gcRDd15L+k+k1AiHlMiMjefH24= google.golang.org/appengine v1.2.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= -google.golang.org/appengine v1.3.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/appengine v1.5.0 h1:KxkO13IPW4Lslp2bz+KHP2E3gtFlrIGNThxkZQ3g+4c= google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= +google.golang.org/appengine v1.6.1/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0= +google.golang.org/appengine v1.6.2 h1:j8RI1yW0SkI+paT6uGwMlrMI/6zwYA6/CFil8rxOzGI= +google.golang.org/appengine v1.6.2/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0= google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= -google.golang.org/genproto v0.0.0-20180831171423-11092d34479b h1:lohp5blsw53GBXtLyLNaTXPXS9pJ1tiTw61ZHUoE9Qw= -google.golang.org/genproto v0.0.0-20180831171423-11092d34479b/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= -google.golang.org/genproto v0.0.0-20181029155118-b69ba1387ce2/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= -google.golang.org/genproto v0.0.0-20181202183823-bd91e49a0898/go.mod h1:7Ep/1NZk928CDR8SjdVbjWNpdIf6nzjE3BTgJDr2Atg= -google.golang.org/genproto v0.0.0-20181219182458-5a97ab628bfb/go.mod h1:7Ep/1NZk928CDR8SjdVbjWNpdIf6nzjE3BTgJDr2Atg= -google.golang.org/genproto v0.0.0-20190201180003-4b09977fb922/go.mod h1:L3J43x8/uS+qIUoksaLKe6OS3nUKxOKuIFz1sl2/jx4= google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190404172233-64821d5d2107 h1:xtNn7qFlagY2mQNFHMSRPjT2RkOV4OXM7P5TVy9xATo= -google.golang.org/genproto v0.0.0-20190404172233-64821d5d2107/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/grpc v1.14.0 h1:ArxJuB1NWfPY6r9Gp9gqwplT0Ge7nqv9msgu03lHLmo= -google.golang.org/grpc v1.14.0/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= -google.golang.org/grpc v1.16.0 h1:dz5IJGuC2BB7qXR5AyHNwAUBhZscK2xVez7mznh72sY= -google.golang.org/grpc v1.16.0/go.mod h1:0JHn/cJsOMiMfNA9+DeHDlAU7KAAB5GDlYFpa9MZMio= -google.golang.org/grpc v1.17.0/go.mod h1:6QZJwpn2B+Zp71q/5VxRsJ6NXXVCE5NRUHRo+f3cWCs= -google.golang.org/grpc v1.18.0/go.mod h1:6QZJwpn2B+Zp71q/5VxRsJ6NXXVCE5NRUHRo+f3cWCs= +google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= +google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= +google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= -google.golang.org/grpc v1.19.1 h1:TrBcJ1yqAl1G++wO39nD/qtgpsW9/1+QGrluyMGEYgM= -google.golang.org/grpc v1.19.1/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= +google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= +google.golang.org/grpc v1.21.0 h1:G+97AoqBnmZIT91cLG/EkCoK9NSelj64P8bOHHNmGn0= +google.golang.org/grpc v1.21.0/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= +google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= gopkg.in/airbrake/gobrake.v2 v2.0.9/go.mod h1:/h5ZAUhDkGaJfjzjKLSjv6zCL6O0LLBxU4K+aSYdM/U= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/alexcesaro/quotedprintable.v3 v3.0.0-20150716171945-2caba252f4dc/go.mod h1:m7x9LTH6d71AHyAX77c9yqWCCa3UKHcVEj9y7hAtKDk= @@ -882,21 +954,24 @@ gopkg.in/gemnasium/logrus-airbrake-hook.v2 v2.1.2/go.mod h1:Xk6kEKp8OKb+X14hQBKW gopkg.in/gomail.v2 v2.0.0-20160411212932-81ebce5c23df/go.mod h1:LRQQ+SO6ZHR7tOkpBDuZnXENFzX8qRjMDMyPD6BRkCw= gopkg.in/gorp.v1 v1.7.2 h1:j3DWlAyGVv8whO7AcIWznQ2Yj7yJkn34B8s63GViAAw= gopkg.in/gorp.v1 v1.7.2/go.mod h1:Wo3h+DBQZIxATwftsglhdD/62zRFPhGhTiu5jUJmCaw= -gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw= +gopkg.in/ini.v1 v1.51.0 h1:AQvPpx3LzTDM0AjnIRlVFwFFGC+npRopjZxLJj6gdno= +gopkg.in/ini.v1 v1.51.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= gopkg.in/mail.v2 v2.0.0-20180731213649-a0242b2233b4/go.mod h1:htwXN1Qh09vZJ1NVKxQqHPBaCBbzKhp5GzuJEA4VJWw= +gopkg.in/resty.v1 v1.12.0/go.mod h1:mDo4pnntr5jdWRML875a/NmxYqAlA73dVijT2AXvQQo= gopkg.in/square/go-jose.v2 v2.1.9/go.mod h1:M9dMgbHiYLoDGQrXy7OpJDJWiKiU//h+vD76mk0e1AI= gopkg.in/square/go-jose.v2 v2.2.2/go.mod h1:M9dMgbHiYLoDGQrXy7OpJDJWiKiU//h+vD76mk0e1AI= +gopkg.in/square/go-jose.v2 v2.3.1/go.mod h1:M9dMgbHiYLoDGQrXy7OpJDJWiKiU//h+vD76mk0e1AI= gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw= +gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7/go.mod h1:JAlM8MvJe8wmxCU4Bli9HhUf9+ttbYbLASfIpnQbh74= gopkg.in/yaml.v2 v2.2.1 h1:mUhvW9EsL+naU5Q3cakzfE91YhliOondGd6ZrsDBHQE= gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.2 h1:ZCJp+EgiOT7lHqUV2J862kp8Qj64Jo6az82+3Td9dZw= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.2.4 h1:/eiJrUcujPVeJ3xlSWaiNi3uSVmDGBK1pDHUHAnao1I= +gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gotest.tools v2.2.0+incompatible h1:VsBPFP1AI068pPrMxtb/S8Zkgf9xEmTLJjfM+P5UIEo= gotest.tools v2.2.0+incompatible/go.mod h1:DsYFclhRJ6vuDpmuTbkuFWG+y2sxOXAzmJt81HFBacw= -grpc.go4.org v0.0.0-20170609214715-11d0a25b4919/go.mod h1:77eQGdRu53HpSqPFJFmuJdjuHRquDANNeA4x7B8WQ9o= -honnef.co/go/tools v0.0.0-20180728063816-88497007e858/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.0-20180920025451-e3ad64cb4ed3/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -sourcegraph.com/sourcegraph/go-diff v0.5.0/go.mod h1:kuch7UrkMzY0X+p9CRK03kfuPQ2zzQcaEFbx8wA8rck= -sourcegraph.com/sqs/pbtypes v0.0.0-20180604144634-d3ebe8f20ae4/go.mod h1:ketZ/q3QxT9HOBeFhu6RdvsftgpsbFHBF5Cas6cDKZ0= +honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= diff --git a/sdk/go/keto/client/engines/add_ory_access_control_policy_role_members_parameters.go b/internal/httpclient/client/engines/add_ory_access_control_policy_role_members_parameters.go similarity index 99% rename from sdk/go/keto/client/engines/add_ory_access_control_policy_role_members_parameters.go rename to internal/httpclient/client/engines/add_ory_access_control_policy_role_members_parameters.go index 32a055e69..2c3d00c37 100644 --- a/sdk/go/keto/client/engines/add_ory_access_control_policy_role_members_parameters.go +++ b/internal/httpclient/client/engines/add_ory_access_control_policy_role_members_parameters.go @@ -16,7 +16,7 @@ import ( strfmt "github.com/go-openapi/strfmt" - models "github.com/ory/keto/sdk/go/keto/models" + models "github.com/ory/keto/internal/httpclient/models" ) // NewAddOryAccessControlPolicyRoleMembersParams creates a new AddOryAccessControlPolicyRoleMembersParams object diff --git a/sdk/go/keto/client/engines/add_ory_access_control_policy_role_members_responses.go b/internal/httpclient/client/engines/add_ory_access_control_policy_role_members_responses.go similarity index 98% rename from sdk/go/keto/client/engines/add_ory_access_control_policy_role_members_responses.go rename to internal/httpclient/client/engines/add_ory_access_control_policy_role_members_responses.go index e02910b55..dd1c3ded4 100644 --- a/sdk/go/keto/client/engines/add_ory_access_control_policy_role_members_responses.go +++ b/internal/httpclient/client/engines/add_ory_access_control_policy_role_members_responses.go @@ -14,7 +14,7 @@ import ( strfmt "github.com/go-openapi/strfmt" - models "github.com/ory/keto/sdk/go/keto/models" + models "github.com/ory/keto/internal/httpclient/models" ) // AddOryAccessControlPolicyRoleMembersReader is a Reader for the AddOryAccessControlPolicyRoleMembers structure. diff --git a/sdk/go/keto/client/engines/delete_ory_access_control_policy_parameters.go b/internal/httpclient/client/engines/delete_ory_access_control_policy_parameters.go similarity index 100% rename from sdk/go/keto/client/engines/delete_ory_access_control_policy_parameters.go rename to internal/httpclient/client/engines/delete_ory_access_control_policy_parameters.go diff --git a/sdk/go/keto/client/engines/delete_ory_access_control_policy_responses.go b/internal/httpclient/client/engines/delete_ory_access_control_policy_responses.go similarity index 100% rename from sdk/go/keto/client/engines/delete_ory_access_control_policy_responses.go rename to internal/httpclient/client/engines/delete_ory_access_control_policy_responses.go diff --git a/sdk/go/keto/client/engines/delete_ory_access_control_policy_role_parameters.go b/internal/httpclient/client/engines/delete_ory_access_control_policy_role_parameters.go similarity index 100% rename from sdk/go/keto/client/engines/delete_ory_access_control_policy_role_parameters.go rename to internal/httpclient/client/engines/delete_ory_access_control_policy_role_parameters.go diff --git a/sdk/go/keto/client/engines/delete_ory_access_control_policy_role_responses.go b/internal/httpclient/client/engines/delete_ory_access_control_policy_role_responses.go similarity index 100% rename from sdk/go/keto/client/engines/delete_ory_access_control_policy_role_responses.go rename to internal/httpclient/client/engines/delete_ory_access_control_policy_role_responses.go diff --git a/sdk/go/keto/client/engines/do_ory_access_control_policies_allow_parameters.go b/internal/httpclient/client/engines/do_ory_access_control_policies_allow_parameters.go similarity index 98% rename from sdk/go/keto/client/engines/do_ory_access_control_policies_allow_parameters.go rename to internal/httpclient/client/engines/do_ory_access_control_policies_allow_parameters.go index 06d63b9ae..16e7a0240 100644 --- a/sdk/go/keto/client/engines/do_ory_access_control_policies_allow_parameters.go +++ b/internal/httpclient/client/engines/do_ory_access_control_policies_allow_parameters.go @@ -16,7 +16,7 @@ import ( strfmt "github.com/go-openapi/strfmt" - models "github.com/ory/keto/sdk/go/keto/models" + models "github.com/ory/keto/internal/httpclient/models" ) // NewDoOryAccessControlPoliciesAllowParams creates a new DoOryAccessControlPoliciesAllowParams object diff --git a/sdk/go/keto/client/engines/do_ory_access_control_policies_allow_responses.go b/internal/httpclient/client/engines/do_ory_access_control_policies_allow_responses.go similarity index 99% rename from sdk/go/keto/client/engines/do_ory_access_control_policies_allow_responses.go rename to internal/httpclient/client/engines/do_ory_access_control_policies_allow_responses.go index f640b416f..344e4d56c 100644 --- a/sdk/go/keto/client/engines/do_ory_access_control_policies_allow_responses.go +++ b/internal/httpclient/client/engines/do_ory_access_control_policies_allow_responses.go @@ -14,7 +14,7 @@ import ( strfmt "github.com/go-openapi/strfmt" - models "github.com/ory/keto/sdk/go/keto/models" + models "github.com/ory/keto/internal/httpclient/models" ) // DoOryAccessControlPoliciesAllowReader is a Reader for the DoOryAccessControlPoliciesAllow structure. diff --git a/sdk/go/keto/client/engines/engines_client.go b/internal/httpclient/client/engines/engines_client.go similarity index 100% rename from sdk/go/keto/client/engines/engines_client.go rename to internal/httpclient/client/engines/engines_client.go diff --git a/sdk/go/keto/client/engines/get_ory_access_control_policy_parameters.go b/internal/httpclient/client/engines/get_ory_access_control_policy_parameters.go similarity index 100% rename from sdk/go/keto/client/engines/get_ory_access_control_policy_parameters.go rename to internal/httpclient/client/engines/get_ory_access_control_policy_parameters.go diff --git a/sdk/go/keto/client/engines/get_ory_access_control_policy_responses.go b/internal/httpclient/client/engines/get_ory_access_control_policy_responses.go similarity index 99% rename from sdk/go/keto/client/engines/get_ory_access_control_policy_responses.go rename to internal/httpclient/client/engines/get_ory_access_control_policy_responses.go index 36a4fb767..8abe5f4fd 100644 --- a/sdk/go/keto/client/engines/get_ory_access_control_policy_responses.go +++ b/internal/httpclient/client/engines/get_ory_access_control_policy_responses.go @@ -14,7 +14,7 @@ import ( strfmt "github.com/go-openapi/strfmt" - models "github.com/ory/keto/sdk/go/keto/models" + models "github.com/ory/keto/internal/httpclient/models" ) // GetOryAccessControlPolicyReader is a Reader for the GetOryAccessControlPolicy structure. diff --git a/sdk/go/keto/client/engines/get_ory_access_control_policy_role_parameters.go b/internal/httpclient/client/engines/get_ory_access_control_policy_role_parameters.go similarity index 100% rename from sdk/go/keto/client/engines/get_ory_access_control_policy_role_parameters.go rename to internal/httpclient/client/engines/get_ory_access_control_policy_role_parameters.go diff --git a/sdk/go/keto/client/engines/get_ory_access_control_policy_role_responses.go b/internal/httpclient/client/engines/get_ory_access_control_policy_role_responses.go similarity index 99% rename from sdk/go/keto/client/engines/get_ory_access_control_policy_role_responses.go rename to internal/httpclient/client/engines/get_ory_access_control_policy_role_responses.go index 049628745..f370a3464 100644 --- a/sdk/go/keto/client/engines/get_ory_access_control_policy_role_responses.go +++ b/internal/httpclient/client/engines/get_ory_access_control_policy_role_responses.go @@ -14,7 +14,7 @@ import ( strfmt "github.com/go-openapi/strfmt" - models "github.com/ory/keto/sdk/go/keto/models" + models "github.com/ory/keto/internal/httpclient/models" ) // GetOryAccessControlPolicyRoleReader is a Reader for the GetOryAccessControlPolicyRole structure. diff --git a/sdk/go/keto/client/engines/list_ory_access_control_policies_parameters.go b/internal/httpclient/client/engines/list_ory_access_control_policies_parameters.go similarity index 100% rename from sdk/go/keto/client/engines/list_ory_access_control_policies_parameters.go rename to internal/httpclient/client/engines/list_ory_access_control_policies_parameters.go diff --git a/sdk/go/keto/client/engines/list_ory_access_control_policies_responses.go b/internal/httpclient/client/engines/list_ory_access_control_policies_responses.go similarity index 98% rename from sdk/go/keto/client/engines/list_ory_access_control_policies_responses.go rename to internal/httpclient/client/engines/list_ory_access_control_policies_responses.go index 2369e7504..304f14629 100644 --- a/sdk/go/keto/client/engines/list_ory_access_control_policies_responses.go +++ b/internal/httpclient/client/engines/list_ory_access_control_policies_responses.go @@ -14,7 +14,7 @@ import ( strfmt "github.com/go-openapi/strfmt" - models "github.com/ory/keto/sdk/go/keto/models" + models "github.com/ory/keto/internal/httpclient/models" ) // ListOryAccessControlPoliciesReader is a Reader for the ListOryAccessControlPolicies structure. diff --git a/sdk/go/keto/client/engines/list_ory_access_control_policy_roles_parameters.go b/internal/httpclient/client/engines/list_ory_access_control_policy_roles_parameters.go similarity index 100% rename from sdk/go/keto/client/engines/list_ory_access_control_policy_roles_parameters.go rename to internal/httpclient/client/engines/list_ory_access_control_policy_roles_parameters.go diff --git a/sdk/go/keto/client/engines/list_ory_access_control_policy_roles_responses.go b/internal/httpclient/client/engines/list_ory_access_control_policy_roles_responses.go similarity index 98% rename from sdk/go/keto/client/engines/list_ory_access_control_policy_roles_responses.go rename to internal/httpclient/client/engines/list_ory_access_control_policy_roles_responses.go index 97b4bd59e..93e28fd4f 100644 --- a/sdk/go/keto/client/engines/list_ory_access_control_policy_roles_responses.go +++ b/internal/httpclient/client/engines/list_ory_access_control_policy_roles_responses.go @@ -14,7 +14,7 @@ import ( strfmt "github.com/go-openapi/strfmt" - models "github.com/ory/keto/sdk/go/keto/models" + models "github.com/ory/keto/internal/httpclient/models" ) // ListOryAccessControlPolicyRolesReader is a Reader for the ListOryAccessControlPolicyRoles structure. diff --git a/sdk/go/keto/client/engines/remove_ory_access_control_policy_role_members_parameters.go b/internal/httpclient/client/engines/remove_ory_access_control_policy_role_members_parameters.go similarity index 100% rename from sdk/go/keto/client/engines/remove_ory_access_control_policy_role_members_parameters.go rename to internal/httpclient/client/engines/remove_ory_access_control_policy_role_members_parameters.go diff --git a/sdk/go/keto/client/engines/remove_ory_access_control_policy_role_members_responses.go b/internal/httpclient/client/engines/remove_ory_access_control_policy_role_members_responses.go similarity index 100% rename from sdk/go/keto/client/engines/remove_ory_access_control_policy_role_members_responses.go rename to internal/httpclient/client/engines/remove_ory_access_control_policy_role_members_responses.go diff --git a/sdk/go/keto/client/engines/upsert_ory_access_control_policy_parameters.go b/internal/httpclient/client/engines/upsert_ory_access_control_policy_parameters.go similarity index 98% rename from sdk/go/keto/client/engines/upsert_ory_access_control_policy_parameters.go rename to internal/httpclient/client/engines/upsert_ory_access_control_policy_parameters.go index 5f50436b5..fbc6b7c9c 100644 --- a/sdk/go/keto/client/engines/upsert_ory_access_control_policy_parameters.go +++ b/internal/httpclient/client/engines/upsert_ory_access_control_policy_parameters.go @@ -16,7 +16,7 @@ import ( strfmt "github.com/go-openapi/strfmt" - models "github.com/ory/keto/sdk/go/keto/models" + models "github.com/ory/keto/internal/httpclient/models" ) // NewUpsertOryAccessControlPolicyParams creates a new UpsertOryAccessControlPolicyParams object diff --git a/sdk/go/keto/client/engines/upsert_ory_access_control_policy_responses.go b/internal/httpclient/client/engines/upsert_ory_access_control_policy_responses.go similarity index 98% rename from sdk/go/keto/client/engines/upsert_ory_access_control_policy_responses.go rename to internal/httpclient/client/engines/upsert_ory_access_control_policy_responses.go index 726c21bfc..3c32577e1 100644 --- a/sdk/go/keto/client/engines/upsert_ory_access_control_policy_responses.go +++ b/internal/httpclient/client/engines/upsert_ory_access_control_policy_responses.go @@ -14,7 +14,7 @@ import ( strfmt "github.com/go-openapi/strfmt" - models "github.com/ory/keto/sdk/go/keto/models" + models "github.com/ory/keto/internal/httpclient/models" ) // UpsertOryAccessControlPolicyReader is a Reader for the UpsertOryAccessControlPolicy structure. diff --git a/sdk/go/keto/client/engines/upsert_ory_access_control_policy_role_parameters.go b/internal/httpclient/client/engines/upsert_ory_access_control_policy_role_parameters.go similarity index 98% rename from sdk/go/keto/client/engines/upsert_ory_access_control_policy_role_parameters.go rename to internal/httpclient/client/engines/upsert_ory_access_control_policy_role_parameters.go index ed0172077..3b64892b8 100644 --- a/sdk/go/keto/client/engines/upsert_ory_access_control_policy_role_parameters.go +++ b/internal/httpclient/client/engines/upsert_ory_access_control_policy_role_parameters.go @@ -16,7 +16,7 @@ import ( strfmt "github.com/go-openapi/strfmt" - models "github.com/ory/keto/sdk/go/keto/models" + models "github.com/ory/keto/internal/httpclient/models" ) // NewUpsertOryAccessControlPolicyRoleParams creates a new UpsertOryAccessControlPolicyRoleParams object diff --git a/sdk/go/keto/client/engines/upsert_ory_access_control_policy_role_responses.go b/internal/httpclient/client/engines/upsert_ory_access_control_policy_role_responses.go similarity index 98% rename from sdk/go/keto/client/engines/upsert_ory_access_control_policy_role_responses.go rename to internal/httpclient/client/engines/upsert_ory_access_control_policy_role_responses.go index 7632a07a1..e96e7bc8e 100644 --- a/sdk/go/keto/client/engines/upsert_ory_access_control_policy_role_responses.go +++ b/internal/httpclient/client/engines/upsert_ory_access_control_policy_role_responses.go @@ -14,7 +14,7 @@ import ( strfmt "github.com/go-openapi/strfmt" - models "github.com/ory/keto/sdk/go/keto/models" + models "github.com/ory/keto/internal/httpclient/models" ) // UpsertOryAccessControlPolicyRoleReader is a Reader for the UpsertOryAccessControlPolicyRole structure. diff --git a/sdk/go/keto/client/health/health_client.go b/internal/httpclient/client/health/health_client.go similarity index 100% rename from sdk/go/keto/client/health/health_client.go rename to internal/httpclient/client/health/health_client.go diff --git a/sdk/go/keto/client/health/is_instance_alive_parameters.go b/internal/httpclient/client/health/is_instance_alive_parameters.go similarity index 100% rename from sdk/go/keto/client/health/is_instance_alive_parameters.go rename to internal/httpclient/client/health/is_instance_alive_parameters.go diff --git a/sdk/go/keto/client/health/is_instance_alive_responses.go b/internal/httpclient/client/health/is_instance_alive_responses.go similarity index 95% rename from sdk/go/keto/client/health/is_instance_alive_responses.go rename to internal/httpclient/client/health/is_instance_alive_responses.go index 8c579a09b..88b82a16d 100644 --- a/sdk/go/keto/client/health/is_instance_alive_responses.go +++ b/internal/httpclient/client/health/is_instance_alive_responses.go @@ -14,7 +14,7 @@ import ( strfmt "github.com/go-openapi/strfmt" - models "github.com/ory/keto/sdk/go/keto/models" + models "github.com/ory/keto/internal/httpclient/models" ) // IsInstanceAliveReader is a Reader for the IsInstanceAlive structure. @@ -53,20 +53,20 @@ func NewIsInstanceAliveOK() *IsInstanceAliveOK { healthStatus */ type IsInstanceAliveOK struct { - Payload *models.SwaggerHealthStatus + Payload *models.HealthStatus } func (o *IsInstanceAliveOK) Error() string { return fmt.Sprintf("[GET /health/alive][%d] isInstanceAliveOK %+v", 200, o.Payload) } -func (o *IsInstanceAliveOK) GetPayload() *models.SwaggerHealthStatus { +func (o *IsInstanceAliveOK) GetPayload() *models.HealthStatus { return o.Payload } func (o *IsInstanceAliveOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { - o.Payload = new(models.SwaggerHealthStatus) + o.Payload = new(models.HealthStatus) // response payload if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { diff --git a/sdk/go/keto/client/health/is_instance_ready_parameters.go b/internal/httpclient/client/health/is_instance_ready_parameters.go similarity index 100% rename from sdk/go/keto/client/health/is_instance_ready_parameters.go rename to internal/httpclient/client/health/is_instance_ready_parameters.go diff --git a/sdk/go/keto/client/health/is_instance_ready_responses.go b/internal/httpclient/client/health/is_instance_ready_responses.go similarity index 89% rename from sdk/go/keto/client/health/is_instance_ready_responses.go rename to internal/httpclient/client/health/is_instance_ready_responses.go index 387a0c755..c307577fe 100644 --- a/sdk/go/keto/client/health/is_instance_ready_responses.go +++ b/internal/httpclient/client/health/is_instance_ready_responses.go @@ -13,7 +13,7 @@ import ( strfmt "github.com/go-openapi/strfmt" - models "github.com/ory/keto/sdk/go/keto/models" + models "github.com/ory/keto/internal/httpclient/models" ) // IsInstanceReadyReader is a Reader for the IsInstanceReady structure. @@ -52,20 +52,20 @@ func NewIsInstanceReadyOK() *IsInstanceReadyOK { healthStatus */ type IsInstanceReadyOK struct { - Payload *models.SwaggerHealthStatus + Payload *models.HealthStatus } func (o *IsInstanceReadyOK) Error() string { return fmt.Sprintf("[GET /health/ready][%d] isInstanceReadyOK %+v", 200, o.Payload) } -func (o *IsInstanceReadyOK) GetPayload() *models.SwaggerHealthStatus { +func (o *IsInstanceReadyOK) GetPayload() *models.HealthStatus { return o.Payload } func (o *IsInstanceReadyOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { - o.Payload = new(models.SwaggerHealthStatus) + o.Payload = new(models.HealthStatus) // response payload if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { @@ -85,20 +85,20 @@ func NewIsInstanceReadyServiceUnavailable() *IsInstanceReadyServiceUnavailable { healthNotReadyStatus */ type IsInstanceReadyServiceUnavailable struct { - Payload *models.SwaggerNotReadyStatus + Payload *models.HealthNotReadyStatus } func (o *IsInstanceReadyServiceUnavailable) Error() string { return fmt.Sprintf("[GET /health/ready][%d] isInstanceReadyServiceUnavailable %+v", 503, o.Payload) } -func (o *IsInstanceReadyServiceUnavailable) GetPayload() *models.SwaggerNotReadyStatus { +func (o *IsInstanceReadyServiceUnavailable) GetPayload() *models.HealthNotReadyStatus { return o.Payload } func (o *IsInstanceReadyServiceUnavailable) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { - o.Payload = new(models.SwaggerNotReadyStatus) + o.Payload = new(models.HealthNotReadyStatus) // response payload if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { diff --git a/sdk/go/keto/client/ory_keto_client.go b/internal/httpclient/client/ory_keto_client.go similarity index 95% rename from sdk/go/keto/client/ory_keto_client.go rename to internal/httpclient/client/ory_keto_client.go index 070e5e6f3..7ae92ce77 100644 --- a/sdk/go/keto/client/ory_keto_client.go +++ b/internal/httpclient/client/ory_keto_client.go @@ -11,9 +11,9 @@ import ( strfmt "github.com/go-openapi/strfmt" - "github.com/ory/keto/sdk/go/keto/client/engines" - "github.com/ory/keto/sdk/go/keto/client/health" - "github.com/ory/keto/sdk/go/keto/client/version" + "github.com/ory/keto/internal/httpclient/client/engines" + "github.com/ory/keto/internal/httpclient/client/health" + "github.com/ory/keto/internal/httpclient/client/version" ) // Default ory keto HTTP client. diff --git a/sdk/go/keto/client/version/get_version_parameters.go b/internal/httpclient/client/version/get_version_parameters.go similarity index 100% rename from sdk/go/keto/client/version/get_version_parameters.go rename to internal/httpclient/client/version/get_version_parameters.go diff --git a/sdk/go/keto/client/version/get_version_responses.go b/internal/httpclient/client/version/get_version_responses.go similarity index 89% rename from sdk/go/keto/client/version/get_version_responses.go rename to internal/httpclient/client/version/get_version_responses.go index 65c891ec2..6333a5b65 100644 --- a/sdk/go/keto/client/version/get_version_responses.go +++ b/internal/httpclient/client/version/get_version_responses.go @@ -13,7 +13,7 @@ import ( strfmt "github.com/go-openapi/strfmt" - models "github.com/ory/keto/sdk/go/keto/models" + models "github.com/ory/keto/internal/httpclient/models" ) // GetVersionReader is a Reader for the GetVersion structure. @@ -46,20 +46,20 @@ func NewGetVersionOK() *GetVersionOK { version */ type GetVersionOK struct { - Payload *models.SwaggerVersion + Payload *models.Version } func (o *GetVersionOK) Error() string { return fmt.Sprintf("[GET /version][%d] getVersionOK %+v", 200, o.Payload) } -func (o *GetVersionOK) GetPayload() *models.SwaggerVersion { +func (o *GetVersionOK) GetPayload() *models.Version { return o.Payload } func (o *GetVersionOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { - o.Payload = new(models.SwaggerVersion) + o.Payload = new(models.Version) // response payload if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF { diff --git a/sdk/go/keto/client/version/version_client.go b/internal/httpclient/client/version/version_client.go similarity index 100% rename from sdk/go/keto/client/version/version_client.go rename to internal/httpclient/client/version/version_client.go diff --git a/sdk/go/keto/models/add_ory_access_control_policy_role_members_body.go b/internal/httpclient/models/add_ory_access_control_policy_role_members_body.go similarity index 95% rename from sdk/go/keto/models/add_ory_access_control_policy_role_members_body.go rename to internal/httpclient/models/add_ory_access_control_policy_role_members_body.go index bfe96053b..44ee391cf 100644 --- a/sdk/go/keto/models/add_ory_access_control_policy_role_members_body.go +++ b/internal/httpclient/models/add_ory_access_control_policy_role_members_body.go @@ -12,7 +12,7 @@ import ( ) // AddOryAccessControlPolicyRoleMembersBody add ory access control policy role members body -// swagger:model AddOryAccessControlPolicyRoleMembersBody +// swagger:model addOryAccessControlPolicyRoleMembersBody type AddOryAccessControlPolicyRoleMembersBody struct { // The members to be added. diff --git a/sdk/go/keto/models/authorization_result.go b/internal/httpclient/models/authorization_result.go similarity index 97% rename from sdk/go/keto/models/authorization_result.go rename to internal/httpclient/models/authorization_result.go index a73698e50..02286a976 100644 --- a/sdk/go/keto/models/authorization_result.go +++ b/internal/httpclient/models/authorization_result.go @@ -14,7 +14,7 @@ import ( ) // AuthorizationResult AuthorizationResult is the result of an access control decision. It contains the decision outcome. -// swagger:model AuthorizationResult +// swagger:model authorizationResult type AuthorizationResult struct { // Allowed is true if the request should be allowed and false otherwise. diff --git a/sdk/go/keto/models/swagger_not_ready_status.go b/internal/httpclient/models/health_not_ready_status.go similarity index 60% rename from sdk/go/keto/models/swagger_not_ready_status.go rename to internal/httpclient/models/health_not_ready_status.go index adf8c70ba..dc878b4d7 100644 --- a/sdk/go/keto/models/swagger_not_ready_status.go +++ b/internal/httpclient/models/health_not_ready_status.go @@ -11,21 +11,21 @@ import ( "github.com/go-openapi/swag" ) -// SwaggerNotReadyStatus swagger not ready status -// swagger:model swaggerNotReadyStatus -type SwaggerNotReadyStatus struct { +// HealthNotReadyStatus HealthNotReadyStatus health not ready status +// swagger:model healthNotReadyStatus +type HealthNotReadyStatus struct { // Errors contains a list of errors that caused the not ready status. Errors map[string]string `json:"errors,omitempty"` } -// Validate validates this swagger not ready status -func (m *SwaggerNotReadyStatus) Validate(formats strfmt.Registry) error { +// Validate validates this health not ready status +func (m *HealthNotReadyStatus) Validate(formats strfmt.Registry) error { return nil } // MarshalBinary interface implementation -func (m *SwaggerNotReadyStatus) MarshalBinary() ([]byte, error) { +func (m *HealthNotReadyStatus) MarshalBinary() ([]byte, error) { if m == nil { return nil, nil } @@ -33,8 +33,8 @@ func (m *SwaggerNotReadyStatus) MarshalBinary() ([]byte, error) { } // UnmarshalBinary interface implementation -func (m *SwaggerNotReadyStatus) UnmarshalBinary(b []byte) error { - var res SwaggerNotReadyStatus +func (m *HealthNotReadyStatus) UnmarshalBinary(b []byte) error { + var res HealthNotReadyStatus if err := swag.ReadJSON(b, &res); err != nil { return err } diff --git a/sdk/go/keto/models/swagger_health_status.go b/internal/httpclient/models/health_status.go similarity index 60% rename from sdk/go/keto/models/swagger_health_status.go rename to internal/httpclient/models/health_status.go index f85f0cdde..571dfd3a3 100644 --- a/sdk/go/keto/models/swagger_health_status.go +++ b/internal/httpclient/models/health_status.go @@ -11,21 +11,21 @@ import ( "github.com/go-openapi/swag" ) -// SwaggerHealthStatus swagger health status -// swagger:model swaggerHealthStatus -type SwaggerHealthStatus struct { +// HealthStatus HealthStatus health status +// swagger:model healthStatus +type HealthStatus struct { // Status always contains "ok". Status string `json:"status,omitempty"` } -// Validate validates this swagger health status -func (m *SwaggerHealthStatus) Validate(formats strfmt.Registry) error { +// Validate validates this health status +func (m *HealthStatus) Validate(formats strfmt.Registry) error { return nil } // MarshalBinary interface implementation -func (m *SwaggerHealthStatus) MarshalBinary() ([]byte, error) { +func (m *HealthStatus) MarshalBinary() ([]byte, error) { if m == nil { return nil, nil } @@ -33,8 +33,8 @@ func (m *SwaggerHealthStatus) MarshalBinary() ([]byte, error) { } // UnmarshalBinary interface implementation -func (m *SwaggerHealthStatus) UnmarshalBinary(b []byte) error { - var res SwaggerHealthStatus +func (m *HealthStatus) UnmarshalBinary(b []byte) error { + var res HealthStatus if err := swag.ReadJSON(b, &res); err != nil { return err } diff --git a/sdk/go/keto/models/ory_access_control_policy.go b/internal/httpclient/models/ory_access_control_policy.go similarity index 93% rename from sdk/go/keto/models/ory_access_control_policy.go rename to internal/httpclient/models/ory_access_control_policy.go index 33e71b68f..ac7558170 100644 --- a/sdk/go/keto/models/ory_access_control_policy.go +++ b/internal/httpclient/models/ory_access_control_policy.go @@ -11,7 +11,7 @@ import ( "github.com/go-openapi/swag" ) -// OryAccessControlPolicy oryAccessControlPolicy specifies an ORY Access Policy document. +// OryAccessControlPolicy OryAccessControlPolicy OryAccessControlPolicy oryAccessControlPolicy specifies an ORY Access Policy document. // swagger:model oryAccessControlPolicy type OryAccessControlPolicy struct { diff --git a/sdk/go/keto/models/ory_access_control_policy_allowed_input.go b/internal/httpclient/models/ory_access_control_policy_allowed_input.go similarity index 96% rename from sdk/go/keto/models/ory_access_control_policy_allowed_input.go rename to internal/httpclient/models/ory_access_control_policy_allowed_input.go index 305638c3e..40ec89514 100644 --- a/sdk/go/keto/models/ory_access_control_policy_allowed_input.go +++ b/internal/httpclient/models/ory_access_control_policy_allowed_input.go @@ -12,7 +12,7 @@ import ( ) // OryAccessControlPolicyAllowedInput Input for checking if a request is allowed or not. -// swagger:model OryAccessControlPolicyAllowedInput +// swagger:model oryAccessControlPolicyAllowedInput type OryAccessControlPolicyAllowedInput struct { // Action is the action that is requested on the resource. diff --git a/sdk/go/keto/models/ory_access_control_policy_role.go b/internal/httpclient/models/ory_access_control_policy_role.go similarity index 78% rename from sdk/go/keto/models/ory_access_control_policy_role.go rename to internal/httpclient/models/ory_access_control_policy_role.go index a4dc5a484..feef6517e 100644 --- a/sdk/go/keto/models/ory_access_control_policy_role.go +++ b/internal/httpclient/models/ory_access_control_policy_role.go @@ -11,9 +11,9 @@ import ( "github.com/go-openapi/swag" ) -// OryAccessControlPolicyRole OryAccessControlPolicyRole OryAccessControlPolicyRole OryAccessControlPolicyRole oryAccessControlPolicyRole represents a group of users that share the same role. A role could be an administrator, a moderator, a regular +// OryAccessControlPolicyRole oryAccessControlPolicyRole represents a group of users that share the same role. A role could be an administrator, a moderator, a regular // user or some other sort of role. -// swagger:model OryAccessControlPolicyRole +// swagger:model oryAccessControlPolicyRole type OryAccessControlPolicyRole struct { // ID is the role's unique id. diff --git a/sdk/go/keto/models/swagger_version.go b/internal/httpclient/models/version.go similarity index 64% rename from sdk/go/keto/models/swagger_version.go rename to internal/httpclient/models/version.go index 6ad49c1c0..45e0beeaf 100644 --- a/sdk/go/keto/models/swagger_version.go +++ b/internal/httpclient/models/version.go @@ -11,21 +11,21 @@ import ( "github.com/go-openapi/swag" ) -// SwaggerVersion swagger version -// swagger:model swaggerVersion -type SwaggerVersion struct { +// Version Version version +// swagger:model version +type Version struct { // Version is the service's version. Version string `json:"version,omitempty"` } -// Validate validates this swagger version -func (m *SwaggerVersion) Validate(formats strfmt.Registry) error { +// Validate validates this version +func (m *Version) Validate(formats strfmt.Registry) error { return nil } // MarshalBinary interface implementation -func (m *SwaggerVersion) MarshalBinary() ([]byte, error) { +func (m *Version) MarshalBinary() ([]byte, error) { if m == nil { return nil, nil } @@ -33,8 +33,8 @@ func (m *SwaggerVersion) MarshalBinary() ([]byte, error) { } // UnmarshalBinary interface implementation -func (m *SwaggerVersion) UnmarshalBinary(b []byte) error { - var res SwaggerVersion +func (m *Version) UnmarshalBinary(b []byte) error { + var res Version if err := swag.ReadJSON(b, &res); err != nil { return err } diff --git a/package.json b/package.json index 049330187..31daaf563 100644 --- a/package.json +++ b/package.json @@ -1,19 +1,14 @@ { "name": "@oryd/keto", - "private": false, + "private": true, "version": "0.0.0", - "description": "The official JavaScript / NodeJS SDK for ORY Keto.", "license": "Apache 2.0", - "main": "sdk/js/swagger/src/index.js", "scripts": { "prettier": "prettier --single-quote --parser flow --no-semi --write \"sdk/js/**/*.js\"" }, "browser": { "fs": false }, - "dependencies": { - "superagent": "~3.7.0" - }, "devDependencies": { "opencollective": "^1.0.3" }, diff --git a/sdk/go/keto/models/add_ory_access_control_policy_role_members.go b/sdk/go/keto/models/add_ory_access_control_policy_role_members.go deleted file mode 100644 index 2ad08d602..000000000 --- a/sdk/go/keto/models/add_ory_access_control_policy_role_members.go +++ /dev/null @@ -1,110 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -package models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -import ( - strfmt "github.com/go-openapi/strfmt" - - "github.com/go-openapi/errors" - "github.com/go-openapi/swag" - "github.com/go-openapi/validate" -) - -// AddOryAccessControlPolicyRoleMembers AddOryAccessControlPolicyRoleMembers add ory access control policy role members -// swagger:model AddOryAccessControlPolicyRoleMembers -type AddOryAccessControlPolicyRoleMembers struct { - - // body - Body *AddOryAccessControlPolicyRoleMembersBody `json:"Body,omitempty"` - - // The ORY Access Control Policy flavor. Can be "regex", "glob", and "exact". - // - // in: path - // Required: true - Flavor *string `json:"flavor"` - - // The ID of the ORY Access Control Policy Role. - // - // in: path - // Required: true - ID *string `json:"id"` -} - -// Validate validates this add ory access control policy role members -func (m *AddOryAccessControlPolicyRoleMembers) Validate(formats strfmt.Registry) error { - var res []error - - if err := m.validateBody(formats); err != nil { - res = append(res, err) - } - - if err := m.validateFlavor(formats); err != nil { - res = append(res, err) - } - - if err := m.validateID(formats); err != nil { - res = append(res, err) - } - - if len(res) > 0 { - return errors.CompositeValidationError(res...) - } - return nil -} - -func (m *AddOryAccessControlPolicyRoleMembers) validateBody(formats strfmt.Registry) error { - - if swag.IsZero(m.Body) { // not required - return nil - } - - if m.Body != nil { - if err := m.Body.Validate(formats); err != nil { - if ve, ok := err.(*errors.Validation); ok { - return ve.ValidateName("Body") - } - return err - } - } - - return nil -} - -func (m *AddOryAccessControlPolicyRoleMembers) validateFlavor(formats strfmt.Registry) error { - - if err := validate.Required("flavor", "body", m.Flavor); err != nil { - return err - } - - return nil -} - -func (m *AddOryAccessControlPolicyRoleMembers) validateID(formats strfmt.Registry) error { - - if err := validate.Required("id", "body", m.ID); err != nil { - return err - } - - return nil -} - -// MarshalBinary interface implementation -func (m *AddOryAccessControlPolicyRoleMembers) MarshalBinary() ([]byte, error) { - if m == nil { - return nil, nil - } - return swag.WriteJSON(m) -} - -// UnmarshalBinary interface implementation -func (m *AddOryAccessControlPolicyRoleMembers) UnmarshalBinary(b []byte) error { - var res AddOryAccessControlPolicyRoleMembers - if err := swag.ReadJSON(b, &res); err != nil { - return err - } - *m = res - return nil -} diff --git a/sdk/go/keto/models/add_ory_access_control_policy_role_members_internal_server_error.go b/sdk/go/keto/models/add_ory_access_control_policy_role_members_internal_server_error.go deleted file mode 100644 index 327d5a019..000000000 --- a/sdk/go/keto/models/add_ory_access_control_policy_role_members_internal_server_error.go +++ /dev/null @@ -1,73 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -package models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -import ( - strfmt "github.com/go-openapi/strfmt" - - "github.com/go-openapi/errors" - "github.com/go-openapi/swag" -) - -// AddOryAccessControlPolicyRoleMembersInternalServerError AddOryAccessControlPolicyRoleMembersInternalServerError AddOryAccessControlPolicyRoleMembersInternalServerError handles this case with default header values. -// -// The standard error format -// swagger:model AddOryAccessControlPolicyRoleMembersInternalServerError -type AddOryAccessControlPolicyRoleMembersInternalServerError struct { - - // payload - Payload *AddOryAccessControlPolicyRoleMembersInternalServerErrorBody `json:"Payload,omitempty"` -} - -// Validate validates this add ory access control policy role members internal server error -func (m *AddOryAccessControlPolicyRoleMembersInternalServerError) Validate(formats strfmt.Registry) error { - var res []error - - if err := m.validatePayload(formats); err != nil { - res = append(res, err) - } - - if len(res) > 0 { - return errors.CompositeValidationError(res...) - } - return nil -} - -func (m *AddOryAccessControlPolicyRoleMembersInternalServerError) validatePayload(formats strfmt.Registry) error { - - if swag.IsZero(m.Payload) { // not required - return nil - } - - if m.Payload != nil { - if err := m.Payload.Validate(formats); err != nil { - if ve, ok := err.(*errors.Validation); ok { - return ve.ValidateName("Payload") - } - return err - } - } - - return nil -} - -// MarshalBinary interface implementation -func (m *AddOryAccessControlPolicyRoleMembersInternalServerError) MarshalBinary() ([]byte, error) { - if m == nil { - return nil, nil - } - return swag.WriteJSON(m) -} - -// UnmarshalBinary interface implementation -func (m *AddOryAccessControlPolicyRoleMembersInternalServerError) UnmarshalBinary(b []byte) error { - var res AddOryAccessControlPolicyRoleMembersInternalServerError - if err := swag.ReadJSON(b, &res); err != nil { - return err - } - *m = res - return nil -} diff --git a/sdk/go/keto/models/add_ory_access_control_policy_role_members_internal_server_error_body.go b/sdk/go/keto/models/add_ory_access_control_policy_role_members_internal_server_error_body.go deleted file mode 100644 index 186c38fce..000000000 --- a/sdk/go/keto/models/add_ory_access_control_policy_role_members_internal_server_error_body.go +++ /dev/null @@ -1,58 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -package models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -import ( - strfmt "github.com/go-openapi/strfmt" - - "github.com/go-openapi/swag" -) - -// AddOryAccessControlPolicyRoleMembersInternalServerErrorBody AddOryAccessControlPolicyRoleMembersInternalServerErrorBody add ory access control policy role members internal server error body -// swagger:model AddOryAccessControlPolicyRoleMembersInternalServerErrorBody -type AddOryAccessControlPolicyRoleMembersInternalServerErrorBody struct { - - // code - Code int64 `json:"code,omitempty"` - - // details - Details []map[string]interface{} `json:"details"` - - // message - Message string `json:"message,omitempty"` - - // reason - Reason string `json:"reason,omitempty"` - - // request - Request string `json:"request,omitempty"` - - // status - Status string `json:"status,omitempty"` -} - -// Validate validates this add ory access control policy role members internal server error body -func (m *AddOryAccessControlPolicyRoleMembersInternalServerErrorBody) Validate(formats strfmt.Registry) error { - return nil -} - -// MarshalBinary interface implementation -func (m *AddOryAccessControlPolicyRoleMembersInternalServerErrorBody) MarshalBinary() ([]byte, error) { - if m == nil { - return nil, nil - } - return swag.WriteJSON(m) -} - -// UnmarshalBinary interface implementation -func (m *AddOryAccessControlPolicyRoleMembersInternalServerErrorBody) UnmarshalBinary(b []byte) error { - var res AddOryAccessControlPolicyRoleMembersInternalServerErrorBody - if err := swag.ReadJSON(b, &res); err != nil { - return err - } - *m = res - return nil -} diff --git a/sdk/go/keto/models/add_ory_access_control_policy_role_members_o_k.go b/sdk/go/keto/models/add_ory_access_control_policy_role_members_o_k.go deleted file mode 100644 index 2aeac2329..000000000 --- a/sdk/go/keto/models/add_ory_access_control_policy_role_members_o_k.go +++ /dev/null @@ -1,73 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -package models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -import ( - strfmt "github.com/go-openapi/strfmt" - - "github.com/go-openapi/errors" - "github.com/go-openapi/swag" -) - -// AddOryAccessControlPolicyRoleMembersOK AddOryAccessControlPolicyRoleMembersOK AddOryAccessControlPolicyRoleMembersOK handles this case with default header values. -// -// oryAccessControlPolicyRole -// swagger:model AddOryAccessControlPolicyRoleMembersOK -type AddOryAccessControlPolicyRoleMembersOK struct { - - // payload - Payload *OryAccessControlPolicyRole `json:"Payload,omitempty"` -} - -// Validate validates this add ory access control policy role members o k -func (m *AddOryAccessControlPolicyRoleMembersOK) Validate(formats strfmt.Registry) error { - var res []error - - if err := m.validatePayload(formats); err != nil { - res = append(res, err) - } - - if len(res) > 0 { - return errors.CompositeValidationError(res...) - } - return nil -} - -func (m *AddOryAccessControlPolicyRoleMembersOK) validatePayload(formats strfmt.Registry) error { - - if swag.IsZero(m.Payload) { // not required - return nil - } - - if m.Payload != nil { - if err := m.Payload.Validate(formats); err != nil { - if ve, ok := err.(*errors.Validation); ok { - return ve.ValidateName("Payload") - } - return err - } - } - - return nil -} - -// MarshalBinary interface implementation -func (m *AddOryAccessControlPolicyRoleMembersOK) MarshalBinary() ([]byte, error) { - if m == nil { - return nil, nil - } - return swag.WriteJSON(m) -} - -// UnmarshalBinary interface implementation -func (m *AddOryAccessControlPolicyRoleMembersOK) UnmarshalBinary(b []byte) error { - var res AddOryAccessControlPolicyRoleMembersOK - if err := swag.ReadJSON(b, &res); err != nil { - return err - } - *m = res - return nil -} diff --git a/sdk/go/keto/models/add_ory_access_control_policy_role_members_reader.go b/sdk/go/keto/models/add_ory_access_control_policy_role_members_reader.go deleted file mode 100644 index 44861c6e5..000000000 --- a/sdk/go/keto/models/add_ory_access_control_policy_role_members_reader.go +++ /dev/null @@ -1,10 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -package models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -// AddOryAccessControlPolicyRoleMembersReader AddOryAccessControlPolicyRoleMembersReader AddOryAccessControlPolicyRoleMembersReader AddOryAccessControlPolicyRoleMembersReader is a Reader for the AddOryAccessControlPolicyRoleMembers structure. -// swagger:model AddOryAccessControlPolicyRoleMembersReader -type AddOryAccessControlPolicyRoleMembersReader interface{} diff --git a/sdk/go/keto/models/context.go b/sdk/go/keto/models/context.go deleted file mode 100644 index 052a579d6..000000000 --- a/sdk/go/keto/models/context.go +++ /dev/null @@ -1,19 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -package models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -import ( - strfmt "github.com/go-openapi/strfmt" -) - -// Context Context Context Context Context Context Context Context Context Context context -// swagger:model Context -type Context map[string]interface{} - -// Validate validates this context -func (m Context) Validate(formats strfmt.Registry) error { - return nil -} diff --git a/sdk/go/keto/models/delete_ory_access_control_policy.go b/sdk/go/keto/models/delete_ory_access_control_policy.go deleted file mode 100644 index f6bbc4ab5..000000000 --- a/sdk/go/keto/models/delete_ory_access_control_policy.go +++ /dev/null @@ -1,85 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -package models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -import ( - strfmt "github.com/go-openapi/strfmt" - - "github.com/go-openapi/errors" - "github.com/go-openapi/swag" - "github.com/go-openapi/validate" -) - -// DeleteOryAccessControlPolicy DeleteOryAccessControlPolicy DeleteOryAccessControlPolicy delete ory access control policy -// swagger:model DeleteOryAccessControlPolicy -type DeleteOryAccessControlPolicy struct { - - // The ORY Access Control Policy flavor. Can be "regex", "glob", and "exact". - // - // in: path - // Required: true - Flavor *string `json:"flavor"` - - // The ID of the ORY Access Control Policy Role. - // - // in: path - // Required: true - ID *string `json:"id"` -} - -// Validate validates this delete ory access control policy -func (m *DeleteOryAccessControlPolicy) Validate(formats strfmt.Registry) error { - var res []error - - if err := m.validateFlavor(formats); err != nil { - res = append(res, err) - } - - if err := m.validateID(formats); err != nil { - res = append(res, err) - } - - if len(res) > 0 { - return errors.CompositeValidationError(res...) - } - return nil -} - -func (m *DeleteOryAccessControlPolicy) validateFlavor(formats strfmt.Registry) error { - - if err := validate.Required("flavor", "body", m.Flavor); err != nil { - return err - } - - return nil -} - -func (m *DeleteOryAccessControlPolicy) validateID(formats strfmt.Registry) error { - - if err := validate.Required("id", "body", m.ID); err != nil { - return err - } - - return nil -} - -// MarshalBinary interface implementation -func (m *DeleteOryAccessControlPolicy) MarshalBinary() ([]byte, error) { - if m == nil { - return nil, nil - } - return swag.WriteJSON(m) -} - -// UnmarshalBinary interface implementation -func (m *DeleteOryAccessControlPolicy) UnmarshalBinary(b []byte) error { - var res DeleteOryAccessControlPolicy - if err := swag.ReadJSON(b, &res); err != nil { - return err - } - *m = res - return nil -} diff --git a/sdk/go/keto/models/delete_ory_access_control_policy_created.go b/sdk/go/keto/models/delete_ory_access_control_policy_created.go deleted file mode 100644 index e86ee7270..000000000 --- a/sdk/go/keto/models/delete_ory_access_control_policy_created.go +++ /dev/null @@ -1,12 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -package models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -// DeleteOryAccessControlPolicyCreated DeleteOryAccessControlPolicyCreated DeleteOryAccessControlPolicyCreated DeleteOryAccessControlPolicyCreated DeleteOryAccessControlPolicyCreated DeleteOryAccessControlPolicyCreated handles this case with default header values. -// -// An empty response -// swagger:model DeleteOryAccessControlPolicyCreated -type DeleteOryAccessControlPolicyCreated interface{} diff --git a/sdk/go/keto/models/delete_ory_access_control_policy_internal_server_error.go b/sdk/go/keto/models/delete_ory_access_control_policy_internal_server_error.go deleted file mode 100644 index 0335d651b..000000000 --- a/sdk/go/keto/models/delete_ory_access_control_policy_internal_server_error.go +++ /dev/null @@ -1,73 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -package models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -import ( - strfmt "github.com/go-openapi/strfmt" - - "github.com/go-openapi/errors" - "github.com/go-openapi/swag" -) - -// DeleteOryAccessControlPolicyInternalServerError DeleteOryAccessControlPolicyInternalServerError DeleteOryAccessControlPolicyInternalServerError DeleteOryAccessControlPolicyInternalServerError DeleteOryAccessControlPolicyInternalServerError handles this case with default header values. -// -// The standard error format -// swagger:model DeleteOryAccessControlPolicyInternalServerError -type DeleteOryAccessControlPolicyInternalServerError struct { - - // payload - Payload *DeleteOryAccessControlPolicyInternalServerErrorBody `json:"Payload,omitempty"` -} - -// Validate validates this delete ory access control policy internal server error -func (m *DeleteOryAccessControlPolicyInternalServerError) Validate(formats strfmt.Registry) error { - var res []error - - if err := m.validatePayload(formats); err != nil { - res = append(res, err) - } - - if len(res) > 0 { - return errors.CompositeValidationError(res...) - } - return nil -} - -func (m *DeleteOryAccessControlPolicyInternalServerError) validatePayload(formats strfmt.Registry) error { - - if swag.IsZero(m.Payload) { // not required - return nil - } - - if m.Payload != nil { - if err := m.Payload.Validate(formats); err != nil { - if ve, ok := err.(*errors.Validation); ok { - return ve.ValidateName("Payload") - } - return err - } - } - - return nil -} - -// MarshalBinary interface implementation -func (m *DeleteOryAccessControlPolicyInternalServerError) MarshalBinary() ([]byte, error) { - if m == nil { - return nil, nil - } - return swag.WriteJSON(m) -} - -// UnmarshalBinary interface implementation -func (m *DeleteOryAccessControlPolicyInternalServerError) UnmarshalBinary(b []byte) error { - var res DeleteOryAccessControlPolicyInternalServerError - if err := swag.ReadJSON(b, &res); err != nil { - return err - } - *m = res - return nil -} diff --git a/sdk/go/keto/models/delete_ory_access_control_policy_internal_server_error_body.go b/sdk/go/keto/models/delete_ory_access_control_policy_internal_server_error_body.go deleted file mode 100644 index 4d5224290..000000000 --- a/sdk/go/keto/models/delete_ory_access_control_policy_internal_server_error_body.go +++ /dev/null @@ -1,58 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -package models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -import ( - strfmt "github.com/go-openapi/strfmt" - - "github.com/go-openapi/swag" -) - -// DeleteOryAccessControlPolicyInternalServerErrorBody DeleteOryAccessControlPolicyInternalServerErrorBody DeleteOryAccessControlPolicyInternalServerErrorBody delete ory access control policy internal server error body -// swagger:model DeleteOryAccessControlPolicyInternalServerErrorBody -type DeleteOryAccessControlPolicyInternalServerErrorBody struct { - - // code - Code int64 `json:"code,omitempty"` - - // details - Details []map[string]interface{} `json:"details"` - - // message - Message string `json:"message,omitempty"` - - // reason - Reason string `json:"reason,omitempty"` - - // request - Request string `json:"request,omitempty"` - - // status - Status string `json:"status,omitempty"` -} - -// Validate validates this delete ory access control policy internal server error body -func (m *DeleteOryAccessControlPolicyInternalServerErrorBody) Validate(formats strfmt.Registry) error { - return nil -} - -// MarshalBinary interface implementation -func (m *DeleteOryAccessControlPolicyInternalServerErrorBody) MarshalBinary() ([]byte, error) { - if m == nil { - return nil, nil - } - return swag.WriteJSON(m) -} - -// UnmarshalBinary interface implementation -func (m *DeleteOryAccessControlPolicyInternalServerErrorBody) UnmarshalBinary(b []byte) error { - var res DeleteOryAccessControlPolicyInternalServerErrorBody - if err := swag.ReadJSON(b, &res); err != nil { - return err - } - *m = res - return nil -} diff --git a/sdk/go/keto/models/delete_ory_access_control_policy_no_content.go b/sdk/go/keto/models/delete_ory_access_control_policy_no_content.go deleted file mode 100644 index 009b2bdef..000000000 --- a/sdk/go/keto/models/delete_ory_access_control_policy_no_content.go +++ /dev/null @@ -1,12 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -package models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -// DeleteOryAccessControlPolicyNoContent DeleteOryAccessControlPolicyNoContent DeleteOryAccessControlPolicyNoContent DeleteOryAccessControlPolicyNoContent handles this case with default header values. -// -// An empty response -// swagger:model DeleteOryAccessControlPolicyNoContent -type DeleteOryAccessControlPolicyNoContent interface{} diff --git a/sdk/go/keto/models/delete_ory_access_control_policy_reader.go b/sdk/go/keto/models/delete_ory_access_control_policy_reader.go deleted file mode 100644 index 353a14fde..000000000 --- a/sdk/go/keto/models/delete_ory_access_control_policy_reader.go +++ /dev/null @@ -1,10 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -package models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -// DeleteOryAccessControlPolicyReader DeleteOryAccessControlPolicyReader DeleteOryAccessControlPolicyReader DeleteOryAccessControlPolicyReader is a Reader for the DeleteOryAccessControlPolicy structure. -// swagger:model DeleteOryAccessControlPolicyReader -type DeleteOryAccessControlPolicyReader interface{} diff --git a/sdk/go/keto/models/delete_ory_access_control_policy_role.go b/sdk/go/keto/models/delete_ory_access_control_policy_role.go deleted file mode 100644 index 17acf9433..000000000 --- a/sdk/go/keto/models/delete_ory_access_control_policy_role.go +++ /dev/null @@ -1,84 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -package models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -import ( - strfmt "github.com/go-openapi/strfmt" - - "github.com/go-openapi/errors" - "github.com/go-openapi/swag" - "github.com/go-openapi/validate" -) - -// DeleteOryAccessControlPolicyRole DeleteOryAccessControlPolicyRole DeleteOryAccessControlPolicyRole DeleteOryAccessControlPolicyRole delete ory access control policy role -// swagger:model DeleteOryAccessControlPolicyRole -type DeleteOryAccessControlPolicyRole struct { - - // The ORY Access Control Policy flavor. Can be "regex", "glob", and "exact". - // - // in: path - // Required: true - Flavor *string `json:"flavor"` - - // The ID of the ORY Access Control Policy Role. - // in: path - // Required: true - ID *string `json:"id"` -} - -// Validate validates this delete ory access control policy role -func (m *DeleteOryAccessControlPolicyRole) Validate(formats strfmt.Registry) error { - var res []error - - if err := m.validateFlavor(formats); err != nil { - res = append(res, err) - } - - if err := m.validateID(formats); err != nil { - res = append(res, err) - } - - if len(res) > 0 { - return errors.CompositeValidationError(res...) - } - return nil -} - -func (m *DeleteOryAccessControlPolicyRole) validateFlavor(formats strfmt.Registry) error { - - if err := validate.Required("flavor", "body", m.Flavor); err != nil { - return err - } - - return nil -} - -func (m *DeleteOryAccessControlPolicyRole) validateID(formats strfmt.Registry) error { - - if err := validate.Required("id", "body", m.ID); err != nil { - return err - } - - return nil -} - -// MarshalBinary interface implementation -func (m *DeleteOryAccessControlPolicyRole) MarshalBinary() ([]byte, error) { - if m == nil { - return nil, nil - } - return swag.WriteJSON(m) -} - -// UnmarshalBinary interface implementation -func (m *DeleteOryAccessControlPolicyRole) UnmarshalBinary(b []byte) error { - var res DeleteOryAccessControlPolicyRole - if err := swag.ReadJSON(b, &res); err != nil { - return err - } - *m = res - return nil -} diff --git a/sdk/go/keto/models/delete_ory_access_control_policy_role_created.go b/sdk/go/keto/models/delete_ory_access_control_policy_role_created.go deleted file mode 100644 index 4ac95e391..000000000 --- a/sdk/go/keto/models/delete_ory_access_control_policy_role_created.go +++ /dev/null @@ -1,12 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -package models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -// DeleteOryAccessControlPolicyRoleCreated DeleteOryAccessControlPolicyRoleCreated DeleteOryAccessControlPolicyRoleCreated DeleteOryAccessControlPolicyRoleCreated DeleteOryAccessControlPolicyRoleCreated DeleteOryAccessControlPolicyRoleCreated DeleteOryAccessControlPolicyRoleCreated DeleteOryAccessControlPolicyRoleCreated handles this case with default header values. -// -// An empty response -// swagger:model DeleteOryAccessControlPolicyRoleCreated -type DeleteOryAccessControlPolicyRoleCreated interface{} diff --git a/sdk/go/keto/models/delete_ory_access_control_policy_role_internal_server_error.go b/sdk/go/keto/models/delete_ory_access_control_policy_role_internal_server_error.go deleted file mode 100644 index 80d89d21e..000000000 --- a/sdk/go/keto/models/delete_ory_access_control_policy_role_internal_server_error.go +++ /dev/null @@ -1,73 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -package models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -import ( - strfmt "github.com/go-openapi/strfmt" - - "github.com/go-openapi/errors" - "github.com/go-openapi/swag" -) - -// DeleteOryAccessControlPolicyRoleInternalServerError DeleteOryAccessControlPolicyRoleInternalServerError DeleteOryAccessControlPolicyRoleInternalServerError handles this case with default header values. -// -// The standard error format -// swagger:model DeleteOryAccessControlPolicyRoleInternalServerError -type DeleteOryAccessControlPolicyRoleInternalServerError struct { - - // payload - Payload *DeleteOryAccessControlPolicyRoleInternalServerErrorBody `json:"Payload,omitempty"` -} - -// Validate validates this delete ory access control policy role internal server error -func (m *DeleteOryAccessControlPolicyRoleInternalServerError) Validate(formats strfmt.Registry) error { - var res []error - - if err := m.validatePayload(formats); err != nil { - res = append(res, err) - } - - if len(res) > 0 { - return errors.CompositeValidationError(res...) - } - return nil -} - -func (m *DeleteOryAccessControlPolicyRoleInternalServerError) validatePayload(formats strfmt.Registry) error { - - if swag.IsZero(m.Payload) { // not required - return nil - } - - if m.Payload != nil { - if err := m.Payload.Validate(formats); err != nil { - if ve, ok := err.(*errors.Validation); ok { - return ve.ValidateName("Payload") - } - return err - } - } - - return nil -} - -// MarshalBinary interface implementation -func (m *DeleteOryAccessControlPolicyRoleInternalServerError) MarshalBinary() ([]byte, error) { - if m == nil { - return nil, nil - } - return swag.WriteJSON(m) -} - -// UnmarshalBinary interface implementation -func (m *DeleteOryAccessControlPolicyRoleInternalServerError) UnmarshalBinary(b []byte) error { - var res DeleteOryAccessControlPolicyRoleInternalServerError - if err := swag.ReadJSON(b, &res); err != nil { - return err - } - *m = res - return nil -} diff --git a/sdk/go/keto/models/delete_ory_access_control_policy_role_internal_server_error_body.go b/sdk/go/keto/models/delete_ory_access_control_policy_role_internal_server_error_body.go deleted file mode 100644 index d1d96f766..000000000 --- a/sdk/go/keto/models/delete_ory_access_control_policy_role_internal_server_error_body.go +++ /dev/null @@ -1,58 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -package models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -import ( - strfmt "github.com/go-openapi/strfmt" - - "github.com/go-openapi/swag" -) - -// DeleteOryAccessControlPolicyRoleInternalServerErrorBody DeleteOryAccessControlPolicyRoleInternalServerErrorBody delete ory access control policy role internal server error body -// swagger:model DeleteOryAccessControlPolicyRoleInternalServerErrorBody -type DeleteOryAccessControlPolicyRoleInternalServerErrorBody struct { - - // code - Code int64 `json:"code,omitempty"` - - // details - Details []map[string]interface{} `json:"details"` - - // message - Message string `json:"message,omitempty"` - - // reason - Reason string `json:"reason,omitempty"` - - // request - Request string `json:"request,omitempty"` - - // status - Status string `json:"status,omitempty"` -} - -// Validate validates this delete ory access control policy role internal server error body -func (m *DeleteOryAccessControlPolicyRoleInternalServerErrorBody) Validate(formats strfmt.Registry) error { - return nil -} - -// MarshalBinary interface implementation -func (m *DeleteOryAccessControlPolicyRoleInternalServerErrorBody) MarshalBinary() ([]byte, error) { - if m == nil { - return nil, nil - } - return swag.WriteJSON(m) -} - -// UnmarshalBinary interface implementation -func (m *DeleteOryAccessControlPolicyRoleInternalServerErrorBody) UnmarshalBinary(b []byte) error { - var res DeleteOryAccessControlPolicyRoleInternalServerErrorBody - if err := swag.ReadJSON(b, &res); err != nil { - return err - } - *m = res - return nil -} diff --git a/sdk/go/keto/models/delete_ory_access_control_policy_role_no_content.go b/sdk/go/keto/models/delete_ory_access_control_policy_role_no_content.go deleted file mode 100644 index 3499084c5..000000000 --- a/sdk/go/keto/models/delete_ory_access_control_policy_role_no_content.go +++ /dev/null @@ -1,12 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -package models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -// DeleteOryAccessControlPolicyRoleNoContent DeleteOryAccessControlPolicyRoleNoContent DeleteOryAccessControlPolicyRoleNoContent handles this case with default header values. -// -// An empty response -// swagger:model DeleteOryAccessControlPolicyRoleNoContent -type DeleteOryAccessControlPolicyRoleNoContent interface{} diff --git a/sdk/go/keto/models/delete_ory_access_control_policy_role_reader.go b/sdk/go/keto/models/delete_ory_access_control_policy_role_reader.go deleted file mode 100644 index 715cb77af..000000000 --- a/sdk/go/keto/models/delete_ory_access_control_policy_role_reader.go +++ /dev/null @@ -1,10 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -package models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -// DeleteOryAccessControlPolicyRoleReader DeleteOryAccessControlPolicyRoleReader DeleteOryAccessControlPolicyRoleReader DeleteOryAccessControlPolicyRoleReader DeleteOryAccessControlPolicyRoleReader is a Reader for the DeleteOryAccessControlPolicyRole structure. -// swagger:model DeleteOryAccessControlPolicyRoleReader -type DeleteOryAccessControlPolicyRoleReader interface{} diff --git a/sdk/go/keto/models/do_ory_access_control_policies_allow.go b/sdk/go/keto/models/do_ory_access_control_policies_allow.go deleted file mode 100644 index 20b62adf3..000000000 --- a/sdk/go/keto/models/do_ory_access_control_policies_allow.go +++ /dev/null @@ -1,91 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -package models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -import ( - strfmt "github.com/go-openapi/strfmt" - - "github.com/go-openapi/errors" - "github.com/go-openapi/swag" - "github.com/go-openapi/validate" -) - -// DoOryAccessControlPoliciesAllow DoOryAccessControlPoliciesAllow DoOryAccessControlPoliciesAllow do ory access control policies allow -// swagger:model DoOryAccessControlPoliciesAllow -type DoOryAccessControlPoliciesAllow struct { - - // body - Body *OryAccessControlPolicyAllowedInput `json:"Body,omitempty"` - - // The ORY Access Control Policy flavor. Can be "regex", "glob", and "exact". - // - // in: path - // Required: true - Flavor *string `json:"flavor"` -} - -// Validate validates this do ory access control policies allow -func (m *DoOryAccessControlPoliciesAllow) Validate(formats strfmt.Registry) error { - var res []error - - if err := m.validateBody(formats); err != nil { - res = append(res, err) - } - - if err := m.validateFlavor(formats); err != nil { - res = append(res, err) - } - - if len(res) > 0 { - return errors.CompositeValidationError(res...) - } - return nil -} - -func (m *DoOryAccessControlPoliciesAllow) validateBody(formats strfmt.Registry) error { - - if swag.IsZero(m.Body) { // not required - return nil - } - - if m.Body != nil { - if err := m.Body.Validate(formats); err != nil { - if ve, ok := err.(*errors.Validation); ok { - return ve.ValidateName("Body") - } - return err - } - } - - return nil -} - -func (m *DoOryAccessControlPoliciesAllow) validateFlavor(formats strfmt.Registry) error { - - if err := validate.Required("flavor", "body", m.Flavor); err != nil { - return err - } - - return nil -} - -// MarshalBinary interface implementation -func (m *DoOryAccessControlPoliciesAllow) MarshalBinary() ([]byte, error) { - if m == nil { - return nil, nil - } - return swag.WriteJSON(m) -} - -// UnmarshalBinary interface implementation -func (m *DoOryAccessControlPoliciesAllow) UnmarshalBinary(b []byte) error { - var res DoOryAccessControlPoliciesAllow - if err := swag.ReadJSON(b, &res); err != nil { - return err - } - *m = res - return nil -} diff --git a/sdk/go/keto/models/do_ory_access_control_policies_allow_forbidden.go b/sdk/go/keto/models/do_ory_access_control_policies_allow_forbidden.go deleted file mode 100644 index a49767772..000000000 --- a/sdk/go/keto/models/do_ory_access_control_policies_allow_forbidden.go +++ /dev/null @@ -1,73 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -package models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -import ( - strfmt "github.com/go-openapi/strfmt" - - "github.com/go-openapi/errors" - "github.com/go-openapi/swag" -) - -// DoOryAccessControlPoliciesAllowForbidden DoOryAccessControlPoliciesAllowForbidden DoOryAccessControlPoliciesAllowForbidden DoOryAccessControlPoliciesAllowForbidden handles this case with default header values. -// -// authorizationResult -// swagger:model DoOryAccessControlPoliciesAllowForbidden -type DoOryAccessControlPoliciesAllowForbidden struct { - - // payload - Payload *AuthorizationResult `json:"Payload,omitempty"` -} - -// Validate validates this do ory access control policies allow forbidden -func (m *DoOryAccessControlPoliciesAllowForbidden) Validate(formats strfmt.Registry) error { - var res []error - - if err := m.validatePayload(formats); err != nil { - res = append(res, err) - } - - if len(res) > 0 { - return errors.CompositeValidationError(res...) - } - return nil -} - -func (m *DoOryAccessControlPoliciesAllowForbidden) validatePayload(formats strfmt.Registry) error { - - if swag.IsZero(m.Payload) { // not required - return nil - } - - if m.Payload != nil { - if err := m.Payload.Validate(formats); err != nil { - if ve, ok := err.(*errors.Validation); ok { - return ve.ValidateName("Payload") - } - return err - } - } - - return nil -} - -// MarshalBinary interface implementation -func (m *DoOryAccessControlPoliciesAllowForbidden) MarshalBinary() ([]byte, error) { - if m == nil { - return nil, nil - } - return swag.WriteJSON(m) -} - -// UnmarshalBinary interface implementation -func (m *DoOryAccessControlPoliciesAllowForbidden) UnmarshalBinary(b []byte) error { - var res DoOryAccessControlPoliciesAllowForbidden - if err := swag.ReadJSON(b, &res); err != nil { - return err - } - *m = res - return nil -} diff --git a/sdk/go/keto/models/do_ory_access_control_policies_allow_internal_server_error.go b/sdk/go/keto/models/do_ory_access_control_policies_allow_internal_server_error.go deleted file mode 100644 index b810f08c5..000000000 --- a/sdk/go/keto/models/do_ory_access_control_policies_allow_internal_server_error.go +++ /dev/null @@ -1,73 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -package models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -import ( - strfmt "github.com/go-openapi/strfmt" - - "github.com/go-openapi/errors" - "github.com/go-openapi/swag" -) - -// DoOryAccessControlPoliciesAllowInternalServerError DoOryAccessControlPoliciesAllowInternalServerError DoOryAccessControlPoliciesAllowInternalServerError DoOryAccessControlPoliciesAllowInternalServerError handles this case with default header values. -// -// The standard error format -// swagger:model DoOryAccessControlPoliciesAllowInternalServerError -type DoOryAccessControlPoliciesAllowInternalServerError struct { - - // payload - Payload *DoOryAccessControlPoliciesAllowInternalServerErrorBody `json:"Payload,omitempty"` -} - -// Validate validates this do ory access control policies allow internal server error -func (m *DoOryAccessControlPoliciesAllowInternalServerError) Validate(formats strfmt.Registry) error { - var res []error - - if err := m.validatePayload(formats); err != nil { - res = append(res, err) - } - - if len(res) > 0 { - return errors.CompositeValidationError(res...) - } - return nil -} - -func (m *DoOryAccessControlPoliciesAllowInternalServerError) validatePayload(formats strfmt.Registry) error { - - if swag.IsZero(m.Payload) { // not required - return nil - } - - if m.Payload != nil { - if err := m.Payload.Validate(formats); err != nil { - if ve, ok := err.(*errors.Validation); ok { - return ve.ValidateName("Payload") - } - return err - } - } - - return nil -} - -// MarshalBinary interface implementation -func (m *DoOryAccessControlPoliciesAllowInternalServerError) MarshalBinary() ([]byte, error) { - if m == nil { - return nil, nil - } - return swag.WriteJSON(m) -} - -// UnmarshalBinary interface implementation -func (m *DoOryAccessControlPoliciesAllowInternalServerError) UnmarshalBinary(b []byte) error { - var res DoOryAccessControlPoliciesAllowInternalServerError - if err := swag.ReadJSON(b, &res); err != nil { - return err - } - *m = res - return nil -} diff --git a/sdk/go/keto/models/do_ory_access_control_policies_allow_internal_server_error_body.go b/sdk/go/keto/models/do_ory_access_control_policies_allow_internal_server_error_body.go deleted file mode 100644 index 95e9c3123..000000000 --- a/sdk/go/keto/models/do_ory_access_control_policies_allow_internal_server_error_body.go +++ /dev/null @@ -1,58 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -package models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -import ( - strfmt "github.com/go-openapi/strfmt" - - "github.com/go-openapi/swag" -) - -// DoOryAccessControlPoliciesAllowInternalServerErrorBody DoOryAccessControlPoliciesAllowInternalServerErrorBody DoOryAccessControlPoliciesAllowInternalServerErrorBody do ory access control policies allow internal server error body -// swagger:model DoOryAccessControlPoliciesAllowInternalServerErrorBody -type DoOryAccessControlPoliciesAllowInternalServerErrorBody struct { - - // code - Code int64 `json:"code,omitempty"` - - // details - Details []map[string]interface{} `json:"details"` - - // message - Message string `json:"message,omitempty"` - - // reason - Reason string `json:"reason,omitempty"` - - // request - Request string `json:"request,omitempty"` - - // status - Status string `json:"status,omitempty"` -} - -// Validate validates this do ory access control policies allow internal server error body -func (m *DoOryAccessControlPoliciesAllowInternalServerErrorBody) Validate(formats strfmt.Registry) error { - return nil -} - -// MarshalBinary interface implementation -func (m *DoOryAccessControlPoliciesAllowInternalServerErrorBody) MarshalBinary() ([]byte, error) { - if m == nil { - return nil, nil - } - return swag.WriteJSON(m) -} - -// UnmarshalBinary interface implementation -func (m *DoOryAccessControlPoliciesAllowInternalServerErrorBody) UnmarshalBinary(b []byte) error { - var res DoOryAccessControlPoliciesAllowInternalServerErrorBody - if err := swag.ReadJSON(b, &res); err != nil { - return err - } - *m = res - return nil -} diff --git a/sdk/go/keto/models/do_ory_access_control_policies_allow_o_k.go b/sdk/go/keto/models/do_ory_access_control_policies_allow_o_k.go deleted file mode 100644 index 7ce108450..000000000 --- a/sdk/go/keto/models/do_ory_access_control_policies_allow_o_k.go +++ /dev/null @@ -1,73 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -package models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -import ( - strfmt "github.com/go-openapi/strfmt" - - "github.com/go-openapi/errors" - "github.com/go-openapi/swag" -) - -// DoOryAccessControlPoliciesAllowOK DoOryAccessControlPoliciesAllowOK DoOryAccessControlPoliciesAllowOK handles this case with default header values. -// -// authorizationResult -// swagger:model DoOryAccessControlPoliciesAllowOK -type DoOryAccessControlPoliciesAllowOK struct { - - // payload - Payload *AuthorizationResult `json:"Payload,omitempty"` -} - -// Validate validates this do ory access control policies allow o k -func (m *DoOryAccessControlPoliciesAllowOK) Validate(formats strfmt.Registry) error { - var res []error - - if err := m.validatePayload(formats); err != nil { - res = append(res, err) - } - - if len(res) > 0 { - return errors.CompositeValidationError(res...) - } - return nil -} - -func (m *DoOryAccessControlPoliciesAllowOK) validatePayload(formats strfmt.Registry) error { - - if swag.IsZero(m.Payload) { // not required - return nil - } - - if m.Payload != nil { - if err := m.Payload.Validate(formats); err != nil { - if ve, ok := err.(*errors.Validation); ok { - return ve.ValidateName("Payload") - } - return err - } - } - - return nil -} - -// MarshalBinary interface implementation -func (m *DoOryAccessControlPoliciesAllowOK) MarshalBinary() ([]byte, error) { - if m == nil { - return nil, nil - } - return swag.WriteJSON(m) -} - -// UnmarshalBinary interface implementation -func (m *DoOryAccessControlPoliciesAllowOK) UnmarshalBinary(b []byte) error { - var res DoOryAccessControlPoliciesAllowOK - if err := swag.ReadJSON(b, &res); err != nil { - return err - } - *m = res - return nil -} diff --git a/sdk/go/keto/models/do_ory_access_control_policies_allow_reader.go b/sdk/go/keto/models/do_ory_access_control_policies_allow_reader.go deleted file mode 100644 index 6fa2271d1..000000000 --- a/sdk/go/keto/models/do_ory_access_control_policies_allow_reader.go +++ /dev/null @@ -1,10 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -package models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -// DoOryAccessControlPoliciesAllowReader DoOryAccessControlPoliciesAllowReader DoOryAccessControlPoliciesAllowReader is a Reader for the DoOryAccessControlPoliciesAllow structure. -// swagger:model DoOryAccessControlPoliciesAllowReader -type DoOryAccessControlPoliciesAllowReader interface{} diff --git a/sdk/go/keto/models/get_ory_access_control_policy.go b/sdk/go/keto/models/get_ory_access_control_policy.go deleted file mode 100644 index 395478e14..000000000 --- a/sdk/go/keto/models/get_ory_access_control_policy.go +++ /dev/null @@ -1,85 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -package models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -import ( - strfmt "github.com/go-openapi/strfmt" - - "github.com/go-openapi/errors" - "github.com/go-openapi/swag" - "github.com/go-openapi/validate" -) - -// GetOryAccessControlPolicy GetOryAccessControlPolicy GetOryAccessControlPolicy get ory access control policy -// swagger:model GetOryAccessControlPolicy -type GetOryAccessControlPolicy struct { - - // The ORY Access Control Policy flavor. Can be "regex", "glob", and "exact". - // - // in: path - // Required: true - Flavor *string `json:"flavor"` - - // The ID of the ORY Access Control Policy Role. - // - // in: path - // Required: true - ID *string `json:"id"` -} - -// Validate validates this get ory access control policy -func (m *GetOryAccessControlPolicy) Validate(formats strfmt.Registry) error { - var res []error - - if err := m.validateFlavor(formats); err != nil { - res = append(res, err) - } - - if err := m.validateID(formats); err != nil { - res = append(res, err) - } - - if len(res) > 0 { - return errors.CompositeValidationError(res...) - } - return nil -} - -func (m *GetOryAccessControlPolicy) validateFlavor(formats strfmt.Registry) error { - - if err := validate.Required("flavor", "body", m.Flavor); err != nil { - return err - } - - return nil -} - -func (m *GetOryAccessControlPolicy) validateID(formats strfmt.Registry) error { - - if err := validate.Required("id", "body", m.ID); err != nil { - return err - } - - return nil -} - -// MarshalBinary interface implementation -func (m *GetOryAccessControlPolicy) MarshalBinary() ([]byte, error) { - if m == nil { - return nil, nil - } - return swag.WriteJSON(m) -} - -// UnmarshalBinary interface implementation -func (m *GetOryAccessControlPolicy) UnmarshalBinary(b []byte) error { - var res GetOryAccessControlPolicy - if err := swag.ReadJSON(b, &res); err != nil { - return err - } - *m = res - return nil -} diff --git a/sdk/go/keto/models/get_ory_access_control_policy_internal_server_error.go b/sdk/go/keto/models/get_ory_access_control_policy_internal_server_error.go deleted file mode 100644 index b16b4d2cf..000000000 --- a/sdk/go/keto/models/get_ory_access_control_policy_internal_server_error.go +++ /dev/null @@ -1,73 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -package models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -import ( - strfmt "github.com/go-openapi/strfmt" - - "github.com/go-openapi/errors" - "github.com/go-openapi/swag" -) - -// GetOryAccessControlPolicyInternalServerError GetOryAccessControlPolicyInternalServerError GetOryAccessControlPolicyInternalServerError GetOryAccessControlPolicyInternalServerError GetOryAccessControlPolicyInternalServerError handles this case with default header values. -// -// The standard error format -// swagger:model GetOryAccessControlPolicyInternalServerError -type GetOryAccessControlPolicyInternalServerError struct { - - // payload - Payload *GetOryAccessControlPolicyInternalServerErrorBody `json:"Payload,omitempty"` -} - -// Validate validates this get ory access control policy internal server error -func (m *GetOryAccessControlPolicyInternalServerError) Validate(formats strfmt.Registry) error { - var res []error - - if err := m.validatePayload(formats); err != nil { - res = append(res, err) - } - - if len(res) > 0 { - return errors.CompositeValidationError(res...) - } - return nil -} - -func (m *GetOryAccessControlPolicyInternalServerError) validatePayload(formats strfmt.Registry) error { - - if swag.IsZero(m.Payload) { // not required - return nil - } - - if m.Payload != nil { - if err := m.Payload.Validate(formats); err != nil { - if ve, ok := err.(*errors.Validation); ok { - return ve.ValidateName("Payload") - } - return err - } - } - - return nil -} - -// MarshalBinary interface implementation -func (m *GetOryAccessControlPolicyInternalServerError) MarshalBinary() ([]byte, error) { - if m == nil { - return nil, nil - } - return swag.WriteJSON(m) -} - -// UnmarshalBinary interface implementation -func (m *GetOryAccessControlPolicyInternalServerError) UnmarshalBinary(b []byte) error { - var res GetOryAccessControlPolicyInternalServerError - if err := swag.ReadJSON(b, &res); err != nil { - return err - } - *m = res - return nil -} diff --git a/sdk/go/keto/models/get_ory_access_control_policy_internal_server_error_body.go b/sdk/go/keto/models/get_ory_access_control_policy_internal_server_error_body.go deleted file mode 100644 index 396779d81..000000000 --- a/sdk/go/keto/models/get_ory_access_control_policy_internal_server_error_body.go +++ /dev/null @@ -1,58 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -package models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -import ( - strfmt "github.com/go-openapi/strfmt" - - "github.com/go-openapi/swag" -) - -// GetOryAccessControlPolicyInternalServerErrorBody GetOryAccessControlPolicyInternalServerErrorBody GetOryAccessControlPolicyInternalServerErrorBody get ory access control policy internal server error body -// swagger:model GetOryAccessControlPolicyInternalServerErrorBody -type GetOryAccessControlPolicyInternalServerErrorBody struct { - - // code - Code int64 `json:"code,omitempty"` - - // details - Details []map[string]interface{} `json:"details"` - - // message - Message string `json:"message,omitempty"` - - // reason - Reason string `json:"reason,omitempty"` - - // request - Request string `json:"request,omitempty"` - - // status - Status string `json:"status,omitempty"` -} - -// Validate validates this get ory access control policy internal server error body -func (m *GetOryAccessControlPolicyInternalServerErrorBody) Validate(formats strfmt.Registry) error { - return nil -} - -// MarshalBinary interface implementation -func (m *GetOryAccessControlPolicyInternalServerErrorBody) MarshalBinary() ([]byte, error) { - if m == nil { - return nil, nil - } - return swag.WriteJSON(m) -} - -// UnmarshalBinary interface implementation -func (m *GetOryAccessControlPolicyInternalServerErrorBody) UnmarshalBinary(b []byte) error { - var res GetOryAccessControlPolicyInternalServerErrorBody - if err := swag.ReadJSON(b, &res); err != nil { - return err - } - *m = res - return nil -} diff --git a/sdk/go/keto/models/get_ory_access_control_policy_not_found.go b/sdk/go/keto/models/get_ory_access_control_policy_not_found.go deleted file mode 100644 index cc3113840..000000000 --- a/sdk/go/keto/models/get_ory_access_control_policy_not_found.go +++ /dev/null @@ -1,73 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -package models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -import ( - strfmt "github.com/go-openapi/strfmt" - - "github.com/go-openapi/errors" - "github.com/go-openapi/swag" -) - -// GetOryAccessControlPolicyNotFound GetOryAccessControlPolicyNotFound GetOryAccessControlPolicyNotFound handles this case with default header values. -// -// The standard error format -// swagger:model GetOryAccessControlPolicyNotFound -type GetOryAccessControlPolicyNotFound struct { - - // payload - Payload *GetOryAccessControlPolicyNotFoundBody `json:"Payload,omitempty"` -} - -// Validate validates this get ory access control policy not found -func (m *GetOryAccessControlPolicyNotFound) Validate(formats strfmt.Registry) error { - var res []error - - if err := m.validatePayload(formats); err != nil { - res = append(res, err) - } - - if len(res) > 0 { - return errors.CompositeValidationError(res...) - } - return nil -} - -func (m *GetOryAccessControlPolicyNotFound) validatePayload(formats strfmt.Registry) error { - - if swag.IsZero(m.Payload) { // not required - return nil - } - - if m.Payload != nil { - if err := m.Payload.Validate(formats); err != nil { - if ve, ok := err.(*errors.Validation); ok { - return ve.ValidateName("Payload") - } - return err - } - } - - return nil -} - -// MarshalBinary interface implementation -func (m *GetOryAccessControlPolicyNotFound) MarshalBinary() ([]byte, error) { - if m == nil { - return nil, nil - } - return swag.WriteJSON(m) -} - -// UnmarshalBinary interface implementation -func (m *GetOryAccessControlPolicyNotFound) UnmarshalBinary(b []byte) error { - var res GetOryAccessControlPolicyNotFound - if err := swag.ReadJSON(b, &res); err != nil { - return err - } - *m = res - return nil -} diff --git a/sdk/go/keto/models/get_ory_access_control_policy_not_found_body.go b/sdk/go/keto/models/get_ory_access_control_policy_not_found_body.go deleted file mode 100644 index 03bf5d16e..000000000 --- a/sdk/go/keto/models/get_ory_access_control_policy_not_found_body.go +++ /dev/null @@ -1,58 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -package models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -import ( - strfmt "github.com/go-openapi/strfmt" - - "github.com/go-openapi/swag" -) - -// GetOryAccessControlPolicyNotFoundBody GetOryAccessControlPolicyNotFoundBody GetOryAccessControlPolicyNotFoundBody get ory access control policy not found body -// swagger:model GetOryAccessControlPolicyNotFoundBody -type GetOryAccessControlPolicyNotFoundBody struct { - - // code - Code int64 `json:"code,omitempty"` - - // details - Details []map[string]interface{} `json:"details"` - - // message - Message string `json:"message,omitempty"` - - // reason - Reason string `json:"reason,omitempty"` - - // request - Request string `json:"request,omitempty"` - - // status - Status string `json:"status,omitempty"` -} - -// Validate validates this get ory access control policy not found body -func (m *GetOryAccessControlPolicyNotFoundBody) Validate(formats strfmt.Registry) error { - return nil -} - -// MarshalBinary interface implementation -func (m *GetOryAccessControlPolicyNotFoundBody) MarshalBinary() ([]byte, error) { - if m == nil { - return nil, nil - } - return swag.WriteJSON(m) -} - -// UnmarshalBinary interface implementation -func (m *GetOryAccessControlPolicyNotFoundBody) UnmarshalBinary(b []byte) error { - var res GetOryAccessControlPolicyNotFoundBody - if err := swag.ReadJSON(b, &res); err != nil { - return err - } - *m = res - return nil -} diff --git a/sdk/go/keto/models/get_ory_access_control_policy_o_k.go b/sdk/go/keto/models/get_ory_access_control_policy_o_k.go deleted file mode 100644 index 078c60102..000000000 --- a/sdk/go/keto/models/get_ory_access_control_policy_o_k.go +++ /dev/null @@ -1,73 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -package models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -import ( - strfmt "github.com/go-openapi/strfmt" - - "github.com/go-openapi/errors" - "github.com/go-openapi/swag" -) - -// GetOryAccessControlPolicyOK GetOryAccessControlPolicyOK GetOryAccessControlPolicyOK GetOryAccessControlPolicyOK handles this case with default header values. -// -// oryAccessControlPolicy -// swagger:model GetOryAccessControlPolicyOK -type GetOryAccessControlPolicyOK struct { - - // payload - Payload *OryAccessControlPolicy `json:"Payload,omitempty"` -} - -// Validate validates this get ory access control policy o k -func (m *GetOryAccessControlPolicyOK) Validate(formats strfmt.Registry) error { - var res []error - - if err := m.validatePayload(formats); err != nil { - res = append(res, err) - } - - if len(res) > 0 { - return errors.CompositeValidationError(res...) - } - return nil -} - -func (m *GetOryAccessControlPolicyOK) validatePayload(formats strfmt.Registry) error { - - if swag.IsZero(m.Payload) { // not required - return nil - } - - if m.Payload != nil { - if err := m.Payload.Validate(formats); err != nil { - if ve, ok := err.(*errors.Validation); ok { - return ve.ValidateName("Payload") - } - return err - } - } - - return nil -} - -// MarshalBinary interface implementation -func (m *GetOryAccessControlPolicyOK) MarshalBinary() ([]byte, error) { - if m == nil { - return nil, nil - } - return swag.WriteJSON(m) -} - -// UnmarshalBinary interface implementation -func (m *GetOryAccessControlPolicyOK) UnmarshalBinary(b []byte) error { - var res GetOryAccessControlPolicyOK - if err := swag.ReadJSON(b, &res); err != nil { - return err - } - *m = res - return nil -} diff --git a/sdk/go/keto/models/get_ory_access_control_policy_reader.go b/sdk/go/keto/models/get_ory_access_control_policy_reader.go deleted file mode 100644 index 55e0519ce..000000000 --- a/sdk/go/keto/models/get_ory_access_control_policy_reader.go +++ /dev/null @@ -1,10 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -package models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -// GetOryAccessControlPolicyReader GetOryAccessControlPolicyReader GetOryAccessControlPolicyReader GetOryAccessControlPolicyReader GetOryAccessControlPolicyReader is a Reader for the GetOryAccessControlPolicy structure. -// swagger:model GetOryAccessControlPolicyReader -type GetOryAccessControlPolicyReader interface{} diff --git a/sdk/go/keto/models/get_ory_access_control_policy_role.go b/sdk/go/keto/models/get_ory_access_control_policy_role.go deleted file mode 100644 index f20759b34..000000000 --- a/sdk/go/keto/models/get_ory_access_control_policy_role.go +++ /dev/null @@ -1,85 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -package models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -import ( - strfmt "github.com/go-openapi/strfmt" - - "github.com/go-openapi/errors" - "github.com/go-openapi/swag" - "github.com/go-openapi/validate" -) - -// GetOryAccessControlPolicyRole GetOryAccessControlPolicyRole get ory access control policy role -// swagger:model GetOryAccessControlPolicyRole -type GetOryAccessControlPolicyRole struct { - - // The ORY Access Control Policy flavor. Can be "regex", "glob", and "exact". - // - // in: path - // Required: true - Flavor *string `json:"flavor"` - - // The ID of the ORY Access Control Policy Role. - // - // in: path - // Required: true - ID *string `json:"id"` -} - -// Validate validates this get ory access control policy role -func (m *GetOryAccessControlPolicyRole) Validate(formats strfmt.Registry) error { - var res []error - - if err := m.validateFlavor(formats); err != nil { - res = append(res, err) - } - - if err := m.validateID(formats); err != nil { - res = append(res, err) - } - - if len(res) > 0 { - return errors.CompositeValidationError(res...) - } - return nil -} - -func (m *GetOryAccessControlPolicyRole) validateFlavor(formats strfmt.Registry) error { - - if err := validate.Required("flavor", "body", m.Flavor); err != nil { - return err - } - - return nil -} - -func (m *GetOryAccessControlPolicyRole) validateID(formats strfmt.Registry) error { - - if err := validate.Required("id", "body", m.ID); err != nil { - return err - } - - return nil -} - -// MarshalBinary interface implementation -func (m *GetOryAccessControlPolicyRole) MarshalBinary() ([]byte, error) { - if m == nil { - return nil, nil - } - return swag.WriteJSON(m) -} - -// UnmarshalBinary interface implementation -func (m *GetOryAccessControlPolicyRole) UnmarshalBinary(b []byte) error { - var res GetOryAccessControlPolicyRole - if err := swag.ReadJSON(b, &res); err != nil { - return err - } - *m = res - return nil -} diff --git a/sdk/go/keto/models/get_ory_access_control_policy_role_internal_server_error.go b/sdk/go/keto/models/get_ory_access_control_policy_role_internal_server_error.go deleted file mode 100644 index 887ef85dc..000000000 --- a/sdk/go/keto/models/get_ory_access_control_policy_role_internal_server_error.go +++ /dev/null @@ -1,73 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -package models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -import ( - strfmt "github.com/go-openapi/strfmt" - - "github.com/go-openapi/errors" - "github.com/go-openapi/swag" -) - -// GetOryAccessControlPolicyRoleInternalServerError GetOryAccessControlPolicyRoleInternalServerError GetOryAccessControlPolicyRoleInternalServerError handles this case with default header values. -// -// The standard error format -// swagger:model GetOryAccessControlPolicyRoleInternalServerError -type GetOryAccessControlPolicyRoleInternalServerError struct { - - // payload - Payload *GetOryAccessControlPolicyRoleInternalServerErrorBody `json:"Payload,omitempty"` -} - -// Validate validates this get ory access control policy role internal server error -func (m *GetOryAccessControlPolicyRoleInternalServerError) Validate(formats strfmt.Registry) error { - var res []error - - if err := m.validatePayload(formats); err != nil { - res = append(res, err) - } - - if len(res) > 0 { - return errors.CompositeValidationError(res...) - } - return nil -} - -func (m *GetOryAccessControlPolicyRoleInternalServerError) validatePayload(formats strfmt.Registry) error { - - if swag.IsZero(m.Payload) { // not required - return nil - } - - if m.Payload != nil { - if err := m.Payload.Validate(formats); err != nil { - if ve, ok := err.(*errors.Validation); ok { - return ve.ValidateName("Payload") - } - return err - } - } - - return nil -} - -// MarshalBinary interface implementation -func (m *GetOryAccessControlPolicyRoleInternalServerError) MarshalBinary() ([]byte, error) { - if m == nil { - return nil, nil - } - return swag.WriteJSON(m) -} - -// UnmarshalBinary interface implementation -func (m *GetOryAccessControlPolicyRoleInternalServerError) UnmarshalBinary(b []byte) error { - var res GetOryAccessControlPolicyRoleInternalServerError - if err := swag.ReadJSON(b, &res); err != nil { - return err - } - *m = res - return nil -} diff --git a/sdk/go/keto/models/get_ory_access_control_policy_role_internal_server_error_body.go b/sdk/go/keto/models/get_ory_access_control_policy_role_internal_server_error_body.go deleted file mode 100644 index 5d2492f85..000000000 --- a/sdk/go/keto/models/get_ory_access_control_policy_role_internal_server_error_body.go +++ /dev/null @@ -1,58 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -package models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -import ( - strfmt "github.com/go-openapi/strfmt" - - "github.com/go-openapi/swag" -) - -// GetOryAccessControlPolicyRoleInternalServerErrorBody GetOryAccessControlPolicyRoleInternalServerErrorBody get ory access control policy role internal server error body -// swagger:model GetOryAccessControlPolicyRoleInternalServerErrorBody -type GetOryAccessControlPolicyRoleInternalServerErrorBody struct { - - // code - Code int64 `json:"code,omitempty"` - - // details - Details []map[string]interface{} `json:"details"` - - // message - Message string `json:"message,omitempty"` - - // reason - Reason string `json:"reason,omitempty"` - - // request - Request string `json:"request,omitempty"` - - // status - Status string `json:"status,omitempty"` -} - -// Validate validates this get ory access control policy role internal server error body -func (m *GetOryAccessControlPolicyRoleInternalServerErrorBody) Validate(formats strfmt.Registry) error { - return nil -} - -// MarshalBinary interface implementation -func (m *GetOryAccessControlPolicyRoleInternalServerErrorBody) MarshalBinary() ([]byte, error) { - if m == nil { - return nil, nil - } - return swag.WriteJSON(m) -} - -// UnmarshalBinary interface implementation -func (m *GetOryAccessControlPolicyRoleInternalServerErrorBody) UnmarshalBinary(b []byte) error { - var res GetOryAccessControlPolicyRoleInternalServerErrorBody - if err := swag.ReadJSON(b, &res); err != nil { - return err - } - *m = res - return nil -} diff --git a/sdk/go/keto/models/get_ory_access_control_policy_role_not_found.go b/sdk/go/keto/models/get_ory_access_control_policy_role_not_found.go deleted file mode 100644 index 2d202dc4d..000000000 --- a/sdk/go/keto/models/get_ory_access_control_policy_role_not_found.go +++ /dev/null @@ -1,73 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -package models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -import ( - strfmt "github.com/go-openapi/strfmt" - - "github.com/go-openapi/errors" - "github.com/go-openapi/swag" -) - -// GetOryAccessControlPolicyRoleNotFound GetOryAccessControlPolicyRoleNotFound GetOryAccessControlPolicyRoleNotFound GetOryAccessControlPolicyRoleNotFound handles this case with default header values. -// -// The standard error format -// swagger:model GetOryAccessControlPolicyRoleNotFound -type GetOryAccessControlPolicyRoleNotFound struct { - - // payload - Payload *GetOryAccessControlPolicyRoleNotFoundBody `json:"Payload,omitempty"` -} - -// Validate validates this get ory access control policy role not found -func (m *GetOryAccessControlPolicyRoleNotFound) Validate(formats strfmt.Registry) error { - var res []error - - if err := m.validatePayload(formats); err != nil { - res = append(res, err) - } - - if len(res) > 0 { - return errors.CompositeValidationError(res...) - } - return nil -} - -func (m *GetOryAccessControlPolicyRoleNotFound) validatePayload(formats strfmt.Registry) error { - - if swag.IsZero(m.Payload) { // not required - return nil - } - - if m.Payload != nil { - if err := m.Payload.Validate(formats); err != nil { - if ve, ok := err.(*errors.Validation); ok { - return ve.ValidateName("Payload") - } - return err - } - } - - return nil -} - -// MarshalBinary interface implementation -func (m *GetOryAccessControlPolicyRoleNotFound) MarshalBinary() ([]byte, error) { - if m == nil { - return nil, nil - } - return swag.WriteJSON(m) -} - -// UnmarshalBinary interface implementation -func (m *GetOryAccessControlPolicyRoleNotFound) UnmarshalBinary(b []byte) error { - var res GetOryAccessControlPolicyRoleNotFound - if err := swag.ReadJSON(b, &res); err != nil { - return err - } - *m = res - return nil -} diff --git a/sdk/go/keto/models/get_ory_access_control_policy_role_not_found_body.go b/sdk/go/keto/models/get_ory_access_control_policy_role_not_found_body.go deleted file mode 100644 index c5fa61831..000000000 --- a/sdk/go/keto/models/get_ory_access_control_policy_role_not_found_body.go +++ /dev/null @@ -1,58 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -package models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -import ( - strfmt "github.com/go-openapi/strfmt" - - "github.com/go-openapi/swag" -) - -// GetOryAccessControlPolicyRoleNotFoundBody GetOryAccessControlPolicyRoleNotFoundBody GetOryAccessControlPolicyRoleNotFoundBody GetOryAccessControlPolicyRoleNotFoundBody get ory access control policy role not found body -// swagger:model GetOryAccessControlPolicyRoleNotFoundBody -type GetOryAccessControlPolicyRoleNotFoundBody struct { - - // code - Code int64 `json:"code,omitempty"` - - // details - Details []map[string]interface{} `json:"details"` - - // message - Message string `json:"message,omitempty"` - - // reason - Reason string `json:"reason,omitempty"` - - // request - Request string `json:"request,omitempty"` - - // status - Status string `json:"status,omitempty"` -} - -// Validate validates this get ory access control policy role not found body -func (m *GetOryAccessControlPolicyRoleNotFoundBody) Validate(formats strfmt.Registry) error { - return nil -} - -// MarshalBinary interface implementation -func (m *GetOryAccessControlPolicyRoleNotFoundBody) MarshalBinary() ([]byte, error) { - if m == nil { - return nil, nil - } - return swag.WriteJSON(m) -} - -// UnmarshalBinary interface implementation -func (m *GetOryAccessControlPolicyRoleNotFoundBody) UnmarshalBinary(b []byte) error { - var res GetOryAccessControlPolicyRoleNotFoundBody - if err := swag.ReadJSON(b, &res); err != nil { - return err - } - *m = res - return nil -} diff --git a/sdk/go/keto/models/get_ory_access_control_policy_role_o_k.go b/sdk/go/keto/models/get_ory_access_control_policy_role_o_k.go deleted file mode 100644 index b7877b82e..000000000 --- a/sdk/go/keto/models/get_ory_access_control_policy_role_o_k.go +++ /dev/null @@ -1,73 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -package models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -import ( - strfmt "github.com/go-openapi/strfmt" - - "github.com/go-openapi/errors" - "github.com/go-openapi/swag" -) - -// GetOryAccessControlPolicyRoleOK GetOryAccessControlPolicyRoleOK GetOryAccessControlPolicyRoleOK handles this case with default header values. -// -// oryAccessControlPolicyRole -// swagger:model GetOryAccessControlPolicyRoleOK -type GetOryAccessControlPolicyRoleOK struct { - - // payload - Payload *OryAccessControlPolicyRole `json:"Payload,omitempty"` -} - -// Validate validates this get ory access control policy role o k -func (m *GetOryAccessControlPolicyRoleOK) Validate(formats strfmt.Registry) error { - var res []error - - if err := m.validatePayload(formats); err != nil { - res = append(res, err) - } - - if len(res) > 0 { - return errors.CompositeValidationError(res...) - } - return nil -} - -func (m *GetOryAccessControlPolicyRoleOK) validatePayload(formats strfmt.Registry) error { - - if swag.IsZero(m.Payload) { // not required - return nil - } - - if m.Payload != nil { - if err := m.Payload.Validate(formats); err != nil { - if ve, ok := err.(*errors.Validation); ok { - return ve.ValidateName("Payload") - } - return err - } - } - - return nil -} - -// MarshalBinary interface implementation -func (m *GetOryAccessControlPolicyRoleOK) MarshalBinary() ([]byte, error) { - if m == nil { - return nil, nil - } - return swag.WriteJSON(m) -} - -// UnmarshalBinary interface implementation -func (m *GetOryAccessControlPolicyRoleOK) UnmarshalBinary(b []byte) error { - var res GetOryAccessControlPolicyRoleOK - if err := swag.ReadJSON(b, &res); err != nil { - return err - } - *m = res - return nil -} diff --git a/sdk/go/keto/models/get_ory_access_control_policy_role_reader.go b/sdk/go/keto/models/get_ory_access_control_policy_role_reader.go deleted file mode 100644 index 893456e95..000000000 --- a/sdk/go/keto/models/get_ory_access_control_policy_role_reader.go +++ /dev/null @@ -1,10 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -package models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -// GetOryAccessControlPolicyRoleReader GetOryAccessControlPolicyRoleReader GetOryAccessControlPolicyRoleReader GetOryAccessControlPolicyRoleReader is a Reader for the GetOryAccessControlPolicyRole structure. -// swagger:model GetOryAccessControlPolicyRoleReader -type GetOryAccessControlPolicyRoleReader interface{} diff --git a/sdk/go/keto/models/input.go b/sdk/go/keto/models/input.go deleted file mode 100644 index 07e29431c..000000000 --- a/sdk/go/keto/models/input.go +++ /dev/null @@ -1,52 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -package models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -import ( - strfmt "github.com/go-openapi/strfmt" - - "github.com/go-openapi/swag" -) - -// Input Input Input Input Input Input for checking if a request is allowed or not. -// swagger:model Input -type Input struct { - - // Action is the action that is requested on the resource. - Action string `json:"action,omitempty"` - - // Context is the request's environmental context. - Context map[string]interface{} `json:"context,omitempty"` - - // Resource is the resource that access is requested to. - Resource string `json:"resource,omitempty"` - - // Subject is the subject that is requesting access. - Subject string `json:"subject,omitempty"` -} - -// Validate validates this input -func (m *Input) Validate(formats strfmt.Registry) error { - return nil -} - -// MarshalBinary interface implementation -func (m *Input) MarshalBinary() ([]byte, error) { - if m == nil { - return nil, nil - } - return swag.WriteJSON(m) -} - -// UnmarshalBinary interface implementation -func (m *Input) UnmarshalBinary(b []byte) error { - var res Input - if err := swag.ReadJSON(b, &res); err != nil { - return err - } - *m = res - return nil -} diff --git a/sdk/go/keto/models/is_instance_alive_internal_server_error.go b/sdk/go/keto/models/is_instance_alive_internal_server_error.go deleted file mode 100644 index d2c61eff9..000000000 --- a/sdk/go/keto/models/is_instance_alive_internal_server_error.go +++ /dev/null @@ -1,73 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -package models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -import ( - strfmt "github.com/go-openapi/strfmt" - - "github.com/go-openapi/errors" - "github.com/go-openapi/swag" -) - -// IsInstanceAliveInternalServerError IsInstanceAliveInternalServerError IsInstanceAliveInternalServerError handles this case with default header values. -// -// The standard error format -// swagger:model IsInstanceAliveInternalServerError -type IsInstanceAliveInternalServerError struct { - - // payload - Payload *IsInstanceAliveInternalServerErrorBody `json:"Payload,omitempty"` -} - -// Validate validates this is instance alive internal server error -func (m *IsInstanceAliveInternalServerError) Validate(formats strfmt.Registry) error { - var res []error - - if err := m.validatePayload(formats); err != nil { - res = append(res, err) - } - - if len(res) > 0 { - return errors.CompositeValidationError(res...) - } - return nil -} - -func (m *IsInstanceAliveInternalServerError) validatePayload(formats strfmt.Registry) error { - - if swag.IsZero(m.Payload) { // not required - return nil - } - - if m.Payload != nil { - if err := m.Payload.Validate(formats); err != nil { - if ve, ok := err.(*errors.Validation); ok { - return ve.ValidateName("Payload") - } - return err - } - } - - return nil -} - -// MarshalBinary interface implementation -func (m *IsInstanceAliveInternalServerError) MarshalBinary() ([]byte, error) { - if m == nil { - return nil, nil - } - return swag.WriteJSON(m) -} - -// UnmarshalBinary interface implementation -func (m *IsInstanceAliveInternalServerError) UnmarshalBinary(b []byte) error { - var res IsInstanceAliveInternalServerError - if err := swag.ReadJSON(b, &res); err != nil { - return err - } - *m = res - return nil -} diff --git a/sdk/go/keto/models/is_instance_alive_internal_server_error_body.go b/sdk/go/keto/models/is_instance_alive_internal_server_error_body.go deleted file mode 100644 index 39e924e3c..000000000 --- a/sdk/go/keto/models/is_instance_alive_internal_server_error_body.go +++ /dev/null @@ -1,58 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -package models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -import ( - strfmt "github.com/go-openapi/strfmt" - - "github.com/go-openapi/swag" -) - -// IsInstanceAliveInternalServerErrorBody IsInstanceAliveInternalServerErrorBody is instance alive internal server error body -// swagger:model IsInstanceAliveInternalServerErrorBody -type IsInstanceAliveInternalServerErrorBody struct { - - // code - Code int64 `json:"code,omitempty"` - - // details - Details []map[string]interface{} `json:"details"` - - // message - Message string `json:"message,omitempty"` - - // reason - Reason string `json:"reason,omitempty"` - - // request - Request string `json:"request,omitempty"` - - // status - Status string `json:"status,omitempty"` -} - -// Validate validates this is instance alive internal server error body -func (m *IsInstanceAliveInternalServerErrorBody) Validate(formats strfmt.Registry) error { - return nil -} - -// MarshalBinary interface implementation -func (m *IsInstanceAliveInternalServerErrorBody) MarshalBinary() ([]byte, error) { - if m == nil { - return nil, nil - } - return swag.WriteJSON(m) -} - -// UnmarshalBinary interface implementation -func (m *IsInstanceAliveInternalServerErrorBody) UnmarshalBinary(b []byte) error { - var res IsInstanceAliveInternalServerErrorBody - if err := swag.ReadJSON(b, &res); err != nil { - return err - } - *m = res - return nil -} diff --git a/sdk/go/keto/models/is_instance_alive_o_k.go b/sdk/go/keto/models/is_instance_alive_o_k.go deleted file mode 100644 index 9ba656367..000000000 --- a/sdk/go/keto/models/is_instance_alive_o_k.go +++ /dev/null @@ -1,73 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -package models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -import ( - strfmt "github.com/go-openapi/strfmt" - - "github.com/go-openapi/errors" - "github.com/go-openapi/swag" -) - -// IsInstanceAliveOK IsInstanceAliveOK IsInstanceAliveOK IsInstanceAliveOK handles this case with default header values. -// -// healthStatus -// swagger:model IsInstanceAliveOK -type IsInstanceAliveOK struct { - - // payload - Payload *SwaggerHealthStatus `json:"Payload,omitempty"` -} - -// Validate validates this is instance alive o k -func (m *IsInstanceAliveOK) Validate(formats strfmt.Registry) error { - var res []error - - if err := m.validatePayload(formats); err != nil { - res = append(res, err) - } - - if len(res) > 0 { - return errors.CompositeValidationError(res...) - } - return nil -} - -func (m *IsInstanceAliveOK) validatePayload(formats strfmt.Registry) error { - - if swag.IsZero(m.Payload) { // not required - return nil - } - - if m.Payload != nil { - if err := m.Payload.Validate(formats); err != nil { - if ve, ok := err.(*errors.Validation); ok { - return ve.ValidateName("Payload") - } - return err - } - } - - return nil -} - -// MarshalBinary interface implementation -func (m *IsInstanceAliveOK) MarshalBinary() ([]byte, error) { - if m == nil { - return nil, nil - } - return swag.WriteJSON(m) -} - -// UnmarshalBinary interface implementation -func (m *IsInstanceAliveOK) UnmarshalBinary(b []byte) error { - var res IsInstanceAliveOK - if err := swag.ReadJSON(b, &res); err != nil { - return err - } - *m = res - return nil -} diff --git a/sdk/go/keto/models/is_instance_alive_reader.go b/sdk/go/keto/models/is_instance_alive_reader.go deleted file mode 100644 index b8b033da1..000000000 --- a/sdk/go/keto/models/is_instance_alive_reader.go +++ /dev/null @@ -1,10 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -package models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -// IsInstanceAliveReader IsInstanceAliveReader IsInstanceAliveReader IsInstanceAliveReader IsInstanceAliveReader is a Reader for the IsInstanceAlive structure. -// swagger:model IsInstanceAliveReader -type IsInstanceAliveReader interface{} diff --git a/sdk/go/keto/models/list_ory_access_control_policies.go b/sdk/go/keto/models/list_ory_access_control_policies.go deleted file mode 100644 index fe5f8bd68..000000000 --- a/sdk/go/keto/models/list_ory_access_control_policies.go +++ /dev/null @@ -1,76 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -package models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -import ( - strfmt "github.com/go-openapi/strfmt" - - "github.com/go-openapi/errors" - "github.com/go-openapi/swag" - "github.com/go-openapi/validate" -) - -// ListOryAccessControlPolicies ListOryAccessControlPolicies ListOryAccessControlPolicies ListOryAccessControlPolicies list ory access control policies -// swagger:model ListOryAccessControlPolicies -type ListOryAccessControlPolicies struct { - - // The ORY Access Control Policy flavor. Can be "regex", "glob", and "exact" - // - // in: path - // Required: true - Flavor *string `json:"flavor"` - - // The maximum amount of policies returned. - // - // in: query - Limit int64 `json:"limit,omitempty"` - - // The offset from where to start looking. - // - // in: query - Offset int64 `json:"offset,omitempty"` -} - -// Validate validates this list ory access control policies -func (m *ListOryAccessControlPolicies) Validate(formats strfmt.Registry) error { - var res []error - - if err := m.validateFlavor(formats); err != nil { - res = append(res, err) - } - - if len(res) > 0 { - return errors.CompositeValidationError(res...) - } - return nil -} - -func (m *ListOryAccessControlPolicies) validateFlavor(formats strfmt.Registry) error { - - if err := validate.Required("flavor", "body", m.Flavor); err != nil { - return err - } - - return nil -} - -// MarshalBinary interface implementation -func (m *ListOryAccessControlPolicies) MarshalBinary() ([]byte, error) { - if m == nil { - return nil, nil - } - return swag.WriteJSON(m) -} - -// UnmarshalBinary interface implementation -func (m *ListOryAccessControlPolicies) UnmarshalBinary(b []byte) error { - var res ListOryAccessControlPolicies - if err := swag.ReadJSON(b, &res); err != nil { - return err - } - *m = res - return nil -} diff --git a/sdk/go/keto/models/list_ory_access_control_policies_internal_server_error.go b/sdk/go/keto/models/list_ory_access_control_policies_internal_server_error.go deleted file mode 100644 index 3085cfb58..000000000 --- a/sdk/go/keto/models/list_ory_access_control_policies_internal_server_error.go +++ /dev/null @@ -1,73 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -package models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -import ( - strfmt "github.com/go-openapi/strfmt" - - "github.com/go-openapi/errors" - "github.com/go-openapi/swag" -) - -// ListOryAccessControlPoliciesInternalServerError ListOryAccessControlPoliciesInternalServerError ListOryAccessControlPoliciesInternalServerError ListOryAccessControlPoliciesInternalServerError handles this case with default header values. -// -// The standard error format -// swagger:model ListOryAccessControlPoliciesInternalServerError -type ListOryAccessControlPoliciesInternalServerError struct { - - // payload - Payload *ListOryAccessControlPoliciesInternalServerErrorBody `json:"Payload,omitempty"` -} - -// Validate validates this list ory access control policies internal server error -func (m *ListOryAccessControlPoliciesInternalServerError) Validate(formats strfmt.Registry) error { - var res []error - - if err := m.validatePayload(formats); err != nil { - res = append(res, err) - } - - if len(res) > 0 { - return errors.CompositeValidationError(res...) - } - return nil -} - -func (m *ListOryAccessControlPoliciesInternalServerError) validatePayload(formats strfmt.Registry) error { - - if swag.IsZero(m.Payload) { // not required - return nil - } - - if m.Payload != nil { - if err := m.Payload.Validate(formats); err != nil { - if ve, ok := err.(*errors.Validation); ok { - return ve.ValidateName("Payload") - } - return err - } - } - - return nil -} - -// MarshalBinary interface implementation -func (m *ListOryAccessControlPoliciesInternalServerError) MarshalBinary() ([]byte, error) { - if m == nil { - return nil, nil - } - return swag.WriteJSON(m) -} - -// UnmarshalBinary interface implementation -func (m *ListOryAccessControlPoliciesInternalServerError) UnmarshalBinary(b []byte) error { - var res ListOryAccessControlPoliciesInternalServerError - if err := swag.ReadJSON(b, &res); err != nil { - return err - } - *m = res - return nil -} diff --git a/sdk/go/keto/models/list_ory_access_control_policies_internal_server_error_body.go b/sdk/go/keto/models/list_ory_access_control_policies_internal_server_error_body.go deleted file mode 100644 index dcc588abc..000000000 --- a/sdk/go/keto/models/list_ory_access_control_policies_internal_server_error_body.go +++ /dev/null @@ -1,58 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -package models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -import ( - strfmt "github.com/go-openapi/strfmt" - - "github.com/go-openapi/swag" -) - -// ListOryAccessControlPoliciesInternalServerErrorBody ListOryAccessControlPoliciesInternalServerErrorBody ListOryAccessControlPoliciesInternalServerErrorBody ListOryAccessControlPoliciesInternalServerErrorBody ListOryAccessControlPoliciesInternalServerErrorBody list ory access control policies internal server error body -// swagger:model ListOryAccessControlPoliciesInternalServerErrorBody -type ListOryAccessControlPoliciesInternalServerErrorBody struct { - - // code - Code int64 `json:"code,omitempty"` - - // details - Details []map[string]interface{} `json:"details"` - - // message - Message string `json:"message,omitempty"` - - // reason - Reason string `json:"reason,omitempty"` - - // request - Request string `json:"request,omitempty"` - - // status - Status string `json:"status,omitempty"` -} - -// Validate validates this list ory access control policies internal server error body -func (m *ListOryAccessControlPoliciesInternalServerErrorBody) Validate(formats strfmt.Registry) error { - return nil -} - -// MarshalBinary interface implementation -func (m *ListOryAccessControlPoliciesInternalServerErrorBody) MarshalBinary() ([]byte, error) { - if m == nil { - return nil, nil - } - return swag.WriteJSON(m) -} - -// UnmarshalBinary interface implementation -func (m *ListOryAccessControlPoliciesInternalServerErrorBody) UnmarshalBinary(b []byte) error { - var res ListOryAccessControlPoliciesInternalServerErrorBody - if err := swag.ReadJSON(b, &res); err != nil { - return err - } - *m = res - return nil -} diff --git a/sdk/go/keto/models/list_ory_access_control_policies_o_k.go b/sdk/go/keto/models/list_ory_access_control_policies_o_k.go deleted file mode 100644 index 56b016fd9..000000000 --- a/sdk/go/keto/models/list_ory_access_control_policies_o_k.go +++ /dev/null @@ -1,82 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -package models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -import ( - "strconv" - - strfmt "github.com/go-openapi/strfmt" - - "github.com/go-openapi/errors" - "github.com/go-openapi/swag" -) - -// ListOryAccessControlPoliciesOK ListOryAccessControlPoliciesOK ListOryAccessControlPoliciesOK handles this case with default header values. -// -// Policies is an array of policies. -// swagger:model ListOryAccessControlPoliciesOK -type ListOryAccessControlPoliciesOK struct { - - // payload - Payload []*OryAccessControlPolicy `json:"Payload"` -} - -// Validate validates this list ory access control policies o k -func (m *ListOryAccessControlPoliciesOK) Validate(formats strfmt.Registry) error { - var res []error - - if err := m.validatePayload(formats); err != nil { - res = append(res, err) - } - - if len(res) > 0 { - return errors.CompositeValidationError(res...) - } - return nil -} - -func (m *ListOryAccessControlPoliciesOK) validatePayload(formats strfmt.Registry) error { - - if swag.IsZero(m.Payload) { // not required - return nil - } - - for i := 0; i < len(m.Payload); i++ { - if swag.IsZero(m.Payload[i]) { // not required - continue - } - - if m.Payload[i] != nil { - if err := m.Payload[i].Validate(formats); err != nil { - if ve, ok := err.(*errors.Validation); ok { - return ve.ValidateName("Payload" + "." + strconv.Itoa(i)) - } - return err - } - } - - } - - return nil -} - -// MarshalBinary interface implementation -func (m *ListOryAccessControlPoliciesOK) MarshalBinary() ([]byte, error) { - if m == nil { - return nil, nil - } - return swag.WriteJSON(m) -} - -// UnmarshalBinary interface implementation -func (m *ListOryAccessControlPoliciesOK) UnmarshalBinary(b []byte) error { - var res ListOryAccessControlPoliciesOK - if err := swag.ReadJSON(b, &res); err != nil { - return err - } - *m = res - return nil -} diff --git a/sdk/go/keto/models/list_ory_access_control_policies_reader.go b/sdk/go/keto/models/list_ory_access_control_policies_reader.go deleted file mode 100644 index 05b2aef35..000000000 --- a/sdk/go/keto/models/list_ory_access_control_policies_reader.go +++ /dev/null @@ -1,10 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -package models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -// ListOryAccessControlPoliciesReader ListOryAccessControlPoliciesReader ListOryAccessControlPoliciesReader ListOryAccessControlPoliciesReader is a Reader for the ListOryAccessControlPolicies structure. -// swagger:model ListOryAccessControlPoliciesReader -type ListOryAccessControlPoliciesReader interface{} diff --git a/sdk/go/keto/models/list_ory_access_control_policy_roles.go b/sdk/go/keto/models/list_ory_access_control_policy_roles.go deleted file mode 100644 index 2be636028..000000000 --- a/sdk/go/keto/models/list_ory_access_control_policy_roles.go +++ /dev/null @@ -1,76 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -package models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -import ( - strfmt "github.com/go-openapi/strfmt" - - "github.com/go-openapi/errors" - "github.com/go-openapi/swag" - "github.com/go-openapi/validate" -) - -// ListOryAccessControlPolicyRoles ListOryAccessControlPolicyRoles list ory access control policy roles -// swagger:model ListOryAccessControlPolicyRoles -type ListOryAccessControlPolicyRoles struct { - - // The ORY Access Control Policy flavor. Can be "regex", "glob", and "exact" - // - // in: path - // Required: true - Flavor *string `json:"flavor"` - - // The maximum amount of policies returned. - // - // in: query - Limit int64 `json:"limit,omitempty"` - - // The offset from where to start looking. - // - // in: query - Offset int64 `json:"offset,omitempty"` -} - -// Validate validates this list ory access control policy roles -func (m *ListOryAccessControlPolicyRoles) Validate(formats strfmt.Registry) error { - var res []error - - if err := m.validateFlavor(formats); err != nil { - res = append(res, err) - } - - if len(res) > 0 { - return errors.CompositeValidationError(res...) - } - return nil -} - -func (m *ListOryAccessControlPolicyRoles) validateFlavor(formats strfmt.Registry) error { - - if err := validate.Required("flavor", "body", m.Flavor); err != nil { - return err - } - - return nil -} - -// MarshalBinary interface implementation -func (m *ListOryAccessControlPolicyRoles) MarshalBinary() ([]byte, error) { - if m == nil { - return nil, nil - } - return swag.WriteJSON(m) -} - -// UnmarshalBinary interface implementation -func (m *ListOryAccessControlPolicyRoles) UnmarshalBinary(b []byte) error { - var res ListOryAccessControlPolicyRoles - if err := swag.ReadJSON(b, &res); err != nil { - return err - } - *m = res - return nil -} diff --git a/sdk/go/keto/models/list_ory_access_control_policy_roles_internal_server_error.go b/sdk/go/keto/models/list_ory_access_control_policy_roles_internal_server_error.go deleted file mode 100644 index f455fc502..000000000 --- a/sdk/go/keto/models/list_ory_access_control_policy_roles_internal_server_error.go +++ /dev/null @@ -1,73 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -package models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -import ( - strfmt "github.com/go-openapi/strfmt" - - "github.com/go-openapi/errors" - "github.com/go-openapi/swag" -) - -// ListOryAccessControlPolicyRolesInternalServerError ListOryAccessControlPolicyRolesInternalServerError ListOryAccessControlPolicyRolesInternalServerError ListOryAccessControlPolicyRolesInternalServerError handles this case with default header values. -// -// The standard error format -// swagger:model ListOryAccessControlPolicyRolesInternalServerError -type ListOryAccessControlPolicyRolesInternalServerError struct { - - // payload - Payload *ListOryAccessControlPolicyRolesInternalServerErrorBody `json:"Payload,omitempty"` -} - -// Validate validates this list ory access control policy roles internal server error -func (m *ListOryAccessControlPolicyRolesInternalServerError) Validate(formats strfmt.Registry) error { - var res []error - - if err := m.validatePayload(formats); err != nil { - res = append(res, err) - } - - if len(res) > 0 { - return errors.CompositeValidationError(res...) - } - return nil -} - -func (m *ListOryAccessControlPolicyRolesInternalServerError) validatePayload(formats strfmt.Registry) error { - - if swag.IsZero(m.Payload) { // not required - return nil - } - - if m.Payload != nil { - if err := m.Payload.Validate(formats); err != nil { - if ve, ok := err.(*errors.Validation); ok { - return ve.ValidateName("Payload") - } - return err - } - } - - return nil -} - -// MarshalBinary interface implementation -func (m *ListOryAccessControlPolicyRolesInternalServerError) MarshalBinary() ([]byte, error) { - if m == nil { - return nil, nil - } - return swag.WriteJSON(m) -} - -// UnmarshalBinary interface implementation -func (m *ListOryAccessControlPolicyRolesInternalServerError) UnmarshalBinary(b []byte) error { - var res ListOryAccessControlPolicyRolesInternalServerError - if err := swag.ReadJSON(b, &res); err != nil { - return err - } - *m = res - return nil -} diff --git a/sdk/go/keto/models/list_ory_access_control_policy_roles_internal_server_error_body.go b/sdk/go/keto/models/list_ory_access_control_policy_roles_internal_server_error_body.go deleted file mode 100644 index b683629ae..000000000 --- a/sdk/go/keto/models/list_ory_access_control_policy_roles_internal_server_error_body.go +++ /dev/null @@ -1,58 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -package models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -import ( - strfmt "github.com/go-openapi/strfmt" - - "github.com/go-openapi/swag" -) - -// ListOryAccessControlPolicyRolesInternalServerErrorBody ListOryAccessControlPolicyRolesInternalServerErrorBody ListOryAccessControlPolicyRolesInternalServerErrorBody list ory access control policy roles internal server error body -// swagger:model ListOryAccessControlPolicyRolesInternalServerErrorBody -type ListOryAccessControlPolicyRolesInternalServerErrorBody struct { - - // code - Code int64 `json:"code,omitempty"` - - // details - Details []map[string]interface{} `json:"details"` - - // message - Message string `json:"message,omitempty"` - - // reason - Reason string `json:"reason,omitempty"` - - // request - Request string `json:"request,omitempty"` - - // status - Status string `json:"status,omitempty"` -} - -// Validate validates this list ory access control policy roles internal server error body -func (m *ListOryAccessControlPolicyRolesInternalServerErrorBody) Validate(formats strfmt.Registry) error { - return nil -} - -// MarshalBinary interface implementation -func (m *ListOryAccessControlPolicyRolesInternalServerErrorBody) MarshalBinary() ([]byte, error) { - if m == nil { - return nil, nil - } - return swag.WriteJSON(m) -} - -// UnmarshalBinary interface implementation -func (m *ListOryAccessControlPolicyRolesInternalServerErrorBody) UnmarshalBinary(b []byte) error { - var res ListOryAccessControlPolicyRolesInternalServerErrorBody - if err := swag.ReadJSON(b, &res); err != nil { - return err - } - *m = res - return nil -} diff --git a/sdk/go/keto/models/list_ory_access_control_policy_roles_o_k.go b/sdk/go/keto/models/list_ory_access_control_policy_roles_o_k.go deleted file mode 100644 index 3ab55dafe..000000000 --- a/sdk/go/keto/models/list_ory_access_control_policy_roles_o_k.go +++ /dev/null @@ -1,82 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -package models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -import ( - "strconv" - - strfmt "github.com/go-openapi/strfmt" - - "github.com/go-openapi/errors" - "github.com/go-openapi/swag" -) - -// ListOryAccessControlPolicyRolesOK ListOryAccessControlPolicyRolesOK ListOryAccessControlPolicyRolesOK handles this case with default header values. -// -// Roles is an array of roles. -// swagger:model ListOryAccessControlPolicyRolesOK -type ListOryAccessControlPolicyRolesOK struct { - - // payload - Payload []*OryAccessControlPolicyRole `json:"Payload"` -} - -// Validate validates this list ory access control policy roles o k -func (m *ListOryAccessControlPolicyRolesOK) Validate(formats strfmt.Registry) error { - var res []error - - if err := m.validatePayload(formats); err != nil { - res = append(res, err) - } - - if len(res) > 0 { - return errors.CompositeValidationError(res...) - } - return nil -} - -func (m *ListOryAccessControlPolicyRolesOK) validatePayload(formats strfmt.Registry) error { - - if swag.IsZero(m.Payload) { // not required - return nil - } - - for i := 0; i < len(m.Payload); i++ { - if swag.IsZero(m.Payload[i]) { // not required - continue - } - - if m.Payload[i] != nil { - if err := m.Payload[i].Validate(formats); err != nil { - if ve, ok := err.(*errors.Validation); ok { - return ve.ValidateName("Payload" + "." + strconv.Itoa(i)) - } - return err - } - } - - } - - return nil -} - -// MarshalBinary interface implementation -func (m *ListOryAccessControlPolicyRolesOK) MarshalBinary() ([]byte, error) { - if m == nil { - return nil, nil - } - return swag.WriteJSON(m) -} - -// UnmarshalBinary interface implementation -func (m *ListOryAccessControlPolicyRolesOK) UnmarshalBinary(b []byte) error { - var res ListOryAccessControlPolicyRolesOK - if err := swag.ReadJSON(b, &res); err != nil { - return err - } - *m = res - return nil -} diff --git a/sdk/go/keto/models/list_ory_access_control_policy_roles_reader.go b/sdk/go/keto/models/list_ory_access_control_policy_roles_reader.go deleted file mode 100644 index 2f00dc364..000000000 --- a/sdk/go/keto/models/list_ory_access_control_policy_roles_reader.go +++ /dev/null @@ -1,10 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -package models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -// ListOryAccessControlPolicyRolesReader ListOryAccessControlPolicyRolesReader ListOryAccessControlPolicyRolesReader ListOryAccessControlPolicyRolesReader is a Reader for the ListOryAccessControlPolicyRoles structure. -// swagger:model ListOryAccessControlPolicyRolesReader -type ListOryAccessControlPolicyRolesReader interface{} diff --git a/sdk/go/keto/models/ory_access_control_policies.go b/sdk/go/keto/models/ory_access_control_policies.go deleted file mode 100644 index 6b18e2d10..000000000 --- a/sdk/go/keto/models/ory_access_control_policies.go +++ /dev/null @@ -1,83 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -package models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -import ( - "strconv" - - strfmt "github.com/go-openapi/strfmt" - - "github.com/go-openapi/errors" - "github.com/go-openapi/swag" -) - -// OryAccessControlPolicies OryAccessControlPolicies Policies is an array of policies. -// swagger:model OryAccessControlPolicies -type OryAccessControlPolicies struct { - - // The request body. - // - // in: body - // type: array - Body []*OryAccessControlPolicy `json:"Body"` -} - -// Validate validates this ory access control policies -func (m *OryAccessControlPolicies) Validate(formats strfmt.Registry) error { - var res []error - - if err := m.validateBody(formats); err != nil { - res = append(res, err) - } - - if len(res) > 0 { - return errors.CompositeValidationError(res...) - } - return nil -} - -func (m *OryAccessControlPolicies) validateBody(formats strfmt.Registry) error { - - if swag.IsZero(m.Body) { // not required - return nil - } - - for i := 0; i < len(m.Body); i++ { - if swag.IsZero(m.Body[i]) { // not required - continue - } - - if m.Body[i] != nil { - if err := m.Body[i].Validate(formats); err != nil { - if ve, ok := err.(*errors.Validation); ok { - return ve.ValidateName("Body" + "." + strconv.Itoa(i)) - } - return err - } - } - - } - - return nil -} - -// MarshalBinary interface implementation -func (m *OryAccessControlPolicies) MarshalBinary() ([]byte, error) { - if m == nil { - return nil, nil - } - return swag.WriteJSON(m) -} - -// UnmarshalBinary interface implementation -func (m *OryAccessControlPolicies) UnmarshalBinary(b []byte) error { - var res OryAccessControlPolicies - if err := swag.ReadJSON(b, &res); err != nil { - return err - } - *m = res - return nil -} diff --git a/sdk/go/keto/models/ory_access_control_policy_roles.go b/sdk/go/keto/models/ory_access_control_policy_roles.go deleted file mode 100644 index 14e29d38b..000000000 --- a/sdk/go/keto/models/ory_access_control_policy_roles.go +++ /dev/null @@ -1,83 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -package models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -import ( - "strconv" - - strfmt "github.com/go-openapi/strfmt" - - "github.com/go-openapi/errors" - "github.com/go-openapi/swag" -) - -// OryAccessControlPolicyRoles OryAccessControlPolicyRoles OryAccessControlPolicyRoles Roles is an array of roles. -// swagger:model OryAccessControlPolicyRoles -type OryAccessControlPolicyRoles struct { - - // The request body. - // - // in: body - // type: array - Body []*OryAccessControlPolicyRole `json:"Body"` -} - -// Validate validates this ory access control policy roles -func (m *OryAccessControlPolicyRoles) Validate(formats strfmt.Registry) error { - var res []error - - if err := m.validateBody(formats); err != nil { - res = append(res, err) - } - - if len(res) > 0 { - return errors.CompositeValidationError(res...) - } - return nil -} - -func (m *OryAccessControlPolicyRoles) validateBody(formats strfmt.Registry) error { - - if swag.IsZero(m.Body) { // not required - return nil - } - - for i := 0; i < len(m.Body); i++ { - if swag.IsZero(m.Body[i]) { // not required - continue - } - - if m.Body[i] != nil { - if err := m.Body[i].Validate(formats); err != nil { - if ve, ok := err.(*errors.Validation); ok { - return ve.ValidateName("Body" + "." + strconv.Itoa(i)) - } - return err - } - } - - } - - return nil -} - -// MarshalBinary interface implementation -func (m *OryAccessControlPolicyRoles) MarshalBinary() ([]byte, error) { - if m == nil { - return nil, nil - } - return swag.WriteJSON(m) -} - -// UnmarshalBinary interface implementation -func (m *OryAccessControlPolicyRoles) UnmarshalBinary(b []byte) error { - var res OryAccessControlPolicyRoles - if err := swag.ReadJSON(b, &res); err != nil { - return err - } - *m = res - return nil -} diff --git a/sdk/go/keto/models/policies.go b/sdk/go/keto/models/policies.go deleted file mode 100644 index f2a0152e7..000000000 --- a/sdk/go/keto/models/policies.go +++ /dev/null @@ -1,45 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -package models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -import ( - "strconv" - - strfmt "github.com/go-openapi/strfmt" - - "github.com/go-openapi/errors" - "github.com/go-openapi/swag" -) - -// Policies Policies Policies Policies Policies Policies is an array of policies. -// swagger:model Policies -type Policies []*Policy - -// Validate validates this policies -func (m Policies) Validate(formats strfmt.Registry) error { - var res []error - - for i := 0; i < len(m); i++ { - if swag.IsZero(m[i]) { // not required - continue - } - - if m[i] != nil { - if err := m[i].Validate(formats); err != nil { - if ve, ok := err.(*errors.Validation); ok { - return ve.ValidateName(strconv.Itoa(i)) - } - return err - } - } - - } - - if len(res) > 0 { - return errors.CompositeValidationError(res...) - } - return nil -} diff --git a/sdk/go/keto/models/policy.go b/sdk/go/keto/models/policy.go deleted file mode 100644 index 4d4e1f897..000000000 --- a/sdk/go/keto/models/policy.go +++ /dev/null @@ -1,61 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -package models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -import ( - strfmt "github.com/go-openapi/strfmt" - - "github.com/go-openapi/swag" -) - -// Policy Policy Policy Policy Policy Policy Policy Policy specifies an ORY Access Policy document. -// swagger:model Policy -type Policy struct { - - // Actions is an array representing all the actions this ORY Access Policy applies to. - Actions []string `json:"actions"` - - // Conditions represents a keyed object of conditions under which this ORY Access Policy is active. - Conditions map[string]interface{} `json:"conditions,omitempty"` - - // Description is an optional, human-readable description. - Description string `json:"description,omitempty"` - - // Effect is the effect of this ORY Access Policy. It can be "allow" or "deny". - Effect string `json:"effect,omitempty"` - - // ID is the unique identifier of the ORY Access Policy. It is used to query, update, and remove the ORY Access Policy. - ID string `json:"id,omitempty"` - - // Resources is an array representing all the resources this ORY Access Policy applies to. - Resources []string `json:"resources"` - - // Subjects is an array representing all the subjects this ORY Access Policy applies to. - Subjects []string `json:"subjects"` -} - -// Validate validates this policy -func (m *Policy) Validate(formats strfmt.Registry) error { - return nil -} - -// MarshalBinary interface implementation -func (m *Policy) MarshalBinary() ([]byte, error) { - if m == nil { - return nil, nil - } - return swag.WriteJSON(m) -} - -// UnmarshalBinary interface implementation -func (m *Policy) UnmarshalBinary(b []byte) error { - var res Policy - if err := swag.ReadJSON(b, &res); err != nil { - return err - } - *m = res - return nil -} diff --git a/sdk/go/keto/models/remove_ory_access_control_policy_role_members.go b/sdk/go/keto/models/remove_ory_access_control_policy_role_members.go deleted file mode 100644 index 21f5320d3..000000000 --- a/sdk/go/keto/models/remove_ory_access_control_policy_role_members.go +++ /dev/null @@ -1,104 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -package models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -import ( - strfmt "github.com/go-openapi/strfmt" - - "github.com/go-openapi/errors" - "github.com/go-openapi/swag" - "github.com/go-openapi/validate" -) - -// RemoveOryAccessControlPolicyRoleMembers RemoveOryAccessControlPolicyRoleMembers RemoveOryAccessControlPolicyRoleMembers RemoveOryAccessControlPolicyRoleMembers remove ory access control policy role members -// swagger:model RemoveOryAccessControlPolicyRoleMembers -type RemoveOryAccessControlPolicyRoleMembers struct { - - // The ORY Access Control Policy flavor. Can be "regex", "glob", and "exact". - // - // in: path - // Required: true - Flavor *string `json:"flavor"` - - // The ID of the ORY Access Control Policy Role. - // - // in: path - // Required: true - ID *string `json:"id"` - - // The member to be removed. - // - // in: path - // Required: true - Member *string `json:"member"` -} - -// Validate validates this remove ory access control policy role members -func (m *RemoveOryAccessControlPolicyRoleMembers) Validate(formats strfmt.Registry) error { - var res []error - - if err := m.validateFlavor(formats); err != nil { - res = append(res, err) - } - - if err := m.validateID(formats); err != nil { - res = append(res, err) - } - - if err := m.validateMember(formats); err != nil { - res = append(res, err) - } - - if len(res) > 0 { - return errors.CompositeValidationError(res...) - } - return nil -} - -func (m *RemoveOryAccessControlPolicyRoleMembers) validateFlavor(formats strfmt.Registry) error { - - if err := validate.Required("flavor", "body", m.Flavor); err != nil { - return err - } - - return nil -} - -func (m *RemoveOryAccessControlPolicyRoleMembers) validateID(formats strfmt.Registry) error { - - if err := validate.Required("id", "body", m.ID); err != nil { - return err - } - - return nil -} - -func (m *RemoveOryAccessControlPolicyRoleMembers) validateMember(formats strfmt.Registry) error { - - if err := validate.Required("member", "body", m.Member); err != nil { - return err - } - - return nil -} - -// MarshalBinary interface implementation -func (m *RemoveOryAccessControlPolicyRoleMembers) MarshalBinary() ([]byte, error) { - if m == nil { - return nil, nil - } - return swag.WriteJSON(m) -} - -// UnmarshalBinary interface implementation -func (m *RemoveOryAccessControlPolicyRoleMembers) UnmarshalBinary(b []byte) error { - var res RemoveOryAccessControlPolicyRoleMembers - if err := swag.ReadJSON(b, &res); err != nil { - return err - } - *m = res - return nil -} diff --git a/sdk/go/keto/models/remove_ory_access_control_policy_role_members_created.go b/sdk/go/keto/models/remove_ory_access_control_policy_role_members_created.go deleted file mode 100644 index 633bece87..000000000 --- a/sdk/go/keto/models/remove_ory_access_control_policy_role_members_created.go +++ /dev/null @@ -1,12 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -package models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -// RemoveOryAccessControlPolicyRoleMembersCreated RemoveOryAccessControlPolicyRoleMembersCreated RemoveOryAccessControlPolicyRoleMembersCreated RemoveOryAccessControlPolicyRoleMembersCreated RemoveOryAccessControlPolicyRoleMembersCreated handles this case with default header values. -// -// An empty response -// swagger:model RemoveOryAccessControlPolicyRoleMembersCreated -type RemoveOryAccessControlPolicyRoleMembersCreated interface{} diff --git a/sdk/go/keto/models/remove_ory_access_control_policy_role_members_internal_server_error.go b/sdk/go/keto/models/remove_ory_access_control_policy_role_members_internal_server_error.go deleted file mode 100644 index 845d9d431..000000000 --- a/sdk/go/keto/models/remove_ory_access_control_policy_role_members_internal_server_error.go +++ /dev/null @@ -1,73 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -package models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -import ( - strfmt "github.com/go-openapi/strfmt" - - "github.com/go-openapi/errors" - "github.com/go-openapi/swag" -) - -// RemoveOryAccessControlPolicyRoleMembersInternalServerError RemoveOryAccessControlPolicyRoleMembersInternalServerError RemoveOryAccessControlPolicyRoleMembersInternalServerError RemoveOryAccessControlPolicyRoleMembersInternalServerError RemoveOryAccessControlPolicyRoleMembersInternalServerError handles this case with default header values. -// -// The standard error format -// swagger:model RemoveOryAccessControlPolicyRoleMembersInternalServerError -type RemoveOryAccessControlPolicyRoleMembersInternalServerError struct { - - // payload - Payload *RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody `json:"Payload,omitempty"` -} - -// Validate validates this remove ory access control policy role members internal server error -func (m *RemoveOryAccessControlPolicyRoleMembersInternalServerError) Validate(formats strfmt.Registry) error { - var res []error - - if err := m.validatePayload(formats); err != nil { - res = append(res, err) - } - - if len(res) > 0 { - return errors.CompositeValidationError(res...) - } - return nil -} - -func (m *RemoveOryAccessControlPolicyRoleMembersInternalServerError) validatePayload(formats strfmt.Registry) error { - - if swag.IsZero(m.Payload) { // not required - return nil - } - - if m.Payload != nil { - if err := m.Payload.Validate(formats); err != nil { - if ve, ok := err.(*errors.Validation); ok { - return ve.ValidateName("Payload") - } - return err - } - } - - return nil -} - -// MarshalBinary interface implementation -func (m *RemoveOryAccessControlPolicyRoleMembersInternalServerError) MarshalBinary() ([]byte, error) { - if m == nil { - return nil, nil - } - return swag.WriteJSON(m) -} - -// UnmarshalBinary interface implementation -func (m *RemoveOryAccessControlPolicyRoleMembersInternalServerError) UnmarshalBinary(b []byte) error { - var res RemoveOryAccessControlPolicyRoleMembersInternalServerError - if err := swag.ReadJSON(b, &res); err != nil { - return err - } - *m = res - return nil -} diff --git a/sdk/go/keto/models/remove_ory_access_control_policy_role_members_internal_server_error_body.go b/sdk/go/keto/models/remove_ory_access_control_policy_role_members_internal_server_error_body.go deleted file mode 100644 index 7f5c25041..000000000 --- a/sdk/go/keto/models/remove_ory_access_control_policy_role_members_internal_server_error_body.go +++ /dev/null @@ -1,58 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -package models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -import ( - strfmt "github.com/go-openapi/strfmt" - - "github.com/go-openapi/swag" -) - -// RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody remove ory access control policy role members internal server error body -// swagger:model RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody -type RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody struct { - - // code - Code int64 `json:"code,omitempty"` - - // details - Details []map[string]interface{} `json:"details"` - - // message - Message string `json:"message,omitempty"` - - // reason - Reason string `json:"reason,omitempty"` - - // request - Request string `json:"request,omitempty"` - - // status - Status string `json:"status,omitempty"` -} - -// Validate validates this remove ory access control policy role members internal server error body -func (m *RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody) Validate(formats strfmt.Registry) error { - return nil -} - -// MarshalBinary interface implementation -func (m *RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody) MarshalBinary() ([]byte, error) { - if m == nil { - return nil, nil - } - return swag.WriteJSON(m) -} - -// UnmarshalBinary interface implementation -func (m *RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody) UnmarshalBinary(b []byte) error { - var res RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody - if err := swag.ReadJSON(b, &res); err != nil { - return err - } - *m = res - return nil -} diff --git a/sdk/go/keto/models/remove_ory_access_control_policy_role_members_reader.go b/sdk/go/keto/models/remove_ory_access_control_policy_role_members_reader.go deleted file mode 100644 index ecb8b98cc..000000000 --- a/sdk/go/keto/models/remove_ory_access_control_policy_role_members_reader.go +++ /dev/null @@ -1,10 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -package models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -// RemoveOryAccessControlPolicyRoleMembersReader RemoveOryAccessControlPolicyRoleMembersReader RemoveOryAccessControlPolicyRoleMembersReader is a Reader for the RemoveOryAccessControlPolicyRoleMembers structure. -// swagger:model RemoveOryAccessControlPolicyRoleMembersReader -type RemoveOryAccessControlPolicyRoleMembersReader interface{} diff --git a/sdk/go/keto/models/role.go b/sdk/go/keto/models/role.go deleted file mode 100644 index 3a315996b..000000000 --- a/sdk/go/keto/models/role.go +++ /dev/null @@ -1,47 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -package models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -import ( - strfmt "github.com/go-openapi/strfmt" - - "github.com/go-openapi/swag" -) - -// Role Role Role Role Role Role Role Role Role Role represents a group of users that share the same role. A role could be an administrator, a moderator, a regular -// user or some other sort of role. -// swagger:model Role -type Role struct { - - // ID is the role's unique id. - ID string `json:"id,omitempty"` - - // Members is who belongs to the role. - Members []string `json:"members"` -} - -// Validate validates this role -func (m *Role) Validate(formats strfmt.Registry) error { - return nil -} - -// MarshalBinary interface implementation -func (m *Role) MarshalBinary() ([]byte, error) { - if m == nil { - return nil, nil - } - return swag.WriteJSON(m) -} - -// UnmarshalBinary interface implementation -func (m *Role) UnmarshalBinary(b []byte) error { - var res Role - if err := swag.ReadJSON(b, &res); err != nil { - return err - } - *m = res - return nil -} diff --git a/sdk/go/keto/models/roles.go b/sdk/go/keto/models/roles.go deleted file mode 100644 index 8c86be1d2..000000000 --- a/sdk/go/keto/models/roles.go +++ /dev/null @@ -1,45 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -package models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -import ( - "strconv" - - strfmt "github.com/go-openapi/strfmt" - - "github.com/go-openapi/errors" - "github.com/go-openapi/swag" -) - -// Roles Roles Roles Roles Roles A list of roles. -// swagger:model Roles -type Roles []*Role - -// Validate validates this roles -func (m Roles) Validate(formats strfmt.Registry) error { - var res []error - - for i := 0; i < len(m); i++ { - if swag.IsZero(m[i]) { // not required - continue - } - - if m[i] != nil { - if err := m[i].Validate(formats); err != nil { - if ve, ok := err.(*errors.Validation); ok { - return ve.ValidateName(strconv.Itoa(i)) - } - return err - } - } - - } - - if len(res) > 0 { - return errors.CompositeValidationError(res...) - } - return nil -} diff --git a/sdk/go/keto/models/upsert_ory_access_control_policy.go b/sdk/go/keto/models/upsert_ory_access_control_policy.go deleted file mode 100644 index 0536746c6..000000000 --- a/sdk/go/keto/models/upsert_ory_access_control_policy.go +++ /dev/null @@ -1,91 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -package models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -import ( - strfmt "github.com/go-openapi/strfmt" - - "github.com/go-openapi/errors" - "github.com/go-openapi/swag" - "github.com/go-openapi/validate" -) - -// UpsertOryAccessControlPolicy UpsertOryAccessControlPolicy UpsertOryAccessControlPolicy upsert ory access control policy -// swagger:model UpsertOryAccessControlPolicy -type UpsertOryAccessControlPolicy struct { - - // body - Body *OryAccessControlPolicy `json:"Body,omitempty"` - - // The ORY Access Control Policy flavor. Can be "regex", "glob", and "exact". - // - // in: path - // Required: true - Flavor *string `json:"flavor"` -} - -// Validate validates this upsert ory access control policy -func (m *UpsertOryAccessControlPolicy) Validate(formats strfmt.Registry) error { - var res []error - - if err := m.validateBody(formats); err != nil { - res = append(res, err) - } - - if err := m.validateFlavor(formats); err != nil { - res = append(res, err) - } - - if len(res) > 0 { - return errors.CompositeValidationError(res...) - } - return nil -} - -func (m *UpsertOryAccessControlPolicy) validateBody(formats strfmt.Registry) error { - - if swag.IsZero(m.Body) { // not required - return nil - } - - if m.Body != nil { - if err := m.Body.Validate(formats); err != nil { - if ve, ok := err.(*errors.Validation); ok { - return ve.ValidateName("Body") - } - return err - } - } - - return nil -} - -func (m *UpsertOryAccessControlPolicy) validateFlavor(formats strfmt.Registry) error { - - if err := validate.Required("flavor", "body", m.Flavor); err != nil { - return err - } - - return nil -} - -// MarshalBinary interface implementation -func (m *UpsertOryAccessControlPolicy) MarshalBinary() ([]byte, error) { - if m == nil { - return nil, nil - } - return swag.WriteJSON(m) -} - -// UnmarshalBinary interface implementation -func (m *UpsertOryAccessControlPolicy) UnmarshalBinary(b []byte) error { - var res UpsertOryAccessControlPolicy - if err := swag.ReadJSON(b, &res); err != nil { - return err - } - *m = res - return nil -} diff --git a/sdk/go/keto/models/upsert_ory_access_control_policy_internal_server_error.go b/sdk/go/keto/models/upsert_ory_access_control_policy_internal_server_error.go deleted file mode 100644 index 28ee3557e..000000000 --- a/sdk/go/keto/models/upsert_ory_access_control_policy_internal_server_error.go +++ /dev/null @@ -1,73 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -package models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -import ( - strfmt "github.com/go-openapi/strfmt" - - "github.com/go-openapi/errors" - "github.com/go-openapi/swag" -) - -// UpsertOryAccessControlPolicyInternalServerError UpsertOryAccessControlPolicyInternalServerError UpsertOryAccessControlPolicyInternalServerError UpsertOryAccessControlPolicyInternalServerError handles this case with default header values. -// -// The standard error format -// swagger:model UpsertOryAccessControlPolicyInternalServerError -type UpsertOryAccessControlPolicyInternalServerError struct { - - // payload - Payload *UpsertOryAccessControlPolicyInternalServerErrorBody `json:"Payload,omitempty"` -} - -// Validate validates this upsert ory access control policy internal server error -func (m *UpsertOryAccessControlPolicyInternalServerError) Validate(formats strfmt.Registry) error { - var res []error - - if err := m.validatePayload(formats); err != nil { - res = append(res, err) - } - - if len(res) > 0 { - return errors.CompositeValidationError(res...) - } - return nil -} - -func (m *UpsertOryAccessControlPolicyInternalServerError) validatePayload(formats strfmt.Registry) error { - - if swag.IsZero(m.Payload) { // not required - return nil - } - - if m.Payload != nil { - if err := m.Payload.Validate(formats); err != nil { - if ve, ok := err.(*errors.Validation); ok { - return ve.ValidateName("Payload") - } - return err - } - } - - return nil -} - -// MarshalBinary interface implementation -func (m *UpsertOryAccessControlPolicyInternalServerError) MarshalBinary() ([]byte, error) { - if m == nil { - return nil, nil - } - return swag.WriteJSON(m) -} - -// UnmarshalBinary interface implementation -func (m *UpsertOryAccessControlPolicyInternalServerError) UnmarshalBinary(b []byte) error { - var res UpsertOryAccessControlPolicyInternalServerError - if err := swag.ReadJSON(b, &res); err != nil { - return err - } - *m = res - return nil -} diff --git a/sdk/go/keto/models/upsert_ory_access_control_policy_internal_server_error_body.go b/sdk/go/keto/models/upsert_ory_access_control_policy_internal_server_error_body.go deleted file mode 100644 index 1013521dc..000000000 --- a/sdk/go/keto/models/upsert_ory_access_control_policy_internal_server_error_body.go +++ /dev/null @@ -1,58 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -package models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -import ( - strfmt "github.com/go-openapi/strfmt" - - "github.com/go-openapi/swag" -) - -// UpsertOryAccessControlPolicyInternalServerErrorBody UpsertOryAccessControlPolicyInternalServerErrorBody UpsertOryAccessControlPolicyInternalServerErrorBody UpsertOryAccessControlPolicyInternalServerErrorBody upsert ory access control policy internal server error body -// swagger:model UpsertOryAccessControlPolicyInternalServerErrorBody -type UpsertOryAccessControlPolicyInternalServerErrorBody struct { - - // code - Code int64 `json:"code,omitempty"` - - // details - Details []map[string]interface{} `json:"details"` - - // message - Message string `json:"message,omitempty"` - - // reason - Reason string `json:"reason,omitempty"` - - // request - Request string `json:"request,omitempty"` - - // status - Status string `json:"status,omitempty"` -} - -// Validate validates this upsert ory access control policy internal server error body -func (m *UpsertOryAccessControlPolicyInternalServerErrorBody) Validate(formats strfmt.Registry) error { - return nil -} - -// MarshalBinary interface implementation -func (m *UpsertOryAccessControlPolicyInternalServerErrorBody) MarshalBinary() ([]byte, error) { - if m == nil { - return nil, nil - } - return swag.WriteJSON(m) -} - -// UnmarshalBinary interface implementation -func (m *UpsertOryAccessControlPolicyInternalServerErrorBody) UnmarshalBinary(b []byte) error { - var res UpsertOryAccessControlPolicyInternalServerErrorBody - if err := swag.ReadJSON(b, &res); err != nil { - return err - } - *m = res - return nil -} diff --git a/sdk/go/keto/models/upsert_ory_access_control_policy_o_k.go b/sdk/go/keto/models/upsert_ory_access_control_policy_o_k.go deleted file mode 100644 index 642863720..000000000 --- a/sdk/go/keto/models/upsert_ory_access_control_policy_o_k.go +++ /dev/null @@ -1,73 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -package models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -import ( - strfmt "github.com/go-openapi/strfmt" - - "github.com/go-openapi/errors" - "github.com/go-openapi/swag" -) - -// UpsertOryAccessControlPolicyOK UpsertOryAccessControlPolicyOK UpsertOryAccessControlPolicyOK UpsertOryAccessControlPolicyOK UpsertOryAccessControlPolicyOK handles this case with default header values. -// -// oryAccessControlPolicy -// swagger:model UpsertOryAccessControlPolicyOK -type UpsertOryAccessControlPolicyOK struct { - - // payload - Payload *OryAccessControlPolicy `json:"Payload,omitempty"` -} - -// Validate validates this upsert ory access control policy o k -func (m *UpsertOryAccessControlPolicyOK) Validate(formats strfmt.Registry) error { - var res []error - - if err := m.validatePayload(formats); err != nil { - res = append(res, err) - } - - if len(res) > 0 { - return errors.CompositeValidationError(res...) - } - return nil -} - -func (m *UpsertOryAccessControlPolicyOK) validatePayload(formats strfmt.Registry) error { - - if swag.IsZero(m.Payload) { // not required - return nil - } - - if m.Payload != nil { - if err := m.Payload.Validate(formats); err != nil { - if ve, ok := err.(*errors.Validation); ok { - return ve.ValidateName("Payload") - } - return err - } - } - - return nil -} - -// MarshalBinary interface implementation -func (m *UpsertOryAccessControlPolicyOK) MarshalBinary() ([]byte, error) { - if m == nil { - return nil, nil - } - return swag.WriteJSON(m) -} - -// UnmarshalBinary interface implementation -func (m *UpsertOryAccessControlPolicyOK) UnmarshalBinary(b []byte) error { - var res UpsertOryAccessControlPolicyOK - if err := swag.ReadJSON(b, &res); err != nil { - return err - } - *m = res - return nil -} diff --git a/sdk/go/keto/models/upsert_ory_access_control_policy_reader.go b/sdk/go/keto/models/upsert_ory_access_control_policy_reader.go deleted file mode 100644 index f8e9baef4..000000000 --- a/sdk/go/keto/models/upsert_ory_access_control_policy_reader.go +++ /dev/null @@ -1,10 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -package models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -// UpsertOryAccessControlPolicyReader UpsertOryAccessControlPolicyReader UpsertOryAccessControlPolicyReader UpsertOryAccessControlPolicyReader is a Reader for the UpsertOryAccessControlPolicy structure. -// swagger:model UpsertOryAccessControlPolicyReader -type UpsertOryAccessControlPolicyReader interface{} diff --git a/sdk/go/keto/models/upsert_ory_access_control_policy_role.go b/sdk/go/keto/models/upsert_ory_access_control_policy_role.go deleted file mode 100644 index 9b104dd85..000000000 --- a/sdk/go/keto/models/upsert_ory_access_control_policy_role.go +++ /dev/null @@ -1,91 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -package models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -import ( - strfmt "github.com/go-openapi/strfmt" - - "github.com/go-openapi/errors" - "github.com/go-openapi/swag" - "github.com/go-openapi/validate" -) - -// UpsertOryAccessControlPolicyRole UpsertOryAccessControlPolicyRole upsert ory access control policy role -// swagger:model UpsertOryAccessControlPolicyRole -type UpsertOryAccessControlPolicyRole struct { - - // body - Body *OryAccessControlPolicyRole `json:"Body,omitempty"` - - // The ORY Access Control Policy flavor. Can be "regex", "glob", and "exact". - // - // in: path - // Required: true - Flavor *string `json:"flavor"` -} - -// Validate validates this upsert ory access control policy role -func (m *UpsertOryAccessControlPolicyRole) Validate(formats strfmt.Registry) error { - var res []error - - if err := m.validateBody(formats); err != nil { - res = append(res, err) - } - - if err := m.validateFlavor(formats); err != nil { - res = append(res, err) - } - - if len(res) > 0 { - return errors.CompositeValidationError(res...) - } - return nil -} - -func (m *UpsertOryAccessControlPolicyRole) validateBody(formats strfmt.Registry) error { - - if swag.IsZero(m.Body) { // not required - return nil - } - - if m.Body != nil { - if err := m.Body.Validate(formats); err != nil { - if ve, ok := err.(*errors.Validation); ok { - return ve.ValidateName("Body") - } - return err - } - } - - return nil -} - -func (m *UpsertOryAccessControlPolicyRole) validateFlavor(formats strfmt.Registry) error { - - if err := validate.Required("flavor", "body", m.Flavor); err != nil { - return err - } - - return nil -} - -// MarshalBinary interface implementation -func (m *UpsertOryAccessControlPolicyRole) MarshalBinary() ([]byte, error) { - if m == nil { - return nil, nil - } - return swag.WriteJSON(m) -} - -// UnmarshalBinary interface implementation -func (m *UpsertOryAccessControlPolicyRole) UnmarshalBinary(b []byte) error { - var res UpsertOryAccessControlPolicyRole - if err := swag.ReadJSON(b, &res); err != nil { - return err - } - *m = res - return nil -} diff --git a/sdk/go/keto/models/upsert_ory_access_control_policy_role_internal_server_error.go b/sdk/go/keto/models/upsert_ory_access_control_policy_role_internal_server_error.go deleted file mode 100644 index 505c61e94..000000000 --- a/sdk/go/keto/models/upsert_ory_access_control_policy_role_internal_server_error.go +++ /dev/null @@ -1,73 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -package models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -import ( - strfmt "github.com/go-openapi/strfmt" - - "github.com/go-openapi/errors" - "github.com/go-openapi/swag" -) - -// UpsertOryAccessControlPolicyRoleInternalServerError UpsertOryAccessControlPolicyRoleInternalServerError UpsertOryAccessControlPolicyRoleInternalServerError UpsertOryAccessControlPolicyRoleInternalServerError handles this case with default header values. -// -// The standard error format -// swagger:model UpsertOryAccessControlPolicyRoleInternalServerError -type UpsertOryAccessControlPolicyRoleInternalServerError struct { - - // payload - Payload *UpsertOryAccessControlPolicyRoleInternalServerErrorBody `json:"Payload,omitempty"` -} - -// Validate validates this upsert ory access control policy role internal server error -func (m *UpsertOryAccessControlPolicyRoleInternalServerError) Validate(formats strfmt.Registry) error { - var res []error - - if err := m.validatePayload(formats); err != nil { - res = append(res, err) - } - - if len(res) > 0 { - return errors.CompositeValidationError(res...) - } - return nil -} - -func (m *UpsertOryAccessControlPolicyRoleInternalServerError) validatePayload(formats strfmt.Registry) error { - - if swag.IsZero(m.Payload) { // not required - return nil - } - - if m.Payload != nil { - if err := m.Payload.Validate(formats); err != nil { - if ve, ok := err.(*errors.Validation); ok { - return ve.ValidateName("Payload") - } - return err - } - } - - return nil -} - -// MarshalBinary interface implementation -func (m *UpsertOryAccessControlPolicyRoleInternalServerError) MarshalBinary() ([]byte, error) { - if m == nil { - return nil, nil - } - return swag.WriteJSON(m) -} - -// UnmarshalBinary interface implementation -func (m *UpsertOryAccessControlPolicyRoleInternalServerError) UnmarshalBinary(b []byte) error { - var res UpsertOryAccessControlPolicyRoleInternalServerError - if err := swag.ReadJSON(b, &res); err != nil { - return err - } - *m = res - return nil -} diff --git a/sdk/go/keto/models/upsert_ory_access_control_policy_role_internal_server_error_body.go b/sdk/go/keto/models/upsert_ory_access_control_policy_role_internal_server_error_body.go deleted file mode 100644 index 7e0cc71b4..000000000 --- a/sdk/go/keto/models/upsert_ory_access_control_policy_role_internal_server_error_body.go +++ /dev/null @@ -1,58 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -package models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -import ( - strfmt "github.com/go-openapi/strfmt" - - "github.com/go-openapi/swag" -) - -// UpsertOryAccessControlPolicyRoleInternalServerErrorBody UpsertOryAccessControlPolicyRoleInternalServerErrorBody upsert ory access control policy role internal server error body -// swagger:model UpsertOryAccessControlPolicyRoleInternalServerErrorBody -type UpsertOryAccessControlPolicyRoleInternalServerErrorBody struct { - - // code - Code int64 `json:"code,omitempty"` - - // details - Details []map[string]interface{} `json:"details"` - - // message - Message string `json:"message,omitempty"` - - // reason - Reason string `json:"reason,omitempty"` - - // request - Request string `json:"request,omitempty"` - - // status - Status string `json:"status,omitempty"` -} - -// Validate validates this upsert ory access control policy role internal server error body -func (m *UpsertOryAccessControlPolicyRoleInternalServerErrorBody) Validate(formats strfmt.Registry) error { - return nil -} - -// MarshalBinary interface implementation -func (m *UpsertOryAccessControlPolicyRoleInternalServerErrorBody) MarshalBinary() ([]byte, error) { - if m == nil { - return nil, nil - } - return swag.WriteJSON(m) -} - -// UnmarshalBinary interface implementation -func (m *UpsertOryAccessControlPolicyRoleInternalServerErrorBody) UnmarshalBinary(b []byte) error { - var res UpsertOryAccessControlPolicyRoleInternalServerErrorBody - if err := swag.ReadJSON(b, &res); err != nil { - return err - } - *m = res - return nil -} diff --git a/sdk/go/keto/models/upsert_ory_access_control_policy_role_o_k.go b/sdk/go/keto/models/upsert_ory_access_control_policy_role_o_k.go deleted file mode 100644 index 1aa1bb1a0..000000000 --- a/sdk/go/keto/models/upsert_ory_access_control_policy_role_o_k.go +++ /dev/null @@ -1,73 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -package models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -import ( - strfmt "github.com/go-openapi/strfmt" - - "github.com/go-openapi/errors" - "github.com/go-openapi/swag" -) - -// UpsertOryAccessControlPolicyRoleOK UpsertOryAccessControlPolicyRoleOK UpsertOryAccessControlPolicyRoleOK handles this case with default header values. -// -// oryAccessControlPolicyRole -// swagger:model UpsertOryAccessControlPolicyRoleOK -type UpsertOryAccessControlPolicyRoleOK struct { - - // payload - Payload *OryAccessControlPolicyRole `json:"Payload,omitempty"` -} - -// Validate validates this upsert ory access control policy role o k -func (m *UpsertOryAccessControlPolicyRoleOK) Validate(formats strfmt.Registry) error { - var res []error - - if err := m.validatePayload(formats); err != nil { - res = append(res, err) - } - - if len(res) > 0 { - return errors.CompositeValidationError(res...) - } - return nil -} - -func (m *UpsertOryAccessControlPolicyRoleOK) validatePayload(formats strfmt.Registry) error { - - if swag.IsZero(m.Payload) { // not required - return nil - } - - if m.Payload != nil { - if err := m.Payload.Validate(formats); err != nil { - if ve, ok := err.(*errors.Validation); ok { - return ve.ValidateName("Payload") - } - return err - } - } - - return nil -} - -// MarshalBinary interface implementation -func (m *UpsertOryAccessControlPolicyRoleOK) MarshalBinary() ([]byte, error) { - if m == nil { - return nil, nil - } - return swag.WriteJSON(m) -} - -// UnmarshalBinary interface implementation -func (m *UpsertOryAccessControlPolicyRoleOK) UnmarshalBinary(b []byte) error { - var res UpsertOryAccessControlPolicyRoleOK - if err := swag.ReadJSON(b, &res); err != nil { - return err - } - *m = res - return nil -} diff --git a/sdk/go/keto/models/upsert_ory_access_control_policy_role_reader.go b/sdk/go/keto/models/upsert_ory_access_control_policy_role_reader.go deleted file mode 100644 index ee36f4516..000000000 --- a/sdk/go/keto/models/upsert_ory_access_control_policy_role_reader.go +++ /dev/null @@ -1,10 +0,0 @@ -// Code generated by go-swagger; DO NOT EDIT. - -package models - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -// UpsertOryAccessControlPolicyRoleReader UpsertOryAccessControlPolicyRoleReader UpsertOryAccessControlPolicyRoleReader UpsertOryAccessControlPolicyRoleReader is a Reader for the UpsertOryAccessControlPolicyRole structure. -// swagger:model UpsertOryAccessControlPolicyRoleReader -type UpsertOryAccessControlPolicyRoleReader interface{} diff --git a/sdk/js/swagger/.swagger-codegen-ignore b/sdk/js/swagger/.swagger-codegen-ignore deleted file mode 100644 index c5fa491b4..000000000 --- a/sdk/js/swagger/.swagger-codegen-ignore +++ /dev/null @@ -1,23 +0,0 @@ -# Swagger Codegen Ignore -# Generated by swagger-codegen https://github.com/swagger-api/swagger-codegen - -# 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 Swagger Codgen 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/sdk/js/swagger/.swagger-codegen/VERSION b/sdk/js/swagger/.swagger-codegen/VERSION deleted file mode 100644 index 6b4d15773..000000000 --- a/sdk/js/swagger/.swagger-codegen/VERSION +++ /dev/null @@ -1 +0,0 @@ -2.2.3 \ No newline at end of file diff --git a/sdk/js/swagger/.travis.yml b/sdk/js/swagger/.travis.yml deleted file mode 100644 index e49f4692f..000000000 --- a/sdk/js/swagger/.travis.yml +++ /dev/null @@ -1,7 +0,0 @@ -language: node_js -node_js: - - "6" - - "6.1" - - "5" - - "5.11" - diff --git a/sdk/js/swagger/README.md b/sdk/js/swagger/README.md deleted file mode 100644 index 6544a55fb..000000000 --- a/sdk/js/swagger/README.md +++ /dev/null @@ -1,235 +0,0 @@ -# ory_keto - -OryKeto - JavaScript client for ory_keto -A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. -This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project: - -- API version: Latest -- Package version: Latest -- Build package: io.swagger.codegen.languages.JavascriptClientCodegen -For more information, please visit [https://www.ory.sh](https://www.ory.sh) - -## Installation - -### For [Node.js](https://nodejs.org/) - -#### npm - -To publish the library as a [npm](https://www.npmjs.com/), -please follow the procedure in ["Publishing npm packages"](https://docs.npmjs.com/getting-started/publishing-npm-packages). - -Then install it via: - -```shell -npm install ory_keto --save -``` - -##### Local development - -To use the library locally without publishing to a remote npm registry, first install the dependencies by changing -into the directory containing `package.json` (and this README). Let's call this `JAVASCRIPT_CLIENT_DIR`. Then run: - -```shell -npm install -``` - -Next, [link](https://docs.npmjs.com/cli/link) it globally in npm with the following, also from `JAVASCRIPT_CLIENT_DIR`: - -```shell -npm link -``` - -Finally, switch to the directory you want to use your ory_keto from, and run: - -```shell -npm link /path/to/ -``` - -You should now be able to `require('ory_keto')` in javascript files from the directory you ran the last -command above from. - -#### git -# -If the library is hosted at a git repository, e.g. -https://github.com/GIT_USER_ID/GIT_REPO_ID -then install it via: - -```shell - npm install GIT_USER_ID/GIT_REPO_ID --save -``` - -### For browser - -The library also works in the browser environment via npm and [browserify](http://browserify.org/). After following -the above steps with Node.js and installing browserify with `npm install -g browserify`, -perform the following (assuming *main.js* is your entry file, that's to say your javascript file where you actually -use this library): - -```shell -browserify main.js > bundle.js -``` - -Then include *bundle.js* in the HTML pages. - -### Webpack Configuration - -Using Webpack you may encounter the following error: "Module not found: Error: -Cannot resolve module", most certainly you should disable AMD loader. Add/merge -the following section to your webpack config: - -```javascript -module: { - rules: [ - { - parser: { - amd: false - } - } - ] -} -``` - -## Getting Started - -Please follow the [installation](#installation) instruction and execute the following JS code: - -```javascript -var OryKeto = require('ory_keto'); - -var api = new OryKeto.EnginesApi() - -var flavor = "flavor_example"; // {String} The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". - -var id = "id_example"; // {String} The ID of the ORY Access Control Policy Role. - -var opts = { - 'body': new OryKeto.AddOryAccessControlPolicyRoleMembersBody() // {AddOryAccessControlPolicyRoleMembersBody} -}; - -var callback = function(error, data, response) { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}; -api.addOryAccessControlPolicyRoleMembers(flavor, id, opts, callback); - -``` - -## Documentation for API Endpoints - -All URIs are relative to *http://localhost* - -Class | Method | HTTP request | Description ------------- | ------------- | ------------- | ------------- -*OryKeto.EnginesApi* | [**addOryAccessControlPolicyRoleMembers**](docs/EnginesApi.md#addOryAccessControlPolicyRoleMembers) | **PUT** /engines/acp/ory/{flavor}/roles/{id}/members | Add a member to an ORY Access Control Policy Role -*OryKeto.EnginesApi* | [**deleteOryAccessControlPolicy**](docs/EnginesApi.md#deleteOryAccessControlPolicy) | **DELETE** /engines/acp/ory/{flavor}/policies/{id} | -*OryKeto.EnginesApi* | [**deleteOryAccessControlPolicyRole**](docs/EnginesApi.md#deleteOryAccessControlPolicyRole) | **DELETE** /engines/acp/ory/{flavor}/roles/{id} | Delete an ORY Access Control Policy Role -*OryKeto.EnginesApi* | [**doOryAccessControlPoliciesAllow**](docs/EnginesApi.md#doOryAccessControlPoliciesAllow) | **POST** /engines/acp/ory/{flavor}/allowed | Check if a request is allowed -*OryKeto.EnginesApi* | [**getOryAccessControlPolicy**](docs/EnginesApi.md#getOryAccessControlPolicy) | **GET** /engines/acp/ory/{flavor}/policies/{id} | -*OryKeto.EnginesApi* | [**getOryAccessControlPolicyRole**](docs/EnginesApi.md#getOryAccessControlPolicyRole) | **GET** /engines/acp/ory/{flavor}/roles/{id} | Get an ORY Access Control Policy Role -*OryKeto.EnginesApi* | [**listOryAccessControlPolicies**](docs/EnginesApi.md#listOryAccessControlPolicies) | **GET** /engines/acp/ory/{flavor}/policies | -*OryKeto.EnginesApi* | [**listOryAccessControlPolicyRoles**](docs/EnginesApi.md#listOryAccessControlPolicyRoles) | **GET** /engines/acp/ory/{flavor}/roles | List ORY Access Control Policy Roles -*OryKeto.EnginesApi* | [**removeOryAccessControlPolicyRoleMembers**](docs/EnginesApi.md#removeOryAccessControlPolicyRoleMembers) | **DELETE** /engines/acp/ory/{flavor}/roles/{id}/members/{member} | Remove a member from an ORY Access Control Policy Role -*OryKeto.EnginesApi* | [**upsertOryAccessControlPolicy**](docs/EnginesApi.md#upsertOryAccessControlPolicy) | **PUT** /engines/acp/ory/{flavor}/policies | -*OryKeto.EnginesApi* | [**upsertOryAccessControlPolicyRole**](docs/EnginesApi.md#upsertOryAccessControlPolicyRole) | **PUT** /engines/acp/ory/{flavor}/roles | Upsert an ORY Access Control Policy Role -*OryKeto.HealthApi* | [**isInstanceAlive**](docs/HealthApi.md#isInstanceAlive) | **GET** /health/alive | Check alive status -*OryKeto.HealthApi* | [**isInstanceReady**](docs/HealthApi.md#isInstanceReady) | **GET** /health/ready | Check readiness status -*OryKeto.VersionApi* | [**getVersion**](docs/VersionApi.md#getVersion) | **GET** /version | Get service version - - -## Documentation for Models - - - [OryKeto.AddOryAccessControlPolicyRoleMembers](docs/AddOryAccessControlPolicyRoleMembers.md) - - [OryKeto.AddOryAccessControlPolicyRoleMembersBody](docs/AddOryAccessControlPolicyRoleMembersBody.md) - - [OryKeto.AddOryAccessControlPolicyRoleMembersInternalServerError](docs/AddOryAccessControlPolicyRoleMembersInternalServerError.md) - - [OryKeto.AddOryAccessControlPolicyRoleMembersInternalServerErrorBody](docs/AddOryAccessControlPolicyRoleMembersInternalServerErrorBody.md) - - [OryKeto.AddOryAccessControlPolicyRoleMembersOK](docs/AddOryAccessControlPolicyRoleMembersOK.md) - - [OryKeto.AddOryAccessControlPolicyRoleMembersReader](docs/AddOryAccessControlPolicyRoleMembersReader.md) - - [OryKeto.AuthorizationResult](docs/AuthorizationResult.md) - - [OryKeto.Context](docs/Context.md) - - [OryKeto.DeleteOryAccessControlPolicy](docs/DeleteOryAccessControlPolicy.md) - - [OryKeto.DeleteOryAccessControlPolicyCreated](docs/DeleteOryAccessControlPolicyCreated.md) - - [OryKeto.DeleteOryAccessControlPolicyInternalServerError](docs/DeleteOryAccessControlPolicyInternalServerError.md) - - [OryKeto.DeleteOryAccessControlPolicyInternalServerErrorBody](docs/DeleteOryAccessControlPolicyInternalServerErrorBody.md) - - [OryKeto.DeleteOryAccessControlPolicyNoContent](docs/DeleteOryAccessControlPolicyNoContent.md) - - [OryKeto.DeleteOryAccessControlPolicyReader](docs/DeleteOryAccessControlPolicyReader.md) - - [OryKeto.DeleteOryAccessControlPolicyRole](docs/DeleteOryAccessControlPolicyRole.md) - - [OryKeto.DeleteOryAccessControlPolicyRoleCreated](docs/DeleteOryAccessControlPolicyRoleCreated.md) - - [OryKeto.DeleteOryAccessControlPolicyRoleInternalServerError](docs/DeleteOryAccessControlPolicyRoleInternalServerError.md) - - [OryKeto.DeleteOryAccessControlPolicyRoleInternalServerErrorBody](docs/DeleteOryAccessControlPolicyRoleInternalServerErrorBody.md) - - [OryKeto.DeleteOryAccessControlPolicyRoleNoContent](docs/DeleteOryAccessControlPolicyRoleNoContent.md) - - [OryKeto.DeleteOryAccessControlPolicyRoleReader](docs/DeleteOryAccessControlPolicyRoleReader.md) - - [OryKeto.DoOryAccessControlPoliciesAllow](docs/DoOryAccessControlPoliciesAllow.md) - - [OryKeto.DoOryAccessControlPoliciesAllowForbidden](docs/DoOryAccessControlPoliciesAllowForbidden.md) - - [OryKeto.DoOryAccessControlPoliciesAllowInternalServerError](docs/DoOryAccessControlPoliciesAllowInternalServerError.md) - - [OryKeto.DoOryAccessControlPoliciesAllowInternalServerErrorBody](docs/DoOryAccessControlPoliciesAllowInternalServerErrorBody.md) - - [OryKeto.DoOryAccessControlPoliciesAllowOK](docs/DoOryAccessControlPoliciesAllowOK.md) - - [OryKeto.DoOryAccessControlPoliciesAllowReader](docs/DoOryAccessControlPoliciesAllowReader.md) - - [OryKeto.GetOryAccessControlPolicy](docs/GetOryAccessControlPolicy.md) - - [OryKeto.GetOryAccessControlPolicyInternalServerError](docs/GetOryAccessControlPolicyInternalServerError.md) - - [OryKeto.GetOryAccessControlPolicyInternalServerErrorBody](docs/GetOryAccessControlPolicyInternalServerErrorBody.md) - - [OryKeto.GetOryAccessControlPolicyNotFound](docs/GetOryAccessControlPolicyNotFound.md) - - [OryKeto.GetOryAccessControlPolicyNotFoundBody](docs/GetOryAccessControlPolicyNotFoundBody.md) - - [OryKeto.GetOryAccessControlPolicyOK](docs/GetOryAccessControlPolicyOK.md) - - [OryKeto.GetOryAccessControlPolicyReader](docs/GetOryAccessControlPolicyReader.md) - - [OryKeto.GetOryAccessControlPolicyRole](docs/GetOryAccessControlPolicyRole.md) - - [OryKeto.GetOryAccessControlPolicyRoleInternalServerError](docs/GetOryAccessControlPolicyRoleInternalServerError.md) - - [OryKeto.GetOryAccessControlPolicyRoleInternalServerErrorBody](docs/GetOryAccessControlPolicyRoleInternalServerErrorBody.md) - - [OryKeto.GetOryAccessControlPolicyRoleNotFound](docs/GetOryAccessControlPolicyRoleNotFound.md) - - [OryKeto.GetOryAccessControlPolicyRoleNotFoundBody](docs/GetOryAccessControlPolicyRoleNotFoundBody.md) - - [OryKeto.GetOryAccessControlPolicyRoleOK](docs/GetOryAccessControlPolicyRoleOK.md) - - [OryKeto.GetOryAccessControlPolicyRoleReader](docs/GetOryAccessControlPolicyRoleReader.md) - - [OryKeto.HealthNotReadyStatus](docs/HealthNotReadyStatus.md) - - [OryKeto.HealthStatus](docs/HealthStatus.md) - - [OryKeto.InlineResponse500](docs/InlineResponse500.md) - - [OryKeto.Input](docs/Input.md) - - [OryKeto.IsInstanceAliveInternalServerError](docs/IsInstanceAliveInternalServerError.md) - - [OryKeto.IsInstanceAliveInternalServerErrorBody](docs/IsInstanceAliveInternalServerErrorBody.md) - - [OryKeto.IsInstanceAliveOK](docs/IsInstanceAliveOK.md) - - [OryKeto.IsInstanceAliveReader](docs/IsInstanceAliveReader.md) - - [OryKeto.ListOryAccessControlPolicies](docs/ListOryAccessControlPolicies.md) - - [OryKeto.ListOryAccessControlPoliciesInternalServerError](docs/ListOryAccessControlPoliciesInternalServerError.md) - - [OryKeto.ListOryAccessControlPoliciesInternalServerErrorBody](docs/ListOryAccessControlPoliciesInternalServerErrorBody.md) - - [OryKeto.ListOryAccessControlPoliciesOK](docs/ListOryAccessControlPoliciesOK.md) - - [OryKeto.ListOryAccessControlPoliciesReader](docs/ListOryAccessControlPoliciesReader.md) - - [OryKeto.ListOryAccessControlPolicyRoles](docs/ListOryAccessControlPolicyRoles.md) - - [OryKeto.ListOryAccessControlPolicyRolesInternalServerError](docs/ListOryAccessControlPolicyRolesInternalServerError.md) - - [OryKeto.ListOryAccessControlPolicyRolesInternalServerErrorBody](docs/ListOryAccessControlPolicyRolesInternalServerErrorBody.md) - - [OryKeto.ListOryAccessControlPolicyRolesOK](docs/ListOryAccessControlPolicyRolesOK.md) - - [OryKeto.ListOryAccessControlPolicyRolesReader](docs/ListOryAccessControlPolicyRolesReader.md) - - [OryKeto.OryAccessControlPolicies](docs/OryAccessControlPolicies.md) - - [OryKeto.OryAccessControlPolicy](docs/OryAccessControlPolicy.md) - - [OryKeto.OryAccessControlPolicyAllowedInput](docs/OryAccessControlPolicyAllowedInput.md) - - [OryKeto.OryAccessControlPolicyRole](docs/OryAccessControlPolicyRole.md) - - [OryKeto.OryAccessControlPolicyRoles](docs/OryAccessControlPolicyRoles.md) - - [OryKeto.Policies](docs/Policies.md) - - [OryKeto.Policy](docs/Policy.md) - - [OryKeto.RemoveOryAccessControlPolicyRoleMembers](docs/RemoveOryAccessControlPolicyRoleMembers.md) - - [OryKeto.RemoveOryAccessControlPolicyRoleMembersCreated](docs/RemoveOryAccessControlPolicyRoleMembersCreated.md) - - [OryKeto.RemoveOryAccessControlPolicyRoleMembersInternalServerError](docs/RemoveOryAccessControlPolicyRoleMembersInternalServerError.md) - - [OryKeto.RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody](docs/RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody.md) - - [OryKeto.RemoveOryAccessControlPolicyRoleMembersReader](docs/RemoveOryAccessControlPolicyRoleMembersReader.md) - - [OryKeto.Role](docs/Role.md) - - [OryKeto.Roles](docs/Roles.md) - - [OryKeto.SwaggerHealthStatus](docs/SwaggerHealthStatus.md) - - [OryKeto.SwaggerNotReadyStatus](docs/SwaggerNotReadyStatus.md) - - [OryKeto.SwaggerVersion](docs/SwaggerVersion.md) - - [OryKeto.UpsertOryAccessControlPolicy](docs/UpsertOryAccessControlPolicy.md) - - [OryKeto.UpsertOryAccessControlPolicyInternalServerError](docs/UpsertOryAccessControlPolicyInternalServerError.md) - - [OryKeto.UpsertOryAccessControlPolicyInternalServerErrorBody](docs/UpsertOryAccessControlPolicyInternalServerErrorBody.md) - - [OryKeto.UpsertOryAccessControlPolicyOK](docs/UpsertOryAccessControlPolicyOK.md) - - [OryKeto.UpsertOryAccessControlPolicyReader](docs/UpsertOryAccessControlPolicyReader.md) - - [OryKeto.UpsertOryAccessControlPolicyRole](docs/UpsertOryAccessControlPolicyRole.md) - - [OryKeto.UpsertOryAccessControlPolicyRoleInternalServerError](docs/UpsertOryAccessControlPolicyRoleInternalServerError.md) - - [OryKeto.UpsertOryAccessControlPolicyRoleInternalServerErrorBody](docs/UpsertOryAccessControlPolicyRoleInternalServerErrorBody.md) - - [OryKeto.UpsertOryAccessControlPolicyRoleOK](docs/UpsertOryAccessControlPolicyRoleOK.md) - - [OryKeto.UpsertOryAccessControlPolicyRoleReader](docs/UpsertOryAccessControlPolicyRoleReader.md) - - [OryKeto.Version](docs/Version.md) - - -## Documentation for Authorization - - All endpoints do not require authorization. - diff --git a/sdk/js/swagger/docs/AddOryAccessControlPolicyRoleMembers.md b/sdk/js/swagger/docs/AddOryAccessControlPolicyRoleMembers.md deleted file mode 100644 index c618510b0..000000000 --- a/sdk/js/swagger/docs/AddOryAccessControlPolicyRoleMembers.md +++ /dev/null @@ -1,10 +0,0 @@ -# OryKeto.AddOryAccessControlPolicyRoleMembers - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**body** | [**AddOryAccessControlPolicyRoleMembersBody**](AddOryAccessControlPolicyRoleMembersBody.md) | | [optional] -**flavor** | **String** | The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". in: path | -**id** | **String** | The ID of the ORY Access Control Policy Role. in: path | - - diff --git a/sdk/js/swagger/docs/AddOryAccessControlPolicyRoleMembersBody.md b/sdk/js/swagger/docs/AddOryAccessControlPolicyRoleMembersBody.md deleted file mode 100644 index 68cb60dec..000000000 --- a/sdk/js/swagger/docs/AddOryAccessControlPolicyRoleMembersBody.md +++ /dev/null @@ -1,8 +0,0 @@ -# OryKeto.AddOryAccessControlPolicyRoleMembersBody - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**members** | **[String]** | The members to be added. | [optional] - - diff --git a/sdk/js/swagger/docs/AddOryAccessControlPolicyRoleMembersInternalServerError.md b/sdk/js/swagger/docs/AddOryAccessControlPolicyRoleMembersInternalServerError.md deleted file mode 100644 index fd149d93c..000000000 --- a/sdk/js/swagger/docs/AddOryAccessControlPolicyRoleMembersInternalServerError.md +++ /dev/null @@ -1,8 +0,0 @@ -# OryKeto.AddOryAccessControlPolicyRoleMembersInternalServerError - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**payload** | [**AddOryAccessControlPolicyRoleMembersInternalServerErrorBody**](AddOryAccessControlPolicyRoleMembersInternalServerErrorBody.md) | | [optional] - - diff --git a/sdk/js/swagger/docs/AddOryAccessControlPolicyRoleMembersInternalServerErrorBody.md b/sdk/js/swagger/docs/AddOryAccessControlPolicyRoleMembersInternalServerErrorBody.md deleted file mode 100644 index 28e12d7d8..000000000 --- a/sdk/js/swagger/docs/AddOryAccessControlPolicyRoleMembersInternalServerErrorBody.md +++ /dev/null @@ -1,13 +0,0 @@ -# OryKeto.AddOryAccessControlPolicyRoleMembersInternalServerErrorBody - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**code** | **Number** | code | [optional] -**details** | **[{String: Object}]** | details | [optional] -**message** | **String** | message | [optional] -**reason** | **String** | reason | [optional] -**request** | **String** | request | [optional] -**status** | **String** | status | [optional] - - diff --git a/sdk/js/swagger/docs/AddOryAccessControlPolicyRoleMembersOK.md b/sdk/js/swagger/docs/AddOryAccessControlPolicyRoleMembersOK.md deleted file mode 100644 index a384a19df..000000000 --- a/sdk/js/swagger/docs/AddOryAccessControlPolicyRoleMembersOK.md +++ /dev/null @@ -1,8 +0,0 @@ -# OryKeto.AddOryAccessControlPolicyRoleMembersOK - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**payload** | [**OryAccessControlPolicyRole**](OryAccessControlPolicyRole.md) | | [optional] - - diff --git a/sdk/js/swagger/docs/AddOryAccessControlPolicyRoleMembersReader.md b/sdk/js/swagger/docs/AddOryAccessControlPolicyRoleMembersReader.md deleted file mode 100644 index be307431b..000000000 --- a/sdk/js/swagger/docs/AddOryAccessControlPolicyRoleMembersReader.md +++ /dev/null @@ -1,7 +0,0 @@ -# OryKeto.AddOryAccessControlPolicyRoleMembersReader - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - - diff --git a/sdk/js/swagger/docs/AuthorizationResult.md b/sdk/js/swagger/docs/AuthorizationResult.md deleted file mode 100644 index ab5001d7c..000000000 --- a/sdk/js/swagger/docs/AuthorizationResult.md +++ /dev/null @@ -1,8 +0,0 @@ -# OryKeto.AuthorizationResult - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**allowed** | **Boolean** | Allowed is true if the request should be allowed and false otherwise. | - - diff --git a/sdk/js/swagger/docs/Context.md b/sdk/js/swagger/docs/Context.md deleted file mode 100644 index f7696e2bb..000000000 --- a/sdk/js/swagger/docs/Context.md +++ /dev/null @@ -1,7 +0,0 @@ -# OryKeto.Context - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - - diff --git a/sdk/js/swagger/docs/DeleteOryAccessControlPolicy.md b/sdk/js/swagger/docs/DeleteOryAccessControlPolicy.md deleted file mode 100644 index 68837f78a..000000000 --- a/sdk/js/swagger/docs/DeleteOryAccessControlPolicy.md +++ /dev/null @@ -1,9 +0,0 @@ -# OryKeto.DeleteOryAccessControlPolicy - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**flavor** | **String** | The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". in: path | -**id** | **String** | The ID of the ORY Access Control Policy Role. in: path | - - diff --git a/sdk/js/swagger/docs/DeleteOryAccessControlPolicyCreated.md b/sdk/js/swagger/docs/DeleteOryAccessControlPolicyCreated.md deleted file mode 100644 index 744450f36..000000000 --- a/sdk/js/swagger/docs/DeleteOryAccessControlPolicyCreated.md +++ /dev/null @@ -1,7 +0,0 @@ -# OryKeto.DeleteOryAccessControlPolicyCreated - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - - diff --git a/sdk/js/swagger/docs/DeleteOryAccessControlPolicyInternalServerError.md b/sdk/js/swagger/docs/DeleteOryAccessControlPolicyInternalServerError.md deleted file mode 100644 index 074e63c8f..000000000 --- a/sdk/js/swagger/docs/DeleteOryAccessControlPolicyInternalServerError.md +++ /dev/null @@ -1,8 +0,0 @@ -# OryKeto.DeleteOryAccessControlPolicyInternalServerError - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**payload** | [**DeleteOryAccessControlPolicyInternalServerErrorBody**](DeleteOryAccessControlPolicyInternalServerErrorBody.md) | | [optional] - - diff --git a/sdk/js/swagger/docs/DeleteOryAccessControlPolicyInternalServerErrorBody.md b/sdk/js/swagger/docs/DeleteOryAccessControlPolicyInternalServerErrorBody.md deleted file mode 100644 index d1ce8424a..000000000 --- a/sdk/js/swagger/docs/DeleteOryAccessControlPolicyInternalServerErrorBody.md +++ /dev/null @@ -1,13 +0,0 @@ -# OryKeto.DeleteOryAccessControlPolicyInternalServerErrorBody - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**code** | **Number** | code | [optional] -**details** | **[{String: Object}]** | details | [optional] -**message** | **String** | message | [optional] -**reason** | **String** | reason | [optional] -**request** | **String** | request | [optional] -**status** | **String** | status | [optional] - - diff --git a/sdk/js/swagger/docs/DeleteOryAccessControlPolicyNoContent.md b/sdk/js/swagger/docs/DeleteOryAccessControlPolicyNoContent.md deleted file mode 100644 index 3f9cb9ee3..000000000 --- a/sdk/js/swagger/docs/DeleteOryAccessControlPolicyNoContent.md +++ /dev/null @@ -1,7 +0,0 @@ -# OryKeto.DeleteOryAccessControlPolicyNoContent - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - - diff --git a/sdk/js/swagger/docs/DeleteOryAccessControlPolicyReader.md b/sdk/js/swagger/docs/DeleteOryAccessControlPolicyReader.md deleted file mode 100644 index 6aad03e25..000000000 --- a/sdk/js/swagger/docs/DeleteOryAccessControlPolicyReader.md +++ /dev/null @@ -1,7 +0,0 @@ -# OryKeto.DeleteOryAccessControlPolicyReader - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - - diff --git a/sdk/js/swagger/docs/DeleteOryAccessControlPolicyRole.md b/sdk/js/swagger/docs/DeleteOryAccessControlPolicyRole.md deleted file mode 100644 index 6731a8599..000000000 --- a/sdk/js/swagger/docs/DeleteOryAccessControlPolicyRole.md +++ /dev/null @@ -1,9 +0,0 @@ -# OryKeto.DeleteOryAccessControlPolicyRole - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**flavor** | **String** | The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". in: path | -**id** | **String** | The ID of the ORY Access Control Policy Role. in: path | - - diff --git a/sdk/js/swagger/docs/DeleteOryAccessControlPolicyRoleCreated.md b/sdk/js/swagger/docs/DeleteOryAccessControlPolicyRoleCreated.md deleted file mode 100644 index 081a62a17..000000000 --- a/sdk/js/swagger/docs/DeleteOryAccessControlPolicyRoleCreated.md +++ /dev/null @@ -1,7 +0,0 @@ -# OryKeto.DeleteOryAccessControlPolicyRoleCreated - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - - diff --git a/sdk/js/swagger/docs/DeleteOryAccessControlPolicyRoleInternalServerError.md b/sdk/js/swagger/docs/DeleteOryAccessControlPolicyRoleInternalServerError.md deleted file mode 100644 index cc2b9d4c0..000000000 --- a/sdk/js/swagger/docs/DeleteOryAccessControlPolicyRoleInternalServerError.md +++ /dev/null @@ -1,8 +0,0 @@ -# OryKeto.DeleteOryAccessControlPolicyRoleInternalServerError - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**payload** | [**DeleteOryAccessControlPolicyRoleInternalServerErrorBody**](DeleteOryAccessControlPolicyRoleInternalServerErrorBody.md) | | [optional] - - diff --git a/sdk/js/swagger/docs/DeleteOryAccessControlPolicyRoleInternalServerErrorBody.md b/sdk/js/swagger/docs/DeleteOryAccessControlPolicyRoleInternalServerErrorBody.md deleted file mode 100644 index 3aec2676d..000000000 --- a/sdk/js/swagger/docs/DeleteOryAccessControlPolicyRoleInternalServerErrorBody.md +++ /dev/null @@ -1,13 +0,0 @@ -# OryKeto.DeleteOryAccessControlPolicyRoleInternalServerErrorBody - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**code** | **Number** | code | [optional] -**details** | **[{String: Object}]** | details | [optional] -**message** | **String** | message | [optional] -**reason** | **String** | reason | [optional] -**request** | **String** | request | [optional] -**status** | **String** | status | [optional] - - diff --git a/sdk/js/swagger/docs/DeleteOryAccessControlPolicyRoleNoContent.md b/sdk/js/swagger/docs/DeleteOryAccessControlPolicyRoleNoContent.md deleted file mode 100644 index b11ad206b..000000000 --- a/sdk/js/swagger/docs/DeleteOryAccessControlPolicyRoleNoContent.md +++ /dev/null @@ -1,7 +0,0 @@ -# OryKeto.DeleteOryAccessControlPolicyRoleNoContent - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - - diff --git a/sdk/js/swagger/docs/DeleteOryAccessControlPolicyRoleReader.md b/sdk/js/swagger/docs/DeleteOryAccessControlPolicyRoleReader.md deleted file mode 100644 index e1d9062a9..000000000 --- a/sdk/js/swagger/docs/DeleteOryAccessControlPolicyRoleReader.md +++ /dev/null @@ -1,7 +0,0 @@ -# OryKeto.DeleteOryAccessControlPolicyRoleReader - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - - diff --git a/sdk/js/swagger/docs/DoOryAccessControlPoliciesAllow.md b/sdk/js/swagger/docs/DoOryAccessControlPoliciesAllow.md deleted file mode 100644 index 0c80102c0..000000000 --- a/sdk/js/swagger/docs/DoOryAccessControlPoliciesAllow.md +++ /dev/null @@ -1,9 +0,0 @@ -# OryKeto.DoOryAccessControlPoliciesAllow - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**body** | [**OryAccessControlPolicyAllowedInput**](OryAccessControlPolicyAllowedInput.md) | | [optional] -**flavor** | **String** | The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". in: path | - - diff --git a/sdk/js/swagger/docs/DoOryAccessControlPoliciesAllowForbidden.md b/sdk/js/swagger/docs/DoOryAccessControlPoliciesAllowForbidden.md deleted file mode 100644 index cdefb32c8..000000000 --- a/sdk/js/swagger/docs/DoOryAccessControlPoliciesAllowForbidden.md +++ /dev/null @@ -1,8 +0,0 @@ -# OryKeto.DoOryAccessControlPoliciesAllowForbidden - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**payload** | [**AuthorizationResult**](AuthorizationResult.md) | | [optional] - - diff --git a/sdk/js/swagger/docs/DoOryAccessControlPoliciesAllowInternalServerError.md b/sdk/js/swagger/docs/DoOryAccessControlPoliciesAllowInternalServerError.md deleted file mode 100644 index 305eae745..000000000 --- a/sdk/js/swagger/docs/DoOryAccessControlPoliciesAllowInternalServerError.md +++ /dev/null @@ -1,8 +0,0 @@ -# OryKeto.DoOryAccessControlPoliciesAllowInternalServerError - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**payload** | [**DoOryAccessControlPoliciesAllowInternalServerErrorBody**](DoOryAccessControlPoliciesAllowInternalServerErrorBody.md) | | [optional] - - diff --git a/sdk/js/swagger/docs/DoOryAccessControlPoliciesAllowInternalServerErrorBody.md b/sdk/js/swagger/docs/DoOryAccessControlPoliciesAllowInternalServerErrorBody.md deleted file mode 100644 index 60f4d2a8a..000000000 --- a/sdk/js/swagger/docs/DoOryAccessControlPoliciesAllowInternalServerErrorBody.md +++ /dev/null @@ -1,13 +0,0 @@ -# OryKeto.DoOryAccessControlPoliciesAllowInternalServerErrorBody - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**code** | **Number** | code | [optional] -**details** | **[{String: Object}]** | details | [optional] -**message** | **String** | message | [optional] -**reason** | **String** | reason | [optional] -**request** | **String** | request | [optional] -**status** | **String** | status | [optional] - - diff --git a/sdk/js/swagger/docs/DoOryAccessControlPoliciesAllowOK.md b/sdk/js/swagger/docs/DoOryAccessControlPoliciesAllowOK.md deleted file mode 100644 index 0ca39c374..000000000 --- a/sdk/js/swagger/docs/DoOryAccessControlPoliciesAllowOK.md +++ /dev/null @@ -1,8 +0,0 @@ -# OryKeto.DoOryAccessControlPoliciesAllowOK - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**payload** | [**AuthorizationResult**](AuthorizationResult.md) | | [optional] - - diff --git a/sdk/js/swagger/docs/DoOryAccessControlPoliciesAllowReader.md b/sdk/js/swagger/docs/DoOryAccessControlPoliciesAllowReader.md deleted file mode 100644 index 885aafd70..000000000 --- a/sdk/js/swagger/docs/DoOryAccessControlPoliciesAllowReader.md +++ /dev/null @@ -1,7 +0,0 @@ -# OryKeto.DoOryAccessControlPoliciesAllowReader - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - - diff --git a/sdk/js/swagger/docs/EnginesApi.md b/sdk/js/swagger/docs/EnginesApi.md deleted file mode 100644 index 454627cfe..000000000 --- a/sdk/js/swagger/docs/EnginesApi.md +++ /dev/null @@ -1,582 +0,0 @@ -# OryKeto.EnginesApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**addOryAccessControlPolicyRoleMembers**](EnginesApi.md#addOryAccessControlPolicyRoleMembers) | **PUT** /engines/acp/ory/{flavor}/roles/{id}/members | Add a member to an ORY Access Control Policy Role -[**deleteOryAccessControlPolicy**](EnginesApi.md#deleteOryAccessControlPolicy) | **DELETE** /engines/acp/ory/{flavor}/policies/{id} | -[**deleteOryAccessControlPolicyRole**](EnginesApi.md#deleteOryAccessControlPolicyRole) | **DELETE** /engines/acp/ory/{flavor}/roles/{id} | Delete an ORY Access Control Policy Role -[**doOryAccessControlPoliciesAllow**](EnginesApi.md#doOryAccessControlPoliciesAllow) | **POST** /engines/acp/ory/{flavor}/allowed | Check if a request is allowed -[**getOryAccessControlPolicy**](EnginesApi.md#getOryAccessControlPolicy) | **GET** /engines/acp/ory/{flavor}/policies/{id} | -[**getOryAccessControlPolicyRole**](EnginesApi.md#getOryAccessControlPolicyRole) | **GET** /engines/acp/ory/{flavor}/roles/{id} | Get an ORY Access Control Policy Role -[**listOryAccessControlPolicies**](EnginesApi.md#listOryAccessControlPolicies) | **GET** /engines/acp/ory/{flavor}/policies | -[**listOryAccessControlPolicyRoles**](EnginesApi.md#listOryAccessControlPolicyRoles) | **GET** /engines/acp/ory/{flavor}/roles | List ORY Access Control Policy Roles -[**removeOryAccessControlPolicyRoleMembers**](EnginesApi.md#removeOryAccessControlPolicyRoleMembers) | **DELETE** /engines/acp/ory/{flavor}/roles/{id}/members/{member} | Remove a member from an ORY Access Control Policy Role -[**upsertOryAccessControlPolicy**](EnginesApi.md#upsertOryAccessControlPolicy) | **PUT** /engines/acp/ory/{flavor}/policies | -[**upsertOryAccessControlPolicyRole**](EnginesApi.md#upsertOryAccessControlPolicyRole) | **PUT** /engines/acp/ory/{flavor}/roles | Upsert an ORY Access Control Policy Role - - - -# **addOryAccessControlPolicyRoleMembers** -> OryAccessControlPolicyRole addOryAccessControlPolicyRoleMembers(flavor, id, opts) - -Add a member to an ORY Access Control Policy Role - -Roles group several subjects into one. Rules can be assigned to ORY Access Control Policy (OACP) by using the Role ID as subject in the OACP. - -### Example -```javascript -var OryKeto = require('ory_keto'); - -var apiInstance = new OryKeto.EnginesApi(); - -var flavor = "flavor_example"; // String | The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". - -var id = "id_example"; // String | The ID of the ORY Access Control Policy Role. - -var opts = { - 'body': new OryKeto.AddOryAccessControlPolicyRoleMembersBody() // AddOryAccessControlPolicyRoleMembersBody | -}; - -var callback = function(error, data, response) { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}; -apiInstance.addOryAccessControlPolicyRoleMembers(flavor, id, opts, callback); -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **flavor** | **String**| The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". | - **id** | **String**| The ID of the ORY Access Control Policy Role. | - **body** | [**AddOryAccessControlPolicyRoleMembersBody**](AddOryAccessControlPolicyRoleMembersBody.md)| | [optional] - -### Return type - -[**OryAccessControlPolicyRole**](OryAccessControlPolicyRole.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -# **deleteOryAccessControlPolicy** -> deleteOryAccessControlPolicy(flavor, id) - - - -Delete an ORY Access Control Policy - -### Example -```javascript -var OryKeto = require('ory_keto'); - -var apiInstance = new OryKeto.EnginesApi(); - -var flavor = "flavor_example"; // String | The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". - -var id = "id_example"; // String | The ID of the ORY Access Control Policy Role. - - -var callback = function(error, data, response) { - if (error) { - console.error(error); - } else { - console.log('API called successfully.'); - } -}; -apiInstance.deleteOryAccessControlPolicy(flavor, id, callback); -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **flavor** | **String**| The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". | - **id** | **String**| The ID of the ORY Access Control Policy Role. | - -### Return type - -null (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -# **deleteOryAccessControlPolicyRole** -> deleteOryAccessControlPolicyRole(flavor, id) - -Delete an ORY Access Control Policy Role - -Roles group several subjects into one. Rules can be assigned to ORY Access Control Policy (OACP) by using the Role ID as subject in the OACP. - -### Example -```javascript -var OryKeto = require('ory_keto'); - -var apiInstance = new OryKeto.EnginesApi(); - -var flavor = "flavor_example"; // String | The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". - -var id = "id_example"; // String | The ID of the ORY Access Control Policy Role. - - -var callback = function(error, data, response) { - if (error) { - console.error(error); - } else { - console.log('API called successfully.'); - } -}; -apiInstance.deleteOryAccessControlPolicyRole(flavor, id, callback); -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **flavor** | **String**| The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". | - **id** | **String**| The ID of the ORY Access Control Policy Role. | - -### Return type - -null (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -# **doOryAccessControlPoliciesAllow** -> AuthorizationResult doOryAccessControlPoliciesAllow(flavor, opts) - -Check if a request is allowed - -Use this endpoint to check if a request is allowed or not. If the request is allowed, a 200 response with `{\"allowed\":\"true\"}` will be sent. If the request is denied, a 403 response with `{\"allowed\":\"false\"}` will be sent instead. - -### Example -```javascript -var OryKeto = require('ory_keto'); - -var apiInstance = new OryKeto.EnginesApi(); - -var flavor = "flavor_example"; // String | The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". - -var opts = { - 'body': new OryKeto.OryAccessControlPolicyAllowedInput() // OryAccessControlPolicyAllowedInput | -}; - -var callback = function(error, data, response) { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}; -apiInstance.doOryAccessControlPoliciesAllow(flavor, opts, callback); -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **flavor** | **String**| The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". | - **body** | [**OryAccessControlPolicyAllowedInput**](OryAccessControlPolicyAllowedInput.md)| | [optional] - -### Return type - -[**AuthorizationResult**](AuthorizationResult.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -# **getOryAccessControlPolicy** -> OryAccessControlPolicy getOryAccessControlPolicy(flavor, id) - - - -Get an ORY Access Control Policy - -### Example -```javascript -var OryKeto = require('ory_keto'); - -var apiInstance = new OryKeto.EnginesApi(); - -var flavor = "flavor_example"; // String | The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". - -var id = "id_example"; // String | The ID of the ORY Access Control Policy Role. - - -var callback = function(error, data, response) { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}; -apiInstance.getOryAccessControlPolicy(flavor, id, callback); -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **flavor** | **String**| The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". | - **id** | **String**| The ID of the ORY Access Control Policy Role. | - -### Return type - -[**OryAccessControlPolicy**](OryAccessControlPolicy.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -# **getOryAccessControlPolicyRole** -> OryAccessControlPolicyRole getOryAccessControlPolicyRole(flavor, id) - -Get an ORY Access Control Policy Role - -Roles group several subjects into one. Rules can be assigned to ORY Access Control Policy (OACP) by using the Role ID as subject in the OACP. - -### Example -```javascript -var OryKeto = require('ory_keto'); - -var apiInstance = new OryKeto.EnginesApi(); - -var flavor = "flavor_example"; // String | The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". - -var id = "id_example"; // String | The ID of the ORY Access Control Policy Role. - - -var callback = function(error, data, response) { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}; -apiInstance.getOryAccessControlPolicyRole(flavor, id, callback); -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **flavor** | **String**| The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". | - **id** | **String**| The ID of the ORY Access Control Policy Role. | - -### Return type - -[**OryAccessControlPolicyRole**](OryAccessControlPolicyRole.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -# **listOryAccessControlPolicies** -> [OryAccessControlPolicy] listOryAccessControlPolicies(flavor, opts) - - - -List ORY Access Control Policies - -### Example -```javascript -var OryKeto = require('ory_keto'); - -var apiInstance = new OryKeto.EnginesApi(); - -var flavor = "flavor_example"; // String | The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\" - -var opts = { - 'limit': 789, // Number | The maximum amount of policies returned. - 'offset': 789, // Number | The offset from where to start looking. - 'subject': "subject_example", // String | The subject for whom the policies are to be listed. - 'resource': "resource_example", // String | The resource for which the policies are to be listed. - 'action': "action_example" // String | The action for which policies are to be listed. -}; - -var callback = function(error, data, response) { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}; -apiInstance.listOryAccessControlPolicies(flavor, opts, callback); -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **flavor** | **String**| The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\" | - **limit** | **Number**| The maximum amount of policies returned. | [optional] - **offset** | **Number**| The offset from where to start looking. | [optional] - **subject** | **String**| The subject for whom the policies are to be listed. | [optional] - **resource** | **String**| The resource for which the policies are to be listed. | [optional] - **action** | **String**| The action for which policies are to be listed. | [optional] - -### Return type - -[**[OryAccessControlPolicy]**](OryAccessControlPolicy.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -# **listOryAccessControlPolicyRoles** -> [OryAccessControlPolicyRole] listOryAccessControlPolicyRoles(flavor, opts) - -List ORY Access Control Policy Roles - -Roles group several subjects into one. Rules can be assigned to ORY Access Control Policy (OACP) by using the Role ID as subject in the OACP. - -### Example -```javascript -var OryKeto = require('ory_keto'); - -var apiInstance = new OryKeto.EnginesApi(); - -var flavor = "flavor_example"; // String | The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\" - -var opts = { - 'limit': 789, // Number | The maximum amount of policies returned. - 'offset': 789, // Number | The offset from where to start looking. - 'member': "member_example" // String | The member for which the roles are to be listed. -}; - -var callback = function(error, data, response) { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}; -apiInstance.listOryAccessControlPolicyRoles(flavor, opts, callback); -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **flavor** | **String**| The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\" | - **limit** | **Number**| The maximum amount of policies returned. | [optional] - **offset** | **Number**| The offset from where to start looking. | [optional] - **member** | **String**| The member for which the roles are to be listed. | [optional] - -### Return type - -[**[OryAccessControlPolicyRole]**](OryAccessControlPolicyRole.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -# **removeOryAccessControlPolicyRoleMembers** -> removeOryAccessControlPolicyRoleMembers(flavor, id, member) - -Remove a member from an ORY Access Control Policy Role - -Roles group several subjects into one. Rules can be assigned to ORY Access Control Policy (OACP) by using the Role ID as subject in the OACP. - -### Example -```javascript -var OryKeto = require('ory_keto'); - -var apiInstance = new OryKeto.EnginesApi(); - -var flavor = "flavor_example"; // String | The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". - -var id = "id_example"; // String | The ID of the ORY Access Control Policy Role. - -var member = "member_example"; // String | The member to be removed. - - -var callback = function(error, data, response) { - if (error) { - console.error(error); - } else { - console.log('API called successfully.'); - } -}; -apiInstance.removeOryAccessControlPolicyRoleMembers(flavor, id, member, callback); -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **flavor** | **String**| The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". | - **id** | **String**| The ID of the ORY Access Control Policy Role. | - **member** | **String**| The member to be removed. | - -### Return type - -null (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -# **upsertOryAccessControlPolicy** -> OryAccessControlPolicy upsertOryAccessControlPolicy(flavor, opts) - - - -Upsert an ORY Access Control Policy - -### Example -```javascript -var OryKeto = require('ory_keto'); - -var apiInstance = new OryKeto.EnginesApi(); - -var flavor = "flavor_example"; // String | The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". - -var opts = { - 'body': new OryKeto.OryAccessControlPolicy() // OryAccessControlPolicy | -}; - -var callback = function(error, data, response) { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}; -apiInstance.upsertOryAccessControlPolicy(flavor, opts, callback); -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **flavor** | **String**| The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". | - **body** | [**OryAccessControlPolicy**](OryAccessControlPolicy.md)| | [optional] - -### Return type - -[**OryAccessControlPolicy**](OryAccessControlPolicy.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -# **upsertOryAccessControlPolicyRole** -> OryAccessControlPolicyRole upsertOryAccessControlPolicyRole(flavor, opts) - -Upsert an ORY Access Control Policy Role - -Roles group several subjects into one. Rules can be assigned to ORY Access Control Policy (OACP) by using the Role ID as subject in the OACP. - -### Example -```javascript -var OryKeto = require('ory_keto'); - -var apiInstance = new OryKeto.EnginesApi(); - -var flavor = "flavor_example"; // String | The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". - -var opts = { - 'body': new OryKeto.OryAccessControlPolicyRole() // OryAccessControlPolicyRole | -}; - -var callback = function(error, data, response) { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}; -apiInstance.upsertOryAccessControlPolicyRole(flavor, opts, callback); -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **flavor** | **String**| The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". | - **body** | [**OryAccessControlPolicyRole**](OryAccessControlPolicyRole.md)| | [optional] - -### Return type - -[**OryAccessControlPolicyRole**](OryAccessControlPolicyRole.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - diff --git a/sdk/js/swagger/docs/GetOryAccessControlPolicy.md b/sdk/js/swagger/docs/GetOryAccessControlPolicy.md deleted file mode 100644 index dcb57122d..000000000 --- a/sdk/js/swagger/docs/GetOryAccessControlPolicy.md +++ /dev/null @@ -1,9 +0,0 @@ -# OryKeto.GetOryAccessControlPolicy - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**flavor** | **String** | The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". in: path | -**id** | **String** | The ID of the ORY Access Control Policy Role. in: path | - - diff --git a/sdk/js/swagger/docs/GetOryAccessControlPolicyInternalServerError.md b/sdk/js/swagger/docs/GetOryAccessControlPolicyInternalServerError.md deleted file mode 100644 index e8f80efc9..000000000 --- a/sdk/js/swagger/docs/GetOryAccessControlPolicyInternalServerError.md +++ /dev/null @@ -1,8 +0,0 @@ -# OryKeto.GetOryAccessControlPolicyInternalServerError - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**payload** | [**GetOryAccessControlPolicyInternalServerErrorBody**](GetOryAccessControlPolicyInternalServerErrorBody.md) | | [optional] - - diff --git a/sdk/js/swagger/docs/GetOryAccessControlPolicyInternalServerErrorBody.md b/sdk/js/swagger/docs/GetOryAccessControlPolicyInternalServerErrorBody.md deleted file mode 100644 index dcf1669f0..000000000 --- a/sdk/js/swagger/docs/GetOryAccessControlPolicyInternalServerErrorBody.md +++ /dev/null @@ -1,13 +0,0 @@ -# OryKeto.GetOryAccessControlPolicyInternalServerErrorBody - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**code** | **Number** | code | [optional] -**details** | **[{String: Object}]** | details | [optional] -**message** | **String** | message | [optional] -**reason** | **String** | reason | [optional] -**request** | **String** | request | [optional] -**status** | **String** | status | [optional] - - diff --git a/sdk/js/swagger/docs/GetOryAccessControlPolicyNotFound.md b/sdk/js/swagger/docs/GetOryAccessControlPolicyNotFound.md deleted file mode 100644 index 53d606f85..000000000 --- a/sdk/js/swagger/docs/GetOryAccessControlPolicyNotFound.md +++ /dev/null @@ -1,8 +0,0 @@ -# OryKeto.GetOryAccessControlPolicyNotFound - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**payload** | [**GetOryAccessControlPolicyNotFoundBody**](GetOryAccessControlPolicyNotFoundBody.md) | | [optional] - - diff --git a/sdk/js/swagger/docs/GetOryAccessControlPolicyNotFoundBody.md b/sdk/js/swagger/docs/GetOryAccessControlPolicyNotFoundBody.md deleted file mode 100644 index 9361e8654..000000000 --- a/sdk/js/swagger/docs/GetOryAccessControlPolicyNotFoundBody.md +++ /dev/null @@ -1,13 +0,0 @@ -# OryKeto.GetOryAccessControlPolicyNotFoundBody - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**code** | **Number** | code | [optional] -**details** | **[{String: Object}]** | details | [optional] -**message** | **String** | message | [optional] -**reason** | **String** | reason | [optional] -**request** | **String** | request | [optional] -**status** | **String** | status | [optional] - - diff --git a/sdk/js/swagger/docs/GetOryAccessControlPolicyOK.md b/sdk/js/swagger/docs/GetOryAccessControlPolicyOK.md deleted file mode 100644 index 7dce70ee9..000000000 --- a/sdk/js/swagger/docs/GetOryAccessControlPolicyOK.md +++ /dev/null @@ -1,8 +0,0 @@ -# OryKeto.GetOryAccessControlPolicyOK - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**payload** | [**OryAccessControlPolicy**](OryAccessControlPolicy.md) | | [optional] - - diff --git a/sdk/js/swagger/docs/GetOryAccessControlPolicyReader.md b/sdk/js/swagger/docs/GetOryAccessControlPolicyReader.md deleted file mode 100644 index 9a9f74656..000000000 --- a/sdk/js/swagger/docs/GetOryAccessControlPolicyReader.md +++ /dev/null @@ -1,7 +0,0 @@ -# OryKeto.GetOryAccessControlPolicyReader - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - - diff --git a/sdk/js/swagger/docs/GetOryAccessControlPolicyRole.md b/sdk/js/swagger/docs/GetOryAccessControlPolicyRole.md deleted file mode 100644 index bc3878067..000000000 --- a/sdk/js/swagger/docs/GetOryAccessControlPolicyRole.md +++ /dev/null @@ -1,9 +0,0 @@ -# OryKeto.GetOryAccessControlPolicyRole - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**flavor** | **String** | The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". in: path | -**id** | **String** | The ID of the ORY Access Control Policy Role. in: path | - - diff --git a/sdk/js/swagger/docs/GetOryAccessControlPolicyRoleInternalServerError.md b/sdk/js/swagger/docs/GetOryAccessControlPolicyRoleInternalServerError.md deleted file mode 100644 index 01c4c6490..000000000 --- a/sdk/js/swagger/docs/GetOryAccessControlPolicyRoleInternalServerError.md +++ /dev/null @@ -1,8 +0,0 @@ -# OryKeto.GetOryAccessControlPolicyRoleInternalServerError - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**payload** | [**GetOryAccessControlPolicyRoleInternalServerErrorBody**](GetOryAccessControlPolicyRoleInternalServerErrorBody.md) | | [optional] - - diff --git a/sdk/js/swagger/docs/GetOryAccessControlPolicyRoleInternalServerErrorBody.md b/sdk/js/swagger/docs/GetOryAccessControlPolicyRoleInternalServerErrorBody.md deleted file mode 100644 index 1f677c229..000000000 --- a/sdk/js/swagger/docs/GetOryAccessControlPolicyRoleInternalServerErrorBody.md +++ /dev/null @@ -1,13 +0,0 @@ -# OryKeto.GetOryAccessControlPolicyRoleInternalServerErrorBody - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**code** | **Number** | code | [optional] -**details** | **[{String: Object}]** | details | [optional] -**message** | **String** | message | [optional] -**reason** | **String** | reason | [optional] -**request** | **String** | request | [optional] -**status** | **String** | status | [optional] - - diff --git a/sdk/js/swagger/docs/GetOryAccessControlPolicyRoleNotFound.md b/sdk/js/swagger/docs/GetOryAccessControlPolicyRoleNotFound.md deleted file mode 100644 index fc413bf34..000000000 --- a/sdk/js/swagger/docs/GetOryAccessControlPolicyRoleNotFound.md +++ /dev/null @@ -1,8 +0,0 @@ -# OryKeto.GetOryAccessControlPolicyRoleNotFound - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**payload** | [**GetOryAccessControlPolicyRoleNotFoundBody**](GetOryAccessControlPolicyRoleNotFoundBody.md) | | [optional] - - diff --git a/sdk/js/swagger/docs/GetOryAccessControlPolicyRoleNotFoundBody.md b/sdk/js/swagger/docs/GetOryAccessControlPolicyRoleNotFoundBody.md deleted file mode 100644 index e65408d41..000000000 --- a/sdk/js/swagger/docs/GetOryAccessControlPolicyRoleNotFoundBody.md +++ /dev/null @@ -1,13 +0,0 @@ -# OryKeto.GetOryAccessControlPolicyRoleNotFoundBody - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**code** | **Number** | code | [optional] -**details** | **[{String: Object}]** | details | [optional] -**message** | **String** | message | [optional] -**reason** | **String** | reason | [optional] -**request** | **String** | request | [optional] -**status** | **String** | status | [optional] - - diff --git a/sdk/js/swagger/docs/GetOryAccessControlPolicyRoleOK.md b/sdk/js/swagger/docs/GetOryAccessControlPolicyRoleOK.md deleted file mode 100644 index b61c68df7..000000000 --- a/sdk/js/swagger/docs/GetOryAccessControlPolicyRoleOK.md +++ /dev/null @@ -1,8 +0,0 @@ -# OryKeto.GetOryAccessControlPolicyRoleOK - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**payload** | [**OryAccessControlPolicyRole**](OryAccessControlPolicyRole.md) | | [optional] - - diff --git a/sdk/js/swagger/docs/GetOryAccessControlPolicyRoleReader.md b/sdk/js/swagger/docs/GetOryAccessControlPolicyRoleReader.md deleted file mode 100644 index 2f6f36713..000000000 --- a/sdk/js/swagger/docs/GetOryAccessControlPolicyRoleReader.md +++ /dev/null @@ -1,7 +0,0 @@ -# OryKeto.GetOryAccessControlPolicyRoleReader - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - - diff --git a/sdk/js/swagger/docs/HealthApi.md b/sdk/js/swagger/docs/HealthApi.md deleted file mode 100644 index c84d74258..000000000 --- a/sdk/js/swagger/docs/HealthApi.md +++ /dev/null @@ -1,90 +0,0 @@ -# OryKeto.HealthApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**isInstanceAlive**](HealthApi.md#isInstanceAlive) | **GET** /health/alive | Check alive status -[**isInstanceReady**](HealthApi.md#isInstanceReady) | **GET** /health/ready | Check readiness status - - - -# **isInstanceAlive** -> HealthStatus isInstanceAlive() - -Check alive status - -This endpoint returns a 200 status code when the HTTP server is up running. This status does currently not include checks whether the database connection is working. If the service supports TLS Edge Termination, this endpoint does not require the `X-Forwarded-Proto` header to be set. Be aware that if you are running multiple nodes of this service, the health status will never refer to the cluster state, only to a single instance. - -### Example -```javascript -var OryKeto = require('ory_keto'); - -var apiInstance = new OryKeto.HealthApi(); - -var callback = function(error, data, response) { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}; -apiInstance.isInstanceAlive(callback); -``` - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**HealthStatus**](HealthStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -# **isInstanceReady** -> HealthStatus isInstanceReady() - -Check readiness status - -This endpoint returns a 200 status code when the HTTP server is up running and the environment dependencies (e.g. the database) are responsive as well. If the service supports TLS Edge Termination, this endpoint does not require the `X-Forwarded-Proto` header to be set. Be aware that if you are running multiple nodes of this service, the health status will never refer to the cluster state, only to a single instance. - -### Example -```javascript -var OryKeto = require('ory_keto'); - -var apiInstance = new OryKeto.HealthApi(); - -var callback = function(error, data, response) { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}; -apiInstance.isInstanceReady(callback); -``` - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**HealthStatus**](HealthStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - diff --git a/sdk/js/swagger/docs/HealthNotReadyStatus.md b/sdk/js/swagger/docs/HealthNotReadyStatus.md deleted file mode 100644 index 2c6da27ea..000000000 --- a/sdk/js/swagger/docs/HealthNotReadyStatus.md +++ /dev/null @@ -1,8 +0,0 @@ -# OryKeto.HealthNotReadyStatus - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**errors** | **{String: String}** | Errors contains a list of errors that caused the not ready status. | [optional] - - diff --git a/sdk/js/swagger/docs/HealthStatus.md b/sdk/js/swagger/docs/HealthStatus.md deleted file mode 100644 index 1d307ae33..000000000 --- a/sdk/js/swagger/docs/HealthStatus.md +++ /dev/null @@ -1,8 +0,0 @@ -# OryKeto.HealthStatus - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | **String** | Status always contains \"ok\". | [optional] - - diff --git a/sdk/js/swagger/docs/InlineResponse500.md b/sdk/js/swagger/docs/InlineResponse500.md deleted file mode 100644 index c5988cf56..000000000 --- a/sdk/js/swagger/docs/InlineResponse500.md +++ /dev/null @@ -1,13 +0,0 @@ -# OryKeto.InlineResponse500 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**code** | **Number** | | [optional] -**details** | **[{String: Object}]** | | [optional] -**message** | **String** | | [optional] -**reason** | **String** | | [optional] -**request** | **String** | | [optional] -**status** | **String** | | [optional] - - diff --git a/sdk/js/swagger/docs/Input.md b/sdk/js/swagger/docs/Input.md deleted file mode 100644 index 053da6405..000000000 --- a/sdk/js/swagger/docs/Input.md +++ /dev/null @@ -1,11 +0,0 @@ -# OryKeto.Input - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**action** | **String** | Action is the action that is requested on the resource. | [optional] -**context** | **{String: Object}** | Context is the request's environmental context. | [optional] -**resource** | **String** | Resource is the resource that access is requested to. | [optional] -**subject** | **String** | Subject is the subject that is requesting access. | [optional] - - diff --git a/sdk/js/swagger/docs/IsInstanceAliveInternalServerError.md b/sdk/js/swagger/docs/IsInstanceAliveInternalServerError.md deleted file mode 100644 index 63eb6ab7d..000000000 --- a/sdk/js/swagger/docs/IsInstanceAliveInternalServerError.md +++ /dev/null @@ -1,8 +0,0 @@ -# OryKeto.IsInstanceAliveInternalServerError - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**payload** | [**IsInstanceAliveInternalServerErrorBody**](IsInstanceAliveInternalServerErrorBody.md) | | [optional] - - diff --git a/sdk/js/swagger/docs/IsInstanceAliveInternalServerErrorBody.md b/sdk/js/swagger/docs/IsInstanceAliveInternalServerErrorBody.md deleted file mode 100644 index c33d57bd8..000000000 --- a/sdk/js/swagger/docs/IsInstanceAliveInternalServerErrorBody.md +++ /dev/null @@ -1,13 +0,0 @@ -# OryKeto.IsInstanceAliveInternalServerErrorBody - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**code** | **Number** | code | [optional] -**details** | **[{String: Object}]** | details | [optional] -**message** | **String** | message | [optional] -**reason** | **String** | reason | [optional] -**request** | **String** | request | [optional] -**status** | **String** | status | [optional] - - diff --git a/sdk/js/swagger/docs/IsInstanceAliveOK.md b/sdk/js/swagger/docs/IsInstanceAliveOK.md deleted file mode 100644 index 866fd76bb..000000000 --- a/sdk/js/swagger/docs/IsInstanceAliveOK.md +++ /dev/null @@ -1,8 +0,0 @@ -# OryKeto.IsInstanceAliveOK - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**payload** | [**SwaggerHealthStatus**](SwaggerHealthStatus.md) | | [optional] - - diff --git a/sdk/js/swagger/docs/IsInstanceAliveReader.md b/sdk/js/swagger/docs/IsInstanceAliveReader.md deleted file mode 100644 index 5b257fe66..000000000 --- a/sdk/js/swagger/docs/IsInstanceAliveReader.md +++ /dev/null @@ -1,7 +0,0 @@ -# OryKeto.IsInstanceAliveReader - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - - diff --git a/sdk/js/swagger/docs/ListOryAccessControlPolicies.md b/sdk/js/swagger/docs/ListOryAccessControlPolicies.md deleted file mode 100644 index c03cddca2..000000000 --- a/sdk/js/swagger/docs/ListOryAccessControlPolicies.md +++ /dev/null @@ -1,10 +0,0 @@ -# OryKeto.ListOryAccessControlPolicies - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**flavor** | **String** | The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\" in: path | -**limit** | **Number** | The maximum amount of policies returned. in: query | [optional] -**offset** | **Number** | The offset from where to start looking. in: query | [optional] - - diff --git a/sdk/js/swagger/docs/ListOryAccessControlPoliciesInternalServerError.md b/sdk/js/swagger/docs/ListOryAccessControlPoliciesInternalServerError.md deleted file mode 100644 index 686c842ee..000000000 --- a/sdk/js/swagger/docs/ListOryAccessControlPoliciesInternalServerError.md +++ /dev/null @@ -1,8 +0,0 @@ -# OryKeto.ListOryAccessControlPoliciesInternalServerError - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**payload** | [**ListOryAccessControlPoliciesInternalServerErrorBody**](ListOryAccessControlPoliciesInternalServerErrorBody.md) | | [optional] - - diff --git a/sdk/js/swagger/docs/ListOryAccessControlPoliciesInternalServerErrorBody.md b/sdk/js/swagger/docs/ListOryAccessControlPoliciesInternalServerErrorBody.md deleted file mode 100644 index 5247696dc..000000000 --- a/sdk/js/swagger/docs/ListOryAccessControlPoliciesInternalServerErrorBody.md +++ /dev/null @@ -1,13 +0,0 @@ -# OryKeto.ListOryAccessControlPoliciesInternalServerErrorBody - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**code** | **Number** | code | [optional] -**details** | **[{String: Object}]** | details | [optional] -**message** | **String** | message | [optional] -**reason** | **String** | reason | [optional] -**request** | **String** | request | [optional] -**status** | **String** | status | [optional] - - diff --git a/sdk/js/swagger/docs/ListOryAccessControlPoliciesOK.md b/sdk/js/swagger/docs/ListOryAccessControlPoliciesOK.md deleted file mode 100644 index d4141ab7e..000000000 --- a/sdk/js/swagger/docs/ListOryAccessControlPoliciesOK.md +++ /dev/null @@ -1,8 +0,0 @@ -# OryKeto.ListOryAccessControlPoliciesOK - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**payload** | [**[OryAccessControlPolicy]**](OryAccessControlPolicy.md) | payload | [optional] - - diff --git a/sdk/js/swagger/docs/ListOryAccessControlPoliciesReader.md b/sdk/js/swagger/docs/ListOryAccessControlPoliciesReader.md deleted file mode 100644 index 46f1a5d95..000000000 --- a/sdk/js/swagger/docs/ListOryAccessControlPoliciesReader.md +++ /dev/null @@ -1,7 +0,0 @@ -# OryKeto.ListOryAccessControlPoliciesReader - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - - diff --git a/sdk/js/swagger/docs/ListOryAccessControlPolicyRoles.md b/sdk/js/swagger/docs/ListOryAccessControlPolicyRoles.md deleted file mode 100644 index ee1b41b98..000000000 --- a/sdk/js/swagger/docs/ListOryAccessControlPolicyRoles.md +++ /dev/null @@ -1,10 +0,0 @@ -# OryKeto.ListOryAccessControlPolicyRoles - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**flavor** | **String** | The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\" in: path | -**limit** | **Number** | The maximum amount of policies returned. in: query | [optional] -**offset** | **Number** | The offset from where to start looking. in: query | [optional] - - diff --git a/sdk/js/swagger/docs/ListOryAccessControlPolicyRolesInternalServerError.md b/sdk/js/swagger/docs/ListOryAccessControlPolicyRolesInternalServerError.md deleted file mode 100644 index 7166690f3..000000000 --- a/sdk/js/swagger/docs/ListOryAccessControlPolicyRolesInternalServerError.md +++ /dev/null @@ -1,8 +0,0 @@ -# OryKeto.ListOryAccessControlPolicyRolesInternalServerError - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**payload** | [**ListOryAccessControlPolicyRolesInternalServerErrorBody**](ListOryAccessControlPolicyRolesInternalServerErrorBody.md) | | [optional] - - diff --git a/sdk/js/swagger/docs/ListOryAccessControlPolicyRolesInternalServerErrorBody.md b/sdk/js/swagger/docs/ListOryAccessControlPolicyRolesInternalServerErrorBody.md deleted file mode 100644 index 3cca0a8de..000000000 --- a/sdk/js/swagger/docs/ListOryAccessControlPolicyRolesInternalServerErrorBody.md +++ /dev/null @@ -1,13 +0,0 @@ -# OryKeto.ListOryAccessControlPolicyRolesInternalServerErrorBody - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**code** | **Number** | code | [optional] -**details** | **[{String: Object}]** | details | [optional] -**message** | **String** | message | [optional] -**reason** | **String** | reason | [optional] -**request** | **String** | request | [optional] -**status** | **String** | status | [optional] - - diff --git a/sdk/js/swagger/docs/ListOryAccessControlPolicyRolesOK.md b/sdk/js/swagger/docs/ListOryAccessControlPolicyRolesOK.md deleted file mode 100644 index 17f0b6f4b..000000000 --- a/sdk/js/swagger/docs/ListOryAccessControlPolicyRolesOK.md +++ /dev/null @@ -1,8 +0,0 @@ -# OryKeto.ListOryAccessControlPolicyRolesOK - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**payload** | [**[OryAccessControlPolicyRole]**](OryAccessControlPolicyRole.md) | payload | [optional] - - diff --git a/sdk/js/swagger/docs/ListOryAccessControlPolicyRolesReader.md b/sdk/js/swagger/docs/ListOryAccessControlPolicyRolesReader.md deleted file mode 100644 index e0a83d8c2..000000000 --- a/sdk/js/swagger/docs/ListOryAccessControlPolicyRolesReader.md +++ /dev/null @@ -1,7 +0,0 @@ -# OryKeto.ListOryAccessControlPolicyRolesReader - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - - diff --git a/sdk/js/swagger/docs/OryAccessControlPolicies.md b/sdk/js/swagger/docs/OryAccessControlPolicies.md deleted file mode 100644 index bb7afcf3f..000000000 --- a/sdk/js/swagger/docs/OryAccessControlPolicies.md +++ /dev/null @@ -1,8 +0,0 @@ -# OryKeto.OryAccessControlPolicies - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**body** | [**[OryAccessControlPolicy]**](OryAccessControlPolicy.md) | The request body. in: body type: array | [optional] - - diff --git a/sdk/js/swagger/docs/OryAccessControlPolicy.md b/sdk/js/swagger/docs/OryAccessControlPolicy.md deleted file mode 100644 index 296e94d05..000000000 --- a/sdk/js/swagger/docs/OryAccessControlPolicy.md +++ /dev/null @@ -1,14 +0,0 @@ -# OryKeto.OryAccessControlPolicy - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**actions** | **[String]** | Actions is an array representing all the actions this ORY Access Policy applies to. | [optional] -**conditions** | **{String: Object}** | Conditions represents a keyed object of conditions under which this ORY Access Policy is active. | [optional] -**description** | **String** | Description is an optional, human-readable description. | [optional] -**effect** | **String** | Effect is the effect of this ORY Access Policy. It can be \"allow\" or \"deny\". | [optional] -**id** | **String** | ID is the unique identifier of the ORY Access Policy. It is used to query, update, and remove the ORY Access Policy. | [optional] -**resources** | **[String]** | Resources is an array representing all the resources this ORY Access Policy applies to. | [optional] -**subjects** | **[String]** | Subjects is an array representing all the subjects this ORY Access Policy applies to. | [optional] - - diff --git a/sdk/js/swagger/docs/OryAccessControlPolicyAllowedInput.md b/sdk/js/swagger/docs/OryAccessControlPolicyAllowedInput.md deleted file mode 100644 index ced13e3c4..000000000 --- a/sdk/js/swagger/docs/OryAccessControlPolicyAllowedInput.md +++ /dev/null @@ -1,11 +0,0 @@ -# OryKeto.OryAccessControlPolicyAllowedInput - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**action** | **String** | Action is the action that is requested on the resource. | [optional] -**context** | **{String: Object}** | Context is the request's environmental context. | [optional] -**resource** | **String** | Resource is the resource that access is requested to. | [optional] -**subject** | **String** | Subject is the subject that is requesting access. | [optional] - - diff --git a/sdk/js/swagger/docs/OryAccessControlPolicyRole.md b/sdk/js/swagger/docs/OryAccessControlPolicyRole.md deleted file mode 100644 index caa9410a1..000000000 --- a/sdk/js/swagger/docs/OryAccessControlPolicyRole.md +++ /dev/null @@ -1,9 +0,0 @@ -# OryKeto.OryAccessControlPolicyRole - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **String** | ID is the role's unique id. | [optional] -**members** | **[String]** | Members is who belongs to the role. | [optional] - - diff --git a/sdk/js/swagger/docs/OryAccessControlPolicyRoles.md b/sdk/js/swagger/docs/OryAccessControlPolicyRoles.md deleted file mode 100644 index 4621bf1d9..000000000 --- a/sdk/js/swagger/docs/OryAccessControlPolicyRoles.md +++ /dev/null @@ -1,8 +0,0 @@ -# OryKeto.OryAccessControlPolicyRoles - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**body** | [**[OryAccessControlPolicyRole]**](OryAccessControlPolicyRole.md) | The request body. in: body type: array | [optional] - - diff --git a/sdk/js/swagger/docs/Policies.md b/sdk/js/swagger/docs/Policies.md deleted file mode 100644 index 97815e066..000000000 --- a/sdk/js/swagger/docs/Policies.md +++ /dev/null @@ -1,7 +0,0 @@ -# OryKeto.Policies - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - - diff --git a/sdk/js/swagger/docs/Policy.md b/sdk/js/swagger/docs/Policy.md deleted file mode 100644 index a38cf5430..000000000 --- a/sdk/js/swagger/docs/Policy.md +++ /dev/null @@ -1,14 +0,0 @@ -# OryKeto.Policy - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**actions** | **[String]** | Actions is an array representing all the actions this ORY Access Policy applies to. | [optional] -**conditions** | **{String: Object}** | Conditions represents a keyed object of conditions under which this ORY Access Policy is active. | [optional] -**description** | **String** | Description is an optional, human-readable description. | [optional] -**effect** | **String** | Effect is the effect of this ORY Access Policy. It can be \"allow\" or \"deny\". | [optional] -**id** | **String** | ID is the unique identifier of the ORY Access Policy. It is used to query, update, and remove the ORY Access Policy. | [optional] -**resources** | **[String]** | Resources is an array representing all the resources this ORY Access Policy applies to. | [optional] -**subjects** | **[String]** | Subjects is an array representing all the subjects this ORY Access Policy applies to. | [optional] - - diff --git a/sdk/js/swagger/docs/RemoveOryAccessControlPolicyRoleMembers.md b/sdk/js/swagger/docs/RemoveOryAccessControlPolicyRoleMembers.md deleted file mode 100644 index 60315b83f..000000000 --- a/sdk/js/swagger/docs/RemoveOryAccessControlPolicyRoleMembers.md +++ /dev/null @@ -1,10 +0,0 @@ -# OryKeto.RemoveOryAccessControlPolicyRoleMembers - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**flavor** | **String** | The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". in: path | -**id** | **String** | The ID of the ORY Access Control Policy Role. in: path | -**member** | **String** | The member to be removed. in: path | - - diff --git a/sdk/js/swagger/docs/RemoveOryAccessControlPolicyRoleMembersCreated.md b/sdk/js/swagger/docs/RemoveOryAccessControlPolicyRoleMembersCreated.md deleted file mode 100644 index ccbb1e31e..000000000 --- a/sdk/js/swagger/docs/RemoveOryAccessControlPolicyRoleMembersCreated.md +++ /dev/null @@ -1,7 +0,0 @@ -# OryKeto.RemoveOryAccessControlPolicyRoleMembersCreated - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - - diff --git a/sdk/js/swagger/docs/RemoveOryAccessControlPolicyRoleMembersInternalServerError.md b/sdk/js/swagger/docs/RemoveOryAccessControlPolicyRoleMembersInternalServerError.md deleted file mode 100644 index 54deccb05..000000000 --- a/sdk/js/swagger/docs/RemoveOryAccessControlPolicyRoleMembersInternalServerError.md +++ /dev/null @@ -1,8 +0,0 @@ -# OryKeto.RemoveOryAccessControlPolicyRoleMembersInternalServerError - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**payload** | [**RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody**](RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody.md) | | [optional] - - diff --git a/sdk/js/swagger/docs/RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody.md b/sdk/js/swagger/docs/RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody.md deleted file mode 100644 index bd7fc3d92..000000000 --- a/sdk/js/swagger/docs/RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody.md +++ /dev/null @@ -1,13 +0,0 @@ -# OryKeto.RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**code** | **Number** | code | [optional] -**details** | **[{String: Object}]** | details | [optional] -**message** | **String** | message | [optional] -**reason** | **String** | reason | [optional] -**request** | **String** | request | [optional] -**status** | **String** | status | [optional] - - diff --git a/sdk/js/swagger/docs/RemoveOryAccessControlPolicyRoleMembersReader.md b/sdk/js/swagger/docs/RemoveOryAccessControlPolicyRoleMembersReader.md deleted file mode 100644 index b42b5c23b..000000000 --- a/sdk/js/swagger/docs/RemoveOryAccessControlPolicyRoleMembersReader.md +++ /dev/null @@ -1,7 +0,0 @@ -# OryKeto.RemoveOryAccessControlPolicyRoleMembersReader - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - - diff --git a/sdk/js/swagger/docs/Role.md b/sdk/js/swagger/docs/Role.md deleted file mode 100644 index bb5e28b44..000000000 --- a/sdk/js/swagger/docs/Role.md +++ /dev/null @@ -1,9 +0,0 @@ -# OryKeto.Role - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **String** | ID is the role's unique id. | [optional] -**members** | **[String]** | Members is who belongs to the role. | [optional] - - diff --git a/sdk/js/swagger/docs/Roles.md b/sdk/js/swagger/docs/Roles.md deleted file mode 100644 index ee0e94287..000000000 --- a/sdk/js/swagger/docs/Roles.md +++ /dev/null @@ -1,7 +0,0 @@ -# OryKeto.Roles - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - - diff --git a/sdk/js/swagger/docs/SwaggerHealthStatus.md b/sdk/js/swagger/docs/SwaggerHealthStatus.md deleted file mode 100644 index 81d8b768f..000000000 --- a/sdk/js/swagger/docs/SwaggerHealthStatus.md +++ /dev/null @@ -1,8 +0,0 @@ -# OryKeto.SwaggerHealthStatus - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | **String** | Status always contains \"ok\". | [optional] - - diff --git a/sdk/js/swagger/docs/SwaggerNotReadyStatus.md b/sdk/js/swagger/docs/SwaggerNotReadyStatus.md deleted file mode 100644 index 13ac51ff9..000000000 --- a/sdk/js/swagger/docs/SwaggerNotReadyStatus.md +++ /dev/null @@ -1,8 +0,0 @@ -# OryKeto.SwaggerNotReadyStatus - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**errors** | **{String: String}** | Errors contains a list of errors that caused the not ready status. | [optional] - - diff --git a/sdk/js/swagger/docs/SwaggerVersion.md b/sdk/js/swagger/docs/SwaggerVersion.md deleted file mode 100644 index 9257fcd8e..000000000 --- a/sdk/js/swagger/docs/SwaggerVersion.md +++ /dev/null @@ -1,8 +0,0 @@ -# OryKeto.SwaggerVersion - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**version** | **String** | Version is the service's version. | [optional] - - diff --git a/sdk/js/swagger/docs/UpsertOryAccessControlPolicy.md b/sdk/js/swagger/docs/UpsertOryAccessControlPolicy.md deleted file mode 100644 index 96c21fcbd..000000000 --- a/sdk/js/swagger/docs/UpsertOryAccessControlPolicy.md +++ /dev/null @@ -1,9 +0,0 @@ -# OryKeto.UpsertOryAccessControlPolicy - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**body** | [**OryAccessControlPolicy**](OryAccessControlPolicy.md) | | [optional] -**flavor** | **String** | The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". in: path | - - diff --git a/sdk/js/swagger/docs/UpsertOryAccessControlPolicyInternalServerError.md b/sdk/js/swagger/docs/UpsertOryAccessControlPolicyInternalServerError.md deleted file mode 100644 index 7ac8141a8..000000000 --- a/sdk/js/swagger/docs/UpsertOryAccessControlPolicyInternalServerError.md +++ /dev/null @@ -1,8 +0,0 @@ -# OryKeto.UpsertOryAccessControlPolicyInternalServerError - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**payload** | [**UpsertOryAccessControlPolicyInternalServerErrorBody**](UpsertOryAccessControlPolicyInternalServerErrorBody.md) | | [optional] - - diff --git a/sdk/js/swagger/docs/UpsertOryAccessControlPolicyInternalServerErrorBody.md b/sdk/js/swagger/docs/UpsertOryAccessControlPolicyInternalServerErrorBody.md deleted file mode 100644 index f4a2169a5..000000000 --- a/sdk/js/swagger/docs/UpsertOryAccessControlPolicyInternalServerErrorBody.md +++ /dev/null @@ -1,13 +0,0 @@ -# OryKeto.UpsertOryAccessControlPolicyInternalServerErrorBody - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**code** | **Number** | code | [optional] -**details** | **[{String: Object}]** | details | [optional] -**message** | **String** | message | [optional] -**reason** | **String** | reason | [optional] -**request** | **String** | request | [optional] -**status** | **String** | status | [optional] - - diff --git a/sdk/js/swagger/docs/UpsertOryAccessControlPolicyOK.md b/sdk/js/swagger/docs/UpsertOryAccessControlPolicyOK.md deleted file mode 100644 index 20344fd6d..000000000 --- a/sdk/js/swagger/docs/UpsertOryAccessControlPolicyOK.md +++ /dev/null @@ -1,8 +0,0 @@ -# OryKeto.UpsertOryAccessControlPolicyOK - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**payload** | [**OryAccessControlPolicy**](OryAccessControlPolicy.md) | | [optional] - - diff --git a/sdk/js/swagger/docs/UpsertOryAccessControlPolicyReader.md b/sdk/js/swagger/docs/UpsertOryAccessControlPolicyReader.md deleted file mode 100644 index 3c3f4e88d..000000000 --- a/sdk/js/swagger/docs/UpsertOryAccessControlPolicyReader.md +++ /dev/null @@ -1,7 +0,0 @@ -# OryKeto.UpsertOryAccessControlPolicyReader - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - - diff --git a/sdk/js/swagger/docs/UpsertOryAccessControlPolicyRole.md b/sdk/js/swagger/docs/UpsertOryAccessControlPolicyRole.md deleted file mode 100644 index 93aec99dd..000000000 --- a/sdk/js/swagger/docs/UpsertOryAccessControlPolicyRole.md +++ /dev/null @@ -1,9 +0,0 @@ -# OryKeto.UpsertOryAccessControlPolicyRole - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**body** | [**OryAccessControlPolicyRole**](OryAccessControlPolicyRole.md) | | [optional] -**flavor** | **String** | The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". in: path | - - diff --git a/sdk/js/swagger/docs/UpsertOryAccessControlPolicyRoleInternalServerError.md b/sdk/js/swagger/docs/UpsertOryAccessControlPolicyRoleInternalServerError.md deleted file mode 100644 index 8c355afdb..000000000 --- a/sdk/js/swagger/docs/UpsertOryAccessControlPolicyRoleInternalServerError.md +++ /dev/null @@ -1,8 +0,0 @@ -# OryKeto.UpsertOryAccessControlPolicyRoleInternalServerError - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**payload** | [**UpsertOryAccessControlPolicyRoleInternalServerErrorBody**](UpsertOryAccessControlPolicyRoleInternalServerErrorBody.md) | | [optional] - - diff --git a/sdk/js/swagger/docs/UpsertOryAccessControlPolicyRoleInternalServerErrorBody.md b/sdk/js/swagger/docs/UpsertOryAccessControlPolicyRoleInternalServerErrorBody.md deleted file mode 100644 index bc8e807a9..000000000 --- a/sdk/js/swagger/docs/UpsertOryAccessControlPolicyRoleInternalServerErrorBody.md +++ /dev/null @@ -1,13 +0,0 @@ -# OryKeto.UpsertOryAccessControlPolicyRoleInternalServerErrorBody - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**code** | **Number** | code | [optional] -**details** | **[{String: Object}]** | details | [optional] -**message** | **String** | message | [optional] -**reason** | **String** | reason | [optional] -**request** | **String** | request | [optional] -**status** | **String** | status | [optional] - - diff --git a/sdk/js/swagger/docs/UpsertOryAccessControlPolicyRoleOK.md b/sdk/js/swagger/docs/UpsertOryAccessControlPolicyRoleOK.md deleted file mode 100644 index c8e91cc00..000000000 --- a/sdk/js/swagger/docs/UpsertOryAccessControlPolicyRoleOK.md +++ /dev/null @@ -1,8 +0,0 @@ -# OryKeto.UpsertOryAccessControlPolicyRoleOK - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**payload** | [**OryAccessControlPolicyRole**](OryAccessControlPolicyRole.md) | | [optional] - - diff --git a/sdk/js/swagger/docs/UpsertOryAccessControlPolicyRoleReader.md b/sdk/js/swagger/docs/UpsertOryAccessControlPolicyRoleReader.md deleted file mode 100644 index 3b2d342df..000000000 --- a/sdk/js/swagger/docs/UpsertOryAccessControlPolicyRoleReader.md +++ /dev/null @@ -1,7 +0,0 @@ -# OryKeto.UpsertOryAccessControlPolicyRoleReader - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - - diff --git a/sdk/js/swagger/docs/Version.md b/sdk/js/swagger/docs/Version.md deleted file mode 100644 index 709510658..000000000 --- a/sdk/js/swagger/docs/Version.md +++ /dev/null @@ -1,8 +0,0 @@ -# OryKeto.Version - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**version** | **String** | Version is the service's version. | [optional] - - diff --git a/sdk/js/swagger/docs/VersionApi.md b/sdk/js/swagger/docs/VersionApi.md deleted file mode 100644 index ac077d6fd..000000000 --- a/sdk/js/swagger/docs/VersionApi.md +++ /dev/null @@ -1,49 +0,0 @@ -# OryKeto.VersionApi - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**getVersion**](VersionApi.md#getVersion) | **GET** /version | Get service version - - - -# **getVersion** -> Version getVersion() - -Get service version - -This endpoint returns the service version typically notated using semantic versioning. If the service supports TLS Edge Termination, this endpoint does not require the `X-Forwarded-Proto` header to be set. Be aware that if you are running multiple nodes of this service, the health status will never refer to the cluster state, only to a single instance. - -### Example -```javascript -var OryKeto = require('ory_keto'); - -var apiInstance = new OryKeto.VersionApi(); - -var callback = function(error, data, response) { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}; -apiInstance.getVersion(callback); -``` - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**Version**](Version.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - diff --git a/sdk/js/swagger/git_push.sh b/sdk/js/swagger/git_push.sh deleted file mode 100644 index 0d041ad0b..000000000 --- a/sdk/js/swagger/git_push.sh +++ /dev/null @@ -1,52 +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 swagger-petstore-perl "minor update" - -git_user_id=$1 -git_repo_id=$2 -release_note=$3 - -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://github.com/${git_user_id}/${git_repo_id}.git - else - git remote add origin https://${git_user_id}:${GIT_TOKEN}@github.com/${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://github.com/${git_user_id}/${git_repo_id}.git" -git push origin master 2>&1 | grep -v 'To https' - diff --git a/sdk/js/swagger/mocha.opts b/sdk/js/swagger/mocha.opts deleted file mode 100644 index 907011807..000000000 --- a/sdk/js/swagger/mocha.opts +++ /dev/null @@ -1 +0,0 @@ ---timeout 10000 diff --git a/sdk/js/swagger/src/ApiClient.js b/sdk/js/swagger/src/ApiClient.js deleted file mode 100644 index 472d497ec..000000000 --- a/sdk/js/swagger/src/ApiClient.js +++ /dev/null @@ -1,567 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['superagent', 'querystring'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('superagent'), require('querystring')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.ApiClient = factory(root.superagent, root.querystring); - } -}(this, function(superagent, querystring) { - 'use strict'; - - /** - * @module ApiClient - * @version Latest - */ - - /** - * Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an - * application to use this class directly - the *Api and model classes provide the public API for the service. The - * contents of this file should be regarded as internal but are documented for completeness. - * @alias module:ApiClient - * @class - */ - var exports = function() { - /** - * The base URL against which to resolve every API call's (relative) path. - * @type {String} - * @default http://localhost - */ - this.basePath = 'http://localhost'.replace(/\/+$/, ''); - - /** - * The authentication methods to be included for all API calls. - * @type {Array.} - */ - this.authentications = { - }; - /** - * The default HTTP headers to be included for all API calls. - * @type {Array.} - * @default {} - */ - this.defaultHeaders = {}; - - /** - * The default HTTP timeout for all API calls. - * @type {Number} - * @default 60000 - */ - this.timeout = 60000; - - /** - * If set to false an additional timestamp parameter is added to all API GET calls to - * prevent browser caching - * @type {Boolean} - * @default true - */ - this.cache = true; - - /** - * If set to true, the client will save the cookies from each server - * response, and return them in the next request. - * @default false - */ - this.enableCookies = false; - - /* - * Used to save and return cookies in a node.js (non-browser) setting, - * if this.enableCookies is set to true. - */ - if (typeof window === 'undefined') { - this.agent = new superagent.agent(); - } - - }; - - /** - * Returns a string representation for an actual parameter. - * @param param The actual parameter. - * @returns {String} The string representation of param. - */ - exports.prototype.paramToString = function(param) { - if (param == undefined || param == null) { - return ''; - } - if (param instanceof Date) { - return param.toJSON(); - } - return param.toString(); - }; - - /** - * Builds full URL by appending the given path to the base URL and replacing path parameter place-holders with parameter values. - * NOTE: query parameters are not handled here. - * @param {String} path The path to append to the base URL. - * @param {Object} pathParams The parameter values to append. - * @returns {String} The encoded path with parameter values substituted. - */ - exports.prototype.buildUrl = function(path, pathParams) { - if (!path.match(/^\//)) { - path = '/' + path; - } - var url = this.basePath + path; - var _this = this; - url = url.replace(/\{([\w-]+)\}/g, function(fullMatch, key) { - var value; - if (pathParams.hasOwnProperty(key)) { - value = _this.paramToString(pathParams[key]); - } else { - value = fullMatch; - } - return encodeURIComponent(value); - }); - return url; - }; - - /** - * Checks whether the given content type represents JSON.
- * JSON content type examples:
- *
    - *
  • application/json
  • - *
  • application/json; charset=UTF8
  • - *
  • APPLICATION/JSON
  • - *
- * @param {String} contentType The MIME content type to check. - * @returns {Boolean} true if contentType represents JSON, otherwise false. - */ - exports.prototype.isJsonMime = function(contentType) { - return Boolean(contentType != null && contentType.match(/^application\/json(;.*)?$/i)); - }; - - /** - * Chooses a content type from the given array, with JSON preferred; i.e. return JSON if included, otherwise return the first. - * @param {Array.} contentTypes - * @returns {String} The chosen content type, preferring JSON. - */ - exports.prototype.jsonPreferredMime = function(contentTypes) { - for (var i = 0; i < contentTypes.length; i++) { - if (this.isJsonMime(contentTypes[i])) { - return contentTypes[i]; - } - } - return contentTypes[0]; - }; - - /** - * Checks whether the given parameter value represents file-like content. - * @param param The parameter to check. - * @returns {Boolean} true if param represents a file. - */ - exports.prototype.isFileParam = function(param) { - // fs.ReadStream in Node.js and Electron (but not in runtime like browserify) - if (typeof require === 'function') { - var fs; - try { - fs = require('fs'); - } catch (err) {} - if (fs && fs.ReadStream && param instanceof fs.ReadStream) { - return true; - } - } - // Buffer in Node.js - if (typeof Buffer === 'function' && param instanceof Buffer) { - return true; - } - // Blob in browser - if (typeof Blob === 'function' && param instanceof Blob) { - return true; - } - // File in browser (it seems File object is also instance of Blob, but keep this for safe) - if (typeof File === 'function' && param instanceof File) { - return true; - } - return false; - }; - - /** - * Normalizes parameter values: - *
    - *
  • remove nils
  • - *
  • keep files and arrays
  • - *
  • format to string with `paramToString` for other cases
  • - *
- * @param {Object.} params The parameters as object properties. - * @returns {Object.} normalized parameters. - */ - exports.prototype.normalizeParams = function(params) { - var newParams = {}; - for (var key in params) { - if (params.hasOwnProperty(key) && params[key] != undefined && params[key] != null) { - var value = params[key]; - if (this.isFileParam(value) || Array.isArray(value)) { - newParams[key] = value; - } else { - newParams[key] = this.paramToString(value); - } - } - } - return newParams; - }; - - /** - * Enumeration of collection format separator strategies. - * @enum {String} - * @readonly - */ - exports.CollectionFormatEnum = { - /** - * Comma-separated values. Value: csv - * @const - */ - CSV: ',', - /** - * Space-separated values. Value: ssv - * @const - */ - SSV: ' ', - /** - * Tab-separated values. Value: tsv - * @const - */ - TSV: '\t', - /** - * Pipe(|)-separated values. Value: pipes - * @const - */ - PIPES: '|', - /** - * Native array. Value: multi - * @const - */ - MULTI: 'multi' - }; - - /** - * Builds a string representation of an array-type actual parameter, according to the given collection format. - * @param {Array} param An array parameter. - * @param {module:ApiClient.CollectionFormatEnum} collectionFormat The array element separator strategy. - * @returns {String|Array} A string representation of the supplied collection, using the specified delimiter. Returns - * param as is if collectionFormat is multi. - */ - exports.prototype.buildCollectionParam = function buildCollectionParam(param, collectionFormat) { - if (param == null) { - return null; - } - switch (collectionFormat) { - case 'csv': - return param.map(this.paramToString).join(','); - case 'ssv': - return param.map(this.paramToString).join(' '); - case 'tsv': - return param.map(this.paramToString).join('\t'); - case 'pipes': - return param.map(this.paramToString).join('|'); - case 'multi': - // return the array directly as SuperAgent will handle it as expected - return param.map(this.paramToString); - default: - throw new Error('Unknown collection format: ' + collectionFormat); - } - }; - - /** - * Applies authentication headers to the request. - * @param {Object} request The request object created by a superagent() call. - * @param {Array.} authNames An array of authentication method names. - */ - exports.prototype.applyAuthToRequest = function(request, authNames) { - var _this = this; - authNames.forEach(function(authName) { - var auth = _this.authentications[authName]; - switch (auth.type) { - case 'basic': - if (auth.username || auth.password) { - request.auth(auth.username || '', auth.password || ''); - } - break; - case 'apiKey': - if (auth.apiKey) { - var data = {}; - if (auth.apiKeyPrefix) { - data[auth.name] = auth.apiKeyPrefix + ' ' + auth.apiKey; - } else { - data[auth.name] = auth.apiKey; - } - if (auth['in'] === 'header') { - request.set(data); - } else { - request.query(data); - } - } - break; - case 'oauth2': - if (auth.accessToken) { - request.set({'Authorization': 'Bearer ' + auth.accessToken}); - } - break; - default: - throw new Error('Unknown authentication type: ' + auth.type); - } - }); - }; - - /** - * Deserializes an HTTP response body into a value of the specified type. - * @param {Object} response A SuperAgent response object. - * @param {(String|Array.|Object.|Function)} returnType The type to return. Pass a string for simple types - * or the constructor function for a complex type. Pass an array containing the type name to return an array of that type. To - * return an object, pass an object with one property whose name is the key type and whose value is the corresponding value type: - * all properties on data will be converted to this type. - * @returns A value of the specified type. - */ - exports.prototype.deserialize = function deserialize(response, returnType) { - if (response == null || returnType == null || response.status == 204) { - return null; - } - // Rely on SuperAgent for parsing response body. - // See http://visionmedia.github.io/superagent/#parsing-response-bodies - var data = response.body; - if (data == null || (typeof data === 'object' && typeof data.length === 'undefined' && !Object.keys(data).length)) { - // SuperAgent does not always produce a body; use the unparsed response as a fallback - data = response.text; - } - return exports.convertToType(data, returnType); - }; - - /** - * Callback function to receive the result of the operation. - * @callback module:ApiClient~callApiCallback - * @param {String} error Error message, if any. - * @param data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Invokes the REST service using the supplied settings and parameters. - * @param {String} path The base URL to invoke. - * @param {String} httpMethod The HTTP method to use. - * @param {Object.} pathParams A map of path parameters and their values. - * @param {Object.} queryParams A map of query parameters and their values. - * @param {Object.} headerParams A map of header parameters and their values. - * @param {Object.} formParams A map of form parameters and their values. - * @param {Object} bodyParam The value to pass as the request body. - * @param {Array.} authNames An array of authentication type names. - * @param {Array.} contentTypes An array of request MIME types. - * @param {Array.} accepts An array of acceptable response MIME types. - * @param {(String|Array|ObjectFunction)} returnType The required type to return; can be a string for simple types or the - * constructor for a complex type. - * @param {module:ApiClient~callApiCallback} callback The callback function. - * @returns {Object} The SuperAgent request object. - */ - exports.prototype.callApi = function callApi(path, httpMethod, pathParams, - queryParams, headerParams, formParams, bodyParam, authNames, contentTypes, accepts, - returnType, callback) { - - var _this = this; - var url = this.buildUrl(path, pathParams); - var request = superagent(httpMethod, url); - - // apply authentications - this.applyAuthToRequest(request, authNames); - - // set query parameters - if (httpMethod.toUpperCase() === 'GET' && this.cache === false) { - queryParams['_'] = new Date().getTime(); - } - request.query(this.normalizeParams(queryParams)); - - // set header parameters - request.set(this.defaultHeaders).set(this.normalizeParams(headerParams)); - - // set request timeout - request.timeout(this.timeout); - - var contentType = this.jsonPreferredMime(contentTypes); - if (contentType) { - // Issue with superagent and multipart/form-data (https://github.com/visionmedia/superagent/issues/746) - if(contentType != 'multipart/form-data') { - request.type(contentType); - } - } else if (!request.header['Content-Type']) { - request.type('application/json'); - } - - if (contentType === 'application/x-www-form-urlencoded') { - request.send(querystring.stringify(this.normalizeParams(formParams))); - } else if (contentType == 'multipart/form-data') { - var _formParams = this.normalizeParams(formParams); - for (var key in _formParams) { - if (_formParams.hasOwnProperty(key)) { - if (this.isFileParam(_formParams[key])) { - // file field - request.attach(key, _formParams[key]); - } else { - request.field(key, _formParams[key]); - } - } - } - } else if (bodyParam) { - request.send(bodyParam); - } - - var accept = this.jsonPreferredMime(accepts); - if (accept) { - request.accept(accept); - } - - if (returnType === 'Blob') { - request.responseType('blob'); - } else if (returnType === 'String') { - request.responseType('string'); - } - - // Attach previously saved cookies, if enabled - if (this.enableCookies){ - if (typeof window === 'undefined') { - this.agent.attachCookies(request); - } - else { - request.withCredentials(); - } - } - - - request.end(function(error, response) { - if (callback) { - var data = null; - if (!error) { - try { - data = _this.deserialize(response, returnType); - if (_this.enableCookies && typeof window === 'undefined'){ - _this.agent.saveCookies(response); - } - } catch (err) { - error = err; - } - } - callback(error, data, response); - } - }); - - return request; - }; - - /** - * Parses an ISO-8601 string representation of a date value. - * @param {String} str The date value as a string. - * @returns {Date} The parsed date object. - */ - exports.parseDate = function(str) { - return new Date(str.replace(/T/i, ' ')); - }; - - /** - * Converts a value to the specified type. - * @param {(String|Object)} data The data to convert, as a string or object. - * @param {(String|Array.|Object.|Function)} type The type to return. Pass a string for simple types - * or the constructor function for a complex type. Pass an array containing the type name to return an array of that type. To - * return an object, pass an object with one property whose name is the key type and whose value is the corresponding value type: - * all properties on data will be converted to this type. - * @returns An instance of the specified type or null or undefined if data is null or undefined. - */ - exports.convertToType = function(data, type) { - if (data === null || data === undefined) - return data - - switch (type) { - case 'Boolean': - return Boolean(data); - case 'Integer': - return parseInt(data, 10); - case 'Number': - return parseFloat(data); - case 'String': - return String(data); - case 'Date': - return this.parseDate(String(data)); - case 'Blob': - return data; - default: - if (type === Object) { - // generic object, return directly - return data; - } else if (typeof type === 'function') { - // for model type like: User - return type.constructFromObject(data); - } else if (Array.isArray(type)) { - // for array type like: ['String'] - var itemType = type[0]; - return data.map(function(item) { - return exports.convertToType(item, itemType); - }); - } else if (typeof type === 'object') { - // for plain object type like: {'String': 'Integer'} - var keyType, valueType; - for (var k in type) { - if (type.hasOwnProperty(k)) { - keyType = k; - valueType = type[k]; - break; - } - } - var result = {}; - for (var k in data) { - if (data.hasOwnProperty(k)) { - var key = exports.convertToType(k, keyType); - var value = exports.convertToType(data[k], valueType); - result[key] = value; - } - } - return result; - } else { - // for unknown type, return the data directly - return data; - } - } - }; - - /** - * Constructs a new map or array model from REST data. - * @param data {Object|Array} The REST data. - * @param obj {Object|Array} The target object or array. - */ - exports.constructFromObject = function(data, obj, itemType) { - if (Array.isArray(data)) { - for (var i = 0; i < data.length; i++) { - if (data.hasOwnProperty(i)) - obj[i] = exports.convertToType(data[i], itemType); - } - } else { - for (var k in data) { - if (data.hasOwnProperty(k)) - obj[k] = exports.convertToType(data[k], itemType); - } - } - }; - - /** - * The default API client implementation. - * @type {module:ApiClient} - */ - exports.instance = new exports(); - - return exports; -})); diff --git a/sdk/js/swagger/src/api/EnginesApi.js b/sdk/js/swagger/src/api/EnginesApi.js deleted file mode 100644 index a7cda5266..000000000 --- a/sdk/js/swagger/src/api/EnginesApi.js +++ /dev/null @@ -1,633 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient', 'model/AddOryAccessControlPolicyRoleMembersBody', 'model/AuthorizationResult', 'model/InlineResponse500', 'model/OryAccessControlPolicy', 'model/OryAccessControlPolicyAllowedInput', 'model/OryAccessControlPolicyRole'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient'), require('../model/AddOryAccessControlPolicyRoleMembersBody'), require('../model/AuthorizationResult'), require('../model/InlineResponse500'), require('../model/OryAccessControlPolicy'), require('../model/OryAccessControlPolicyAllowedInput'), require('../model/OryAccessControlPolicyRole')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.EnginesApi = factory(root.OryKeto.ApiClient, root.OryKeto.AddOryAccessControlPolicyRoleMembersBody, root.OryKeto.AuthorizationResult, root.OryKeto.InlineResponse500, root.OryKeto.OryAccessControlPolicy, root.OryKeto.OryAccessControlPolicyAllowedInput, root.OryKeto.OryAccessControlPolicyRole); - } -}(this, function(ApiClient, AddOryAccessControlPolicyRoleMembersBody, AuthorizationResult, InlineResponse500, OryAccessControlPolicy, OryAccessControlPolicyAllowedInput, OryAccessControlPolicyRole) { - 'use strict'; - - /** - * Engines service. - * @module api/EnginesApi - * @version Latest - */ - - /** - * Constructs a new EnginesApi. - * @alias module:api/EnginesApi - * @class - * @param {module:ApiClient} apiClient Optional API client implementation to use, - * default to {@link module:ApiClient#instance} if unspecified. - */ - var exports = function(apiClient) { - this.apiClient = apiClient || ApiClient.instance; - - - /** - * Callback function to receive the result of the addOryAccessControlPolicyRoleMembers operation. - * @callback module:api/EnginesApi~addOryAccessControlPolicyRoleMembersCallback - * @param {String} error Error message, if any. - * @param {module:model/OryAccessControlPolicyRole} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Add a member to an ORY Access Control Policy Role - * Roles group several subjects into one. Rules can be assigned to ORY Access Control Policy (OACP) by using the Role ID as subject in the OACP. - * @param {String} flavor The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". - * @param {String} id The ID of the ORY Access Control Policy Role. - * @param {Object} opts Optional parameters - * @param {module:model/AddOryAccessControlPolicyRoleMembersBody} opts.body - * @param {module:api/EnginesApi~addOryAccessControlPolicyRoleMembersCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/OryAccessControlPolicyRole} - */ - this.addOryAccessControlPolicyRoleMembers = function(flavor, id, opts, callback) { - opts = opts || {}; - var postBody = opts['body']; - - // verify the required parameter 'flavor' is set - if (flavor === undefined || flavor === null) { - throw new Error("Missing the required parameter 'flavor' when calling addOryAccessControlPolicyRoleMembers"); - } - - // verify the required parameter 'id' is set - if (id === undefined || id === null) { - throw new Error("Missing the required parameter 'id' when calling addOryAccessControlPolicyRoleMembers"); - } - - - var pathParams = { - 'flavor': flavor, - 'id': id - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = []; - var contentTypes = ['application/json']; - var accepts = ['application/json']; - var returnType = OryAccessControlPolicyRole; - - return this.apiClient.callApi( - '/engines/acp/ory/{flavor}/roles/{id}/members', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteOryAccessControlPolicy operation. - * @callback module:api/EnginesApi~deleteOryAccessControlPolicyCallback - * @param {String} error Error message, if any. - * @param data This operation does not return a value. - * @param {String} response The complete HTTP response. - */ - - /** - * Delete an ORY Access Control Policy - * @param {String} flavor The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". - * @param {String} id The ID of the ORY Access Control Policy Role. - * @param {module:api/EnginesApi~deleteOryAccessControlPolicyCallback} callback The callback function, accepting three arguments: error, data, response - */ - this.deleteOryAccessControlPolicy = function(flavor, id, callback) { - var postBody = null; - - // verify the required parameter 'flavor' is set - if (flavor === undefined || flavor === null) { - throw new Error("Missing the required parameter 'flavor' when calling deleteOryAccessControlPolicy"); - } - - // verify the required parameter 'id' is set - if (id === undefined || id === null) { - throw new Error("Missing the required parameter 'id' when calling deleteOryAccessControlPolicy"); - } - - - var pathParams = { - 'flavor': flavor, - 'id': id - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = []; - var contentTypes = ['application/json']; - var accepts = ['application/json']; - var returnType = null; - - return this.apiClient.callApi( - '/engines/acp/ory/{flavor}/policies/{id}', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the deleteOryAccessControlPolicyRole operation. - * @callback module:api/EnginesApi~deleteOryAccessControlPolicyRoleCallback - * @param {String} error Error message, if any. - * @param data This operation does not return a value. - * @param {String} response The complete HTTP response. - */ - - /** - * Delete an ORY Access Control Policy Role - * Roles group several subjects into one. Rules can be assigned to ORY Access Control Policy (OACP) by using the Role ID as subject in the OACP. - * @param {String} flavor The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". - * @param {String} id The ID of the ORY Access Control Policy Role. - * @param {module:api/EnginesApi~deleteOryAccessControlPolicyRoleCallback} callback The callback function, accepting three arguments: error, data, response - */ - this.deleteOryAccessControlPolicyRole = function(flavor, id, callback) { - var postBody = null; - - // verify the required parameter 'flavor' is set - if (flavor === undefined || flavor === null) { - throw new Error("Missing the required parameter 'flavor' when calling deleteOryAccessControlPolicyRole"); - } - - // verify the required parameter 'id' is set - if (id === undefined || id === null) { - throw new Error("Missing the required parameter 'id' when calling deleteOryAccessControlPolicyRole"); - } - - - var pathParams = { - 'flavor': flavor, - 'id': id - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = []; - var contentTypes = ['application/json']; - var accepts = ['application/json']; - var returnType = null; - - return this.apiClient.callApi( - '/engines/acp/ory/{flavor}/roles/{id}', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the doOryAccessControlPoliciesAllow operation. - * @callback module:api/EnginesApi~doOryAccessControlPoliciesAllowCallback - * @param {String} error Error message, if any. - * @param {module:model/AuthorizationResult} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Check if a request is allowed - * Use this endpoint to check if a request is allowed or not. If the request is allowed, a 200 response with `{\"allowed\":\"true\"}` will be sent. If the request is denied, a 403 response with `{\"allowed\":\"false\"}` will be sent instead. - * @param {String} flavor The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". - * @param {Object} opts Optional parameters - * @param {module:model/OryAccessControlPolicyAllowedInput} opts.body - * @param {module:api/EnginesApi~doOryAccessControlPoliciesAllowCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/AuthorizationResult} - */ - this.doOryAccessControlPoliciesAllow = function(flavor, opts, callback) { - opts = opts || {}; - var postBody = opts['body']; - - // verify the required parameter 'flavor' is set - if (flavor === undefined || flavor === null) { - throw new Error("Missing the required parameter 'flavor' when calling doOryAccessControlPoliciesAllow"); - } - - - var pathParams = { - 'flavor': flavor - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = []; - var contentTypes = ['application/json']; - var accepts = ['application/json']; - var returnType = AuthorizationResult; - - return this.apiClient.callApi( - '/engines/acp/ory/{flavor}/allowed', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the getOryAccessControlPolicy operation. - * @callback module:api/EnginesApi~getOryAccessControlPolicyCallback - * @param {String} error Error message, if any. - * @param {module:model/OryAccessControlPolicy} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Get an ORY Access Control Policy - * @param {String} flavor The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". - * @param {String} id The ID of the ORY Access Control Policy Role. - * @param {module:api/EnginesApi~getOryAccessControlPolicyCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/OryAccessControlPolicy} - */ - this.getOryAccessControlPolicy = function(flavor, id, callback) { - var postBody = null; - - // verify the required parameter 'flavor' is set - if (flavor === undefined || flavor === null) { - throw new Error("Missing the required parameter 'flavor' when calling getOryAccessControlPolicy"); - } - - // verify the required parameter 'id' is set - if (id === undefined || id === null) { - throw new Error("Missing the required parameter 'id' when calling getOryAccessControlPolicy"); - } - - - var pathParams = { - 'flavor': flavor, - 'id': id - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = []; - var contentTypes = ['application/json']; - var accepts = ['application/json']; - var returnType = OryAccessControlPolicy; - - return this.apiClient.callApi( - '/engines/acp/ory/{flavor}/policies/{id}', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the getOryAccessControlPolicyRole operation. - * @callback module:api/EnginesApi~getOryAccessControlPolicyRoleCallback - * @param {String} error Error message, if any. - * @param {module:model/OryAccessControlPolicyRole} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Get an ORY Access Control Policy Role - * Roles group several subjects into one. Rules can be assigned to ORY Access Control Policy (OACP) by using the Role ID as subject in the OACP. - * @param {String} flavor The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". - * @param {String} id The ID of the ORY Access Control Policy Role. - * @param {module:api/EnginesApi~getOryAccessControlPolicyRoleCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/OryAccessControlPolicyRole} - */ - this.getOryAccessControlPolicyRole = function(flavor, id, callback) { - var postBody = null; - - // verify the required parameter 'flavor' is set - if (flavor === undefined || flavor === null) { - throw new Error("Missing the required parameter 'flavor' when calling getOryAccessControlPolicyRole"); - } - - // verify the required parameter 'id' is set - if (id === undefined || id === null) { - throw new Error("Missing the required parameter 'id' when calling getOryAccessControlPolicyRole"); - } - - - var pathParams = { - 'flavor': flavor, - 'id': id - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = []; - var contentTypes = ['application/json']; - var accepts = ['application/json']; - var returnType = OryAccessControlPolicyRole; - - return this.apiClient.callApi( - '/engines/acp/ory/{flavor}/roles/{id}', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the listOryAccessControlPolicies operation. - * @callback module:api/EnginesApi~listOryAccessControlPoliciesCallback - * @param {String} error Error message, if any. - * @param {Array.} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * List ORY Access Control Policies - * @param {String} flavor The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\" - * @param {Object} opts Optional parameters - * @param {Number} opts.limit The maximum amount of policies returned. - * @param {Number} opts.offset The offset from where to start looking. - * @param {String} opts.subject The subject for whom the policies are to be listed. - * @param {String} opts.resource The resource for which the policies are to be listed. - * @param {String} opts.action The action for which policies are to be listed. - * @param {module:api/EnginesApi~listOryAccessControlPoliciesCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link Array.} - */ - this.listOryAccessControlPolicies = function(flavor, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'flavor' is set - if (flavor === undefined || flavor === null) { - throw new Error("Missing the required parameter 'flavor' when calling listOryAccessControlPolicies"); - } - - - var pathParams = { - 'flavor': flavor - }; - var queryParams = { - 'limit': opts['limit'], - 'offset': opts['offset'], - 'subject': opts['subject'], - 'resource': opts['resource'], - 'action': opts['action'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = []; - var contentTypes = ['application/json']; - var accepts = ['application/json']; - var returnType = [OryAccessControlPolicy]; - - return this.apiClient.callApi( - '/engines/acp/ory/{flavor}/policies', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the listOryAccessControlPolicyRoles operation. - * @callback module:api/EnginesApi~listOryAccessControlPolicyRolesCallback - * @param {String} error Error message, if any. - * @param {Array.} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * List ORY Access Control Policy Roles - * Roles group several subjects into one. Rules can be assigned to ORY Access Control Policy (OACP) by using the Role ID as subject in the OACP. - * @param {String} flavor The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\" - * @param {Object} opts Optional parameters - * @param {Number} opts.limit The maximum amount of policies returned. - * @param {Number} opts.offset The offset from where to start looking. - * @param {String} opts.member The member for which the roles are to be listed. - * @param {module:api/EnginesApi~listOryAccessControlPolicyRolesCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link Array.} - */ - this.listOryAccessControlPolicyRoles = function(flavor, opts, callback) { - opts = opts || {}; - var postBody = null; - - // verify the required parameter 'flavor' is set - if (flavor === undefined || flavor === null) { - throw new Error("Missing the required parameter 'flavor' when calling listOryAccessControlPolicyRoles"); - } - - - var pathParams = { - 'flavor': flavor - }; - var queryParams = { - 'limit': opts['limit'], - 'offset': opts['offset'], - 'member': opts['member'] - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = []; - var contentTypes = ['application/json']; - var accepts = ['application/json']; - var returnType = [OryAccessControlPolicyRole]; - - return this.apiClient.callApi( - '/engines/acp/ory/{flavor}/roles', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the removeOryAccessControlPolicyRoleMembers operation. - * @callback module:api/EnginesApi~removeOryAccessControlPolicyRoleMembersCallback - * @param {String} error Error message, if any. - * @param data This operation does not return a value. - * @param {String} response The complete HTTP response. - */ - - /** - * Remove a member from an ORY Access Control Policy Role - * Roles group several subjects into one. Rules can be assigned to ORY Access Control Policy (OACP) by using the Role ID as subject in the OACP. - * @param {String} flavor The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". - * @param {String} id The ID of the ORY Access Control Policy Role. - * @param {String} member The member to be removed. - * @param {module:api/EnginesApi~removeOryAccessControlPolicyRoleMembersCallback} callback The callback function, accepting three arguments: error, data, response - */ - this.removeOryAccessControlPolicyRoleMembers = function(flavor, id, member, callback) { - var postBody = null; - - // verify the required parameter 'flavor' is set - if (flavor === undefined || flavor === null) { - throw new Error("Missing the required parameter 'flavor' when calling removeOryAccessControlPolicyRoleMembers"); - } - - // verify the required parameter 'id' is set - if (id === undefined || id === null) { - throw new Error("Missing the required parameter 'id' when calling removeOryAccessControlPolicyRoleMembers"); - } - - // verify the required parameter 'member' is set - if (member === undefined || member === null) { - throw new Error("Missing the required parameter 'member' when calling removeOryAccessControlPolicyRoleMembers"); - } - - - var pathParams = { - 'flavor': flavor, - 'id': id, - 'member': member - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = []; - var contentTypes = ['application/json']; - var accepts = ['application/json']; - var returnType = null; - - return this.apiClient.callApi( - '/engines/acp/ory/{flavor}/roles/{id}/members/{member}', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the upsertOryAccessControlPolicy operation. - * @callback module:api/EnginesApi~upsertOryAccessControlPolicyCallback - * @param {String} error Error message, if any. - * @param {module:model/OryAccessControlPolicy} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Upsert an ORY Access Control Policy - * @param {String} flavor The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". - * @param {Object} opts Optional parameters - * @param {module:model/OryAccessControlPolicy} opts.body - * @param {module:api/EnginesApi~upsertOryAccessControlPolicyCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/OryAccessControlPolicy} - */ - this.upsertOryAccessControlPolicy = function(flavor, opts, callback) { - opts = opts || {}; - var postBody = opts['body']; - - // verify the required parameter 'flavor' is set - if (flavor === undefined || flavor === null) { - throw new Error("Missing the required parameter 'flavor' when calling upsertOryAccessControlPolicy"); - } - - - var pathParams = { - 'flavor': flavor - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = []; - var contentTypes = ['application/json']; - var accepts = ['application/json']; - var returnType = OryAccessControlPolicy; - - return this.apiClient.callApi( - '/engines/acp/ory/{flavor}/policies', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the upsertOryAccessControlPolicyRole operation. - * @callback module:api/EnginesApi~upsertOryAccessControlPolicyRoleCallback - * @param {String} error Error message, if any. - * @param {module:model/OryAccessControlPolicyRole} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Upsert an ORY Access Control Policy Role - * Roles group several subjects into one. Rules can be assigned to ORY Access Control Policy (OACP) by using the Role ID as subject in the OACP. - * @param {String} flavor The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". - * @param {Object} opts Optional parameters - * @param {module:model/OryAccessControlPolicyRole} opts.body - * @param {module:api/EnginesApi~upsertOryAccessControlPolicyRoleCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/OryAccessControlPolicyRole} - */ - this.upsertOryAccessControlPolicyRole = function(flavor, opts, callback) { - opts = opts || {}; - var postBody = opts['body']; - - // verify the required parameter 'flavor' is set - if (flavor === undefined || flavor === null) { - throw new Error("Missing the required parameter 'flavor' when calling upsertOryAccessControlPolicyRole"); - } - - - var pathParams = { - 'flavor': flavor - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = []; - var contentTypes = ['application/json']; - var accepts = ['application/json']; - var returnType = OryAccessControlPolicyRole; - - return this.apiClient.callApi( - '/engines/acp/ory/{flavor}/roles', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - }; - - return exports; -})); diff --git a/sdk/js/swagger/src/api/HealthApi.js b/sdk/js/swagger/src/api/HealthApi.js deleted file mode 100644 index 8637d3fb7..000000000 --- a/sdk/js/swagger/src/api/HealthApi.js +++ /dev/null @@ -1,131 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient', 'model/HealthNotReadyStatus', 'model/HealthStatus', 'model/InlineResponse500'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient'), require('../model/HealthNotReadyStatus'), require('../model/HealthStatus'), require('../model/InlineResponse500')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.HealthApi = factory(root.OryKeto.ApiClient, root.OryKeto.HealthNotReadyStatus, root.OryKeto.HealthStatus, root.OryKeto.InlineResponse500); - } -}(this, function(ApiClient, HealthNotReadyStatus, HealthStatus, InlineResponse500) { - 'use strict'; - - /** - * Health service. - * @module api/HealthApi - * @version Latest - */ - - /** - * Constructs a new HealthApi. - * @alias module:api/HealthApi - * @class - * @param {module:ApiClient} apiClient Optional API client implementation to use, - * default to {@link module:ApiClient#instance} if unspecified. - */ - var exports = function(apiClient) { - this.apiClient = apiClient || ApiClient.instance; - - - /** - * Callback function to receive the result of the isInstanceAlive operation. - * @callback module:api/HealthApi~isInstanceAliveCallback - * @param {String} error Error message, if any. - * @param {module:model/HealthStatus} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Check alive status - * This endpoint returns a 200 status code when the HTTP server is up running. This status does currently not include checks whether the database connection is working. If the service supports TLS Edge Termination, this endpoint does not require the `X-Forwarded-Proto` header to be set. Be aware that if you are running multiple nodes of this service, the health status will never refer to the cluster state, only to a single instance. - * @param {module:api/HealthApi~isInstanceAliveCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/HealthStatus} - */ - this.isInstanceAlive = function(callback) { - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = []; - var contentTypes = ['application/json']; - var accepts = ['application/json']; - var returnType = HealthStatus; - - return this.apiClient.callApi( - '/health/alive', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - - /** - * Callback function to receive the result of the isInstanceReady operation. - * @callback module:api/HealthApi~isInstanceReadyCallback - * @param {String} error Error message, if any. - * @param {module:model/HealthStatus} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Check readiness status - * This endpoint returns a 200 status code when the HTTP server is up running and the environment dependencies (e.g. the database) are responsive as well. If the service supports TLS Edge Termination, this endpoint does not require the `X-Forwarded-Proto` header to be set. Be aware that if you are running multiple nodes of this service, the health status will never refer to the cluster state, only to a single instance. - * @param {module:api/HealthApi~isInstanceReadyCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/HealthStatus} - */ - this.isInstanceReady = function(callback) { - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = []; - var contentTypes = ['application/json']; - var accepts = ['application/json']; - var returnType = HealthStatus; - - return this.apiClient.callApi( - '/health/ready', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - }; - - return exports; -})); diff --git a/sdk/js/swagger/src/api/VersionApi.js b/sdk/js/swagger/src/api/VersionApi.js deleted file mode 100644 index 51b59cda6..000000000 --- a/sdk/js/swagger/src/api/VersionApi.js +++ /dev/null @@ -1,92 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient', 'model/Version'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient'), require('../model/Version')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.VersionApi = factory(root.OryKeto.ApiClient, root.OryKeto.Version); - } -}(this, function(ApiClient, Version) { - 'use strict'; - - /** - * Version service. - * @module api/VersionApi - * @version Latest - */ - - /** - * Constructs a new VersionApi. - * @alias module:api/VersionApi - * @class - * @param {module:ApiClient} apiClient Optional API client implementation to use, - * default to {@link module:ApiClient#instance} if unspecified. - */ - var exports = function(apiClient) { - this.apiClient = apiClient || ApiClient.instance; - - - /** - * Callback function to receive the result of the getVersion operation. - * @callback module:api/VersionApi~getVersionCallback - * @param {String} error Error message, if any. - * @param {module:model/Version} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Get service version - * This endpoint returns the service version typically notated using semantic versioning. If the service supports TLS Edge Termination, this endpoint does not require the `X-Forwarded-Proto` header to be set. Be aware that if you are running multiple nodes of this service, the health status will never refer to the cluster state, only to a single instance. - * @param {module:api/VersionApi~getVersionCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/Version} - */ - this.getVersion = function(callback) { - var postBody = null; - - - var pathParams = { - }; - var queryParams = { - }; - var headerParams = { - }; - var formParams = { - }; - - var authNames = []; - var contentTypes = ['application/json']; - var accepts = ['application/json']; - var returnType = Version; - - return this.apiClient.callApi( - '/version', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, callback - ); - } - }; - - return exports; -})); diff --git a/sdk/js/swagger/src/index.js b/sdk/js/swagger/src/index.js deleted file mode 100644 index 14740f142..000000000 --- a/sdk/js/swagger/src/index.js +++ /dev/null @@ -1,513 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient', 'model/AddOryAccessControlPolicyRoleMembers', 'model/AddOryAccessControlPolicyRoleMembersBody', 'model/AddOryAccessControlPolicyRoleMembersInternalServerError', 'model/AddOryAccessControlPolicyRoleMembersInternalServerErrorBody', 'model/AddOryAccessControlPolicyRoleMembersOK', 'model/AddOryAccessControlPolicyRoleMembersReader', 'model/AuthorizationResult', 'model/Context', 'model/DeleteOryAccessControlPolicy', 'model/DeleteOryAccessControlPolicyCreated', 'model/DeleteOryAccessControlPolicyInternalServerError', 'model/DeleteOryAccessControlPolicyInternalServerErrorBody', 'model/DeleteOryAccessControlPolicyNoContent', 'model/DeleteOryAccessControlPolicyReader', 'model/DeleteOryAccessControlPolicyRole', 'model/DeleteOryAccessControlPolicyRoleCreated', 'model/DeleteOryAccessControlPolicyRoleInternalServerError', 'model/DeleteOryAccessControlPolicyRoleInternalServerErrorBody', 'model/DeleteOryAccessControlPolicyRoleNoContent', 'model/DeleteOryAccessControlPolicyRoleReader', 'model/DoOryAccessControlPoliciesAllow', 'model/DoOryAccessControlPoliciesAllowForbidden', 'model/DoOryAccessControlPoliciesAllowInternalServerError', 'model/DoOryAccessControlPoliciesAllowInternalServerErrorBody', 'model/DoOryAccessControlPoliciesAllowOK', 'model/DoOryAccessControlPoliciesAllowReader', 'model/GetOryAccessControlPolicy', 'model/GetOryAccessControlPolicyInternalServerError', 'model/GetOryAccessControlPolicyInternalServerErrorBody', 'model/GetOryAccessControlPolicyNotFound', 'model/GetOryAccessControlPolicyNotFoundBody', 'model/GetOryAccessControlPolicyOK', 'model/GetOryAccessControlPolicyReader', 'model/GetOryAccessControlPolicyRole', 'model/GetOryAccessControlPolicyRoleInternalServerError', 'model/GetOryAccessControlPolicyRoleInternalServerErrorBody', 'model/GetOryAccessControlPolicyRoleNotFound', 'model/GetOryAccessControlPolicyRoleNotFoundBody', 'model/GetOryAccessControlPolicyRoleOK', 'model/GetOryAccessControlPolicyRoleReader', 'model/HealthNotReadyStatus', 'model/HealthStatus', 'model/InlineResponse500', 'model/Input', 'model/IsInstanceAliveInternalServerError', 'model/IsInstanceAliveInternalServerErrorBody', 'model/IsInstanceAliveOK', 'model/IsInstanceAliveReader', 'model/ListOryAccessControlPolicies', 'model/ListOryAccessControlPoliciesInternalServerError', 'model/ListOryAccessControlPoliciesInternalServerErrorBody', 'model/ListOryAccessControlPoliciesOK', 'model/ListOryAccessControlPoliciesReader', 'model/ListOryAccessControlPolicyRoles', 'model/ListOryAccessControlPolicyRolesInternalServerError', 'model/ListOryAccessControlPolicyRolesInternalServerErrorBody', 'model/ListOryAccessControlPolicyRolesOK', 'model/ListOryAccessControlPolicyRolesReader', 'model/OryAccessControlPolicies', 'model/OryAccessControlPolicy', 'model/OryAccessControlPolicyAllowedInput', 'model/OryAccessControlPolicyRole', 'model/OryAccessControlPolicyRoles', 'model/Policies', 'model/Policy', 'model/RemoveOryAccessControlPolicyRoleMembers', 'model/RemoveOryAccessControlPolicyRoleMembersCreated', 'model/RemoveOryAccessControlPolicyRoleMembersInternalServerError', 'model/RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody', 'model/RemoveOryAccessControlPolicyRoleMembersReader', 'model/Role', 'model/Roles', 'model/SwaggerHealthStatus', 'model/SwaggerNotReadyStatus', 'model/SwaggerVersion', 'model/UpsertOryAccessControlPolicy', 'model/UpsertOryAccessControlPolicyInternalServerError', 'model/UpsertOryAccessControlPolicyInternalServerErrorBody', 'model/UpsertOryAccessControlPolicyOK', 'model/UpsertOryAccessControlPolicyReader', 'model/UpsertOryAccessControlPolicyRole', 'model/UpsertOryAccessControlPolicyRoleInternalServerError', 'model/UpsertOryAccessControlPolicyRoleInternalServerErrorBody', 'model/UpsertOryAccessControlPolicyRoleOK', 'model/UpsertOryAccessControlPolicyRoleReader', 'model/Version', 'api/EnginesApi', 'api/HealthApi', 'api/VersionApi'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('./ApiClient'), require('./model/AddOryAccessControlPolicyRoleMembers'), require('./model/AddOryAccessControlPolicyRoleMembersBody'), require('./model/AddOryAccessControlPolicyRoleMembersInternalServerError'), require('./model/AddOryAccessControlPolicyRoleMembersInternalServerErrorBody'), require('./model/AddOryAccessControlPolicyRoleMembersOK'), require('./model/AddOryAccessControlPolicyRoleMembersReader'), require('./model/AuthorizationResult'), require('./model/Context'), require('./model/DeleteOryAccessControlPolicy'), require('./model/DeleteOryAccessControlPolicyCreated'), require('./model/DeleteOryAccessControlPolicyInternalServerError'), require('./model/DeleteOryAccessControlPolicyInternalServerErrorBody'), require('./model/DeleteOryAccessControlPolicyNoContent'), require('./model/DeleteOryAccessControlPolicyReader'), require('./model/DeleteOryAccessControlPolicyRole'), require('./model/DeleteOryAccessControlPolicyRoleCreated'), require('./model/DeleteOryAccessControlPolicyRoleInternalServerError'), require('./model/DeleteOryAccessControlPolicyRoleInternalServerErrorBody'), require('./model/DeleteOryAccessControlPolicyRoleNoContent'), require('./model/DeleteOryAccessControlPolicyRoleReader'), require('./model/DoOryAccessControlPoliciesAllow'), require('./model/DoOryAccessControlPoliciesAllowForbidden'), require('./model/DoOryAccessControlPoliciesAllowInternalServerError'), require('./model/DoOryAccessControlPoliciesAllowInternalServerErrorBody'), require('./model/DoOryAccessControlPoliciesAllowOK'), require('./model/DoOryAccessControlPoliciesAllowReader'), require('./model/GetOryAccessControlPolicy'), require('./model/GetOryAccessControlPolicyInternalServerError'), require('./model/GetOryAccessControlPolicyInternalServerErrorBody'), require('./model/GetOryAccessControlPolicyNotFound'), require('./model/GetOryAccessControlPolicyNotFoundBody'), require('./model/GetOryAccessControlPolicyOK'), require('./model/GetOryAccessControlPolicyReader'), require('./model/GetOryAccessControlPolicyRole'), require('./model/GetOryAccessControlPolicyRoleInternalServerError'), require('./model/GetOryAccessControlPolicyRoleInternalServerErrorBody'), require('./model/GetOryAccessControlPolicyRoleNotFound'), require('./model/GetOryAccessControlPolicyRoleNotFoundBody'), require('./model/GetOryAccessControlPolicyRoleOK'), require('./model/GetOryAccessControlPolicyRoleReader'), require('./model/HealthNotReadyStatus'), require('./model/HealthStatus'), require('./model/InlineResponse500'), require('./model/Input'), require('./model/IsInstanceAliveInternalServerError'), require('./model/IsInstanceAliveInternalServerErrorBody'), require('./model/IsInstanceAliveOK'), require('./model/IsInstanceAliveReader'), require('./model/ListOryAccessControlPolicies'), require('./model/ListOryAccessControlPoliciesInternalServerError'), require('./model/ListOryAccessControlPoliciesInternalServerErrorBody'), require('./model/ListOryAccessControlPoliciesOK'), require('./model/ListOryAccessControlPoliciesReader'), require('./model/ListOryAccessControlPolicyRoles'), require('./model/ListOryAccessControlPolicyRolesInternalServerError'), require('./model/ListOryAccessControlPolicyRolesInternalServerErrorBody'), require('./model/ListOryAccessControlPolicyRolesOK'), require('./model/ListOryAccessControlPolicyRolesReader'), require('./model/OryAccessControlPolicies'), require('./model/OryAccessControlPolicy'), require('./model/OryAccessControlPolicyAllowedInput'), require('./model/OryAccessControlPolicyRole'), require('./model/OryAccessControlPolicyRoles'), require('./model/Policies'), require('./model/Policy'), require('./model/RemoveOryAccessControlPolicyRoleMembers'), require('./model/RemoveOryAccessControlPolicyRoleMembersCreated'), require('./model/RemoveOryAccessControlPolicyRoleMembersInternalServerError'), require('./model/RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody'), require('./model/RemoveOryAccessControlPolicyRoleMembersReader'), require('./model/Role'), require('./model/Roles'), require('./model/SwaggerHealthStatus'), require('./model/SwaggerNotReadyStatus'), require('./model/SwaggerVersion'), require('./model/UpsertOryAccessControlPolicy'), require('./model/UpsertOryAccessControlPolicyInternalServerError'), require('./model/UpsertOryAccessControlPolicyInternalServerErrorBody'), require('./model/UpsertOryAccessControlPolicyOK'), require('./model/UpsertOryAccessControlPolicyReader'), require('./model/UpsertOryAccessControlPolicyRole'), require('./model/UpsertOryAccessControlPolicyRoleInternalServerError'), require('./model/UpsertOryAccessControlPolicyRoleInternalServerErrorBody'), require('./model/UpsertOryAccessControlPolicyRoleOK'), require('./model/UpsertOryAccessControlPolicyRoleReader'), require('./model/Version'), require('./api/EnginesApi'), require('./api/HealthApi'), require('./api/VersionApi')); - } -}(function(ApiClient, AddOryAccessControlPolicyRoleMembers, AddOryAccessControlPolicyRoleMembersBody, AddOryAccessControlPolicyRoleMembersInternalServerError, AddOryAccessControlPolicyRoleMembersInternalServerErrorBody, AddOryAccessControlPolicyRoleMembersOK, AddOryAccessControlPolicyRoleMembersReader, AuthorizationResult, Context, DeleteOryAccessControlPolicy, DeleteOryAccessControlPolicyCreated, DeleteOryAccessControlPolicyInternalServerError, DeleteOryAccessControlPolicyInternalServerErrorBody, DeleteOryAccessControlPolicyNoContent, DeleteOryAccessControlPolicyReader, DeleteOryAccessControlPolicyRole, DeleteOryAccessControlPolicyRoleCreated, DeleteOryAccessControlPolicyRoleInternalServerError, DeleteOryAccessControlPolicyRoleInternalServerErrorBody, DeleteOryAccessControlPolicyRoleNoContent, DeleteOryAccessControlPolicyRoleReader, DoOryAccessControlPoliciesAllow, DoOryAccessControlPoliciesAllowForbidden, DoOryAccessControlPoliciesAllowInternalServerError, DoOryAccessControlPoliciesAllowInternalServerErrorBody, DoOryAccessControlPoliciesAllowOK, DoOryAccessControlPoliciesAllowReader, GetOryAccessControlPolicy, GetOryAccessControlPolicyInternalServerError, GetOryAccessControlPolicyInternalServerErrorBody, GetOryAccessControlPolicyNotFound, GetOryAccessControlPolicyNotFoundBody, GetOryAccessControlPolicyOK, GetOryAccessControlPolicyReader, GetOryAccessControlPolicyRole, GetOryAccessControlPolicyRoleInternalServerError, GetOryAccessControlPolicyRoleInternalServerErrorBody, GetOryAccessControlPolicyRoleNotFound, GetOryAccessControlPolicyRoleNotFoundBody, GetOryAccessControlPolicyRoleOK, GetOryAccessControlPolicyRoleReader, HealthNotReadyStatus, HealthStatus, InlineResponse500, Input, IsInstanceAliveInternalServerError, IsInstanceAliveInternalServerErrorBody, IsInstanceAliveOK, IsInstanceAliveReader, ListOryAccessControlPolicies, ListOryAccessControlPoliciesInternalServerError, ListOryAccessControlPoliciesInternalServerErrorBody, ListOryAccessControlPoliciesOK, ListOryAccessControlPoliciesReader, ListOryAccessControlPolicyRoles, ListOryAccessControlPolicyRolesInternalServerError, ListOryAccessControlPolicyRolesInternalServerErrorBody, ListOryAccessControlPolicyRolesOK, ListOryAccessControlPolicyRolesReader, OryAccessControlPolicies, OryAccessControlPolicy, OryAccessControlPolicyAllowedInput, OryAccessControlPolicyRole, OryAccessControlPolicyRoles, Policies, Policy, RemoveOryAccessControlPolicyRoleMembers, RemoveOryAccessControlPolicyRoleMembersCreated, RemoveOryAccessControlPolicyRoleMembersInternalServerError, RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody, RemoveOryAccessControlPolicyRoleMembersReader, Role, Roles, SwaggerHealthStatus, SwaggerNotReadyStatus, SwaggerVersion, UpsertOryAccessControlPolicy, UpsertOryAccessControlPolicyInternalServerError, UpsertOryAccessControlPolicyInternalServerErrorBody, UpsertOryAccessControlPolicyOK, UpsertOryAccessControlPolicyReader, UpsertOryAccessControlPolicyRole, UpsertOryAccessControlPolicyRoleInternalServerError, UpsertOryAccessControlPolicyRoleInternalServerErrorBody, UpsertOryAccessControlPolicyRoleOK, UpsertOryAccessControlPolicyRoleReader, Version, EnginesApi, HealthApi, VersionApi) { - 'use strict'; - - /** - * A_cloud_native_access_control_server_providing_best_practice_patterns__RBAC_ABAC_ACL_AWS_IAM_Policies_Kubernetes_Roles_____via_REST_APIs_.
- * The index module provides access to constructors for all the classes which comprise the public API. - *

- * An AMD (recommended!) or CommonJS application will generally do something equivalent to the following: - *

-   * var OryKeto = require('index'); // See note below*.
-   * var xxxSvc = new OryKeto.XxxApi(); // Allocate the API class we're going to use.
-   * var yyyModel = new OryKeto.Yyy(); // Construct a model instance.
-   * yyyModel.someProperty = 'someValue';
-   * ...
-   * var zzz = xxxSvc.doSomething(yyyModel); // Invoke the service.
-   * ...
-   * 
- * *NOTE: For a top-level AMD script, use require(['index'], function(){...}) - * and put the application logic within the callback function. - *

- *

- * A non-AMD browser application (discouraged) might do something like this: - *

-   * var xxxSvc = new OryKeto.XxxApi(); // Allocate the API class we're going to use.
-   * var yyy = new OryKeto.Yyy(); // Construct a model instance.
-   * yyyModel.someProperty = 'someValue';
-   * ...
-   * var zzz = xxxSvc.doSomething(yyyModel); // Invoke the service.
-   * ...
-   * 
- *

- * @module index - * @version Latest - */ - var exports = { - /** - * The ApiClient constructor. - * @property {module:ApiClient} - */ - ApiClient: ApiClient, - /** - * The AddOryAccessControlPolicyRoleMembers model constructor. - * @property {module:model/AddOryAccessControlPolicyRoleMembers} - */ - AddOryAccessControlPolicyRoleMembers: AddOryAccessControlPolicyRoleMembers, - /** - * The AddOryAccessControlPolicyRoleMembersBody model constructor. - * @property {module:model/AddOryAccessControlPolicyRoleMembersBody} - */ - AddOryAccessControlPolicyRoleMembersBody: AddOryAccessControlPolicyRoleMembersBody, - /** - * The AddOryAccessControlPolicyRoleMembersInternalServerError model constructor. - * @property {module:model/AddOryAccessControlPolicyRoleMembersInternalServerError} - */ - AddOryAccessControlPolicyRoleMembersInternalServerError: AddOryAccessControlPolicyRoleMembersInternalServerError, - /** - * The AddOryAccessControlPolicyRoleMembersInternalServerErrorBody model constructor. - * @property {module:model/AddOryAccessControlPolicyRoleMembersInternalServerErrorBody} - */ - AddOryAccessControlPolicyRoleMembersInternalServerErrorBody: AddOryAccessControlPolicyRoleMembersInternalServerErrorBody, - /** - * The AddOryAccessControlPolicyRoleMembersOK model constructor. - * @property {module:model/AddOryAccessControlPolicyRoleMembersOK} - */ - AddOryAccessControlPolicyRoleMembersOK: AddOryAccessControlPolicyRoleMembersOK, - /** - * The AddOryAccessControlPolicyRoleMembersReader model constructor. - * @property {module:model/AddOryAccessControlPolicyRoleMembersReader} - */ - AddOryAccessControlPolicyRoleMembersReader: AddOryAccessControlPolicyRoleMembersReader, - /** - * The AuthorizationResult model constructor. - * @property {module:model/AuthorizationResult} - */ - AuthorizationResult: AuthorizationResult, - /** - * The Context model constructor. - * @property {module:model/Context} - */ - Context: Context, - /** - * The DeleteOryAccessControlPolicy model constructor. - * @property {module:model/DeleteOryAccessControlPolicy} - */ - DeleteOryAccessControlPolicy: DeleteOryAccessControlPolicy, - /** - * The DeleteOryAccessControlPolicyCreated model constructor. - * @property {module:model/DeleteOryAccessControlPolicyCreated} - */ - DeleteOryAccessControlPolicyCreated: DeleteOryAccessControlPolicyCreated, - /** - * The DeleteOryAccessControlPolicyInternalServerError model constructor. - * @property {module:model/DeleteOryAccessControlPolicyInternalServerError} - */ - DeleteOryAccessControlPolicyInternalServerError: DeleteOryAccessControlPolicyInternalServerError, - /** - * The DeleteOryAccessControlPolicyInternalServerErrorBody model constructor. - * @property {module:model/DeleteOryAccessControlPolicyInternalServerErrorBody} - */ - DeleteOryAccessControlPolicyInternalServerErrorBody: DeleteOryAccessControlPolicyInternalServerErrorBody, - /** - * The DeleteOryAccessControlPolicyNoContent model constructor. - * @property {module:model/DeleteOryAccessControlPolicyNoContent} - */ - DeleteOryAccessControlPolicyNoContent: DeleteOryAccessControlPolicyNoContent, - /** - * The DeleteOryAccessControlPolicyReader model constructor. - * @property {module:model/DeleteOryAccessControlPolicyReader} - */ - DeleteOryAccessControlPolicyReader: DeleteOryAccessControlPolicyReader, - /** - * The DeleteOryAccessControlPolicyRole model constructor. - * @property {module:model/DeleteOryAccessControlPolicyRole} - */ - DeleteOryAccessControlPolicyRole: DeleteOryAccessControlPolicyRole, - /** - * The DeleteOryAccessControlPolicyRoleCreated model constructor. - * @property {module:model/DeleteOryAccessControlPolicyRoleCreated} - */ - DeleteOryAccessControlPolicyRoleCreated: DeleteOryAccessControlPolicyRoleCreated, - /** - * The DeleteOryAccessControlPolicyRoleInternalServerError model constructor. - * @property {module:model/DeleteOryAccessControlPolicyRoleInternalServerError} - */ - DeleteOryAccessControlPolicyRoleInternalServerError: DeleteOryAccessControlPolicyRoleInternalServerError, - /** - * The DeleteOryAccessControlPolicyRoleInternalServerErrorBody model constructor. - * @property {module:model/DeleteOryAccessControlPolicyRoleInternalServerErrorBody} - */ - DeleteOryAccessControlPolicyRoleInternalServerErrorBody: DeleteOryAccessControlPolicyRoleInternalServerErrorBody, - /** - * The DeleteOryAccessControlPolicyRoleNoContent model constructor. - * @property {module:model/DeleteOryAccessControlPolicyRoleNoContent} - */ - DeleteOryAccessControlPolicyRoleNoContent: DeleteOryAccessControlPolicyRoleNoContent, - /** - * The DeleteOryAccessControlPolicyRoleReader model constructor. - * @property {module:model/DeleteOryAccessControlPolicyRoleReader} - */ - DeleteOryAccessControlPolicyRoleReader: DeleteOryAccessControlPolicyRoleReader, - /** - * The DoOryAccessControlPoliciesAllow model constructor. - * @property {module:model/DoOryAccessControlPoliciesAllow} - */ - DoOryAccessControlPoliciesAllow: DoOryAccessControlPoliciesAllow, - /** - * The DoOryAccessControlPoliciesAllowForbidden model constructor. - * @property {module:model/DoOryAccessControlPoliciesAllowForbidden} - */ - DoOryAccessControlPoliciesAllowForbidden: DoOryAccessControlPoliciesAllowForbidden, - /** - * The DoOryAccessControlPoliciesAllowInternalServerError model constructor. - * @property {module:model/DoOryAccessControlPoliciesAllowInternalServerError} - */ - DoOryAccessControlPoliciesAllowInternalServerError: DoOryAccessControlPoliciesAllowInternalServerError, - /** - * The DoOryAccessControlPoliciesAllowInternalServerErrorBody model constructor. - * @property {module:model/DoOryAccessControlPoliciesAllowInternalServerErrorBody} - */ - DoOryAccessControlPoliciesAllowInternalServerErrorBody: DoOryAccessControlPoliciesAllowInternalServerErrorBody, - /** - * The DoOryAccessControlPoliciesAllowOK model constructor. - * @property {module:model/DoOryAccessControlPoliciesAllowOK} - */ - DoOryAccessControlPoliciesAllowOK: DoOryAccessControlPoliciesAllowOK, - /** - * The DoOryAccessControlPoliciesAllowReader model constructor. - * @property {module:model/DoOryAccessControlPoliciesAllowReader} - */ - DoOryAccessControlPoliciesAllowReader: DoOryAccessControlPoliciesAllowReader, - /** - * The GetOryAccessControlPolicy model constructor. - * @property {module:model/GetOryAccessControlPolicy} - */ - GetOryAccessControlPolicy: GetOryAccessControlPolicy, - /** - * The GetOryAccessControlPolicyInternalServerError model constructor. - * @property {module:model/GetOryAccessControlPolicyInternalServerError} - */ - GetOryAccessControlPolicyInternalServerError: GetOryAccessControlPolicyInternalServerError, - /** - * The GetOryAccessControlPolicyInternalServerErrorBody model constructor. - * @property {module:model/GetOryAccessControlPolicyInternalServerErrorBody} - */ - GetOryAccessControlPolicyInternalServerErrorBody: GetOryAccessControlPolicyInternalServerErrorBody, - /** - * The GetOryAccessControlPolicyNotFound model constructor. - * @property {module:model/GetOryAccessControlPolicyNotFound} - */ - GetOryAccessControlPolicyNotFound: GetOryAccessControlPolicyNotFound, - /** - * The GetOryAccessControlPolicyNotFoundBody model constructor. - * @property {module:model/GetOryAccessControlPolicyNotFoundBody} - */ - GetOryAccessControlPolicyNotFoundBody: GetOryAccessControlPolicyNotFoundBody, - /** - * The GetOryAccessControlPolicyOK model constructor. - * @property {module:model/GetOryAccessControlPolicyOK} - */ - GetOryAccessControlPolicyOK: GetOryAccessControlPolicyOK, - /** - * The GetOryAccessControlPolicyReader model constructor. - * @property {module:model/GetOryAccessControlPolicyReader} - */ - GetOryAccessControlPolicyReader: GetOryAccessControlPolicyReader, - /** - * The GetOryAccessControlPolicyRole model constructor. - * @property {module:model/GetOryAccessControlPolicyRole} - */ - GetOryAccessControlPolicyRole: GetOryAccessControlPolicyRole, - /** - * The GetOryAccessControlPolicyRoleInternalServerError model constructor. - * @property {module:model/GetOryAccessControlPolicyRoleInternalServerError} - */ - GetOryAccessControlPolicyRoleInternalServerError: GetOryAccessControlPolicyRoleInternalServerError, - /** - * The GetOryAccessControlPolicyRoleInternalServerErrorBody model constructor. - * @property {module:model/GetOryAccessControlPolicyRoleInternalServerErrorBody} - */ - GetOryAccessControlPolicyRoleInternalServerErrorBody: GetOryAccessControlPolicyRoleInternalServerErrorBody, - /** - * The GetOryAccessControlPolicyRoleNotFound model constructor. - * @property {module:model/GetOryAccessControlPolicyRoleNotFound} - */ - GetOryAccessControlPolicyRoleNotFound: GetOryAccessControlPolicyRoleNotFound, - /** - * The GetOryAccessControlPolicyRoleNotFoundBody model constructor. - * @property {module:model/GetOryAccessControlPolicyRoleNotFoundBody} - */ - GetOryAccessControlPolicyRoleNotFoundBody: GetOryAccessControlPolicyRoleNotFoundBody, - /** - * The GetOryAccessControlPolicyRoleOK model constructor. - * @property {module:model/GetOryAccessControlPolicyRoleOK} - */ - GetOryAccessControlPolicyRoleOK: GetOryAccessControlPolicyRoleOK, - /** - * The GetOryAccessControlPolicyRoleReader model constructor. - * @property {module:model/GetOryAccessControlPolicyRoleReader} - */ - GetOryAccessControlPolicyRoleReader: GetOryAccessControlPolicyRoleReader, - /** - * The HealthNotReadyStatus model constructor. - * @property {module:model/HealthNotReadyStatus} - */ - HealthNotReadyStatus: HealthNotReadyStatus, - /** - * The HealthStatus model constructor. - * @property {module:model/HealthStatus} - */ - HealthStatus: HealthStatus, - /** - * The InlineResponse500 model constructor. - * @property {module:model/InlineResponse500} - */ - InlineResponse500: InlineResponse500, - /** - * The Input model constructor. - * @property {module:model/Input} - */ - Input: Input, - /** - * The IsInstanceAliveInternalServerError model constructor. - * @property {module:model/IsInstanceAliveInternalServerError} - */ - IsInstanceAliveInternalServerError: IsInstanceAliveInternalServerError, - /** - * The IsInstanceAliveInternalServerErrorBody model constructor. - * @property {module:model/IsInstanceAliveInternalServerErrorBody} - */ - IsInstanceAliveInternalServerErrorBody: IsInstanceAliveInternalServerErrorBody, - /** - * The IsInstanceAliveOK model constructor. - * @property {module:model/IsInstanceAliveOK} - */ - IsInstanceAliveOK: IsInstanceAliveOK, - /** - * The IsInstanceAliveReader model constructor. - * @property {module:model/IsInstanceAliveReader} - */ - IsInstanceAliveReader: IsInstanceAliveReader, - /** - * The ListOryAccessControlPolicies model constructor. - * @property {module:model/ListOryAccessControlPolicies} - */ - ListOryAccessControlPolicies: ListOryAccessControlPolicies, - /** - * The ListOryAccessControlPoliciesInternalServerError model constructor. - * @property {module:model/ListOryAccessControlPoliciesInternalServerError} - */ - ListOryAccessControlPoliciesInternalServerError: ListOryAccessControlPoliciesInternalServerError, - /** - * The ListOryAccessControlPoliciesInternalServerErrorBody model constructor. - * @property {module:model/ListOryAccessControlPoliciesInternalServerErrorBody} - */ - ListOryAccessControlPoliciesInternalServerErrorBody: ListOryAccessControlPoliciesInternalServerErrorBody, - /** - * The ListOryAccessControlPoliciesOK model constructor. - * @property {module:model/ListOryAccessControlPoliciesOK} - */ - ListOryAccessControlPoliciesOK: ListOryAccessControlPoliciesOK, - /** - * The ListOryAccessControlPoliciesReader model constructor. - * @property {module:model/ListOryAccessControlPoliciesReader} - */ - ListOryAccessControlPoliciesReader: ListOryAccessControlPoliciesReader, - /** - * The ListOryAccessControlPolicyRoles model constructor. - * @property {module:model/ListOryAccessControlPolicyRoles} - */ - ListOryAccessControlPolicyRoles: ListOryAccessControlPolicyRoles, - /** - * The ListOryAccessControlPolicyRolesInternalServerError model constructor. - * @property {module:model/ListOryAccessControlPolicyRolesInternalServerError} - */ - ListOryAccessControlPolicyRolesInternalServerError: ListOryAccessControlPolicyRolesInternalServerError, - /** - * The ListOryAccessControlPolicyRolesInternalServerErrorBody model constructor. - * @property {module:model/ListOryAccessControlPolicyRolesInternalServerErrorBody} - */ - ListOryAccessControlPolicyRolesInternalServerErrorBody: ListOryAccessControlPolicyRolesInternalServerErrorBody, - /** - * The ListOryAccessControlPolicyRolesOK model constructor. - * @property {module:model/ListOryAccessControlPolicyRolesOK} - */ - ListOryAccessControlPolicyRolesOK: ListOryAccessControlPolicyRolesOK, - /** - * The ListOryAccessControlPolicyRolesReader model constructor. - * @property {module:model/ListOryAccessControlPolicyRolesReader} - */ - ListOryAccessControlPolicyRolesReader: ListOryAccessControlPolicyRolesReader, - /** - * The OryAccessControlPolicies model constructor. - * @property {module:model/OryAccessControlPolicies} - */ - OryAccessControlPolicies: OryAccessControlPolicies, - /** - * The OryAccessControlPolicy model constructor. - * @property {module:model/OryAccessControlPolicy} - */ - OryAccessControlPolicy: OryAccessControlPolicy, - /** - * The OryAccessControlPolicyAllowedInput model constructor. - * @property {module:model/OryAccessControlPolicyAllowedInput} - */ - OryAccessControlPolicyAllowedInput: OryAccessControlPolicyAllowedInput, - /** - * The OryAccessControlPolicyRole model constructor. - * @property {module:model/OryAccessControlPolicyRole} - */ - OryAccessControlPolicyRole: OryAccessControlPolicyRole, - /** - * The OryAccessControlPolicyRoles model constructor. - * @property {module:model/OryAccessControlPolicyRoles} - */ - OryAccessControlPolicyRoles: OryAccessControlPolicyRoles, - /** - * The Policies model constructor. - * @property {module:model/Policies} - */ - Policies: Policies, - /** - * The Policy model constructor. - * @property {module:model/Policy} - */ - Policy: Policy, - /** - * The RemoveOryAccessControlPolicyRoleMembers model constructor. - * @property {module:model/RemoveOryAccessControlPolicyRoleMembers} - */ - RemoveOryAccessControlPolicyRoleMembers: RemoveOryAccessControlPolicyRoleMembers, - /** - * The RemoveOryAccessControlPolicyRoleMembersCreated model constructor. - * @property {module:model/RemoveOryAccessControlPolicyRoleMembersCreated} - */ - RemoveOryAccessControlPolicyRoleMembersCreated: RemoveOryAccessControlPolicyRoleMembersCreated, - /** - * The RemoveOryAccessControlPolicyRoleMembersInternalServerError model constructor. - * @property {module:model/RemoveOryAccessControlPolicyRoleMembersInternalServerError} - */ - RemoveOryAccessControlPolicyRoleMembersInternalServerError: RemoveOryAccessControlPolicyRoleMembersInternalServerError, - /** - * The RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody model constructor. - * @property {module:model/RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody} - */ - RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody: RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody, - /** - * The RemoveOryAccessControlPolicyRoleMembersReader model constructor. - * @property {module:model/RemoveOryAccessControlPolicyRoleMembersReader} - */ - RemoveOryAccessControlPolicyRoleMembersReader: RemoveOryAccessControlPolicyRoleMembersReader, - /** - * The Role model constructor. - * @property {module:model/Role} - */ - Role: Role, - /** - * The Roles model constructor. - * @property {module:model/Roles} - */ - Roles: Roles, - /** - * The SwaggerHealthStatus model constructor. - * @property {module:model/SwaggerHealthStatus} - */ - SwaggerHealthStatus: SwaggerHealthStatus, - /** - * The SwaggerNotReadyStatus model constructor. - * @property {module:model/SwaggerNotReadyStatus} - */ - SwaggerNotReadyStatus: SwaggerNotReadyStatus, - /** - * The SwaggerVersion model constructor. - * @property {module:model/SwaggerVersion} - */ - SwaggerVersion: SwaggerVersion, - /** - * The UpsertOryAccessControlPolicy model constructor. - * @property {module:model/UpsertOryAccessControlPolicy} - */ - UpsertOryAccessControlPolicy: UpsertOryAccessControlPolicy, - /** - * The UpsertOryAccessControlPolicyInternalServerError model constructor. - * @property {module:model/UpsertOryAccessControlPolicyInternalServerError} - */ - UpsertOryAccessControlPolicyInternalServerError: UpsertOryAccessControlPolicyInternalServerError, - /** - * The UpsertOryAccessControlPolicyInternalServerErrorBody model constructor. - * @property {module:model/UpsertOryAccessControlPolicyInternalServerErrorBody} - */ - UpsertOryAccessControlPolicyInternalServerErrorBody: UpsertOryAccessControlPolicyInternalServerErrorBody, - /** - * The UpsertOryAccessControlPolicyOK model constructor. - * @property {module:model/UpsertOryAccessControlPolicyOK} - */ - UpsertOryAccessControlPolicyOK: UpsertOryAccessControlPolicyOK, - /** - * The UpsertOryAccessControlPolicyReader model constructor. - * @property {module:model/UpsertOryAccessControlPolicyReader} - */ - UpsertOryAccessControlPolicyReader: UpsertOryAccessControlPolicyReader, - /** - * The UpsertOryAccessControlPolicyRole model constructor. - * @property {module:model/UpsertOryAccessControlPolicyRole} - */ - UpsertOryAccessControlPolicyRole: UpsertOryAccessControlPolicyRole, - /** - * The UpsertOryAccessControlPolicyRoleInternalServerError model constructor. - * @property {module:model/UpsertOryAccessControlPolicyRoleInternalServerError} - */ - UpsertOryAccessControlPolicyRoleInternalServerError: UpsertOryAccessControlPolicyRoleInternalServerError, - /** - * The UpsertOryAccessControlPolicyRoleInternalServerErrorBody model constructor. - * @property {module:model/UpsertOryAccessControlPolicyRoleInternalServerErrorBody} - */ - UpsertOryAccessControlPolicyRoleInternalServerErrorBody: UpsertOryAccessControlPolicyRoleInternalServerErrorBody, - /** - * The UpsertOryAccessControlPolicyRoleOK model constructor. - * @property {module:model/UpsertOryAccessControlPolicyRoleOK} - */ - UpsertOryAccessControlPolicyRoleOK: UpsertOryAccessControlPolicyRoleOK, - /** - * The UpsertOryAccessControlPolicyRoleReader model constructor. - * @property {module:model/UpsertOryAccessControlPolicyRoleReader} - */ - UpsertOryAccessControlPolicyRoleReader: UpsertOryAccessControlPolicyRoleReader, - /** - * The Version model constructor. - * @property {module:model/Version} - */ - Version: Version, - /** - * The EnginesApi service constructor. - * @property {module:api/EnginesApi} - */ - EnginesApi: EnginesApi, - /** - * The HealthApi service constructor. - * @property {module:api/HealthApi} - */ - HealthApi: HealthApi, - /** - * The VersionApi service constructor. - * @property {module:api/VersionApi} - */ - VersionApi: VersionApi - }; - - return exports; -})); diff --git a/sdk/js/swagger/src/model/AddOryAccessControlPolicyRoleMembers.js b/sdk/js/swagger/src/model/AddOryAccessControlPolicyRoleMembers.js deleted file mode 100644 index 7ea0adaed..000000000 --- a/sdk/js/swagger/src/model/AddOryAccessControlPolicyRoleMembers.js +++ /dev/null @@ -1,103 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient', 'model/AddOryAccessControlPolicyRoleMembersBody'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient'), require('./AddOryAccessControlPolicyRoleMembersBody')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.AddOryAccessControlPolicyRoleMembers = factory(root.OryKeto.ApiClient, root.OryKeto.AddOryAccessControlPolicyRoleMembersBody); - } -}(this, function(ApiClient, AddOryAccessControlPolicyRoleMembersBody) { - 'use strict'; - - - - - /** - * The AddOryAccessControlPolicyRoleMembers model module. - * @module model/AddOryAccessControlPolicyRoleMembers - * @version Latest - */ - - /** - * Constructs a new AddOryAccessControlPolicyRoleMembers. - * AddOryAccessControlPolicyRoleMembers add ory access control policy role members - * @alias module:model/AddOryAccessControlPolicyRoleMembers - * @class - * @param flavor {String} The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". in: path - * @param id {String} The ID of the ORY Access Control Policy Role. in: path - */ - var exports = function(flavor, id) { - var _this = this; - - - _this['flavor'] = flavor; - _this['id'] = id; - }; - - /** - * Constructs a AddOryAccessControlPolicyRoleMembers from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/AddOryAccessControlPolicyRoleMembers} obj Optional instance to populate. - * @return {module:model/AddOryAccessControlPolicyRoleMembers} The populated AddOryAccessControlPolicyRoleMembers instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - if (data.hasOwnProperty('Body')) { - obj['Body'] = AddOryAccessControlPolicyRoleMembersBody.constructFromObject(data['Body']); - } - if (data.hasOwnProperty('flavor')) { - obj['flavor'] = ApiClient.convertToType(data['flavor'], 'String'); - } - if (data.hasOwnProperty('id')) { - obj['id'] = ApiClient.convertToType(data['id'], 'String'); - } - } - return obj; - } - - /** - * @member {module:model/AddOryAccessControlPolicyRoleMembersBody} Body - */ - exports.prototype['Body'] = undefined; - /** - * The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". in: path - * @member {String} flavor - */ - exports.prototype['flavor'] = undefined; - /** - * The ID of the ORY Access Control Policy Role. in: path - * @member {String} id - */ - exports.prototype['id'] = undefined; - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/AddOryAccessControlPolicyRoleMembersBody.js b/sdk/js/swagger/src/model/AddOryAccessControlPolicyRoleMembersBody.js deleted file mode 100644 index 127977bb8..000000000 --- a/sdk/js/swagger/src/model/AddOryAccessControlPolicyRoleMembersBody.js +++ /dev/null @@ -1,83 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.AddOryAccessControlPolicyRoleMembersBody = factory(root.OryKeto.ApiClient); - } -}(this, function(ApiClient) { - 'use strict'; - - - - - /** - * The AddOryAccessControlPolicyRoleMembersBody model module. - * @module model/AddOryAccessControlPolicyRoleMembersBody - * @version Latest - */ - - /** - * Constructs a new AddOryAccessControlPolicyRoleMembersBody. - * @alias module:model/AddOryAccessControlPolicyRoleMembersBody - * @class - */ - var exports = function() { - var _this = this; - - - }; - - /** - * Constructs a AddOryAccessControlPolicyRoleMembersBody from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/AddOryAccessControlPolicyRoleMembersBody} obj Optional instance to populate. - * @return {module:model/AddOryAccessControlPolicyRoleMembersBody} The populated AddOryAccessControlPolicyRoleMembersBody instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - if (data.hasOwnProperty('members')) { - obj['members'] = ApiClient.convertToType(data['members'], ['String']); - } - } - return obj; - } - - /** - * The members to be added. - * @member {Array.} members - */ - exports.prototype['members'] = undefined; - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/AddOryAccessControlPolicyRoleMembersInternalServerError.js b/sdk/js/swagger/src/model/AddOryAccessControlPolicyRoleMembersInternalServerError.js deleted file mode 100644 index 4b1f93ff2..000000000 --- a/sdk/js/swagger/src/model/AddOryAccessControlPolicyRoleMembersInternalServerError.js +++ /dev/null @@ -1,83 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient', 'model/AddOryAccessControlPolicyRoleMembersInternalServerErrorBody'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient'), require('./AddOryAccessControlPolicyRoleMembersInternalServerErrorBody')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.AddOryAccessControlPolicyRoleMembersInternalServerError = factory(root.OryKeto.ApiClient, root.OryKeto.AddOryAccessControlPolicyRoleMembersInternalServerErrorBody); - } -}(this, function(ApiClient, AddOryAccessControlPolicyRoleMembersInternalServerErrorBody) { - 'use strict'; - - - - - /** - * The AddOryAccessControlPolicyRoleMembersInternalServerError model module. - * @module model/AddOryAccessControlPolicyRoleMembersInternalServerError - * @version Latest - */ - - /** - * Constructs a new AddOryAccessControlPolicyRoleMembersInternalServerError. - * The standard error format - * @alias module:model/AddOryAccessControlPolicyRoleMembersInternalServerError - * @class - */ - var exports = function() { - var _this = this; - - - }; - - /** - * Constructs a AddOryAccessControlPolicyRoleMembersInternalServerError from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/AddOryAccessControlPolicyRoleMembersInternalServerError} obj Optional instance to populate. - * @return {module:model/AddOryAccessControlPolicyRoleMembersInternalServerError} The populated AddOryAccessControlPolicyRoleMembersInternalServerError instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - if (data.hasOwnProperty('Payload')) { - obj['Payload'] = AddOryAccessControlPolicyRoleMembersInternalServerErrorBody.constructFromObject(data['Payload']); - } - } - return obj; - } - - /** - * @member {module:model/AddOryAccessControlPolicyRoleMembersInternalServerErrorBody} Payload - */ - exports.prototype['Payload'] = undefined; - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/AddOryAccessControlPolicyRoleMembersInternalServerErrorBody.js b/sdk/js/swagger/src/model/AddOryAccessControlPolicyRoleMembersInternalServerErrorBody.js deleted file mode 100644 index cfd006309..000000000 --- a/sdk/js/swagger/src/model/AddOryAccessControlPolicyRoleMembersInternalServerErrorBody.js +++ /dev/null @@ -1,129 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.AddOryAccessControlPolicyRoleMembersInternalServerErrorBody = factory(root.OryKeto.ApiClient); - } -}(this, function(ApiClient) { - 'use strict'; - - - - - /** - * The AddOryAccessControlPolicyRoleMembersInternalServerErrorBody model module. - * @module model/AddOryAccessControlPolicyRoleMembersInternalServerErrorBody - * @version Latest - */ - - /** - * Constructs a new AddOryAccessControlPolicyRoleMembersInternalServerErrorBody. - * AddOryAccessControlPolicyRoleMembersInternalServerErrorBody add ory access control policy role members internal server error body - * @alias module:model/AddOryAccessControlPolicyRoleMembersInternalServerErrorBody - * @class - */ - var exports = function() { - var _this = this; - - - - - - - - }; - - /** - * Constructs a AddOryAccessControlPolicyRoleMembersInternalServerErrorBody from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/AddOryAccessControlPolicyRoleMembersInternalServerErrorBody} obj Optional instance to populate. - * @return {module:model/AddOryAccessControlPolicyRoleMembersInternalServerErrorBody} The populated AddOryAccessControlPolicyRoleMembersInternalServerErrorBody instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - if (data.hasOwnProperty('code')) { - obj['code'] = ApiClient.convertToType(data['code'], 'Number'); - } - if (data.hasOwnProperty('details')) { - obj['details'] = ApiClient.convertToType(data['details'], [{'String': Object}]); - } - if (data.hasOwnProperty('message')) { - obj['message'] = ApiClient.convertToType(data['message'], 'String'); - } - if (data.hasOwnProperty('reason')) { - obj['reason'] = ApiClient.convertToType(data['reason'], 'String'); - } - if (data.hasOwnProperty('request')) { - obj['request'] = ApiClient.convertToType(data['request'], 'String'); - } - if (data.hasOwnProperty('status')) { - obj['status'] = ApiClient.convertToType(data['status'], 'String'); - } - } - return obj; - } - - /** - * code - * @member {Number} code - */ - exports.prototype['code'] = undefined; - /** - * details - * @member {Array.>} details - */ - exports.prototype['details'] = undefined; - /** - * message - * @member {String} message - */ - exports.prototype['message'] = undefined; - /** - * reason - * @member {String} reason - */ - exports.prototype['reason'] = undefined; - /** - * request - * @member {String} request - */ - exports.prototype['request'] = undefined; - /** - * status - * @member {String} status - */ - exports.prototype['status'] = undefined; - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/AddOryAccessControlPolicyRoleMembersOK.js b/sdk/js/swagger/src/model/AddOryAccessControlPolicyRoleMembersOK.js deleted file mode 100644 index 45bb243f3..000000000 --- a/sdk/js/swagger/src/model/AddOryAccessControlPolicyRoleMembersOK.js +++ /dev/null @@ -1,83 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient', 'model/OryAccessControlPolicyRole'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient'), require('./OryAccessControlPolicyRole')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.AddOryAccessControlPolicyRoleMembersOK = factory(root.OryKeto.ApiClient, root.OryKeto.OryAccessControlPolicyRole); - } -}(this, function(ApiClient, OryAccessControlPolicyRole) { - 'use strict'; - - - - - /** - * The AddOryAccessControlPolicyRoleMembersOK model module. - * @module model/AddOryAccessControlPolicyRoleMembersOK - * @version Latest - */ - - /** - * Constructs a new AddOryAccessControlPolicyRoleMembersOK. - * oryAccessControlPolicyRole - * @alias module:model/AddOryAccessControlPolicyRoleMembersOK - * @class - */ - var exports = function() { - var _this = this; - - - }; - - /** - * Constructs a AddOryAccessControlPolicyRoleMembersOK from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/AddOryAccessControlPolicyRoleMembersOK} obj Optional instance to populate. - * @return {module:model/AddOryAccessControlPolicyRoleMembersOK} The populated AddOryAccessControlPolicyRoleMembersOK instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - if (data.hasOwnProperty('Payload')) { - obj['Payload'] = OryAccessControlPolicyRole.constructFromObject(data['Payload']); - } - } - return obj; - } - - /** - * @member {module:model/OryAccessControlPolicyRole} Payload - */ - exports.prototype['Payload'] = undefined; - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/AddOryAccessControlPolicyRoleMembersReader.js b/sdk/js/swagger/src/model/AddOryAccessControlPolicyRoleMembersReader.js deleted file mode 100644 index ac3dd386b..000000000 --- a/sdk/js/swagger/src/model/AddOryAccessControlPolicyRoleMembersReader.js +++ /dev/null @@ -1,74 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.AddOryAccessControlPolicyRoleMembersReader = factory(root.OryKeto.ApiClient); - } -}(this, function(ApiClient) { - 'use strict'; - - - - - /** - * The AddOryAccessControlPolicyRoleMembersReader model module. - * @module model/AddOryAccessControlPolicyRoleMembersReader - * @version Latest - */ - - /** - * Constructs a new AddOryAccessControlPolicyRoleMembersReader. - * @alias module:model/AddOryAccessControlPolicyRoleMembersReader - * @class - */ - var exports = function() { - var _this = this; - - }; - - /** - * Constructs a AddOryAccessControlPolicyRoleMembersReader from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/AddOryAccessControlPolicyRoleMembersReader} obj Optional instance to populate. - * @return {module:model/AddOryAccessControlPolicyRoleMembersReader} The populated AddOryAccessControlPolicyRoleMembersReader instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - } - return obj; - } - - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/AuthorizationResult.js b/sdk/js/swagger/src/model/AuthorizationResult.js deleted file mode 100644 index 1f6a4ba5a..000000000 --- a/sdk/js/swagger/src/model/AuthorizationResult.js +++ /dev/null @@ -1,84 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.AuthorizationResult = factory(root.OryKeto.ApiClient); - } -}(this, function(ApiClient) { - 'use strict'; - - - - - /** - * The AuthorizationResult model module. - * @module model/AuthorizationResult - * @version Latest - */ - - /** - * Constructs a new AuthorizationResult. - * @alias module:model/AuthorizationResult - * @class - * @param allowed {Boolean} Allowed is true if the request should be allowed and false otherwise. - */ - var exports = function(allowed) { - var _this = this; - - _this['allowed'] = allowed; - }; - - /** - * Constructs a AuthorizationResult from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/AuthorizationResult} obj Optional instance to populate. - * @return {module:model/AuthorizationResult} The populated AuthorizationResult instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - if (data.hasOwnProperty('allowed')) { - obj['allowed'] = ApiClient.convertToType(data['allowed'], 'Boolean'); - } - } - return obj; - } - - /** - * Allowed is true if the request should be allowed and false otherwise. - * @member {Boolean} allowed - */ - exports.prototype['allowed'] = undefined; - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/Context.js b/sdk/js/swagger/src/model/Context.js deleted file mode 100644 index ce535f109..000000000 --- a/sdk/js/swagger/src/model/Context.js +++ /dev/null @@ -1,78 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.Context = factory(root.OryKeto.ApiClient); - } -}(this, function(ApiClient) { - 'use strict'; - - - - - /** - * The Context model module. - * @module model/Context - * @version Latest - */ - - /** - * Constructs a new Context. - * Context Context Context Context Context Context Context Context Context context - * @alias module:model/Context - * @class - * @extends Object - */ - var exports = function() { - var _this = this; - - return _this; - }; - - /** - * Constructs a Context from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/Context} obj Optional instance to populate. - * @return {module:model/Context} The populated Context instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - ApiClient.constructFromObject(data, obj, 'Object'); - - } - return obj; - } - - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/DeleteOryAccessControlPolicy.js b/sdk/js/swagger/src/model/DeleteOryAccessControlPolicy.js deleted file mode 100644 index 187fcf87e..000000000 --- a/sdk/js/swagger/src/model/DeleteOryAccessControlPolicy.js +++ /dev/null @@ -1,95 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.DeleteOryAccessControlPolicy = factory(root.OryKeto.ApiClient); - } -}(this, function(ApiClient) { - 'use strict'; - - - - - /** - * The DeleteOryAccessControlPolicy model module. - * @module model/DeleteOryAccessControlPolicy - * @version Latest - */ - - /** - * Constructs a new DeleteOryAccessControlPolicy. - * DeleteOryAccessControlPolicy delete ory access control policy - * @alias module:model/DeleteOryAccessControlPolicy - * @class - * @param flavor {String} The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". in: path - * @param id {String} The ID of the ORY Access Control Policy Role. in: path - */ - var exports = function(flavor, id) { - var _this = this; - - _this['flavor'] = flavor; - _this['id'] = id; - }; - - /** - * Constructs a DeleteOryAccessControlPolicy from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/DeleteOryAccessControlPolicy} obj Optional instance to populate. - * @return {module:model/DeleteOryAccessControlPolicy} The populated DeleteOryAccessControlPolicy instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - if (data.hasOwnProperty('flavor')) { - obj['flavor'] = ApiClient.convertToType(data['flavor'], 'String'); - } - if (data.hasOwnProperty('id')) { - obj['id'] = ApiClient.convertToType(data['id'], 'String'); - } - } - return obj; - } - - /** - * The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". in: path - * @member {String} flavor - */ - exports.prototype['flavor'] = undefined; - /** - * The ID of the ORY Access Control Policy Role. in: path - * @member {String} id - */ - exports.prototype['id'] = undefined; - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/DeleteOryAccessControlPolicyCreated.js b/sdk/js/swagger/src/model/DeleteOryAccessControlPolicyCreated.js deleted file mode 100644 index 2dd7b66f7..000000000 --- a/sdk/js/swagger/src/model/DeleteOryAccessControlPolicyCreated.js +++ /dev/null @@ -1,75 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.DeleteOryAccessControlPolicyCreated = factory(root.OryKeto.ApiClient); - } -}(this, function(ApiClient) { - 'use strict'; - - - - - /** - * The DeleteOryAccessControlPolicyCreated model module. - * @module model/DeleteOryAccessControlPolicyCreated - * @version Latest - */ - - /** - * Constructs a new DeleteOryAccessControlPolicyCreated. - * An empty response - * @alias module:model/DeleteOryAccessControlPolicyCreated - * @class - */ - var exports = function() { - var _this = this; - - }; - - /** - * Constructs a DeleteOryAccessControlPolicyCreated from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/DeleteOryAccessControlPolicyCreated} obj Optional instance to populate. - * @return {module:model/DeleteOryAccessControlPolicyCreated} The populated DeleteOryAccessControlPolicyCreated instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - } - return obj; - } - - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/DeleteOryAccessControlPolicyInternalServerError.js b/sdk/js/swagger/src/model/DeleteOryAccessControlPolicyInternalServerError.js deleted file mode 100644 index 088b4044e..000000000 --- a/sdk/js/swagger/src/model/DeleteOryAccessControlPolicyInternalServerError.js +++ /dev/null @@ -1,83 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient', 'model/DeleteOryAccessControlPolicyInternalServerErrorBody'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient'), require('./DeleteOryAccessControlPolicyInternalServerErrorBody')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.DeleteOryAccessControlPolicyInternalServerError = factory(root.OryKeto.ApiClient, root.OryKeto.DeleteOryAccessControlPolicyInternalServerErrorBody); - } -}(this, function(ApiClient, DeleteOryAccessControlPolicyInternalServerErrorBody) { - 'use strict'; - - - - - /** - * The DeleteOryAccessControlPolicyInternalServerError model module. - * @module model/DeleteOryAccessControlPolicyInternalServerError - * @version Latest - */ - - /** - * Constructs a new DeleteOryAccessControlPolicyInternalServerError. - * The standard error format - * @alias module:model/DeleteOryAccessControlPolicyInternalServerError - * @class - */ - var exports = function() { - var _this = this; - - - }; - - /** - * Constructs a DeleteOryAccessControlPolicyInternalServerError from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/DeleteOryAccessControlPolicyInternalServerError} obj Optional instance to populate. - * @return {module:model/DeleteOryAccessControlPolicyInternalServerError} The populated DeleteOryAccessControlPolicyInternalServerError instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - if (data.hasOwnProperty('Payload')) { - obj['Payload'] = DeleteOryAccessControlPolicyInternalServerErrorBody.constructFromObject(data['Payload']); - } - } - return obj; - } - - /** - * @member {module:model/DeleteOryAccessControlPolicyInternalServerErrorBody} Payload - */ - exports.prototype['Payload'] = undefined; - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/DeleteOryAccessControlPolicyInternalServerErrorBody.js b/sdk/js/swagger/src/model/DeleteOryAccessControlPolicyInternalServerErrorBody.js deleted file mode 100644 index f1ac5d656..000000000 --- a/sdk/js/swagger/src/model/DeleteOryAccessControlPolicyInternalServerErrorBody.js +++ /dev/null @@ -1,129 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.DeleteOryAccessControlPolicyInternalServerErrorBody = factory(root.OryKeto.ApiClient); - } -}(this, function(ApiClient) { - 'use strict'; - - - - - /** - * The DeleteOryAccessControlPolicyInternalServerErrorBody model module. - * @module model/DeleteOryAccessControlPolicyInternalServerErrorBody - * @version Latest - */ - - /** - * Constructs a new DeleteOryAccessControlPolicyInternalServerErrorBody. - * DeleteOryAccessControlPolicyInternalServerErrorBody DeleteOryAccessControlPolicyInternalServerErrorBody delete ory access control policy internal server error body - * @alias module:model/DeleteOryAccessControlPolicyInternalServerErrorBody - * @class - */ - var exports = function() { - var _this = this; - - - - - - - - }; - - /** - * Constructs a DeleteOryAccessControlPolicyInternalServerErrorBody from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/DeleteOryAccessControlPolicyInternalServerErrorBody} obj Optional instance to populate. - * @return {module:model/DeleteOryAccessControlPolicyInternalServerErrorBody} The populated DeleteOryAccessControlPolicyInternalServerErrorBody instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - if (data.hasOwnProperty('code')) { - obj['code'] = ApiClient.convertToType(data['code'], 'Number'); - } - if (data.hasOwnProperty('details')) { - obj['details'] = ApiClient.convertToType(data['details'], [{'String': Object}]); - } - if (data.hasOwnProperty('message')) { - obj['message'] = ApiClient.convertToType(data['message'], 'String'); - } - if (data.hasOwnProperty('reason')) { - obj['reason'] = ApiClient.convertToType(data['reason'], 'String'); - } - if (data.hasOwnProperty('request')) { - obj['request'] = ApiClient.convertToType(data['request'], 'String'); - } - if (data.hasOwnProperty('status')) { - obj['status'] = ApiClient.convertToType(data['status'], 'String'); - } - } - return obj; - } - - /** - * code - * @member {Number} code - */ - exports.prototype['code'] = undefined; - /** - * details - * @member {Array.>} details - */ - exports.prototype['details'] = undefined; - /** - * message - * @member {String} message - */ - exports.prototype['message'] = undefined; - /** - * reason - * @member {String} reason - */ - exports.prototype['reason'] = undefined; - /** - * request - * @member {String} request - */ - exports.prototype['request'] = undefined; - /** - * status - * @member {String} status - */ - exports.prototype['status'] = undefined; - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/DeleteOryAccessControlPolicyNoContent.js b/sdk/js/swagger/src/model/DeleteOryAccessControlPolicyNoContent.js deleted file mode 100644 index 787667e34..000000000 --- a/sdk/js/swagger/src/model/DeleteOryAccessControlPolicyNoContent.js +++ /dev/null @@ -1,75 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.DeleteOryAccessControlPolicyNoContent = factory(root.OryKeto.ApiClient); - } -}(this, function(ApiClient) { - 'use strict'; - - - - - /** - * The DeleteOryAccessControlPolicyNoContent model module. - * @module model/DeleteOryAccessControlPolicyNoContent - * @version Latest - */ - - /** - * Constructs a new DeleteOryAccessControlPolicyNoContent. - * An empty response - * @alias module:model/DeleteOryAccessControlPolicyNoContent - * @class - */ - var exports = function() { - var _this = this; - - }; - - /** - * Constructs a DeleteOryAccessControlPolicyNoContent from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/DeleteOryAccessControlPolicyNoContent} obj Optional instance to populate. - * @return {module:model/DeleteOryAccessControlPolicyNoContent} The populated DeleteOryAccessControlPolicyNoContent instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - } - return obj; - } - - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/DeleteOryAccessControlPolicyReader.js b/sdk/js/swagger/src/model/DeleteOryAccessControlPolicyReader.js deleted file mode 100644 index 6cdb6c65e..000000000 --- a/sdk/js/swagger/src/model/DeleteOryAccessControlPolicyReader.js +++ /dev/null @@ -1,74 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.DeleteOryAccessControlPolicyReader = factory(root.OryKeto.ApiClient); - } -}(this, function(ApiClient) { - 'use strict'; - - - - - /** - * The DeleteOryAccessControlPolicyReader model module. - * @module model/DeleteOryAccessControlPolicyReader - * @version Latest - */ - - /** - * Constructs a new DeleteOryAccessControlPolicyReader. - * @alias module:model/DeleteOryAccessControlPolicyReader - * @class - */ - var exports = function() { - var _this = this; - - }; - - /** - * Constructs a DeleteOryAccessControlPolicyReader from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/DeleteOryAccessControlPolicyReader} obj Optional instance to populate. - * @return {module:model/DeleteOryAccessControlPolicyReader} The populated DeleteOryAccessControlPolicyReader instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - } - return obj; - } - - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/DeleteOryAccessControlPolicyRole.js b/sdk/js/swagger/src/model/DeleteOryAccessControlPolicyRole.js deleted file mode 100644 index a28a5edbf..000000000 --- a/sdk/js/swagger/src/model/DeleteOryAccessControlPolicyRole.js +++ /dev/null @@ -1,95 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.DeleteOryAccessControlPolicyRole = factory(root.OryKeto.ApiClient); - } -}(this, function(ApiClient) { - 'use strict'; - - - - - /** - * The DeleteOryAccessControlPolicyRole model module. - * @module model/DeleteOryAccessControlPolicyRole - * @version Latest - */ - - /** - * Constructs a new DeleteOryAccessControlPolicyRole. - * DeleteOryAccessControlPolicyRole delete ory access control policy role - * @alias module:model/DeleteOryAccessControlPolicyRole - * @class - * @param flavor {String} The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". in: path - * @param id {String} The ID of the ORY Access Control Policy Role. in: path - */ - var exports = function(flavor, id) { - var _this = this; - - _this['flavor'] = flavor; - _this['id'] = id; - }; - - /** - * Constructs a DeleteOryAccessControlPolicyRole from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/DeleteOryAccessControlPolicyRole} obj Optional instance to populate. - * @return {module:model/DeleteOryAccessControlPolicyRole} The populated DeleteOryAccessControlPolicyRole instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - if (data.hasOwnProperty('flavor')) { - obj['flavor'] = ApiClient.convertToType(data['flavor'], 'String'); - } - if (data.hasOwnProperty('id')) { - obj['id'] = ApiClient.convertToType(data['id'], 'String'); - } - } - return obj; - } - - /** - * The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". in: path - * @member {String} flavor - */ - exports.prototype['flavor'] = undefined; - /** - * The ID of the ORY Access Control Policy Role. in: path - * @member {String} id - */ - exports.prototype['id'] = undefined; - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/DeleteOryAccessControlPolicyRoleCreated.js b/sdk/js/swagger/src/model/DeleteOryAccessControlPolicyRoleCreated.js deleted file mode 100644 index 3d182031e..000000000 --- a/sdk/js/swagger/src/model/DeleteOryAccessControlPolicyRoleCreated.js +++ /dev/null @@ -1,75 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.DeleteOryAccessControlPolicyRoleCreated = factory(root.OryKeto.ApiClient); - } -}(this, function(ApiClient) { - 'use strict'; - - - - - /** - * The DeleteOryAccessControlPolicyRoleCreated model module. - * @module model/DeleteOryAccessControlPolicyRoleCreated - * @version Latest - */ - - /** - * Constructs a new DeleteOryAccessControlPolicyRoleCreated. - * An empty response - * @alias module:model/DeleteOryAccessControlPolicyRoleCreated - * @class - */ - var exports = function() { - var _this = this; - - }; - - /** - * Constructs a DeleteOryAccessControlPolicyRoleCreated from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/DeleteOryAccessControlPolicyRoleCreated} obj Optional instance to populate. - * @return {module:model/DeleteOryAccessControlPolicyRoleCreated} The populated DeleteOryAccessControlPolicyRoleCreated instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - } - return obj; - } - - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/DeleteOryAccessControlPolicyRoleInternalServerError.js b/sdk/js/swagger/src/model/DeleteOryAccessControlPolicyRoleInternalServerError.js deleted file mode 100644 index b9de17e65..000000000 --- a/sdk/js/swagger/src/model/DeleteOryAccessControlPolicyRoleInternalServerError.js +++ /dev/null @@ -1,83 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient', 'model/DeleteOryAccessControlPolicyRoleInternalServerErrorBody'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient'), require('./DeleteOryAccessControlPolicyRoleInternalServerErrorBody')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.DeleteOryAccessControlPolicyRoleInternalServerError = factory(root.OryKeto.ApiClient, root.OryKeto.DeleteOryAccessControlPolicyRoleInternalServerErrorBody); - } -}(this, function(ApiClient, DeleteOryAccessControlPolicyRoleInternalServerErrorBody) { - 'use strict'; - - - - - /** - * The DeleteOryAccessControlPolicyRoleInternalServerError model module. - * @module model/DeleteOryAccessControlPolicyRoleInternalServerError - * @version Latest - */ - - /** - * Constructs a new DeleteOryAccessControlPolicyRoleInternalServerError. - * The standard error format - * @alias module:model/DeleteOryAccessControlPolicyRoleInternalServerError - * @class - */ - var exports = function() { - var _this = this; - - - }; - - /** - * Constructs a DeleteOryAccessControlPolicyRoleInternalServerError from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/DeleteOryAccessControlPolicyRoleInternalServerError} obj Optional instance to populate. - * @return {module:model/DeleteOryAccessControlPolicyRoleInternalServerError} The populated DeleteOryAccessControlPolicyRoleInternalServerError instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - if (data.hasOwnProperty('Payload')) { - obj['Payload'] = DeleteOryAccessControlPolicyRoleInternalServerErrorBody.constructFromObject(data['Payload']); - } - } - return obj; - } - - /** - * @member {module:model/DeleteOryAccessControlPolicyRoleInternalServerErrorBody} Payload - */ - exports.prototype['Payload'] = undefined; - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/DeleteOryAccessControlPolicyRoleInternalServerErrorBody.js b/sdk/js/swagger/src/model/DeleteOryAccessControlPolicyRoleInternalServerErrorBody.js deleted file mode 100644 index f987602f0..000000000 --- a/sdk/js/swagger/src/model/DeleteOryAccessControlPolicyRoleInternalServerErrorBody.js +++ /dev/null @@ -1,129 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.DeleteOryAccessControlPolicyRoleInternalServerErrorBody = factory(root.OryKeto.ApiClient); - } -}(this, function(ApiClient) { - 'use strict'; - - - - - /** - * The DeleteOryAccessControlPolicyRoleInternalServerErrorBody model module. - * @module model/DeleteOryAccessControlPolicyRoleInternalServerErrorBody - * @version Latest - */ - - /** - * Constructs a new DeleteOryAccessControlPolicyRoleInternalServerErrorBody. - * DeleteOryAccessControlPolicyRoleInternalServerErrorBody delete ory access control policy role internal server error body - * @alias module:model/DeleteOryAccessControlPolicyRoleInternalServerErrorBody - * @class - */ - var exports = function() { - var _this = this; - - - - - - - - }; - - /** - * Constructs a DeleteOryAccessControlPolicyRoleInternalServerErrorBody from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/DeleteOryAccessControlPolicyRoleInternalServerErrorBody} obj Optional instance to populate. - * @return {module:model/DeleteOryAccessControlPolicyRoleInternalServerErrorBody} The populated DeleteOryAccessControlPolicyRoleInternalServerErrorBody instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - if (data.hasOwnProperty('code')) { - obj['code'] = ApiClient.convertToType(data['code'], 'Number'); - } - if (data.hasOwnProperty('details')) { - obj['details'] = ApiClient.convertToType(data['details'], [{'String': Object}]); - } - if (data.hasOwnProperty('message')) { - obj['message'] = ApiClient.convertToType(data['message'], 'String'); - } - if (data.hasOwnProperty('reason')) { - obj['reason'] = ApiClient.convertToType(data['reason'], 'String'); - } - if (data.hasOwnProperty('request')) { - obj['request'] = ApiClient.convertToType(data['request'], 'String'); - } - if (data.hasOwnProperty('status')) { - obj['status'] = ApiClient.convertToType(data['status'], 'String'); - } - } - return obj; - } - - /** - * code - * @member {Number} code - */ - exports.prototype['code'] = undefined; - /** - * details - * @member {Array.>} details - */ - exports.prototype['details'] = undefined; - /** - * message - * @member {String} message - */ - exports.prototype['message'] = undefined; - /** - * reason - * @member {String} reason - */ - exports.prototype['reason'] = undefined; - /** - * request - * @member {String} request - */ - exports.prototype['request'] = undefined; - /** - * status - * @member {String} status - */ - exports.prototype['status'] = undefined; - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/DeleteOryAccessControlPolicyRoleNoContent.js b/sdk/js/swagger/src/model/DeleteOryAccessControlPolicyRoleNoContent.js deleted file mode 100644 index 6c53f723b..000000000 --- a/sdk/js/swagger/src/model/DeleteOryAccessControlPolicyRoleNoContent.js +++ /dev/null @@ -1,75 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.DeleteOryAccessControlPolicyRoleNoContent = factory(root.OryKeto.ApiClient); - } -}(this, function(ApiClient) { - 'use strict'; - - - - - /** - * The DeleteOryAccessControlPolicyRoleNoContent model module. - * @module model/DeleteOryAccessControlPolicyRoleNoContent - * @version Latest - */ - - /** - * Constructs a new DeleteOryAccessControlPolicyRoleNoContent. - * An empty response - * @alias module:model/DeleteOryAccessControlPolicyRoleNoContent - * @class - */ - var exports = function() { - var _this = this; - - }; - - /** - * Constructs a DeleteOryAccessControlPolicyRoleNoContent from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/DeleteOryAccessControlPolicyRoleNoContent} obj Optional instance to populate. - * @return {module:model/DeleteOryAccessControlPolicyRoleNoContent} The populated DeleteOryAccessControlPolicyRoleNoContent instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - } - return obj; - } - - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/DeleteOryAccessControlPolicyRoleReader.js b/sdk/js/swagger/src/model/DeleteOryAccessControlPolicyRoleReader.js deleted file mode 100644 index 6c30f290f..000000000 --- a/sdk/js/swagger/src/model/DeleteOryAccessControlPolicyRoleReader.js +++ /dev/null @@ -1,74 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.DeleteOryAccessControlPolicyRoleReader = factory(root.OryKeto.ApiClient); - } -}(this, function(ApiClient) { - 'use strict'; - - - - - /** - * The DeleteOryAccessControlPolicyRoleReader model module. - * @module model/DeleteOryAccessControlPolicyRoleReader - * @version Latest - */ - - /** - * Constructs a new DeleteOryAccessControlPolicyRoleReader. - * @alias module:model/DeleteOryAccessControlPolicyRoleReader - * @class - */ - var exports = function() { - var _this = this; - - }; - - /** - * Constructs a DeleteOryAccessControlPolicyRoleReader from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/DeleteOryAccessControlPolicyRoleReader} obj Optional instance to populate. - * @return {module:model/DeleteOryAccessControlPolicyRoleReader} The populated DeleteOryAccessControlPolicyRoleReader instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - } - return obj; - } - - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/DoOryAccessControlPoliciesAllow.js b/sdk/js/swagger/src/model/DoOryAccessControlPoliciesAllow.js deleted file mode 100644 index 200c9e73e..000000000 --- a/sdk/js/swagger/src/model/DoOryAccessControlPoliciesAllow.js +++ /dev/null @@ -1,93 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient', 'model/OryAccessControlPolicyAllowedInput'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient'), require('./OryAccessControlPolicyAllowedInput')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.DoOryAccessControlPoliciesAllow = factory(root.OryKeto.ApiClient, root.OryKeto.OryAccessControlPolicyAllowedInput); - } -}(this, function(ApiClient, OryAccessControlPolicyAllowedInput) { - 'use strict'; - - - - - /** - * The DoOryAccessControlPoliciesAllow model module. - * @module model/DoOryAccessControlPoliciesAllow - * @version Latest - */ - - /** - * Constructs a new DoOryAccessControlPoliciesAllow. - * DoOryAccessControlPoliciesAllow do ory access control policies allow - * @alias module:model/DoOryAccessControlPoliciesAllow - * @class - * @param flavor {String} The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". in: path - */ - var exports = function(flavor) { - var _this = this; - - - _this['flavor'] = flavor; - }; - - /** - * Constructs a DoOryAccessControlPoliciesAllow from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/DoOryAccessControlPoliciesAllow} obj Optional instance to populate. - * @return {module:model/DoOryAccessControlPoliciesAllow} The populated DoOryAccessControlPoliciesAllow instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - if (data.hasOwnProperty('Body')) { - obj['Body'] = OryAccessControlPolicyAllowedInput.constructFromObject(data['Body']); - } - if (data.hasOwnProperty('flavor')) { - obj['flavor'] = ApiClient.convertToType(data['flavor'], 'String'); - } - } - return obj; - } - - /** - * @member {module:model/OryAccessControlPolicyAllowedInput} Body - */ - exports.prototype['Body'] = undefined; - /** - * The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". in: path - * @member {String} flavor - */ - exports.prototype['flavor'] = undefined; - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/DoOryAccessControlPoliciesAllowForbidden.js b/sdk/js/swagger/src/model/DoOryAccessControlPoliciesAllowForbidden.js deleted file mode 100644 index 45f9cd7e8..000000000 --- a/sdk/js/swagger/src/model/DoOryAccessControlPoliciesAllowForbidden.js +++ /dev/null @@ -1,83 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient', 'model/AuthorizationResult'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient'), require('./AuthorizationResult')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.DoOryAccessControlPoliciesAllowForbidden = factory(root.OryKeto.ApiClient, root.OryKeto.AuthorizationResult); - } -}(this, function(ApiClient, AuthorizationResult) { - 'use strict'; - - - - - /** - * The DoOryAccessControlPoliciesAllowForbidden model module. - * @module model/DoOryAccessControlPoliciesAllowForbidden - * @version Latest - */ - - /** - * Constructs a new DoOryAccessControlPoliciesAllowForbidden. - * authorizationResult - * @alias module:model/DoOryAccessControlPoliciesAllowForbidden - * @class - */ - var exports = function() { - var _this = this; - - - }; - - /** - * Constructs a DoOryAccessControlPoliciesAllowForbidden from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/DoOryAccessControlPoliciesAllowForbidden} obj Optional instance to populate. - * @return {module:model/DoOryAccessControlPoliciesAllowForbidden} The populated DoOryAccessControlPoliciesAllowForbidden instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - if (data.hasOwnProperty('Payload')) { - obj['Payload'] = AuthorizationResult.constructFromObject(data['Payload']); - } - } - return obj; - } - - /** - * @member {module:model/AuthorizationResult} Payload - */ - exports.prototype['Payload'] = undefined; - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/DoOryAccessControlPoliciesAllowInternalServerError.js b/sdk/js/swagger/src/model/DoOryAccessControlPoliciesAllowInternalServerError.js deleted file mode 100644 index 5c0697644..000000000 --- a/sdk/js/swagger/src/model/DoOryAccessControlPoliciesAllowInternalServerError.js +++ /dev/null @@ -1,83 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient', 'model/DoOryAccessControlPoliciesAllowInternalServerErrorBody'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient'), require('./DoOryAccessControlPoliciesAllowInternalServerErrorBody')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.DoOryAccessControlPoliciesAllowInternalServerError = factory(root.OryKeto.ApiClient, root.OryKeto.DoOryAccessControlPoliciesAllowInternalServerErrorBody); - } -}(this, function(ApiClient, DoOryAccessControlPoliciesAllowInternalServerErrorBody) { - 'use strict'; - - - - - /** - * The DoOryAccessControlPoliciesAllowInternalServerError model module. - * @module model/DoOryAccessControlPoliciesAllowInternalServerError - * @version Latest - */ - - /** - * Constructs a new DoOryAccessControlPoliciesAllowInternalServerError. - * The standard error format - * @alias module:model/DoOryAccessControlPoliciesAllowInternalServerError - * @class - */ - var exports = function() { - var _this = this; - - - }; - - /** - * Constructs a DoOryAccessControlPoliciesAllowInternalServerError from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/DoOryAccessControlPoliciesAllowInternalServerError} obj Optional instance to populate. - * @return {module:model/DoOryAccessControlPoliciesAllowInternalServerError} The populated DoOryAccessControlPoliciesAllowInternalServerError instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - if (data.hasOwnProperty('Payload')) { - obj['Payload'] = DoOryAccessControlPoliciesAllowInternalServerErrorBody.constructFromObject(data['Payload']); - } - } - return obj; - } - - /** - * @member {module:model/DoOryAccessControlPoliciesAllowInternalServerErrorBody} Payload - */ - exports.prototype['Payload'] = undefined; - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/DoOryAccessControlPoliciesAllowInternalServerErrorBody.js b/sdk/js/swagger/src/model/DoOryAccessControlPoliciesAllowInternalServerErrorBody.js deleted file mode 100644 index 86611cd14..000000000 --- a/sdk/js/swagger/src/model/DoOryAccessControlPoliciesAllowInternalServerErrorBody.js +++ /dev/null @@ -1,129 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.DoOryAccessControlPoliciesAllowInternalServerErrorBody = factory(root.OryKeto.ApiClient); - } -}(this, function(ApiClient) { - 'use strict'; - - - - - /** - * The DoOryAccessControlPoliciesAllowInternalServerErrorBody model module. - * @module model/DoOryAccessControlPoliciesAllowInternalServerErrorBody - * @version Latest - */ - - /** - * Constructs a new DoOryAccessControlPoliciesAllowInternalServerErrorBody. - * DoOryAccessControlPoliciesAllowInternalServerErrorBody DoOryAccessControlPoliciesAllowInternalServerErrorBody do ory access control policies allow internal server error body - * @alias module:model/DoOryAccessControlPoliciesAllowInternalServerErrorBody - * @class - */ - var exports = function() { - var _this = this; - - - - - - - - }; - - /** - * Constructs a DoOryAccessControlPoliciesAllowInternalServerErrorBody from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/DoOryAccessControlPoliciesAllowInternalServerErrorBody} obj Optional instance to populate. - * @return {module:model/DoOryAccessControlPoliciesAllowInternalServerErrorBody} The populated DoOryAccessControlPoliciesAllowInternalServerErrorBody instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - if (data.hasOwnProperty('code')) { - obj['code'] = ApiClient.convertToType(data['code'], 'Number'); - } - if (data.hasOwnProperty('details')) { - obj['details'] = ApiClient.convertToType(data['details'], [{'String': Object}]); - } - if (data.hasOwnProperty('message')) { - obj['message'] = ApiClient.convertToType(data['message'], 'String'); - } - if (data.hasOwnProperty('reason')) { - obj['reason'] = ApiClient.convertToType(data['reason'], 'String'); - } - if (data.hasOwnProperty('request')) { - obj['request'] = ApiClient.convertToType(data['request'], 'String'); - } - if (data.hasOwnProperty('status')) { - obj['status'] = ApiClient.convertToType(data['status'], 'String'); - } - } - return obj; - } - - /** - * code - * @member {Number} code - */ - exports.prototype['code'] = undefined; - /** - * details - * @member {Array.>} details - */ - exports.prototype['details'] = undefined; - /** - * message - * @member {String} message - */ - exports.prototype['message'] = undefined; - /** - * reason - * @member {String} reason - */ - exports.prototype['reason'] = undefined; - /** - * request - * @member {String} request - */ - exports.prototype['request'] = undefined; - /** - * status - * @member {String} status - */ - exports.prototype['status'] = undefined; - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/DoOryAccessControlPoliciesAllowOK.js b/sdk/js/swagger/src/model/DoOryAccessControlPoliciesAllowOK.js deleted file mode 100644 index c298c202f..000000000 --- a/sdk/js/swagger/src/model/DoOryAccessControlPoliciesAllowOK.js +++ /dev/null @@ -1,83 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient', 'model/AuthorizationResult'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient'), require('./AuthorizationResult')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.DoOryAccessControlPoliciesAllowOK = factory(root.OryKeto.ApiClient, root.OryKeto.AuthorizationResult); - } -}(this, function(ApiClient, AuthorizationResult) { - 'use strict'; - - - - - /** - * The DoOryAccessControlPoliciesAllowOK model module. - * @module model/DoOryAccessControlPoliciesAllowOK - * @version Latest - */ - - /** - * Constructs a new DoOryAccessControlPoliciesAllowOK. - * authorizationResult - * @alias module:model/DoOryAccessControlPoliciesAllowOK - * @class - */ - var exports = function() { - var _this = this; - - - }; - - /** - * Constructs a DoOryAccessControlPoliciesAllowOK from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/DoOryAccessControlPoliciesAllowOK} obj Optional instance to populate. - * @return {module:model/DoOryAccessControlPoliciesAllowOK} The populated DoOryAccessControlPoliciesAllowOK instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - if (data.hasOwnProperty('Payload')) { - obj['Payload'] = AuthorizationResult.constructFromObject(data['Payload']); - } - } - return obj; - } - - /** - * @member {module:model/AuthorizationResult} Payload - */ - exports.prototype['Payload'] = undefined; - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/DoOryAccessControlPoliciesAllowReader.js b/sdk/js/swagger/src/model/DoOryAccessControlPoliciesAllowReader.js deleted file mode 100644 index dbe5a778f..000000000 --- a/sdk/js/swagger/src/model/DoOryAccessControlPoliciesAllowReader.js +++ /dev/null @@ -1,74 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.DoOryAccessControlPoliciesAllowReader = factory(root.OryKeto.ApiClient); - } -}(this, function(ApiClient) { - 'use strict'; - - - - - /** - * The DoOryAccessControlPoliciesAllowReader model module. - * @module model/DoOryAccessControlPoliciesAllowReader - * @version Latest - */ - - /** - * Constructs a new DoOryAccessControlPoliciesAllowReader. - * @alias module:model/DoOryAccessControlPoliciesAllowReader - * @class - */ - var exports = function() { - var _this = this; - - }; - - /** - * Constructs a DoOryAccessControlPoliciesAllowReader from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/DoOryAccessControlPoliciesAllowReader} obj Optional instance to populate. - * @return {module:model/DoOryAccessControlPoliciesAllowReader} The populated DoOryAccessControlPoliciesAllowReader instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - } - return obj; - } - - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/GetOryAccessControlPolicy.js b/sdk/js/swagger/src/model/GetOryAccessControlPolicy.js deleted file mode 100644 index 1c1f51692..000000000 --- a/sdk/js/swagger/src/model/GetOryAccessControlPolicy.js +++ /dev/null @@ -1,95 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.GetOryAccessControlPolicy = factory(root.OryKeto.ApiClient); - } -}(this, function(ApiClient) { - 'use strict'; - - - - - /** - * The GetOryAccessControlPolicy model module. - * @module model/GetOryAccessControlPolicy - * @version Latest - */ - - /** - * Constructs a new GetOryAccessControlPolicy. - * GetOryAccessControlPolicy get ory access control policy - * @alias module:model/GetOryAccessControlPolicy - * @class - * @param flavor {String} The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". in: path - * @param id {String} The ID of the ORY Access Control Policy Role. in: path - */ - var exports = function(flavor, id) { - var _this = this; - - _this['flavor'] = flavor; - _this['id'] = id; - }; - - /** - * Constructs a GetOryAccessControlPolicy from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/GetOryAccessControlPolicy} obj Optional instance to populate. - * @return {module:model/GetOryAccessControlPolicy} The populated GetOryAccessControlPolicy instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - if (data.hasOwnProperty('flavor')) { - obj['flavor'] = ApiClient.convertToType(data['flavor'], 'String'); - } - if (data.hasOwnProperty('id')) { - obj['id'] = ApiClient.convertToType(data['id'], 'String'); - } - } - return obj; - } - - /** - * The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". in: path - * @member {String} flavor - */ - exports.prototype['flavor'] = undefined; - /** - * The ID of the ORY Access Control Policy Role. in: path - * @member {String} id - */ - exports.prototype['id'] = undefined; - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/GetOryAccessControlPolicyInternalServerError.js b/sdk/js/swagger/src/model/GetOryAccessControlPolicyInternalServerError.js deleted file mode 100644 index 01583c6d5..000000000 --- a/sdk/js/swagger/src/model/GetOryAccessControlPolicyInternalServerError.js +++ /dev/null @@ -1,83 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient', 'model/GetOryAccessControlPolicyInternalServerErrorBody'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient'), require('./GetOryAccessControlPolicyInternalServerErrorBody')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.GetOryAccessControlPolicyInternalServerError = factory(root.OryKeto.ApiClient, root.OryKeto.GetOryAccessControlPolicyInternalServerErrorBody); - } -}(this, function(ApiClient, GetOryAccessControlPolicyInternalServerErrorBody) { - 'use strict'; - - - - - /** - * The GetOryAccessControlPolicyInternalServerError model module. - * @module model/GetOryAccessControlPolicyInternalServerError - * @version Latest - */ - - /** - * Constructs a new GetOryAccessControlPolicyInternalServerError. - * The standard error format - * @alias module:model/GetOryAccessControlPolicyInternalServerError - * @class - */ - var exports = function() { - var _this = this; - - - }; - - /** - * Constructs a GetOryAccessControlPolicyInternalServerError from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/GetOryAccessControlPolicyInternalServerError} obj Optional instance to populate. - * @return {module:model/GetOryAccessControlPolicyInternalServerError} The populated GetOryAccessControlPolicyInternalServerError instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - if (data.hasOwnProperty('Payload')) { - obj['Payload'] = GetOryAccessControlPolicyInternalServerErrorBody.constructFromObject(data['Payload']); - } - } - return obj; - } - - /** - * @member {module:model/GetOryAccessControlPolicyInternalServerErrorBody} Payload - */ - exports.prototype['Payload'] = undefined; - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/GetOryAccessControlPolicyInternalServerErrorBody.js b/sdk/js/swagger/src/model/GetOryAccessControlPolicyInternalServerErrorBody.js deleted file mode 100644 index 5869be3aa..000000000 --- a/sdk/js/swagger/src/model/GetOryAccessControlPolicyInternalServerErrorBody.js +++ /dev/null @@ -1,129 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.GetOryAccessControlPolicyInternalServerErrorBody = factory(root.OryKeto.ApiClient); - } -}(this, function(ApiClient) { - 'use strict'; - - - - - /** - * The GetOryAccessControlPolicyInternalServerErrorBody model module. - * @module model/GetOryAccessControlPolicyInternalServerErrorBody - * @version Latest - */ - - /** - * Constructs a new GetOryAccessControlPolicyInternalServerErrorBody. - * GetOryAccessControlPolicyInternalServerErrorBody GetOryAccessControlPolicyInternalServerErrorBody get ory access control policy internal server error body - * @alias module:model/GetOryAccessControlPolicyInternalServerErrorBody - * @class - */ - var exports = function() { - var _this = this; - - - - - - - - }; - - /** - * Constructs a GetOryAccessControlPolicyInternalServerErrorBody from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/GetOryAccessControlPolicyInternalServerErrorBody} obj Optional instance to populate. - * @return {module:model/GetOryAccessControlPolicyInternalServerErrorBody} The populated GetOryAccessControlPolicyInternalServerErrorBody instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - if (data.hasOwnProperty('code')) { - obj['code'] = ApiClient.convertToType(data['code'], 'Number'); - } - if (data.hasOwnProperty('details')) { - obj['details'] = ApiClient.convertToType(data['details'], [{'String': Object}]); - } - if (data.hasOwnProperty('message')) { - obj['message'] = ApiClient.convertToType(data['message'], 'String'); - } - if (data.hasOwnProperty('reason')) { - obj['reason'] = ApiClient.convertToType(data['reason'], 'String'); - } - if (data.hasOwnProperty('request')) { - obj['request'] = ApiClient.convertToType(data['request'], 'String'); - } - if (data.hasOwnProperty('status')) { - obj['status'] = ApiClient.convertToType(data['status'], 'String'); - } - } - return obj; - } - - /** - * code - * @member {Number} code - */ - exports.prototype['code'] = undefined; - /** - * details - * @member {Array.>} details - */ - exports.prototype['details'] = undefined; - /** - * message - * @member {String} message - */ - exports.prototype['message'] = undefined; - /** - * reason - * @member {String} reason - */ - exports.prototype['reason'] = undefined; - /** - * request - * @member {String} request - */ - exports.prototype['request'] = undefined; - /** - * status - * @member {String} status - */ - exports.prototype['status'] = undefined; - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/GetOryAccessControlPolicyNotFound.js b/sdk/js/swagger/src/model/GetOryAccessControlPolicyNotFound.js deleted file mode 100644 index 3fc45a7f7..000000000 --- a/sdk/js/swagger/src/model/GetOryAccessControlPolicyNotFound.js +++ /dev/null @@ -1,83 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient', 'model/GetOryAccessControlPolicyNotFoundBody'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient'), require('./GetOryAccessControlPolicyNotFoundBody')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.GetOryAccessControlPolicyNotFound = factory(root.OryKeto.ApiClient, root.OryKeto.GetOryAccessControlPolicyNotFoundBody); - } -}(this, function(ApiClient, GetOryAccessControlPolicyNotFoundBody) { - 'use strict'; - - - - - /** - * The GetOryAccessControlPolicyNotFound model module. - * @module model/GetOryAccessControlPolicyNotFound - * @version Latest - */ - - /** - * Constructs a new GetOryAccessControlPolicyNotFound. - * The standard error format - * @alias module:model/GetOryAccessControlPolicyNotFound - * @class - */ - var exports = function() { - var _this = this; - - - }; - - /** - * Constructs a GetOryAccessControlPolicyNotFound from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/GetOryAccessControlPolicyNotFound} obj Optional instance to populate. - * @return {module:model/GetOryAccessControlPolicyNotFound} The populated GetOryAccessControlPolicyNotFound instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - if (data.hasOwnProperty('Payload')) { - obj['Payload'] = GetOryAccessControlPolicyNotFoundBody.constructFromObject(data['Payload']); - } - } - return obj; - } - - /** - * @member {module:model/GetOryAccessControlPolicyNotFoundBody} Payload - */ - exports.prototype['Payload'] = undefined; - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/GetOryAccessControlPolicyNotFoundBody.js b/sdk/js/swagger/src/model/GetOryAccessControlPolicyNotFoundBody.js deleted file mode 100644 index cb83eb2b9..000000000 --- a/sdk/js/swagger/src/model/GetOryAccessControlPolicyNotFoundBody.js +++ /dev/null @@ -1,129 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.GetOryAccessControlPolicyNotFoundBody = factory(root.OryKeto.ApiClient); - } -}(this, function(ApiClient) { - 'use strict'; - - - - - /** - * The GetOryAccessControlPolicyNotFoundBody model module. - * @module model/GetOryAccessControlPolicyNotFoundBody - * @version Latest - */ - - /** - * Constructs a new GetOryAccessControlPolicyNotFoundBody. - * GetOryAccessControlPolicyNotFoundBody GetOryAccessControlPolicyNotFoundBody get ory access control policy not found body - * @alias module:model/GetOryAccessControlPolicyNotFoundBody - * @class - */ - var exports = function() { - var _this = this; - - - - - - - - }; - - /** - * Constructs a GetOryAccessControlPolicyNotFoundBody from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/GetOryAccessControlPolicyNotFoundBody} obj Optional instance to populate. - * @return {module:model/GetOryAccessControlPolicyNotFoundBody} The populated GetOryAccessControlPolicyNotFoundBody instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - if (data.hasOwnProperty('code')) { - obj['code'] = ApiClient.convertToType(data['code'], 'Number'); - } - if (data.hasOwnProperty('details')) { - obj['details'] = ApiClient.convertToType(data['details'], [{'String': Object}]); - } - if (data.hasOwnProperty('message')) { - obj['message'] = ApiClient.convertToType(data['message'], 'String'); - } - if (data.hasOwnProperty('reason')) { - obj['reason'] = ApiClient.convertToType(data['reason'], 'String'); - } - if (data.hasOwnProperty('request')) { - obj['request'] = ApiClient.convertToType(data['request'], 'String'); - } - if (data.hasOwnProperty('status')) { - obj['status'] = ApiClient.convertToType(data['status'], 'String'); - } - } - return obj; - } - - /** - * code - * @member {Number} code - */ - exports.prototype['code'] = undefined; - /** - * details - * @member {Array.>} details - */ - exports.prototype['details'] = undefined; - /** - * message - * @member {String} message - */ - exports.prototype['message'] = undefined; - /** - * reason - * @member {String} reason - */ - exports.prototype['reason'] = undefined; - /** - * request - * @member {String} request - */ - exports.prototype['request'] = undefined; - /** - * status - * @member {String} status - */ - exports.prototype['status'] = undefined; - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/GetOryAccessControlPolicyOK.js b/sdk/js/swagger/src/model/GetOryAccessControlPolicyOK.js deleted file mode 100644 index 43de3e732..000000000 --- a/sdk/js/swagger/src/model/GetOryAccessControlPolicyOK.js +++ /dev/null @@ -1,83 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient', 'model/OryAccessControlPolicy'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient'), require('./OryAccessControlPolicy')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.GetOryAccessControlPolicyOK = factory(root.OryKeto.ApiClient, root.OryKeto.OryAccessControlPolicy); - } -}(this, function(ApiClient, OryAccessControlPolicy) { - 'use strict'; - - - - - /** - * The GetOryAccessControlPolicyOK model module. - * @module model/GetOryAccessControlPolicyOK - * @version Latest - */ - - /** - * Constructs a new GetOryAccessControlPolicyOK. - * oryAccessControlPolicy - * @alias module:model/GetOryAccessControlPolicyOK - * @class - */ - var exports = function() { - var _this = this; - - - }; - - /** - * Constructs a GetOryAccessControlPolicyOK from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/GetOryAccessControlPolicyOK} obj Optional instance to populate. - * @return {module:model/GetOryAccessControlPolicyOK} The populated GetOryAccessControlPolicyOK instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - if (data.hasOwnProperty('Payload')) { - obj['Payload'] = OryAccessControlPolicy.constructFromObject(data['Payload']); - } - } - return obj; - } - - /** - * @member {module:model/OryAccessControlPolicy} Payload - */ - exports.prototype['Payload'] = undefined; - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/GetOryAccessControlPolicyReader.js b/sdk/js/swagger/src/model/GetOryAccessControlPolicyReader.js deleted file mode 100644 index d53096d77..000000000 --- a/sdk/js/swagger/src/model/GetOryAccessControlPolicyReader.js +++ /dev/null @@ -1,74 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.GetOryAccessControlPolicyReader = factory(root.OryKeto.ApiClient); - } -}(this, function(ApiClient) { - 'use strict'; - - - - - /** - * The GetOryAccessControlPolicyReader model module. - * @module model/GetOryAccessControlPolicyReader - * @version Latest - */ - - /** - * Constructs a new GetOryAccessControlPolicyReader. - * @alias module:model/GetOryAccessControlPolicyReader - * @class - */ - var exports = function() { - var _this = this; - - }; - - /** - * Constructs a GetOryAccessControlPolicyReader from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/GetOryAccessControlPolicyReader} obj Optional instance to populate. - * @return {module:model/GetOryAccessControlPolicyReader} The populated GetOryAccessControlPolicyReader instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - } - return obj; - } - - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/GetOryAccessControlPolicyRole.js b/sdk/js/swagger/src/model/GetOryAccessControlPolicyRole.js deleted file mode 100644 index 0f1f0992c..000000000 --- a/sdk/js/swagger/src/model/GetOryAccessControlPolicyRole.js +++ /dev/null @@ -1,95 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.GetOryAccessControlPolicyRole = factory(root.OryKeto.ApiClient); - } -}(this, function(ApiClient) { - 'use strict'; - - - - - /** - * The GetOryAccessControlPolicyRole model module. - * @module model/GetOryAccessControlPolicyRole - * @version Latest - */ - - /** - * Constructs a new GetOryAccessControlPolicyRole. - * GetOryAccessControlPolicyRole get ory access control policy role - * @alias module:model/GetOryAccessControlPolicyRole - * @class - * @param flavor {String} The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". in: path - * @param id {String} The ID of the ORY Access Control Policy Role. in: path - */ - var exports = function(flavor, id) { - var _this = this; - - _this['flavor'] = flavor; - _this['id'] = id; - }; - - /** - * Constructs a GetOryAccessControlPolicyRole from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/GetOryAccessControlPolicyRole} obj Optional instance to populate. - * @return {module:model/GetOryAccessControlPolicyRole} The populated GetOryAccessControlPolicyRole instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - if (data.hasOwnProperty('flavor')) { - obj['flavor'] = ApiClient.convertToType(data['flavor'], 'String'); - } - if (data.hasOwnProperty('id')) { - obj['id'] = ApiClient.convertToType(data['id'], 'String'); - } - } - return obj; - } - - /** - * The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". in: path - * @member {String} flavor - */ - exports.prototype['flavor'] = undefined; - /** - * The ID of the ORY Access Control Policy Role. in: path - * @member {String} id - */ - exports.prototype['id'] = undefined; - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/GetOryAccessControlPolicyRoleInternalServerError.js b/sdk/js/swagger/src/model/GetOryAccessControlPolicyRoleInternalServerError.js deleted file mode 100644 index d64e1341c..000000000 --- a/sdk/js/swagger/src/model/GetOryAccessControlPolicyRoleInternalServerError.js +++ /dev/null @@ -1,83 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient', 'model/GetOryAccessControlPolicyRoleInternalServerErrorBody'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient'), require('./GetOryAccessControlPolicyRoleInternalServerErrorBody')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.GetOryAccessControlPolicyRoleInternalServerError = factory(root.OryKeto.ApiClient, root.OryKeto.GetOryAccessControlPolicyRoleInternalServerErrorBody); - } -}(this, function(ApiClient, GetOryAccessControlPolicyRoleInternalServerErrorBody) { - 'use strict'; - - - - - /** - * The GetOryAccessControlPolicyRoleInternalServerError model module. - * @module model/GetOryAccessControlPolicyRoleInternalServerError - * @version Latest - */ - - /** - * Constructs a new GetOryAccessControlPolicyRoleInternalServerError. - * The standard error format - * @alias module:model/GetOryAccessControlPolicyRoleInternalServerError - * @class - */ - var exports = function() { - var _this = this; - - - }; - - /** - * Constructs a GetOryAccessControlPolicyRoleInternalServerError from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/GetOryAccessControlPolicyRoleInternalServerError} obj Optional instance to populate. - * @return {module:model/GetOryAccessControlPolicyRoleInternalServerError} The populated GetOryAccessControlPolicyRoleInternalServerError instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - if (data.hasOwnProperty('Payload')) { - obj['Payload'] = GetOryAccessControlPolicyRoleInternalServerErrorBody.constructFromObject(data['Payload']); - } - } - return obj; - } - - /** - * @member {module:model/GetOryAccessControlPolicyRoleInternalServerErrorBody} Payload - */ - exports.prototype['Payload'] = undefined; - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/GetOryAccessControlPolicyRoleInternalServerErrorBody.js b/sdk/js/swagger/src/model/GetOryAccessControlPolicyRoleInternalServerErrorBody.js deleted file mode 100644 index f190f9f1a..000000000 --- a/sdk/js/swagger/src/model/GetOryAccessControlPolicyRoleInternalServerErrorBody.js +++ /dev/null @@ -1,129 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.GetOryAccessControlPolicyRoleInternalServerErrorBody = factory(root.OryKeto.ApiClient); - } -}(this, function(ApiClient) { - 'use strict'; - - - - - /** - * The GetOryAccessControlPolicyRoleInternalServerErrorBody model module. - * @module model/GetOryAccessControlPolicyRoleInternalServerErrorBody - * @version Latest - */ - - /** - * Constructs a new GetOryAccessControlPolicyRoleInternalServerErrorBody. - * GetOryAccessControlPolicyRoleInternalServerErrorBody get ory access control policy role internal server error body - * @alias module:model/GetOryAccessControlPolicyRoleInternalServerErrorBody - * @class - */ - var exports = function() { - var _this = this; - - - - - - - - }; - - /** - * Constructs a GetOryAccessControlPolicyRoleInternalServerErrorBody from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/GetOryAccessControlPolicyRoleInternalServerErrorBody} obj Optional instance to populate. - * @return {module:model/GetOryAccessControlPolicyRoleInternalServerErrorBody} The populated GetOryAccessControlPolicyRoleInternalServerErrorBody instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - if (data.hasOwnProperty('code')) { - obj['code'] = ApiClient.convertToType(data['code'], 'Number'); - } - if (data.hasOwnProperty('details')) { - obj['details'] = ApiClient.convertToType(data['details'], [{'String': Object}]); - } - if (data.hasOwnProperty('message')) { - obj['message'] = ApiClient.convertToType(data['message'], 'String'); - } - if (data.hasOwnProperty('reason')) { - obj['reason'] = ApiClient.convertToType(data['reason'], 'String'); - } - if (data.hasOwnProperty('request')) { - obj['request'] = ApiClient.convertToType(data['request'], 'String'); - } - if (data.hasOwnProperty('status')) { - obj['status'] = ApiClient.convertToType(data['status'], 'String'); - } - } - return obj; - } - - /** - * code - * @member {Number} code - */ - exports.prototype['code'] = undefined; - /** - * details - * @member {Array.>} details - */ - exports.prototype['details'] = undefined; - /** - * message - * @member {String} message - */ - exports.prototype['message'] = undefined; - /** - * reason - * @member {String} reason - */ - exports.prototype['reason'] = undefined; - /** - * request - * @member {String} request - */ - exports.prototype['request'] = undefined; - /** - * status - * @member {String} status - */ - exports.prototype['status'] = undefined; - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/GetOryAccessControlPolicyRoleNotFound.js b/sdk/js/swagger/src/model/GetOryAccessControlPolicyRoleNotFound.js deleted file mode 100644 index 9244acc1c..000000000 --- a/sdk/js/swagger/src/model/GetOryAccessControlPolicyRoleNotFound.js +++ /dev/null @@ -1,83 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient', 'model/GetOryAccessControlPolicyRoleNotFoundBody'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient'), require('./GetOryAccessControlPolicyRoleNotFoundBody')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.GetOryAccessControlPolicyRoleNotFound = factory(root.OryKeto.ApiClient, root.OryKeto.GetOryAccessControlPolicyRoleNotFoundBody); - } -}(this, function(ApiClient, GetOryAccessControlPolicyRoleNotFoundBody) { - 'use strict'; - - - - - /** - * The GetOryAccessControlPolicyRoleNotFound model module. - * @module model/GetOryAccessControlPolicyRoleNotFound - * @version Latest - */ - - /** - * Constructs a new GetOryAccessControlPolicyRoleNotFound. - * The standard error format - * @alias module:model/GetOryAccessControlPolicyRoleNotFound - * @class - */ - var exports = function() { - var _this = this; - - - }; - - /** - * Constructs a GetOryAccessControlPolicyRoleNotFound from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/GetOryAccessControlPolicyRoleNotFound} obj Optional instance to populate. - * @return {module:model/GetOryAccessControlPolicyRoleNotFound} The populated GetOryAccessControlPolicyRoleNotFound instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - if (data.hasOwnProperty('Payload')) { - obj['Payload'] = GetOryAccessControlPolicyRoleNotFoundBody.constructFromObject(data['Payload']); - } - } - return obj; - } - - /** - * @member {module:model/GetOryAccessControlPolicyRoleNotFoundBody} Payload - */ - exports.prototype['Payload'] = undefined; - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/GetOryAccessControlPolicyRoleNotFoundBody.js b/sdk/js/swagger/src/model/GetOryAccessControlPolicyRoleNotFoundBody.js deleted file mode 100644 index 7be8d7b9f..000000000 --- a/sdk/js/swagger/src/model/GetOryAccessControlPolicyRoleNotFoundBody.js +++ /dev/null @@ -1,129 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.GetOryAccessControlPolicyRoleNotFoundBody = factory(root.OryKeto.ApiClient); - } -}(this, function(ApiClient) { - 'use strict'; - - - - - /** - * The GetOryAccessControlPolicyRoleNotFoundBody model module. - * @module model/GetOryAccessControlPolicyRoleNotFoundBody - * @version Latest - */ - - /** - * Constructs a new GetOryAccessControlPolicyRoleNotFoundBody. - * GetOryAccessControlPolicyRoleNotFoundBody GetOryAccessControlPolicyRoleNotFoundBody GetOryAccessControlPolicyRoleNotFoundBody get ory access control policy role not found body - * @alias module:model/GetOryAccessControlPolicyRoleNotFoundBody - * @class - */ - var exports = function() { - var _this = this; - - - - - - - - }; - - /** - * Constructs a GetOryAccessControlPolicyRoleNotFoundBody from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/GetOryAccessControlPolicyRoleNotFoundBody} obj Optional instance to populate. - * @return {module:model/GetOryAccessControlPolicyRoleNotFoundBody} The populated GetOryAccessControlPolicyRoleNotFoundBody instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - if (data.hasOwnProperty('code')) { - obj['code'] = ApiClient.convertToType(data['code'], 'Number'); - } - if (data.hasOwnProperty('details')) { - obj['details'] = ApiClient.convertToType(data['details'], [{'String': Object}]); - } - if (data.hasOwnProperty('message')) { - obj['message'] = ApiClient.convertToType(data['message'], 'String'); - } - if (data.hasOwnProperty('reason')) { - obj['reason'] = ApiClient.convertToType(data['reason'], 'String'); - } - if (data.hasOwnProperty('request')) { - obj['request'] = ApiClient.convertToType(data['request'], 'String'); - } - if (data.hasOwnProperty('status')) { - obj['status'] = ApiClient.convertToType(data['status'], 'String'); - } - } - return obj; - } - - /** - * code - * @member {Number} code - */ - exports.prototype['code'] = undefined; - /** - * details - * @member {Array.>} details - */ - exports.prototype['details'] = undefined; - /** - * message - * @member {String} message - */ - exports.prototype['message'] = undefined; - /** - * reason - * @member {String} reason - */ - exports.prototype['reason'] = undefined; - /** - * request - * @member {String} request - */ - exports.prototype['request'] = undefined; - /** - * status - * @member {String} status - */ - exports.prototype['status'] = undefined; - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/GetOryAccessControlPolicyRoleOK.js b/sdk/js/swagger/src/model/GetOryAccessControlPolicyRoleOK.js deleted file mode 100644 index 78f690219..000000000 --- a/sdk/js/swagger/src/model/GetOryAccessControlPolicyRoleOK.js +++ /dev/null @@ -1,83 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient', 'model/OryAccessControlPolicyRole'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient'), require('./OryAccessControlPolicyRole')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.GetOryAccessControlPolicyRoleOK = factory(root.OryKeto.ApiClient, root.OryKeto.OryAccessControlPolicyRole); - } -}(this, function(ApiClient, OryAccessControlPolicyRole) { - 'use strict'; - - - - - /** - * The GetOryAccessControlPolicyRoleOK model module. - * @module model/GetOryAccessControlPolicyRoleOK - * @version Latest - */ - - /** - * Constructs a new GetOryAccessControlPolicyRoleOK. - * oryAccessControlPolicyRole - * @alias module:model/GetOryAccessControlPolicyRoleOK - * @class - */ - var exports = function() { - var _this = this; - - - }; - - /** - * Constructs a GetOryAccessControlPolicyRoleOK from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/GetOryAccessControlPolicyRoleOK} obj Optional instance to populate. - * @return {module:model/GetOryAccessControlPolicyRoleOK} The populated GetOryAccessControlPolicyRoleOK instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - if (data.hasOwnProperty('Payload')) { - obj['Payload'] = OryAccessControlPolicyRole.constructFromObject(data['Payload']); - } - } - return obj; - } - - /** - * @member {module:model/OryAccessControlPolicyRole} Payload - */ - exports.prototype['Payload'] = undefined; - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/GetOryAccessControlPolicyRoleReader.js b/sdk/js/swagger/src/model/GetOryAccessControlPolicyRoleReader.js deleted file mode 100644 index 9f9b9333c..000000000 --- a/sdk/js/swagger/src/model/GetOryAccessControlPolicyRoleReader.js +++ /dev/null @@ -1,74 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.GetOryAccessControlPolicyRoleReader = factory(root.OryKeto.ApiClient); - } -}(this, function(ApiClient) { - 'use strict'; - - - - - /** - * The GetOryAccessControlPolicyRoleReader model module. - * @module model/GetOryAccessControlPolicyRoleReader - * @version Latest - */ - - /** - * Constructs a new GetOryAccessControlPolicyRoleReader. - * @alias module:model/GetOryAccessControlPolicyRoleReader - * @class - */ - var exports = function() { - var _this = this; - - }; - - /** - * Constructs a GetOryAccessControlPolicyRoleReader from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/GetOryAccessControlPolicyRoleReader} obj Optional instance to populate. - * @return {module:model/GetOryAccessControlPolicyRoleReader} The populated GetOryAccessControlPolicyRoleReader instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - } - return obj; - } - - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/HealthNotReadyStatus.js b/sdk/js/swagger/src/model/HealthNotReadyStatus.js deleted file mode 100644 index a6d43527f..000000000 --- a/sdk/js/swagger/src/model/HealthNotReadyStatus.js +++ /dev/null @@ -1,83 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.HealthNotReadyStatus = factory(root.OryKeto.ApiClient); - } -}(this, function(ApiClient) { - 'use strict'; - - - - - /** - * The HealthNotReadyStatus model module. - * @module model/HealthNotReadyStatus - * @version Latest - */ - - /** - * Constructs a new HealthNotReadyStatus. - * @alias module:model/HealthNotReadyStatus - * @class - */ - var exports = function() { - var _this = this; - - - }; - - /** - * Constructs a HealthNotReadyStatus from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/HealthNotReadyStatus} obj Optional instance to populate. - * @return {module:model/HealthNotReadyStatus} The populated HealthNotReadyStatus instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - if (data.hasOwnProperty('errors')) { - obj['errors'] = ApiClient.convertToType(data['errors'], {'String': 'String'}); - } - } - return obj; - } - - /** - * Errors contains a list of errors that caused the not ready status. - * @member {Object.} errors - */ - exports.prototype['errors'] = undefined; - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/HealthStatus.js b/sdk/js/swagger/src/model/HealthStatus.js deleted file mode 100644 index 61f47a56f..000000000 --- a/sdk/js/swagger/src/model/HealthStatus.js +++ /dev/null @@ -1,83 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.HealthStatus = factory(root.OryKeto.ApiClient); - } -}(this, function(ApiClient) { - 'use strict'; - - - - - /** - * The HealthStatus model module. - * @module model/HealthStatus - * @version Latest - */ - - /** - * Constructs a new HealthStatus. - * @alias module:model/HealthStatus - * @class - */ - var exports = function() { - var _this = this; - - - }; - - /** - * Constructs a HealthStatus from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/HealthStatus} obj Optional instance to populate. - * @return {module:model/HealthStatus} The populated HealthStatus instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - if (data.hasOwnProperty('status')) { - obj['status'] = ApiClient.convertToType(data['status'], 'String'); - } - } - return obj; - } - - /** - * Status always contains \"ok\". - * @member {String} status - */ - exports.prototype['status'] = undefined; - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/InlineResponse500.js b/sdk/js/swagger/src/model/InlineResponse500.js deleted file mode 100644 index de997b9e6..000000000 --- a/sdk/js/swagger/src/model/InlineResponse500.js +++ /dev/null @@ -1,122 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.InlineResponse500 = factory(root.OryKeto.ApiClient); - } -}(this, function(ApiClient) { - 'use strict'; - - - - - /** - * The InlineResponse500 model module. - * @module model/InlineResponse500 - * @version Latest - */ - - /** - * Constructs a new InlineResponse500. - * @alias module:model/InlineResponse500 - * @class - */ - var exports = function() { - var _this = this; - - - - - - - - }; - - /** - * Constructs a InlineResponse500 from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/InlineResponse500} obj Optional instance to populate. - * @return {module:model/InlineResponse500} The populated InlineResponse500 instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - if (data.hasOwnProperty('code')) { - obj['code'] = ApiClient.convertToType(data['code'], 'Number'); - } - if (data.hasOwnProperty('details')) { - obj['details'] = ApiClient.convertToType(data['details'], [{'String': Object}]); - } - if (data.hasOwnProperty('message')) { - obj['message'] = ApiClient.convertToType(data['message'], 'String'); - } - if (data.hasOwnProperty('reason')) { - obj['reason'] = ApiClient.convertToType(data['reason'], 'String'); - } - if (data.hasOwnProperty('request')) { - obj['request'] = ApiClient.convertToType(data['request'], 'String'); - } - if (data.hasOwnProperty('status')) { - obj['status'] = ApiClient.convertToType(data['status'], 'String'); - } - } - return obj; - } - - /** - * @member {Number} code - */ - exports.prototype['code'] = undefined; - /** - * @member {Array.>} details - */ - exports.prototype['details'] = undefined; - /** - * @member {String} message - */ - exports.prototype['message'] = undefined; - /** - * @member {String} reason - */ - exports.prototype['reason'] = undefined; - /** - * @member {String} request - */ - exports.prototype['request'] = undefined; - /** - * @member {String} status - */ - exports.prototype['status'] = undefined; - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/Input.js b/sdk/js/swagger/src/model/Input.js deleted file mode 100644 index f284f8975..000000000 --- a/sdk/js/swagger/src/model/Input.js +++ /dev/null @@ -1,110 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.Input = factory(root.OryKeto.ApiClient); - } -}(this, function(ApiClient) { - 'use strict'; - - - - - /** - * The Input model module. - * @module model/Input - * @version Latest - */ - - /** - * Constructs a new Input. - * @alias module:model/Input - * @class - */ - var exports = function() { - var _this = this; - - - - - - }; - - /** - * Constructs a Input from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/Input} obj Optional instance to populate. - * @return {module:model/Input} The populated Input instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - if (data.hasOwnProperty('action')) { - obj['action'] = ApiClient.convertToType(data['action'], 'String'); - } - if (data.hasOwnProperty('context')) { - obj['context'] = ApiClient.convertToType(data['context'], {'String': Object}); - } - if (data.hasOwnProperty('resource')) { - obj['resource'] = ApiClient.convertToType(data['resource'], 'String'); - } - if (data.hasOwnProperty('subject')) { - obj['subject'] = ApiClient.convertToType(data['subject'], 'String'); - } - } - return obj; - } - - /** - * Action is the action that is requested on the resource. - * @member {String} action - */ - exports.prototype['action'] = undefined; - /** - * Context is the request's environmental context. - * @member {Object.} context - */ - exports.prototype['context'] = undefined; - /** - * Resource is the resource that access is requested to. - * @member {String} resource - */ - exports.prototype['resource'] = undefined; - /** - * Subject is the subject that is requesting access. - * @member {String} subject - */ - exports.prototype['subject'] = undefined; - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/IsInstanceAliveInternalServerError.js b/sdk/js/swagger/src/model/IsInstanceAliveInternalServerError.js deleted file mode 100644 index d7c4cc463..000000000 --- a/sdk/js/swagger/src/model/IsInstanceAliveInternalServerError.js +++ /dev/null @@ -1,83 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient', 'model/IsInstanceAliveInternalServerErrorBody'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient'), require('./IsInstanceAliveInternalServerErrorBody')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.IsInstanceAliveInternalServerError = factory(root.OryKeto.ApiClient, root.OryKeto.IsInstanceAliveInternalServerErrorBody); - } -}(this, function(ApiClient, IsInstanceAliveInternalServerErrorBody) { - 'use strict'; - - - - - /** - * The IsInstanceAliveInternalServerError model module. - * @module model/IsInstanceAliveInternalServerError - * @version Latest - */ - - /** - * Constructs a new IsInstanceAliveInternalServerError. - * The standard error format - * @alias module:model/IsInstanceAliveInternalServerError - * @class - */ - var exports = function() { - var _this = this; - - - }; - - /** - * Constructs a IsInstanceAliveInternalServerError from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/IsInstanceAliveInternalServerError} obj Optional instance to populate. - * @return {module:model/IsInstanceAliveInternalServerError} The populated IsInstanceAliveInternalServerError instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - if (data.hasOwnProperty('Payload')) { - obj['Payload'] = IsInstanceAliveInternalServerErrorBody.constructFromObject(data['Payload']); - } - } - return obj; - } - - /** - * @member {module:model/IsInstanceAliveInternalServerErrorBody} Payload - */ - exports.prototype['Payload'] = undefined; - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/IsInstanceAliveInternalServerErrorBody.js b/sdk/js/swagger/src/model/IsInstanceAliveInternalServerErrorBody.js deleted file mode 100644 index da53f3281..000000000 --- a/sdk/js/swagger/src/model/IsInstanceAliveInternalServerErrorBody.js +++ /dev/null @@ -1,129 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.IsInstanceAliveInternalServerErrorBody = factory(root.OryKeto.ApiClient); - } -}(this, function(ApiClient) { - 'use strict'; - - - - - /** - * The IsInstanceAliveInternalServerErrorBody model module. - * @module model/IsInstanceAliveInternalServerErrorBody - * @version Latest - */ - - /** - * Constructs a new IsInstanceAliveInternalServerErrorBody. - * IsInstanceAliveInternalServerErrorBody is instance alive internal server error body - * @alias module:model/IsInstanceAliveInternalServerErrorBody - * @class - */ - var exports = function() { - var _this = this; - - - - - - - - }; - - /** - * Constructs a IsInstanceAliveInternalServerErrorBody from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/IsInstanceAliveInternalServerErrorBody} obj Optional instance to populate. - * @return {module:model/IsInstanceAliveInternalServerErrorBody} The populated IsInstanceAliveInternalServerErrorBody instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - if (data.hasOwnProperty('code')) { - obj['code'] = ApiClient.convertToType(data['code'], 'Number'); - } - if (data.hasOwnProperty('details')) { - obj['details'] = ApiClient.convertToType(data['details'], [{'String': Object}]); - } - if (data.hasOwnProperty('message')) { - obj['message'] = ApiClient.convertToType(data['message'], 'String'); - } - if (data.hasOwnProperty('reason')) { - obj['reason'] = ApiClient.convertToType(data['reason'], 'String'); - } - if (data.hasOwnProperty('request')) { - obj['request'] = ApiClient.convertToType(data['request'], 'String'); - } - if (data.hasOwnProperty('status')) { - obj['status'] = ApiClient.convertToType(data['status'], 'String'); - } - } - return obj; - } - - /** - * code - * @member {Number} code - */ - exports.prototype['code'] = undefined; - /** - * details - * @member {Array.>} details - */ - exports.prototype['details'] = undefined; - /** - * message - * @member {String} message - */ - exports.prototype['message'] = undefined; - /** - * reason - * @member {String} reason - */ - exports.prototype['reason'] = undefined; - /** - * request - * @member {String} request - */ - exports.prototype['request'] = undefined; - /** - * status - * @member {String} status - */ - exports.prototype['status'] = undefined; - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/IsInstanceAliveOK.js b/sdk/js/swagger/src/model/IsInstanceAliveOK.js deleted file mode 100644 index 39341c864..000000000 --- a/sdk/js/swagger/src/model/IsInstanceAliveOK.js +++ /dev/null @@ -1,83 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient', 'model/SwaggerHealthStatus'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient'), require('./SwaggerHealthStatus')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.IsInstanceAliveOK = factory(root.OryKeto.ApiClient, root.OryKeto.SwaggerHealthStatus); - } -}(this, function(ApiClient, SwaggerHealthStatus) { - 'use strict'; - - - - - /** - * The IsInstanceAliveOK model module. - * @module model/IsInstanceAliveOK - * @version Latest - */ - - /** - * Constructs a new IsInstanceAliveOK. - * healthStatus - * @alias module:model/IsInstanceAliveOK - * @class - */ - var exports = function() { - var _this = this; - - - }; - - /** - * Constructs a IsInstanceAliveOK from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/IsInstanceAliveOK} obj Optional instance to populate. - * @return {module:model/IsInstanceAliveOK} The populated IsInstanceAliveOK instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - if (data.hasOwnProperty('Payload')) { - obj['Payload'] = SwaggerHealthStatus.constructFromObject(data['Payload']); - } - } - return obj; - } - - /** - * @member {module:model/SwaggerHealthStatus} Payload - */ - exports.prototype['Payload'] = undefined; - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/IsInstanceAliveReader.js b/sdk/js/swagger/src/model/IsInstanceAliveReader.js deleted file mode 100644 index 08587d5d1..000000000 --- a/sdk/js/swagger/src/model/IsInstanceAliveReader.js +++ /dev/null @@ -1,74 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.IsInstanceAliveReader = factory(root.OryKeto.ApiClient); - } -}(this, function(ApiClient) { - 'use strict'; - - - - - /** - * The IsInstanceAliveReader model module. - * @module model/IsInstanceAliveReader - * @version Latest - */ - - /** - * Constructs a new IsInstanceAliveReader. - * @alias module:model/IsInstanceAliveReader - * @class - */ - var exports = function() { - var _this = this; - - }; - - /** - * Constructs a IsInstanceAliveReader from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/IsInstanceAliveReader} obj Optional instance to populate. - * @return {module:model/IsInstanceAliveReader} The populated IsInstanceAliveReader instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - } - return obj; - } - - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/ListOryAccessControlPolicies.js b/sdk/js/swagger/src/model/ListOryAccessControlPolicies.js deleted file mode 100644 index 545860130..000000000 --- a/sdk/js/swagger/src/model/ListOryAccessControlPolicies.js +++ /dev/null @@ -1,103 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.ListOryAccessControlPolicies = factory(root.OryKeto.ApiClient); - } -}(this, function(ApiClient) { - 'use strict'; - - - - - /** - * The ListOryAccessControlPolicies model module. - * @module model/ListOryAccessControlPolicies - * @version Latest - */ - - /** - * Constructs a new ListOryAccessControlPolicies. - * ListOryAccessControlPolicies list ory access control policies - * @alias module:model/ListOryAccessControlPolicies - * @class - * @param flavor {String} The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\" in: path - */ - var exports = function(flavor) { - var _this = this; - - _this['flavor'] = flavor; - - - }; - - /** - * Constructs a ListOryAccessControlPolicies from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/ListOryAccessControlPolicies} obj Optional instance to populate. - * @return {module:model/ListOryAccessControlPolicies} The populated ListOryAccessControlPolicies instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - if (data.hasOwnProperty('flavor')) { - obj['flavor'] = ApiClient.convertToType(data['flavor'], 'String'); - } - if (data.hasOwnProperty('limit')) { - obj['limit'] = ApiClient.convertToType(data['limit'], 'Number'); - } - if (data.hasOwnProperty('offset')) { - obj['offset'] = ApiClient.convertToType(data['offset'], 'Number'); - } - } - return obj; - } - - /** - * The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\" in: path - * @member {String} flavor - */ - exports.prototype['flavor'] = undefined; - /** - * The maximum amount of policies returned. in: query - * @member {Number} limit - */ - exports.prototype['limit'] = undefined; - /** - * The offset from where to start looking. in: query - * @member {Number} offset - */ - exports.prototype['offset'] = undefined; - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/ListOryAccessControlPoliciesInternalServerError.js b/sdk/js/swagger/src/model/ListOryAccessControlPoliciesInternalServerError.js deleted file mode 100644 index 27b562134..000000000 --- a/sdk/js/swagger/src/model/ListOryAccessControlPoliciesInternalServerError.js +++ /dev/null @@ -1,83 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient', 'model/ListOryAccessControlPoliciesInternalServerErrorBody'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient'), require('./ListOryAccessControlPoliciesInternalServerErrorBody')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.ListOryAccessControlPoliciesInternalServerError = factory(root.OryKeto.ApiClient, root.OryKeto.ListOryAccessControlPoliciesInternalServerErrorBody); - } -}(this, function(ApiClient, ListOryAccessControlPoliciesInternalServerErrorBody) { - 'use strict'; - - - - - /** - * The ListOryAccessControlPoliciesInternalServerError model module. - * @module model/ListOryAccessControlPoliciesInternalServerError - * @version Latest - */ - - /** - * Constructs a new ListOryAccessControlPoliciesInternalServerError. - * The standard error format - * @alias module:model/ListOryAccessControlPoliciesInternalServerError - * @class - */ - var exports = function() { - var _this = this; - - - }; - - /** - * Constructs a ListOryAccessControlPoliciesInternalServerError from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/ListOryAccessControlPoliciesInternalServerError} obj Optional instance to populate. - * @return {module:model/ListOryAccessControlPoliciesInternalServerError} The populated ListOryAccessControlPoliciesInternalServerError instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - if (data.hasOwnProperty('Payload')) { - obj['Payload'] = ListOryAccessControlPoliciesInternalServerErrorBody.constructFromObject(data['Payload']); - } - } - return obj; - } - - /** - * @member {module:model/ListOryAccessControlPoliciesInternalServerErrorBody} Payload - */ - exports.prototype['Payload'] = undefined; - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/ListOryAccessControlPoliciesInternalServerErrorBody.js b/sdk/js/swagger/src/model/ListOryAccessControlPoliciesInternalServerErrorBody.js deleted file mode 100644 index 4fd3b94bc..000000000 --- a/sdk/js/swagger/src/model/ListOryAccessControlPoliciesInternalServerErrorBody.js +++ /dev/null @@ -1,129 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.ListOryAccessControlPoliciesInternalServerErrorBody = factory(root.OryKeto.ApiClient); - } -}(this, function(ApiClient) { - 'use strict'; - - - - - /** - * The ListOryAccessControlPoliciesInternalServerErrorBody model module. - * @module model/ListOryAccessControlPoliciesInternalServerErrorBody - * @version Latest - */ - - /** - * Constructs a new ListOryAccessControlPoliciesInternalServerErrorBody. - * ListOryAccessControlPoliciesInternalServerErrorBody ListOryAccessControlPoliciesInternalServerErrorBody ListOryAccessControlPoliciesInternalServerErrorBody ListOryAccessControlPoliciesInternalServerErrorBody list ory access control policies internal server error body - * @alias module:model/ListOryAccessControlPoliciesInternalServerErrorBody - * @class - */ - var exports = function() { - var _this = this; - - - - - - - - }; - - /** - * Constructs a ListOryAccessControlPoliciesInternalServerErrorBody from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/ListOryAccessControlPoliciesInternalServerErrorBody} obj Optional instance to populate. - * @return {module:model/ListOryAccessControlPoliciesInternalServerErrorBody} The populated ListOryAccessControlPoliciesInternalServerErrorBody instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - if (data.hasOwnProperty('code')) { - obj['code'] = ApiClient.convertToType(data['code'], 'Number'); - } - if (data.hasOwnProperty('details')) { - obj['details'] = ApiClient.convertToType(data['details'], [{'String': Object}]); - } - if (data.hasOwnProperty('message')) { - obj['message'] = ApiClient.convertToType(data['message'], 'String'); - } - if (data.hasOwnProperty('reason')) { - obj['reason'] = ApiClient.convertToType(data['reason'], 'String'); - } - if (data.hasOwnProperty('request')) { - obj['request'] = ApiClient.convertToType(data['request'], 'String'); - } - if (data.hasOwnProperty('status')) { - obj['status'] = ApiClient.convertToType(data['status'], 'String'); - } - } - return obj; - } - - /** - * code - * @member {Number} code - */ - exports.prototype['code'] = undefined; - /** - * details - * @member {Array.>} details - */ - exports.prototype['details'] = undefined; - /** - * message - * @member {String} message - */ - exports.prototype['message'] = undefined; - /** - * reason - * @member {String} reason - */ - exports.prototype['reason'] = undefined; - /** - * request - * @member {String} request - */ - exports.prototype['request'] = undefined; - /** - * status - * @member {String} status - */ - exports.prototype['status'] = undefined; - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/ListOryAccessControlPoliciesOK.js b/sdk/js/swagger/src/model/ListOryAccessControlPoliciesOK.js deleted file mode 100644 index d3e121a4a..000000000 --- a/sdk/js/swagger/src/model/ListOryAccessControlPoliciesOK.js +++ /dev/null @@ -1,84 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient', 'model/OryAccessControlPolicy'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient'), require('./OryAccessControlPolicy')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.ListOryAccessControlPoliciesOK = factory(root.OryKeto.ApiClient, root.OryKeto.OryAccessControlPolicy); - } -}(this, function(ApiClient, OryAccessControlPolicy) { - 'use strict'; - - - - - /** - * The ListOryAccessControlPoliciesOK model module. - * @module model/ListOryAccessControlPoliciesOK - * @version Latest - */ - - /** - * Constructs a new ListOryAccessControlPoliciesOK. - * Policies is an array of policies. - * @alias module:model/ListOryAccessControlPoliciesOK - * @class - */ - var exports = function() { - var _this = this; - - - }; - - /** - * Constructs a ListOryAccessControlPoliciesOK from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/ListOryAccessControlPoliciesOK} obj Optional instance to populate. - * @return {module:model/ListOryAccessControlPoliciesOK} The populated ListOryAccessControlPoliciesOK instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - if (data.hasOwnProperty('Payload')) { - obj['Payload'] = ApiClient.convertToType(data['Payload'], [OryAccessControlPolicy]); - } - } - return obj; - } - - /** - * payload - * @member {Array.} Payload - */ - exports.prototype['Payload'] = undefined; - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/ListOryAccessControlPoliciesReader.js b/sdk/js/swagger/src/model/ListOryAccessControlPoliciesReader.js deleted file mode 100644 index ec77e043a..000000000 --- a/sdk/js/swagger/src/model/ListOryAccessControlPoliciesReader.js +++ /dev/null @@ -1,74 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.ListOryAccessControlPoliciesReader = factory(root.OryKeto.ApiClient); - } -}(this, function(ApiClient) { - 'use strict'; - - - - - /** - * The ListOryAccessControlPoliciesReader model module. - * @module model/ListOryAccessControlPoliciesReader - * @version Latest - */ - - /** - * Constructs a new ListOryAccessControlPoliciesReader. - * @alias module:model/ListOryAccessControlPoliciesReader - * @class - */ - var exports = function() { - var _this = this; - - }; - - /** - * Constructs a ListOryAccessControlPoliciesReader from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/ListOryAccessControlPoliciesReader} obj Optional instance to populate. - * @return {module:model/ListOryAccessControlPoliciesReader} The populated ListOryAccessControlPoliciesReader instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - } - return obj; - } - - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/ListOryAccessControlPolicyRoles.js b/sdk/js/swagger/src/model/ListOryAccessControlPolicyRoles.js deleted file mode 100644 index 1b956d3dd..000000000 --- a/sdk/js/swagger/src/model/ListOryAccessControlPolicyRoles.js +++ /dev/null @@ -1,103 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.ListOryAccessControlPolicyRoles = factory(root.OryKeto.ApiClient); - } -}(this, function(ApiClient) { - 'use strict'; - - - - - /** - * The ListOryAccessControlPolicyRoles model module. - * @module model/ListOryAccessControlPolicyRoles - * @version Latest - */ - - /** - * Constructs a new ListOryAccessControlPolicyRoles. - * ListOryAccessControlPolicyRoles list ory access control policy roles - * @alias module:model/ListOryAccessControlPolicyRoles - * @class - * @param flavor {String} The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\" in: path - */ - var exports = function(flavor) { - var _this = this; - - _this['flavor'] = flavor; - - - }; - - /** - * Constructs a ListOryAccessControlPolicyRoles from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/ListOryAccessControlPolicyRoles} obj Optional instance to populate. - * @return {module:model/ListOryAccessControlPolicyRoles} The populated ListOryAccessControlPolicyRoles instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - if (data.hasOwnProperty('flavor')) { - obj['flavor'] = ApiClient.convertToType(data['flavor'], 'String'); - } - if (data.hasOwnProperty('limit')) { - obj['limit'] = ApiClient.convertToType(data['limit'], 'Number'); - } - if (data.hasOwnProperty('offset')) { - obj['offset'] = ApiClient.convertToType(data['offset'], 'Number'); - } - } - return obj; - } - - /** - * The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\" in: path - * @member {String} flavor - */ - exports.prototype['flavor'] = undefined; - /** - * The maximum amount of policies returned. in: query - * @member {Number} limit - */ - exports.prototype['limit'] = undefined; - /** - * The offset from where to start looking. in: query - * @member {Number} offset - */ - exports.prototype['offset'] = undefined; - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/ListOryAccessControlPolicyRolesInternalServerError.js b/sdk/js/swagger/src/model/ListOryAccessControlPolicyRolesInternalServerError.js deleted file mode 100644 index 765b2c017..000000000 --- a/sdk/js/swagger/src/model/ListOryAccessControlPolicyRolesInternalServerError.js +++ /dev/null @@ -1,83 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient', 'model/ListOryAccessControlPolicyRolesInternalServerErrorBody'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient'), require('./ListOryAccessControlPolicyRolesInternalServerErrorBody')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.ListOryAccessControlPolicyRolesInternalServerError = factory(root.OryKeto.ApiClient, root.OryKeto.ListOryAccessControlPolicyRolesInternalServerErrorBody); - } -}(this, function(ApiClient, ListOryAccessControlPolicyRolesInternalServerErrorBody) { - 'use strict'; - - - - - /** - * The ListOryAccessControlPolicyRolesInternalServerError model module. - * @module model/ListOryAccessControlPolicyRolesInternalServerError - * @version Latest - */ - - /** - * Constructs a new ListOryAccessControlPolicyRolesInternalServerError. - * The standard error format - * @alias module:model/ListOryAccessControlPolicyRolesInternalServerError - * @class - */ - var exports = function() { - var _this = this; - - - }; - - /** - * Constructs a ListOryAccessControlPolicyRolesInternalServerError from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/ListOryAccessControlPolicyRolesInternalServerError} obj Optional instance to populate. - * @return {module:model/ListOryAccessControlPolicyRolesInternalServerError} The populated ListOryAccessControlPolicyRolesInternalServerError instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - if (data.hasOwnProperty('Payload')) { - obj['Payload'] = ListOryAccessControlPolicyRolesInternalServerErrorBody.constructFromObject(data['Payload']); - } - } - return obj; - } - - /** - * @member {module:model/ListOryAccessControlPolicyRolesInternalServerErrorBody} Payload - */ - exports.prototype['Payload'] = undefined; - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/ListOryAccessControlPolicyRolesInternalServerErrorBody.js b/sdk/js/swagger/src/model/ListOryAccessControlPolicyRolesInternalServerErrorBody.js deleted file mode 100644 index 1e5fce360..000000000 --- a/sdk/js/swagger/src/model/ListOryAccessControlPolicyRolesInternalServerErrorBody.js +++ /dev/null @@ -1,129 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.ListOryAccessControlPolicyRolesInternalServerErrorBody = factory(root.OryKeto.ApiClient); - } -}(this, function(ApiClient) { - 'use strict'; - - - - - /** - * The ListOryAccessControlPolicyRolesInternalServerErrorBody model module. - * @module model/ListOryAccessControlPolicyRolesInternalServerErrorBody - * @version Latest - */ - - /** - * Constructs a new ListOryAccessControlPolicyRolesInternalServerErrorBody. - * ListOryAccessControlPolicyRolesInternalServerErrorBody ListOryAccessControlPolicyRolesInternalServerErrorBody list ory access control policy roles internal server error body - * @alias module:model/ListOryAccessControlPolicyRolesInternalServerErrorBody - * @class - */ - var exports = function() { - var _this = this; - - - - - - - - }; - - /** - * Constructs a ListOryAccessControlPolicyRolesInternalServerErrorBody from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/ListOryAccessControlPolicyRolesInternalServerErrorBody} obj Optional instance to populate. - * @return {module:model/ListOryAccessControlPolicyRolesInternalServerErrorBody} The populated ListOryAccessControlPolicyRolesInternalServerErrorBody instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - if (data.hasOwnProperty('code')) { - obj['code'] = ApiClient.convertToType(data['code'], 'Number'); - } - if (data.hasOwnProperty('details')) { - obj['details'] = ApiClient.convertToType(data['details'], [{'String': Object}]); - } - if (data.hasOwnProperty('message')) { - obj['message'] = ApiClient.convertToType(data['message'], 'String'); - } - if (data.hasOwnProperty('reason')) { - obj['reason'] = ApiClient.convertToType(data['reason'], 'String'); - } - if (data.hasOwnProperty('request')) { - obj['request'] = ApiClient.convertToType(data['request'], 'String'); - } - if (data.hasOwnProperty('status')) { - obj['status'] = ApiClient.convertToType(data['status'], 'String'); - } - } - return obj; - } - - /** - * code - * @member {Number} code - */ - exports.prototype['code'] = undefined; - /** - * details - * @member {Array.>} details - */ - exports.prototype['details'] = undefined; - /** - * message - * @member {String} message - */ - exports.prototype['message'] = undefined; - /** - * reason - * @member {String} reason - */ - exports.prototype['reason'] = undefined; - /** - * request - * @member {String} request - */ - exports.prototype['request'] = undefined; - /** - * status - * @member {String} status - */ - exports.prototype['status'] = undefined; - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/ListOryAccessControlPolicyRolesOK.js b/sdk/js/swagger/src/model/ListOryAccessControlPolicyRolesOK.js deleted file mode 100644 index 9d95b849b..000000000 --- a/sdk/js/swagger/src/model/ListOryAccessControlPolicyRolesOK.js +++ /dev/null @@ -1,84 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient', 'model/OryAccessControlPolicyRole'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient'), require('./OryAccessControlPolicyRole')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.ListOryAccessControlPolicyRolesOK = factory(root.OryKeto.ApiClient, root.OryKeto.OryAccessControlPolicyRole); - } -}(this, function(ApiClient, OryAccessControlPolicyRole) { - 'use strict'; - - - - - /** - * The ListOryAccessControlPolicyRolesOK model module. - * @module model/ListOryAccessControlPolicyRolesOK - * @version Latest - */ - - /** - * Constructs a new ListOryAccessControlPolicyRolesOK. - * Roles is an array of roles. - * @alias module:model/ListOryAccessControlPolicyRolesOK - * @class - */ - var exports = function() { - var _this = this; - - - }; - - /** - * Constructs a ListOryAccessControlPolicyRolesOK from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/ListOryAccessControlPolicyRolesOK} obj Optional instance to populate. - * @return {module:model/ListOryAccessControlPolicyRolesOK} The populated ListOryAccessControlPolicyRolesOK instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - if (data.hasOwnProperty('Payload')) { - obj['Payload'] = ApiClient.convertToType(data['Payload'], [OryAccessControlPolicyRole]); - } - } - return obj; - } - - /** - * payload - * @member {Array.} Payload - */ - exports.prototype['Payload'] = undefined; - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/ListOryAccessControlPolicyRolesReader.js b/sdk/js/swagger/src/model/ListOryAccessControlPolicyRolesReader.js deleted file mode 100644 index 5d0ce1270..000000000 --- a/sdk/js/swagger/src/model/ListOryAccessControlPolicyRolesReader.js +++ /dev/null @@ -1,74 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.ListOryAccessControlPolicyRolesReader = factory(root.OryKeto.ApiClient); - } -}(this, function(ApiClient) { - 'use strict'; - - - - - /** - * The ListOryAccessControlPolicyRolesReader model module. - * @module model/ListOryAccessControlPolicyRolesReader - * @version Latest - */ - - /** - * Constructs a new ListOryAccessControlPolicyRolesReader. - * @alias module:model/ListOryAccessControlPolicyRolesReader - * @class - */ - var exports = function() { - var _this = this; - - }; - - /** - * Constructs a ListOryAccessControlPolicyRolesReader from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/ListOryAccessControlPolicyRolesReader} obj Optional instance to populate. - * @return {module:model/ListOryAccessControlPolicyRolesReader} The populated ListOryAccessControlPolicyRolesReader instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - } - return obj; - } - - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/OryAccessControlPolicies.js b/sdk/js/swagger/src/model/OryAccessControlPolicies.js deleted file mode 100644 index 037c02567..000000000 --- a/sdk/js/swagger/src/model/OryAccessControlPolicies.js +++ /dev/null @@ -1,83 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient', 'model/OryAccessControlPolicy'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient'), require('./OryAccessControlPolicy')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.OryAccessControlPolicies = factory(root.OryKeto.ApiClient, root.OryKeto.OryAccessControlPolicy); - } -}(this, function(ApiClient, OryAccessControlPolicy) { - 'use strict'; - - - - - /** - * The OryAccessControlPolicies model module. - * @module model/OryAccessControlPolicies - * @version Latest - */ - - /** - * Constructs a new OryAccessControlPolicies. - * @alias module:model/OryAccessControlPolicies - * @class - */ - var exports = function() { - var _this = this; - - - }; - - /** - * Constructs a OryAccessControlPolicies from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/OryAccessControlPolicies} obj Optional instance to populate. - * @return {module:model/OryAccessControlPolicies} The populated OryAccessControlPolicies instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - if (data.hasOwnProperty('Body')) { - obj['Body'] = ApiClient.convertToType(data['Body'], [OryAccessControlPolicy]); - } - } - return obj; - } - - /** - * The request body. in: body type: array - * @member {Array.} Body - */ - exports.prototype['Body'] = undefined; - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/OryAccessControlPolicy.js b/sdk/js/swagger/src/model/OryAccessControlPolicy.js deleted file mode 100644 index 0bd6e398e..000000000 --- a/sdk/js/swagger/src/model/OryAccessControlPolicy.js +++ /dev/null @@ -1,137 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.OryAccessControlPolicy = factory(root.OryKeto.ApiClient); - } -}(this, function(ApiClient) { - 'use strict'; - - - - - /** - * The OryAccessControlPolicy model module. - * @module model/OryAccessControlPolicy - * @version Latest - */ - - /** - * Constructs a new OryAccessControlPolicy. - * @alias module:model/OryAccessControlPolicy - * @class - */ - var exports = function() { - var _this = this; - - - - - - - - - }; - - /** - * Constructs a OryAccessControlPolicy from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/OryAccessControlPolicy} obj Optional instance to populate. - * @return {module:model/OryAccessControlPolicy} The populated OryAccessControlPolicy instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - if (data.hasOwnProperty('actions')) { - obj['actions'] = ApiClient.convertToType(data['actions'], ['String']); - } - if (data.hasOwnProperty('conditions')) { - obj['conditions'] = ApiClient.convertToType(data['conditions'], {'String': Object}); - } - if (data.hasOwnProperty('description')) { - obj['description'] = ApiClient.convertToType(data['description'], 'String'); - } - if (data.hasOwnProperty('effect')) { - obj['effect'] = ApiClient.convertToType(data['effect'], 'String'); - } - if (data.hasOwnProperty('id')) { - obj['id'] = ApiClient.convertToType(data['id'], 'String'); - } - if (data.hasOwnProperty('resources')) { - obj['resources'] = ApiClient.convertToType(data['resources'], ['String']); - } - if (data.hasOwnProperty('subjects')) { - obj['subjects'] = ApiClient.convertToType(data['subjects'], ['String']); - } - } - return obj; - } - - /** - * Actions is an array representing all the actions this ORY Access Policy applies to. - * @member {Array.} actions - */ - exports.prototype['actions'] = undefined; - /** - * Conditions represents a keyed object of conditions under which this ORY Access Policy is active. - * @member {Object.} conditions - */ - exports.prototype['conditions'] = undefined; - /** - * Description is an optional, human-readable description. - * @member {String} description - */ - exports.prototype['description'] = undefined; - /** - * Effect is the effect of this ORY Access Policy. It can be \"allow\" or \"deny\". - * @member {String} effect - */ - exports.prototype['effect'] = undefined; - /** - * ID is the unique identifier of the ORY Access Policy. It is used to query, update, and remove the ORY Access Policy. - * @member {String} id - */ - exports.prototype['id'] = undefined; - /** - * Resources is an array representing all the resources this ORY Access Policy applies to. - * @member {Array.} resources - */ - exports.prototype['resources'] = undefined; - /** - * Subjects is an array representing all the subjects this ORY Access Policy applies to. - * @member {Array.} subjects - */ - exports.prototype['subjects'] = undefined; - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/OryAccessControlPolicyAllowedInput.js b/sdk/js/swagger/src/model/OryAccessControlPolicyAllowedInput.js deleted file mode 100644 index 4e16c21d0..000000000 --- a/sdk/js/swagger/src/model/OryAccessControlPolicyAllowedInput.js +++ /dev/null @@ -1,110 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.OryAccessControlPolicyAllowedInput = factory(root.OryKeto.ApiClient); - } -}(this, function(ApiClient) { - 'use strict'; - - - - - /** - * The OryAccessControlPolicyAllowedInput model module. - * @module model/OryAccessControlPolicyAllowedInput - * @version Latest - */ - - /** - * Constructs a new OryAccessControlPolicyAllowedInput. - * @alias module:model/OryAccessControlPolicyAllowedInput - * @class - */ - var exports = function() { - var _this = this; - - - - - - }; - - /** - * Constructs a OryAccessControlPolicyAllowedInput from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/OryAccessControlPolicyAllowedInput} obj Optional instance to populate. - * @return {module:model/OryAccessControlPolicyAllowedInput} The populated OryAccessControlPolicyAllowedInput instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - if (data.hasOwnProperty('action')) { - obj['action'] = ApiClient.convertToType(data['action'], 'String'); - } - if (data.hasOwnProperty('context')) { - obj['context'] = ApiClient.convertToType(data['context'], {'String': Object}); - } - if (data.hasOwnProperty('resource')) { - obj['resource'] = ApiClient.convertToType(data['resource'], 'String'); - } - if (data.hasOwnProperty('subject')) { - obj['subject'] = ApiClient.convertToType(data['subject'], 'String'); - } - } - return obj; - } - - /** - * Action is the action that is requested on the resource. - * @member {String} action - */ - exports.prototype['action'] = undefined; - /** - * Context is the request's environmental context. - * @member {Object.} context - */ - exports.prototype['context'] = undefined; - /** - * Resource is the resource that access is requested to. - * @member {String} resource - */ - exports.prototype['resource'] = undefined; - /** - * Subject is the subject that is requesting access. - * @member {String} subject - */ - exports.prototype['subject'] = undefined; - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/OryAccessControlPolicyRole.js b/sdk/js/swagger/src/model/OryAccessControlPolicyRole.js deleted file mode 100644 index 46d241777..000000000 --- a/sdk/js/swagger/src/model/OryAccessControlPolicyRole.js +++ /dev/null @@ -1,93 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.OryAccessControlPolicyRole = factory(root.OryKeto.ApiClient); - } -}(this, function(ApiClient) { - 'use strict'; - - - - - /** - * The OryAccessControlPolicyRole model module. - * @module model/OryAccessControlPolicyRole - * @version Latest - */ - - /** - * Constructs a new OryAccessControlPolicyRole. - * oryAccessControlPolicyRole represents a group of users that share the same role. A role could be an administrator, a moderator, a regular user or some other sort of role. - * @alias module:model/OryAccessControlPolicyRole - * @class - */ - var exports = function() { - var _this = this; - - - - }; - - /** - * Constructs a OryAccessControlPolicyRole from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/OryAccessControlPolicyRole} obj Optional instance to populate. - * @return {module:model/OryAccessControlPolicyRole} The populated OryAccessControlPolicyRole instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - if (data.hasOwnProperty('id')) { - obj['id'] = ApiClient.convertToType(data['id'], 'String'); - } - if (data.hasOwnProperty('members')) { - obj['members'] = ApiClient.convertToType(data['members'], ['String']); - } - } - return obj; - } - - /** - * ID is the role's unique id. - * @member {String} id - */ - exports.prototype['id'] = undefined; - /** - * Members is who belongs to the role. - * @member {Array.} members - */ - exports.prototype['members'] = undefined; - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/OryAccessControlPolicyRoles.js b/sdk/js/swagger/src/model/OryAccessControlPolicyRoles.js deleted file mode 100644 index 491ecb154..000000000 --- a/sdk/js/swagger/src/model/OryAccessControlPolicyRoles.js +++ /dev/null @@ -1,83 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient', 'model/OryAccessControlPolicyRole'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient'), require('./OryAccessControlPolicyRole')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.OryAccessControlPolicyRoles = factory(root.OryKeto.ApiClient, root.OryKeto.OryAccessControlPolicyRole); - } -}(this, function(ApiClient, OryAccessControlPolicyRole) { - 'use strict'; - - - - - /** - * The OryAccessControlPolicyRoles model module. - * @module model/OryAccessControlPolicyRoles - * @version Latest - */ - - /** - * Constructs a new OryAccessControlPolicyRoles. - * @alias module:model/OryAccessControlPolicyRoles - * @class - */ - var exports = function() { - var _this = this; - - - }; - - /** - * Constructs a OryAccessControlPolicyRoles from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/OryAccessControlPolicyRoles} obj Optional instance to populate. - * @return {module:model/OryAccessControlPolicyRoles} The populated OryAccessControlPolicyRoles instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - if (data.hasOwnProperty('Body')) { - obj['Body'] = ApiClient.convertToType(data['Body'], [OryAccessControlPolicyRole]); - } - } - return obj; - } - - /** - * The request body. in: body type: array - * @member {Array.} Body - */ - exports.prototype['Body'] = undefined; - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/Policies.js b/sdk/js/swagger/src/model/Policies.js deleted file mode 100644 index 8b8ae9d6b..000000000 --- a/sdk/js/swagger/src/model/Policies.js +++ /dev/null @@ -1,79 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient', 'model/Policy'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient'), require('./Policy')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.Policies = factory(root.OryKeto.ApiClient, root.OryKeto.Policy); - } -}(this, function(ApiClient, Policy) { - 'use strict'; - - - - - /** - * The Policies model module. - * @module model/Policies - * @version Latest - */ - - /** - * Constructs a new Policies. - * @alias module:model/Policies - * @class - * @extends Array - */ - var exports = function() { - var _this = this; - _this = new Array(); - Object.setPrototypeOf(_this, exports); - - return _this; - }; - - /** - * Constructs a Policies from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/Policies} obj Optional instance to populate. - * @return {module:model/Policies} The populated Policies instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - ApiClient.constructFromObject(data, obj, 'Policy'); - - } - return obj; - } - - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/Policy.js b/sdk/js/swagger/src/model/Policy.js deleted file mode 100644 index 7067e499a..000000000 --- a/sdk/js/swagger/src/model/Policy.js +++ /dev/null @@ -1,137 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.Policy = factory(root.OryKeto.ApiClient); - } -}(this, function(ApiClient) { - 'use strict'; - - - - - /** - * The Policy model module. - * @module model/Policy - * @version Latest - */ - - /** - * Constructs a new Policy. - * @alias module:model/Policy - * @class - */ - var exports = function() { - var _this = this; - - - - - - - - - }; - - /** - * Constructs a Policy from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/Policy} obj Optional instance to populate. - * @return {module:model/Policy} The populated Policy instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - if (data.hasOwnProperty('actions')) { - obj['actions'] = ApiClient.convertToType(data['actions'], ['String']); - } - if (data.hasOwnProperty('conditions')) { - obj['conditions'] = ApiClient.convertToType(data['conditions'], {'String': Object}); - } - if (data.hasOwnProperty('description')) { - obj['description'] = ApiClient.convertToType(data['description'], 'String'); - } - if (data.hasOwnProperty('effect')) { - obj['effect'] = ApiClient.convertToType(data['effect'], 'String'); - } - if (data.hasOwnProperty('id')) { - obj['id'] = ApiClient.convertToType(data['id'], 'String'); - } - if (data.hasOwnProperty('resources')) { - obj['resources'] = ApiClient.convertToType(data['resources'], ['String']); - } - if (data.hasOwnProperty('subjects')) { - obj['subjects'] = ApiClient.convertToType(data['subjects'], ['String']); - } - } - return obj; - } - - /** - * Actions is an array representing all the actions this ORY Access Policy applies to. - * @member {Array.} actions - */ - exports.prototype['actions'] = undefined; - /** - * Conditions represents a keyed object of conditions under which this ORY Access Policy is active. - * @member {Object.} conditions - */ - exports.prototype['conditions'] = undefined; - /** - * Description is an optional, human-readable description. - * @member {String} description - */ - exports.prototype['description'] = undefined; - /** - * Effect is the effect of this ORY Access Policy. It can be \"allow\" or \"deny\". - * @member {String} effect - */ - exports.prototype['effect'] = undefined; - /** - * ID is the unique identifier of the ORY Access Policy. It is used to query, update, and remove the ORY Access Policy. - * @member {String} id - */ - exports.prototype['id'] = undefined; - /** - * Resources is an array representing all the resources this ORY Access Policy applies to. - * @member {Array.} resources - */ - exports.prototype['resources'] = undefined; - /** - * Subjects is an array representing all the subjects this ORY Access Policy applies to. - * @member {Array.} subjects - */ - exports.prototype['subjects'] = undefined; - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/RemoveOryAccessControlPolicyRoleMembers.js b/sdk/js/swagger/src/model/RemoveOryAccessControlPolicyRoleMembers.js deleted file mode 100644 index 51dee47a1..000000000 --- a/sdk/js/swagger/src/model/RemoveOryAccessControlPolicyRoleMembers.js +++ /dev/null @@ -1,105 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.RemoveOryAccessControlPolicyRoleMembers = factory(root.OryKeto.ApiClient); - } -}(this, function(ApiClient) { - 'use strict'; - - - - - /** - * The RemoveOryAccessControlPolicyRoleMembers model module. - * @module model/RemoveOryAccessControlPolicyRoleMembers - * @version Latest - */ - - /** - * Constructs a new RemoveOryAccessControlPolicyRoleMembers. - * RemoveOryAccessControlPolicyRoleMembers remove ory access control policy role members - * @alias module:model/RemoveOryAccessControlPolicyRoleMembers - * @class - * @param flavor {String} The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". in: path - * @param id {String} The ID of the ORY Access Control Policy Role. in: path - * @param member {String} The member to be removed. in: path - */ - var exports = function(flavor, id, member) { - var _this = this; - - _this['flavor'] = flavor; - _this['id'] = id; - _this['member'] = member; - }; - - /** - * Constructs a RemoveOryAccessControlPolicyRoleMembers from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/RemoveOryAccessControlPolicyRoleMembers} obj Optional instance to populate. - * @return {module:model/RemoveOryAccessControlPolicyRoleMembers} The populated RemoveOryAccessControlPolicyRoleMembers instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - if (data.hasOwnProperty('flavor')) { - obj['flavor'] = ApiClient.convertToType(data['flavor'], 'String'); - } - if (data.hasOwnProperty('id')) { - obj['id'] = ApiClient.convertToType(data['id'], 'String'); - } - if (data.hasOwnProperty('member')) { - obj['member'] = ApiClient.convertToType(data['member'], 'String'); - } - } - return obj; - } - - /** - * The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". in: path - * @member {String} flavor - */ - exports.prototype['flavor'] = undefined; - /** - * The ID of the ORY Access Control Policy Role. in: path - * @member {String} id - */ - exports.prototype['id'] = undefined; - /** - * The member to be removed. in: path - * @member {String} member - */ - exports.prototype['member'] = undefined; - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/RemoveOryAccessControlPolicyRoleMembersCreated.js b/sdk/js/swagger/src/model/RemoveOryAccessControlPolicyRoleMembersCreated.js deleted file mode 100644 index aafcc5ce6..000000000 --- a/sdk/js/swagger/src/model/RemoveOryAccessControlPolicyRoleMembersCreated.js +++ /dev/null @@ -1,75 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.RemoveOryAccessControlPolicyRoleMembersCreated = factory(root.OryKeto.ApiClient); - } -}(this, function(ApiClient) { - 'use strict'; - - - - - /** - * The RemoveOryAccessControlPolicyRoleMembersCreated model module. - * @module model/RemoveOryAccessControlPolicyRoleMembersCreated - * @version Latest - */ - - /** - * Constructs a new RemoveOryAccessControlPolicyRoleMembersCreated. - * An empty response - * @alias module:model/RemoveOryAccessControlPolicyRoleMembersCreated - * @class - */ - var exports = function() { - var _this = this; - - }; - - /** - * Constructs a RemoveOryAccessControlPolicyRoleMembersCreated from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/RemoveOryAccessControlPolicyRoleMembersCreated} obj Optional instance to populate. - * @return {module:model/RemoveOryAccessControlPolicyRoleMembersCreated} The populated RemoveOryAccessControlPolicyRoleMembersCreated instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - } - return obj; - } - - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/RemoveOryAccessControlPolicyRoleMembersInternalServerError.js b/sdk/js/swagger/src/model/RemoveOryAccessControlPolicyRoleMembersInternalServerError.js deleted file mode 100644 index a737fbb82..000000000 --- a/sdk/js/swagger/src/model/RemoveOryAccessControlPolicyRoleMembersInternalServerError.js +++ /dev/null @@ -1,83 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient', 'model/RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient'), require('./RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.RemoveOryAccessControlPolicyRoleMembersInternalServerError = factory(root.OryKeto.ApiClient, root.OryKeto.RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody); - } -}(this, function(ApiClient, RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody) { - 'use strict'; - - - - - /** - * The RemoveOryAccessControlPolicyRoleMembersInternalServerError model module. - * @module model/RemoveOryAccessControlPolicyRoleMembersInternalServerError - * @version Latest - */ - - /** - * Constructs a new RemoveOryAccessControlPolicyRoleMembersInternalServerError. - * The standard error format - * @alias module:model/RemoveOryAccessControlPolicyRoleMembersInternalServerError - * @class - */ - var exports = function() { - var _this = this; - - - }; - - /** - * Constructs a RemoveOryAccessControlPolicyRoleMembersInternalServerError from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/RemoveOryAccessControlPolicyRoleMembersInternalServerError} obj Optional instance to populate. - * @return {module:model/RemoveOryAccessControlPolicyRoleMembersInternalServerError} The populated RemoveOryAccessControlPolicyRoleMembersInternalServerError instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - if (data.hasOwnProperty('Payload')) { - obj['Payload'] = RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody.constructFromObject(data['Payload']); - } - } - return obj; - } - - /** - * @member {module:model/RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody} Payload - */ - exports.prototype['Payload'] = undefined; - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody.js b/sdk/js/swagger/src/model/RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody.js deleted file mode 100644 index 642b21ce2..000000000 --- a/sdk/js/swagger/src/model/RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody.js +++ /dev/null @@ -1,129 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody = factory(root.OryKeto.ApiClient); - } -}(this, function(ApiClient) { - 'use strict'; - - - - - /** - * The RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody model module. - * @module model/RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody - * @version Latest - */ - - /** - * Constructs a new RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody. - * RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody remove ory access control policy role members internal server error body - * @alias module:model/RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody - * @class - */ - var exports = function() { - var _this = this; - - - - - - - - }; - - /** - * Constructs a RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody} obj Optional instance to populate. - * @return {module:model/RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody} The populated RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - if (data.hasOwnProperty('code')) { - obj['code'] = ApiClient.convertToType(data['code'], 'Number'); - } - if (data.hasOwnProperty('details')) { - obj['details'] = ApiClient.convertToType(data['details'], [{'String': Object}]); - } - if (data.hasOwnProperty('message')) { - obj['message'] = ApiClient.convertToType(data['message'], 'String'); - } - if (data.hasOwnProperty('reason')) { - obj['reason'] = ApiClient.convertToType(data['reason'], 'String'); - } - if (data.hasOwnProperty('request')) { - obj['request'] = ApiClient.convertToType(data['request'], 'String'); - } - if (data.hasOwnProperty('status')) { - obj['status'] = ApiClient.convertToType(data['status'], 'String'); - } - } - return obj; - } - - /** - * code - * @member {Number} code - */ - exports.prototype['code'] = undefined; - /** - * details - * @member {Array.>} details - */ - exports.prototype['details'] = undefined; - /** - * message - * @member {String} message - */ - exports.prototype['message'] = undefined; - /** - * reason - * @member {String} reason - */ - exports.prototype['reason'] = undefined; - /** - * request - * @member {String} request - */ - exports.prototype['request'] = undefined; - /** - * status - * @member {String} status - */ - exports.prototype['status'] = undefined; - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/RemoveOryAccessControlPolicyRoleMembersReader.js b/sdk/js/swagger/src/model/RemoveOryAccessControlPolicyRoleMembersReader.js deleted file mode 100644 index 771c8331a..000000000 --- a/sdk/js/swagger/src/model/RemoveOryAccessControlPolicyRoleMembersReader.js +++ /dev/null @@ -1,74 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.RemoveOryAccessControlPolicyRoleMembersReader = factory(root.OryKeto.ApiClient); - } -}(this, function(ApiClient) { - 'use strict'; - - - - - /** - * The RemoveOryAccessControlPolicyRoleMembersReader model module. - * @module model/RemoveOryAccessControlPolicyRoleMembersReader - * @version Latest - */ - - /** - * Constructs a new RemoveOryAccessControlPolicyRoleMembersReader. - * @alias module:model/RemoveOryAccessControlPolicyRoleMembersReader - * @class - */ - var exports = function() { - var _this = this; - - }; - - /** - * Constructs a RemoveOryAccessControlPolicyRoleMembersReader from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/RemoveOryAccessControlPolicyRoleMembersReader} obj Optional instance to populate. - * @return {module:model/RemoveOryAccessControlPolicyRoleMembersReader} The populated RemoveOryAccessControlPolicyRoleMembersReader instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - } - return obj; - } - - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/Role.js b/sdk/js/swagger/src/model/Role.js deleted file mode 100644 index 46fb1c293..000000000 --- a/sdk/js/swagger/src/model/Role.js +++ /dev/null @@ -1,93 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.Role = factory(root.OryKeto.ApiClient); - } -}(this, function(ApiClient) { - 'use strict'; - - - - - /** - * The Role model module. - * @module model/Role - * @version Latest - */ - - /** - * Constructs a new Role. - * Role Role Role Role Role Role Role Role Role represents a group of users that share the same role. A role could be an administrator, a moderator, a regular user or some other sort of role. - * @alias module:model/Role - * @class - */ - var exports = function() { - var _this = this; - - - - }; - - /** - * Constructs a Role from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/Role} obj Optional instance to populate. - * @return {module:model/Role} The populated Role instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - if (data.hasOwnProperty('id')) { - obj['id'] = ApiClient.convertToType(data['id'], 'String'); - } - if (data.hasOwnProperty('members')) { - obj['members'] = ApiClient.convertToType(data['members'], ['String']); - } - } - return obj; - } - - /** - * ID is the role's unique id. - * @member {String} id - */ - exports.prototype['id'] = undefined; - /** - * Members is who belongs to the role. - * @member {Array.} members - */ - exports.prototype['members'] = undefined; - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/Roles.js b/sdk/js/swagger/src/model/Roles.js deleted file mode 100644 index 16eda18a3..000000000 --- a/sdk/js/swagger/src/model/Roles.js +++ /dev/null @@ -1,79 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient', 'model/Role'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient'), require('./Role')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.Roles = factory(root.OryKeto.ApiClient, root.OryKeto.Role); - } -}(this, function(ApiClient, Role) { - 'use strict'; - - - - - /** - * The Roles model module. - * @module model/Roles - * @version Latest - */ - - /** - * Constructs a new Roles. - * @alias module:model/Roles - * @class - * @extends Array - */ - var exports = function() { - var _this = this; - _this = new Array(); - Object.setPrototypeOf(_this, exports); - - return _this; - }; - - /** - * Constructs a Roles from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/Roles} obj Optional instance to populate. - * @return {module:model/Roles} The populated Roles instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - ApiClient.constructFromObject(data, obj, 'Role'); - - } - return obj; - } - - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/SwaggerHealthStatus.js b/sdk/js/swagger/src/model/SwaggerHealthStatus.js deleted file mode 100644 index 764e37d6d..000000000 --- a/sdk/js/swagger/src/model/SwaggerHealthStatus.js +++ /dev/null @@ -1,84 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.SwaggerHealthStatus = factory(root.OryKeto.ApiClient); - } -}(this, function(ApiClient) { - 'use strict'; - - - - - /** - * The SwaggerHealthStatus model module. - * @module model/SwaggerHealthStatus - * @version Latest - */ - - /** - * Constructs a new SwaggerHealthStatus. - * SwaggerHealthStatus swagger health status - * @alias module:model/SwaggerHealthStatus - * @class - */ - var exports = function() { - var _this = this; - - - }; - - /** - * Constructs a SwaggerHealthStatus from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/SwaggerHealthStatus} obj Optional instance to populate. - * @return {module:model/SwaggerHealthStatus} The populated SwaggerHealthStatus instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - if (data.hasOwnProperty('status')) { - obj['status'] = ApiClient.convertToType(data['status'], 'String'); - } - } - return obj; - } - - /** - * Status always contains \"ok\". - * @member {String} status - */ - exports.prototype['status'] = undefined; - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/SwaggerNotReadyStatus.js b/sdk/js/swagger/src/model/SwaggerNotReadyStatus.js deleted file mode 100644 index 71e1f906c..000000000 --- a/sdk/js/swagger/src/model/SwaggerNotReadyStatus.js +++ /dev/null @@ -1,84 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.SwaggerNotReadyStatus = factory(root.OryKeto.ApiClient); - } -}(this, function(ApiClient) { - 'use strict'; - - - - - /** - * The SwaggerNotReadyStatus model module. - * @module model/SwaggerNotReadyStatus - * @version Latest - */ - - /** - * Constructs a new SwaggerNotReadyStatus. - * SwaggerNotReadyStatus swagger not ready status - * @alias module:model/SwaggerNotReadyStatus - * @class - */ - var exports = function() { - var _this = this; - - - }; - - /** - * Constructs a SwaggerNotReadyStatus from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/SwaggerNotReadyStatus} obj Optional instance to populate. - * @return {module:model/SwaggerNotReadyStatus} The populated SwaggerNotReadyStatus instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - if (data.hasOwnProperty('errors')) { - obj['errors'] = ApiClient.convertToType(data['errors'], {'String': 'String'}); - } - } - return obj; - } - - /** - * Errors contains a list of errors that caused the not ready status. - * @member {Object.} errors - */ - exports.prototype['errors'] = undefined; - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/SwaggerVersion.js b/sdk/js/swagger/src/model/SwaggerVersion.js deleted file mode 100644 index 7d55431fd..000000000 --- a/sdk/js/swagger/src/model/SwaggerVersion.js +++ /dev/null @@ -1,84 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.SwaggerVersion = factory(root.OryKeto.ApiClient); - } -}(this, function(ApiClient) { - 'use strict'; - - - - - /** - * The SwaggerVersion model module. - * @module model/SwaggerVersion - * @version Latest - */ - - /** - * Constructs a new SwaggerVersion. - * SwaggerVersion swagger version - * @alias module:model/SwaggerVersion - * @class - */ - var exports = function() { - var _this = this; - - - }; - - /** - * Constructs a SwaggerVersion from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/SwaggerVersion} obj Optional instance to populate. - * @return {module:model/SwaggerVersion} The populated SwaggerVersion instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - if (data.hasOwnProperty('version')) { - obj['version'] = ApiClient.convertToType(data['version'], 'String'); - } - } - return obj; - } - - /** - * Version is the service's version. - * @member {String} version - */ - exports.prototype['version'] = undefined; - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/UpsertOryAccessControlPolicy.js b/sdk/js/swagger/src/model/UpsertOryAccessControlPolicy.js deleted file mode 100644 index 0c132fabb..000000000 --- a/sdk/js/swagger/src/model/UpsertOryAccessControlPolicy.js +++ /dev/null @@ -1,93 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient', 'model/OryAccessControlPolicy'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient'), require('./OryAccessControlPolicy')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.UpsertOryAccessControlPolicy = factory(root.OryKeto.ApiClient, root.OryKeto.OryAccessControlPolicy); - } -}(this, function(ApiClient, OryAccessControlPolicy) { - 'use strict'; - - - - - /** - * The UpsertOryAccessControlPolicy model module. - * @module model/UpsertOryAccessControlPolicy - * @version Latest - */ - - /** - * Constructs a new UpsertOryAccessControlPolicy. - * UpsertOryAccessControlPolicy upsert ory access control policy - * @alias module:model/UpsertOryAccessControlPolicy - * @class - * @param flavor {String} The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". in: path - */ - var exports = function(flavor) { - var _this = this; - - - _this['flavor'] = flavor; - }; - - /** - * Constructs a UpsertOryAccessControlPolicy from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/UpsertOryAccessControlPolicy} obj Optional instance to populate. - * @return {module:model/UpsertOryAccessControlPolicy} The populated UpsertOryAccessControlPolicy instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - if (data.hasOwnProperty('Body')) { - obj['Body'] = OryAccessControlPolicy.constructFromObject(data['Body']); - } - if (data.hasOwnProperty('flavor')) { - obj['flavor'] = ApiClient.convertToType(data['flavor'], 'String'); - } - } - return obj; - } - - /** - * @member {module:model/OryAccessControlPolicy} Body - */ - exports.prototype['Body'] = undefined; - /** - * The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". in: path - * @member {String} flavor - */ - exports.prototype['flavor'] = undefined; - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/UpsertOryAccessControlPolicyInternalServerError.js b/sdk/js/swagger/src/model/UpsertOryAccessControlPolicyInternalServerError.js deleted file mode 100644 index a5f71f2c8..000000000 --- a/sdk/js/swagger/src/model/UpsertOryAccessControlPolicyInternalServerError.js +++ /dev/null @@ -1,83 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient', 'model/UpsertOryAccessControlPolicyInternalServerErrorBody'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient'), require('./UpsertOryAccessControlPolicyInternalServerErrorBody')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.UpsertOryAccessControlPolicyInternalServerError = factory(root.OryKeto.ApiClient, root.OryKeto.UpsertOryAccessControlPolicyInternalServerErrorBody); - } -}(this, function(ApiClient, UpsertOryAccessControlPolicyInternalServerErrorBody) { - 'use strict'; - - - - - /** - * The UpsertOryAccessControlPolicyInternalServerError model module. - * @module model/UpsertOryAccessControlPolicyInternalServerError - * @version Latest - */ - - /** - * Constructs a new UpsertOryAccessControlPolicyInternalServerError. - * The standard error format - * @alias module:model/UpsertOryAccessControlPolicyInternalServerError - * @class - */ - var exports = function() { - var _this = this; - - - }; - - /** - * Constructs a UpsertOryAccessControlPolicyInternalServerError from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/UpsertOryAccessControlPolicyInternalServerError} obj Optional instance to populate. - * @return {module:model/UpsertOryAccessControlPolicyInternalServerError} The populated UpsertOryAccessControlPolicyInternalServerError instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - if (data.hasOwnProperty('Payload')) { - obj['Payload'] = UpsertOryAccessControlPolicyInternalServerErrorBody.constructFromObject(data['Payload']); - } - } - return obj; - } - - /** - * @member {module:model/UpsertOryAccessControlPolicyInternalServerErrorBody} Payload - */ - exports.prototype['Payload'] = undefined; - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/UpsertOryAccessControlPolicyInternalServerErrorBody.js b/sdk/js/swagger/src/model/UpsertOryAccessControlPolicyInternalServerErrorBody.js deleted file mode 100644 index 7b2f71fe9..000000000 --- a/sdk/js/swagger/src/model/UpsertOryAccessControlPolicyInternalServerErrorBody.js +++ /dev/null @@ -1,129 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.UpsertOryAccessControlPolicyInternalServerErrorBody = factory(root.OryKeto.ApiClient); - } -}(this, function(ApiClient) { - 'use strict'; - - - - - /** - * The UpsertOryAccessControlPolicyInternalServerErrorBody model module. - * @module model/UpsertOryAccessControlPolicyInternalServerErrorBody - * @version Latest - */ - - /** - * Constructs a new UpsertOryAccessControlPolicyInternalServerErrorBody. - * UpsertOryAccessControlPolicyInternalServerErrorBody UpsertOryAccessControlPolicyInternalServerErrorBody UpsertOryAccessControlPolicyInternalServerErrorBody upsert ory access control policy internal server error body - * @alias module:model/UpsertOryAccessControlPolicyInternalServerErrorBody - * @class - */ - var exports = function() { - var _this = this; - - - - - - - - }; - - /** - * Constructs a UpsertOryAccessControlPolicyInternalServerErrorBody from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/UpsertOryAccessControlPolicyInternalServerErrorBody} obj Optional instance to populate. - * @return {module:model/UpsertOryAccessControlPolicyInternalServerErrorBody} The populated UpsertOryAccessControlPolicyInternalServerErrorBody instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - if (data.hasOwnProperty('code')) { - obj['code'] = ApiClient.convertToType(data['code'], 'Number'); - } - if (data.hasOwnProperty('details')) { - obj['details'] = ApiClient.convertToType(data['details'], [{'String': Object}]); - } - if (data.hasOwnProperty('message')) { - obj['message'] = ApiClient.convertToType(data['message'], 'String'); - } - if (data.hasOwnProperty('reason')) { - obj['reason'] = ApiClient.convertToType(data['reason'], 'String'); - } - if (data.hasOwnProperty('request')) { - obj['request'] = ApiClient.convertToType(data['request'], 'String'); - } - if (data.hasOwnProperty('status')) { - obj['status'] = ApiClient.convertToType(data['status'], 'String'); - } - } - return obj; - } - - /** - * code - * @member {Number} code - */ - exports.prototype['code'] = undefined; - /** - * details - * @member {Array.>} details - */ - exports.prototype['details'] = undefined; - /** - * message - * @member {String} message - */ - exports.prototype['message'] = undefined; - /** - * reason - * @member {String} reason - */ - exports.prototype['reason'] = undefined; - /** - * request - * @member {String} request - */ - exports.prototype['request'] = undefined; - /** - * status - * @member {String} status - */ - exports.prototype['status'] = undefined; - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/UpsertOryAccessControlPolicyOK.js b/sdk/js/swagger/src/model/UpsertOryAccessControlPolicyOK.js deleted file mode 100644 index da51ad58c..000000000 --- a/sdk/js/swagger/src/model/UpsertOryAccessControlPolicyOK.js +++ /dev/null @@ -1,83 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient', 'model/OryAccessControlPolicy'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient'), require('./OryAccessControlPolicy')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.UpsertOryAccessControlPolicyOK = factory(root.OryKeto.ApiClient, root.OryKeto.OryAccessControlPolicy); - } -}(this, function(ApiClient, OryAccessControlPolicy) { - 'use strict'; - - - - - /** - * The UpsertOryAccessControlPolicyOK model module. - * @module model/UpsertOryAccessControlPolicyOK - * @version Latest - */ - - /** - * Constructs a new UpsertOryAccessControlPolicyOK. - * oryAccessControlPolicy - * @alias module:model/UpsertOryAccessControlPolicyOK - * @class - */ - var exports = function() { - var _this = this; - - - }; - - /** - * Constructs a UpsertOryAccessControlPolicyOK from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/UpsertOryAccessControlPolicyOK} obj Optional instance to populate. - * @return {module:model/UpsertOryAccessControlPolicyOK} The populated UpsertOryAccessControlPolicyOK instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - if (data.hasOwnProperty('Payload')) { - obj['Payload'] = OryAccessControlPolicy.constructFromObject(data['Payload']); - } - } - return obj; - } - - /** - * @member {module:model/OryAccessControlPolicy} Payload - */ - exports.prototype['Payload'] = undefined; - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/UpsertOryAccessControlPolicyReader.js b/sdk/js/swagger/src/model/UpsertOryAccessControlPolicyReader.js deleted file mode 100644 index 69c983471..000000000 --- a/sdk/js/swagger/src/model/UpsertOryAccessControlPolicyReader.js +++ /dev/null @@ -1,74 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.UpsertOryAccessControlPolicyReader = factory(root.OryKeto.ApiClient); - } -}(this, function(ApiClient) { - 'use strict'; - - - - - /** - * The UpsertOryAccessControlPolicyReader model module. - * @module model/UpsertOryAccessControlPolicyReader - * @version Latest - */ - - /** - * Constructs a new UpsertOryAccessControlPolicyReader. - * @alias module:model/UpsertOryAccessControlPolicyReader - * @class - */ - var exports = function() { - var _this = this; - - }; - - /** - * Constructs a UpsertOryAccessControlPolicyReader from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/UpsertOryAccessControlPolicyReader} obj Optional instance to populate. - * @return {module:model/UpsertOryAccessControlPolicyReader} The populated UpsertOryAccessControlPolicyReader instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - } - return obj; - } - - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/UpsertOryAccessControlPolicyRole.js b/sdk/js/swagger/src/model/UpsertOryAccessControlPolicyRole.js deleted file mode 100644 index 14a95d830..000000000 --- a/sdk/js/swagger/src/model/UpsertOryAccessControlPolicyRole.js +++ /dev/null @@ -1,93 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient', 'model/OryAccessControlPolicyRole'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient'), require('./OryAccessControlPolicyRole')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.UpsertOryAccessControlPolicyRole = factory(root.OryKeto.ApiClient, root.OryKeto.OryAccessControlPolicyRole); - } -}(this, function(ApiClient, OryAccessControlPolicyRole) { - 'use strict'; - - - - - /** - * The UpsertOryAccessControlPolicyRole model module. - * @module model/UpsertOryAccessControlPolicyRole - * @version Latest - */ - - /** - * Constructs a new UpsertOryAccessControlPolicyRole. - * UpsertOryAccessControlPolicyRole upsert ory access control policy role - * @alias module:model/UpsertOryAccessControlPolicyRole - * @class - * @param flavor {String} The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". in: path - */ - var exports = function(flavor) { - var _this = this; - - - _this['flavor'] = flavor; - }; - - /** - * Constructs a UpsertOryAccessControlPolicyRole from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/UpsertOryAccessControlPolicyRole} obj Optional instance to populate. - * @return {module:model/UpsertOryAccessControlPolicyRole} The populated UpsertOryAccessControlPolicyRole instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - if (data.hasOwnProperty('Body')) { - obj['Body'] = OryAccessControlPolicyRole.constructFromObject(data['Body']); - } - if (data.hasOwnProperty('flavor')) { - obj['flavor'] = ApiClient.convertToType(data['flavor'], 'String'); - } - } - return obj; - } - - /** - * @member {module:model/OryAccessControlPolicyRole} Body - */ - exports.prototype['Body'] = undefined; - /** - * The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". in: path - * @member {String} flavor - */ - exports.prototype['flavor'] = undefined; - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/UpsertOryAccessControlPolicyRoleInternalServerError.js b/sdk/js/swagger/src/model/UpsertOryAccessControlPolicyRoleInternalServerError.js deleted file mode 100644 index 33b735ef9..000000000 --- a/sdk/js/swagger/src/model/UpsertOryAccessControlPolicyRoleInternalServerError.js +++ /dev/null @@ -1,83 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient', 'model/UpsertOryAccessControlPolicyRoleInternalServerErrorBody'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient'), require('./UpsertOryAccessControlPolicyRoleInternalServerErrorBody')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.UpsertOryAccessControlPolicyRoleInternalServerError = factory(root.OryKeto.ApiClient, root.OryKeto.UpsertOryAccessControlPolicyRoleInternalServerErrorBody); - } -}(this, function(ApiClient, UpsertOryAccessControlPolicyRoleInternalServerErrorBody) { - 'use strict'; - - - - - /** - * The UpsertOryAccessControlPolicyRoleInternalServerError model module. - * @module model/UpsertOryAccessControlPolicyRoleInternalServerError - * @version Latest - */ - - /** - * Constructs a new UpsertOryAccessControlPolicyRoleInternalServerError. - * The standard error format - * @alias module:model/UpsertOryAccessControlPolicyRoleInternalServerError - * @class - */ - var exports = function() { - var _this = this; - - - }; - - /** - * Constructs a UpsertOryAccessControlPolicyRoleInternalServerError from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/UpsertOryAccessControlPolicyRoleInternalServerError} obj Optional instance to populate. - * @return {module:model/UpsertOryAccessControlPolicyRoleInternalServerError} The populated UpsertOryAccessControlPolicyRoleInternalServerError instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - if (data.hasOwnProperty('Payload')) { - obj['Payload'] = UpsertOryAccessControlPolicyRoleInternalServerErrorBody.constructFromObject(data['Payload']); - } - } - return obj; - } - - /** - * @member {module:model/UpsertOryAccessControlPolicyRoleInternalServerErrorBody} Payload - */ - exports.prototype['Payload'] = undefined; - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/UpsertOryAccessControlPolicyRoleInternalServerErrorBody.js b/sdk/js/swagger/src/model/UpsertOryAccessControlPolicyRoleInternalServerErrorBody.js deleted file mode 100644 index 0b83a6391..000000000 --- a/sdk/js/swagger/src/model/UpsertOryAccessControlPolicyRoleInternalServerErrorBody.js +++ /dev/null @@ -1,129 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.UpsertOryAccessControlPolicyRoleInternalServerErrorBody = factory(root.OryKeto.ApiClient); - } -}(this, function(ApiClient) { - 'use strict'; - - - - - /** - * The UpsertOryAccessControlPolicyRoleInternalServerErrorBody model module. - * @module model/UpsertOryAccessControlPolicyRoleInternalServerErrorBody - * @version Latest - */ - - /** - * Constructs a new UpsertOryAccessControlPolicyRoleInternalServerErrorBody. - * UpsertOryAccessControlPolicyRoleInternalServerErrorBody upsert ory access control policy role internal server error body - * @alias module:model/UpsertOryAccessControlPolicyRoleInternalServerErrorBody - * @class - */ - var exports = function() { - var _this = this; - - - - - - - - }; - - /** - * Constructs a UpsertOryAccessControlPolicyRoleInternalServerErrorBody from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/UpsertOryAccessControlPolicyRoleInternalServerErrorBody} obj Optional instance to populate. - * @return {module:model/UpsertOryAccessControlPolicyRoleInternalServerErrorBody} The populated UpsertOryAccessControlPolicyRoleInternalServerErrorBody instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - if (data.hasOwnProperty('code')) { - obj['code'] = ApiClient.convertToType(data['code'], 'Number'); - } - if (data.hasOwnProperty('details')) { - obj['details'] = ApiClient.convertToType(data['details'], [{'String': Object}]); - } - if (data.hasOwnProperty('message')) { - obj['message'] = ApiClient.convertToType(data['message'], 'String'); - } - if (data.hasOwnProperty('reason')) { - obj['reason'] = ApiClient.convertToType(data['reason'], 'String'); - } - if (data.hasOwnProperty('request')) { - obj['request'] = ApiClient.convertToType(data['request'], 'String'); - } - if (data.hasOwnProperty('status')) { - obj['status'] = ApiClient.convertToType(data['status'], 'String'); - } - } - return obj; - } - - /** - * code - * @member {Number} code - */ - exports.prototype['code'] = undefined; - /** - * details - * @member {Array.>} details - */ - exports.prototype['details'] = undefined; - /** - * message - * @member {String} message - */ - exports.prototype['message'] = undefined; - /** - * reason - * @member {String} reason - */ - exports.prototype['reason'] = undefined; - /** - * request - * @member {String} request - */ - exports.prototype['request'] = undefined; - /** - * status - * @member {String} status - */ - exports.prototype['status'] = undefined; - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/UpsertOryAccessControlPolicyRoleOK.js b/sdk/js/swagger/src/model/UpsertOryAccessControlPolicyRoleOK.js deleted file mode 100644 index 8e3119ba7..000000000 --- a/sdk/js/swagger/src/model/UpsertOryAccessControlPolicyRoleOK.js +++ /dev/null @@ -1,83 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient', 'model/OryAccessControlPolicyRole'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient'), require('./OryAccessControlPolicyRole')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.UpsertOryAccessControlPolicyRoleOK = factory(root.OryKeto.ApiClient, root.OryKeto.OryAccessControlPolicyRole); - } -}(this, function(ApiClient, OryAccessControlPolicyRole) { - 'use strict'; - - - - - /** - * The UpsertOryAccessControlPolicyRoleOK model module. - * @module model/UpsertOryAccessControlPolicyRoleOK - * @version Latest - */ - - /** - * Constructs a new UpsertOryAccessControlPolicyRoleOK. - * oryAccessControlPolicyRole - * @alias module:model/UpsertOryAccessControlPolicyRoleOK - * @class - */ - var exports = function() { - var _this = this; - - - }; - - /** - * Constructs a UpsertOryAccessControlPolicyRoleOK from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/UpsertOryAccessControlPolicyRoleOK} obj Optional instance to populate. - * @return {module:model/UpsertOryAccessControlPolicyRoleOK} The populated UpsertOryAccessControlPolicyRoleOK instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - if (data.hasOwnProperty('Payload')) { - obj['Payload'] = OryAccessControlPolicyRole.constructFromObject(data['Payload']); - } - } - return obj; - } - - /** - * @member {module:model/OryAccessControlPolicyRole} Payload - */ - exports.prototype['Payload'] = undefined; - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/UpsertOryAccessControlPolicyRoleReader.js b/sdk/js/swagger/src/model/UpsertOryAccessControlPolicyRoleReader.js deleted file mode 100644 index 0e8ab4259..000000000 --- a/sdk/js/swagger/src/model/UpsertOryAccessControlPolicyRoleReader.js +++ /dev/null @@ -1,74 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.UpsertOryAccessControlPolicyRoleReader = factory(root.OryKeto.ApiClient); - } -}(this, function(ApiClient) { - 'use strict'; - - - - - /** - * The UpsertOryAccessControlPolicyRoleReader model module. - * @module model/UpsertOryAccessControlPolicyRoleReader - * @version Latest - */ - - /** - * Constructs a new UpsertOryAccessControlPolicyRoleReader. - * @alias module:model/UpsertOryAccessControlPolicyRoleReader - * @class - */ - var exports = function() { - var _this = this; - - }; - - /** - * Constructs a UpsertOryAccessControlPolicyRoleReader from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/UpsertOryAccessControlPolicyRoleReader} obj Optional instance to populate. - * @return {module:model/UpsertOryAccessControlPolicyRoleReader} The populated UpsertOryAccessControlPolicyRoleReader instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - } - return obj; - } - - - - - return exports; -})); - - diff --git a/sdk/js/swagger/src/model/Version.js b/sdk/js/swagger/src/model/Version.js deleted file mode 100644 index b80c728a9..000000000 --- a/sdk/js/swagger/src/model/Version.js +++ /dev/null @@ -1,83 +0,0 @@ -/** - * ORY Keto - * A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - * - * OpenAPI spec version: Latest - * Contact: hi@ory.sh - * - * NOTE: This class is auto generated by the swagger code generator program. - * https://github.com/swagger-api/swagger-codegen.git - * - * Swagger Codegen version: 2.2.3 - * - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['ApiClient'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - module.exports = factory(require('../ApiClient')); - } else { - // Browser globals (root is window) - if (!root.OryKeto) { - root.OryKeto = {}; - } - root.OryKeto.Version = factory(root.OryKeto.ApiClient); - } -}(this, function(ApiClient) { - 'use strict'; - - - - - /** - * The Version model module. - * @module model/Version - * @version Latest - */ - - /** - * Constructs a new Version. - * @alias module:model/Version - * @class - */ - var exports = function() { - var _this = this; - - - }; - - /** - * Constructs a Version from a plain JavaScript object, optionally creating a new instance. - * Copies all relevant properties from data to obj if supplied or a new instance if not. - * @param {Object} data The plain JavaScript object bearing properties of interest. - * @param {module:model/Version} obj Optional instance to populate. - * @return {module:model/Version} The populated Version instance. - */ - exports.constructFromObject = function(data, obj) { - if (data) { - obj = obj || new exports(); - - if (data.hasOwnProperty('version')) { - obj['version'] = ApiClient.convertToType(data['version'], 'String'); - } - } - return obj; - } - - /** - * Version is the service's version. - * @member {String} version - */ - exports.prototype['version'] = undefined; - - - - return exports; -})); - - diff --git a/sdk/php/.swagger-codegen-ignore b/sdk/php/.swagger-codegen-ignore deleted file mode 100644 index c5fa491b4..000000000 --- a/sdk/php/.swagger-codegen-ignore +++ /dev/null @@ -1,23 +0,0 @@ -# Swagger Codegen Ignore -# Generated by swagger-codegen https://github.com/swagger-api/swagger-codegen - -# 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 Swagger Codgen 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/sdk/php/.swagger-codegen/VERSION b/sdk/php/.swagger-codegen/VERSION deleted file mode 100644 index 6b4d15773..000000000 --- a/sdk/php/.swagger-codegen/VERSION +++ /dev/null @@ -1 +0,0 @@ -2.2.3 \ No newline at end of file diff --git a/sdk/php/swagger/.php_cs b/sdk/php/swagger/.php_cs deleted file mode 100644 index 6b8e23c81..000000000 --- a/sdk/php/swagger/.php_cs +++ /dev/null @@ -1,18 +0,0 @@ -level(Symfony\CS\FixerInterface::PSR2_LEVEL) - ->setUsingCache(true) - ->fixers( - [ - 'ordered_use', - 'phpdoc_order', - 'short_array_syntax', - 'strict', - 'strict_param' - ] - ) - ->finder( - Symfony\CS\Finder\DefaultFinder::create() - ->in(__DIR__) - ); diff --git a/sdk/php/swagger/.travis.yml b/sdk/php/swagger/.travis.yml deleted file mode 100644 index d77f3825f..000000000 --- a/sdk/php/swagger/.travis.yml +++ /dev/null @@ -1,10 +0,0 @@ -language: php -sudo: false -php: - - 5.4 - - 5.5 - - 5.6 - - 7.0 - - hhvm -before_install: "composer install" -script: "vendor/bin/phpunit" diff --git a/sdk/php/swagger/README.md b/sdk/php/swagger/README.md deleted file mode 100644 index 4d698cd9b..000000000 --- a/sdk/php/swagger/README.md +++ /dev/null @@ -1,196 +0,0 @@ -# swagger -A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. - -This PHP package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project: - -- API version: Latest -- Build package: io.swagger.codegen.languages.PhpClientCodegen -For more information, please visit [https://www.ory.sh](https://www.ory.sh) - -## Requirements - -PHP 5.4.0 and later - -## Installation & Usage -### Composer - -To install the bindings via [Composer](http://getcomposer.org/), add the following to `composer.json`: - -``` -{ - "repositories": [ - { - "type": "git", - "url": "https://github.com/ory/swagger.git" - } - ], - "require": { - "ory/swagger": "*@dev" - } -} -``` - -Then run `composer install` - -### Manual Installation - -Download the files and include `autoload.php`: - -```php - require_once('/path/to/swagger/autoload.php'); -``` - -## Tests - -To run the unit tests: - -``` -composer install -./vendor/bin/phpunit -``` - -## Getting Started - -Please follow the [installation procedure](#installation--usage) and then run the following: - -```php -addOryAccessControlPolicyRoleMembers($flavor, $id, $body); - print_r($result); -} catch (Exception $e) { - echo 'Exception when calling EnginesApi->addOryAccessControlPolicyRoleMembers: ', $e->getMessage(), PHP_EOL; -} - -?> -``` - -## Documentation for API Endpoints - -All URIs are relative to *http://localhost* - -Class | Method | HTTP request | Description ------------- | ------------- | ------------- | ------------- -*EnginesApi* | [**addOryAccessControlPolicyRoleMembers**](docs/Api/EnginesApi.md#addoryaccesscontrolpolicyrolemembers) | **PUT** /engines/acp/ory/{flavor}/roles/{id}/members | Add a member to an ORY Access Control Policy Role -*EnginesApi* | [**deleteOryAccessControlPolicy**](docs/Api/EnginesApi.md#deleteoryaccesscontrolpolicy) | **DELETE** /engines/acp/ory/{flavor}/policies/{id} | -*EnginesApi* | [**deleteOryAccessControlPolicyRole**](docs/Api/EnginesApi.md#deleteoryaccesscontrolpolicyrole) | **DELETE** /engines/acp/ory/{flavor}/roles/{id} | Delete an ORY Access Control Policy Role -*EnginesApi* | [**doOryAccessControlPoliciesAllow**](docs/Api/EnginesApi.md#dooryaccesscontrolpoliciesallow) | **POST** /engines/acp/ory/{flavor}/allowed | Check if a request is allowed -*EnginesApi* | [**getOryAccessControlPolicy**](docs/Api/EnginesApi.md#getoryaccesscontrolpolicy) | **GET** /engines/acp/ory/{flavor}/policies/{id} | -*EnginesApi* | [**getOryAccessControlPolicyRole**](docs/Api/EnginesApi.md#getoryaccesscontrolpolicyrole) | **GET** /engines/acp/ory/{flavor}/roles/{id} | Get an ORY Access Control Policy Role -*EnginesApi* | [**listOryAccessControlPolicies**](docs/Api/EnginesApi.md#listoryaccesscontrolpolicies) | **GET** /engines/acp/ory/{flavor}/policies | -*EnginesApi* | [**listOryAccessControlPolicyRoles**](docs/Api/EnginesApi.md#listoryaccesscontrolpolicyroles) | **GET** /engines/acp/ory/{flavor}/roles | List ORY Access Control Policy Roles -*EnginesApi* | [**removeOryAccessControlPolicyRoleMembers**](docs/Api/EnginesApi.md#removeoryaccesscontrolpolicyrolemembers) | **DELETE** /engines/acp/ory/{flavor}/roles/{id}/members/{member} | Remove a member from an ORY Access Control Policy Role -*EnginesApi* | [**upsertOryAccessControlPolicy**](docs/Api/EnginesApi.md#upsertoryaccesscontrolpolicy) | **PUT** /engines/acp/ory/{flavor}/policies | -*EnginesApi* | [**upsertOryAccessControlPolicyRole**](docs/Api/EnginesApi.md#upsertoryaccesscontrolpolicyrole) | **PUT** /engines/acp/ory/{flavor}/roles | Upsert an ORY Access Control Policy Role -*HealthApi* | [**isInstanceAlive**](docs/Api/HealthApi.md#isinstancealive) | **GET** /health/alive | Check alive status -*HealthApi* | [**isInstanceReady**](docs/Api/HealthApi.md#isinstanceready) | **GET** /health/ready | Check readiness status -*VersionApi* | [**getVersion**](docs/Api/VersionApi.md#getversion) | **GET** /version | Get service version - - -## Documentation For Models - - - [AddOryAccessControlPolicyRoleMembers](docs/Model/AddOryAccessControlPolicyRoleMembers.md) - - [AddOryAccessControlPolicyRoleMembersBody](docs/Model/AddOryAccessControlPolicyRoleMembersBody.md) - - [AddOryAccessControlPolicyRoleMembersInternalServerError](docs/Model/AddOryAccessControlPolicyRoleMembersInternalServerError.md) - - [AddOryAccessControlPolicyRoleMembersInternalServerErrorBody](docs/Model/AddOryAccessControlPolicyRoleMembersInternalServerErrorBody.md) - - [AddOryAccessControlPolicyRoleMembersOK](docs/Model/AddOryAccessControlPolicyRoleMembersOK.md) - - [AddOryAccessControlPolicyRoleMembersReader](docs/Model/AddOryAccessControlPolicyRoleMembersReader.md) - - [AuthorizationResult](docs/Model/AuthorizationResult.md) - - [Context](docs/Model/Context.md) - - [DeleteOryAccessControlPolicy](docs/Model/DeleteOryAccessControlPolicy.md) - - [DeleteOryAccessControlPolicyCreated](docs/Model/DeleteOryAccessControlPolicyCreated.md) - - [DeleteOryAccessControlPolicyInternalServerError](docs/Model/DeleteOryAccessControlPolicyInternalServerError.md) - - [DeleteOryAccessControlPolicyInternalServerErrorBody](docs/Model/DeleteOryAccessControlPolicyInternalServerErrorBody.md) - - [DeleteOryAccessControlPolicyNoContent](docs/Model/DeleteOryAccessControlPolicyNoContent.md) - - [DeleteOryAccessControlPolicyReader](docs/Model/DeleteOryAccessControlPolicyReader.md) - - [DeleteOryAccessControlPolicyRole](docs/Model/DeleteOryAccessControlPolicyRole.md) - - [DeleteOryAccessControlPolicyRoleCreated](docs/Model/DeleteOryAccessControlPolicyRoleCreated.md) - - [DeleteOryAccessControlPolicyRoleInternalServerError](docs/Model/DeleteOryAccessControlPolicyRoleInternalServerError.md) - - [DeleteOryAccessControlPolicyRoleInternalServerErrorBody](docs/Model/DeleteOryAccessControlPolicyRoleInternalServerErrorBody.md) - - [DeleteOryAccessControlPolicyRoleNoContent](docs/Model/DeleteOryAccessControlPolicyRoleNoContent.md) - - [DeleteOryAccessControlPolicyRoleReader](docs/Model/DeleteOryAccessControlPolicyRoleReader.md) - - [DoOryAccessControlPoliciesAllow](docs/Model/DoOryAccessControlPoliciesAllow.md) - - [DoOryAccessControlPoliciesAllowForbidden](docs/Model/DoOryAccessControlPoliciesAllowForbidden.md) - - [DoOryAccessControlPoliciesAllowInternalServerError](docs/Model/DoOryAccessControlPoliciesAllowInternalServerError.md) - - [DoOryAccessControlPoliciesAllowInternalServerErrorBody](docs/Model/DoOryAccessControlPoliciesAllowInternalServerErrorBody.md) - - [DoOryAccessControlPoliciesAllowOK](docs/Model/DoOryAccessControlPoliciesAllowOK.md) - - [DoOryAccessControlPoliciesAllowReader](docs/Model/DoOryAccessControlPoliciesAllowReader.md) - - [GetOryAccessControlPolicy](docs/Model/GetOryAccessControlPolicy.md) - - [GetOryAccessControlPolicyInternalServerError](docs/Model/GetOryAccessControlPolicyInternalServerError.md) - - [GetOryAccessControlPolicyInternalServerErrorBody](docs/Model/GetOryAccessControlPolicyInternalServerErrorBody.md) - - [GetOryAccessControlPolicyNotFound](docs/Model/GetOryAccessControlPolicyNotFound.md) - - [GetOryAccessControlPolicyNotFoundBody](docs/Model/GetOryAccessControlPolicyNotFoundBody.md) - - [GetOryAccessControlPolicyOK](docs/Model/GetOryAccessControlPolicyOK.md) - - [GetOryAccessControlPolicyReader](docs/Model/GetOryAccessControlPolicyReader.md) - - [GetOryAccessControlPolicyRole](docs/Model/GetOryAccessControlPolicyRole.md) - - [GetOryAccessControlPolicyRoleInternalServerError](docs/Model/GetOryAccessControlPolicyRoleInternalServerError.md) - - [GetOryAccessControlPolicyRoleInternalServerErrorBody](docs/Model/GetOryAccessControlPolicyRoleInternalServerErrorBody.md) - - [GetOryAccessControlPolicyRoleNotFound](docs/Model/GetOryAccessControlPolicyRoleNotFound.md) - - [GetOryAccessControlPolicyRoleNotFoundBody](docs/Model/GetOryAccessControlPolicyRoleNotFoundBody.md) - - [GetOryAccessControlPolicyRoleOK](docs/Model/GetOryAccessControlPolicyRoleOK.md) - - [GetOryAccessControlPolicyRoleReader](docs/Model/GetOryAccessControlPolicyRoleReader.md) - - [HealthNotReadyStatus](docs/Model/HealthNotReadyStatus.md) - - [HealthStatus](docs/Model/HealthStatus.md) - - [InlineResponse500](docs/Model/InlineResponse500.md) - - [Input](docs/Model/Input.md) - - [IsInstanceAliveInternalServerError](docs/Model/IsInstanceAliveInternalServerError.md) - - [IsInstanceAliveInternalServerErrorBody](docs/Model/IsInstanceAliveInternalServerErrorBody.md) - - [IsInstanceAliveOK](docs/Model/IsInstanceAliveOK.md) - - [IsInstanceAliveReader](docs/Model/IsInstanceAliveReader.md) - - [ListOryAccessControlPolicies](docs/Model/ListOryAccessControlPolicies.md) - - [ListOryAccessControlPoliciesInternalServerError](docs/Model/ListOryAccessControlPoliciesInternalServerError.md) - - [ListOryAccessControlPoliciesInternalServerErrorBody](docs/Model/ListOryAccessControlPoliciesInternalServerErrorBody.md) - - [ListOryAccessControlPoliciesOK](docs/Model/ListOryAccessControlPoliciesOK.md) - - [ListOryAccessControlPoliciesReader](docs/Model/ListOryAccessControlPoliciesReader.md) - - [ListOryAccessControlPolicyRoles](docs/Model/ListOryAccessControlPolicyRoles.md) - - [ListOryAccessControlPolicyRolesInternalServerError](docs/Model/ListOryAccessControlPolicyRolesInternalServerError.md) - - [ListOryAccessControlPolicyRolesInternalServerErrorBody](docs/Model/ListOryAccessControlPolicyRolesInternalServerErrorBody.md) - - [ListOryAccessControlPolicyRolesOK](docs/Model/ListOryAccessControlPolicyRolesOK.md) - - [ListOryAccessControlPolicyRolesReader](docs/Model/ListOryAccessControlPolicyRolesReader.md) - - [OryAccessControlPolicies](docs/Model/OryAccessControlPolicies.md) - - [OryAccessControlPolicy](docs/Model/OryAccessControlPolicy.md) - - [OryAccessControlPolicyAllowedInput](docs/Model/OryAccessControlPolicyAllowedInput.md) - - [OryAccessControlPolicyRole](docs/Model/OryAccessControlPolicyRole.md) - - [OryAccessControlPolicyRoles](docs/Model/OryAccessControlPolicyRoles.md) - - [Policies](docs/Model/Policies.md) - - [Policy](docs/Model/Policy.md) - - [RemoveOryAccessControlPolicyRoleMembers](docs/Model/RemoveOryAccessControlPolicyRoleMembers.md) - - [RemoveOryAccessControlPolicyRoleMembersCreated](docs/Model/RemoveOryAccessControlPolicyRoleMembersCreated.md) - - [RemoveOryAccessControlPolicyRoleMembersInternalServerError](docs/Model/RemoveOryAccessControlPolicyRoleMembersInternalServerError.md) - - [RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody](docs/Model/RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody.md) - - [RemoveOryAccessControlPolicyRoleMembersReader](docs/Model/RemoveOryAccessControlPolicyRoleMembersReader.md) - - [Role](docs/Model/Role.md) - - [Roles](docs/Model/Roles.md) - - [SwaggerHealthStatus](docs/Model/SwaggerHealthStatus.md) - - [SwaggerNotReadyStatus](docs/Model/SwaggerNotReadyStatus.md) - - [SwaggerVersion](docs/Model/SwaggerVersion.md) - - [UpsertOryAccessControlPolicy](docs/Model/UpsertOryAccessControlPolicy.md) - - [UpsertOryAccessControlPolicyInternalServerError](docs/Model/UpsertOryAccessControlPolicyInternalServerError.md) - - [UpsertOryAccessControlPolicyInternalServerErrorBody](docs/Model/UpsertOryAccessControlPolicyInternalServerErrorBody.md) - - [UpsertOryAccessControlPolicyOK](docs/Model/UpsertOryAccessControlPolicyOK.md) - - [UpsertOryAccessControlPolicyReader](docs/Model/UpsertOryAccessControlPolicyReader.md) - - [UpsertOryAccessControlPolicyRole](docs/Model/UpsertOryAccessControlPolicyRole.md) - - [UpsertOryAccessControlPolicyRoleInternalServerError](docs/Model/UpsertOryAccessControlPolicyRoleInternalServerError.md) - - [UpsertOryAccessControlPolicyRoleInternalServerErrorBody](docs/Model/UpsertOryAccessControlPolicyRoleInternalServerErrorBody.md) - - [UpsertOryAccessControlPolicyRoleOK](docs/Model/UpsertOryAccessControlPolicyRoleOK.md) - - [UpsertOryAccessControlPolicyRoleReader](docs/Model/UpsertOryAccessControlPolicyRoleReader.md) - - [Version](docs/Model/Version.md) - - -## Documentation For Authorization - - All endpoints do not require authorization. - - -## Author - -hi@ory.sh - - diff --git a/sdk/php/swagger/autoload.php b/sdk/php/swagger/autoload.php deleted file mode 100644 index f2b64a087..000000000 --- a/sdk/php/swagger/autoload.php +++ /dev/null @@ -1,54 +0,0 @@ - \keto\SDK\Model\OryAccessControlPolicyRole addOryAccessControlPolicyRoleMembers($flavor, $id, $body) - -Add a member to an ORY Access Control Policy Role - -Roles group several subjects into one. Rules can be assigned to ORY Access Control Policy (OACP) by using the Role ID as subject in the OACP. - -### Example -```php -addOryAccessControlPolicyRoleMembers($flavor, $id, $body); - print_r($result); -} catch (Exception $e) { - echo 'Exception when calling EnginesApi->addOryAccessControlPolicyRoleMembers: ', $e->getMessage(), PHP_EOL; -} -?> -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **flavor** | **string**| The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". | - **id** | **string**| The ID of the ORY Access Control Policy Role. | - **body** | [**\keto\SDK\Model\AddOryAccessControlPolicyRoleMembersBody**](../Model/AddOryAccessControlPolicyRoleMembersBody.md)| | [optional] - -### Return type - -[**\keto\SDK\Model\OryAccessControlPolicyRole**](../Model/OryAccessControlPolicyRole.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[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) - -# **deleteOryAccessControlPolicy** -> deleteOryAccessControlPolicy($flavor, $id) - - - -Delete an ORY Access Control Policy - -### Example -```php -deleteOryAccessControlPolicy($flavor, $id); -} catch (Exception $e) { - echo 'Exception when calling EnginesApi->deleteOryAccessControlPolicy: ', $e->getMessage(), PHP_EOL; -} -?> -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **flavor** | **string**| The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". | - **id** | **string**| The ID of the ORY Access Control Policy Role. | - -### Return type - -void (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[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) - -# **deleteOryAccessControlPolicyRole** -> deleteOryAccessControlPolicyRole($flavor, $id) - -Delete an ORY Access Control Policy Role - -Roles group several subjects into one. Rules can be assigned to ORY Access Control Policy (OACP) by using the Role ID as subject in the OACP. - -### Example -```php -deleteOryAccessControlPolicyRole($flavor, $id); -} catch (Exception $e) { - echo 'Exception when calling EnginesApi->deleteOryAccessControlPolicyRole: ', $e->getMessage(), PHP_EOL; -} -?> -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **flavor** | **string**| The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". | - **id** | **string**| The ID of the ORY Access Control Policy Role. | - -### Return type - -void (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[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) - -# **doOryAccessControlPoliciesAllow** -> \keto\SDK\Model\AuthorizationResult doOryAccessControlPoliciesAllow($flavor, $body) - -Check if a request is allowed - -Use this endpoint to check if a request is allowed or not. If the request is allowed, a 200 response with `{\"allowed\":\"true\"}` will be sent. If the request is denied, a 403 response with `{\"allowed\":\"false\"}` will be sent instead. - -### Example -```php -doOryAccessControlPoliciesAllow($flavor, $body); - print_r($result); -} catch (Exception $e) { - echo 'Exception when calling EnginesApi->doOryAccessControlPoliciesAllow: ', $e->getMessage(), PHP_EOL; -} -?> -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **flavor** | **string**| The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". | - **body** | [**\keto\SDK\Model\OryAccessControlPolicyAllowedInput**](../Model/OryAccessControlPolicyAllowedInput.md)| | [optional] - -### Return type - -[**\keto\SDK\Model\AuthorizationResult**](../Model/AuthorizationResult.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[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) - -# **getOryAccessControlPolicy** -> \keto\SDK\Model\OryAccessControlPolicy getOryAccessControlPolicy($flavor, $id) - - - -Get an ORY Access Control Policy - -### Example -```php -getOryAccessControlPolicy($flavor, $id); - print_r($result); -} catch (Exception $e) { - echo 'Exception when calling EnginesApi->getOryAccessControlPolicy: ', $e->getMessage(), PHP_EOL; -} -?> -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **flavor** | **string**| The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". | - **id** | **string**| The ID of the ORY Access Control Policy Role. | - -### Return type - -[**\keto\SDK\Model\OryAccessControlPolicy**](../Model/OryAccessControlPolicy.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[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) - -# **getOryAccessControlPolicyRole** -> \keto\SDK\Model\OryAccessControlPolicyRole getOryAccessControlPolicyRole($flavor, $id) - -Get an ORY Access Control Policy Role - -Roles group several subjects into one. Rules can be assigned to ORY Access Control Policy (OACP) by using the Role ID as subject in the OACP. - -### Example -```php -getOryAccessControlPolicyRole($flavor, $id); - print_r($result); -} catch (Exception $e) { - echo 'Exception when calling EnginesApi->getOryAccessControlPolicyRole: ', $e->getMessage(), PHP_EOL; -} -?> -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **flavor** | **string**| The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". | - **id** | **string**| The ID of the ORY Access Control Policy Role. | - -### Return type - -[**\keto\SDK\Model\OryAccessControlPolicyRole**](../Model/OryAccessControlPolicyRole.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[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) - -# **listOryAccessControlPolicies** -> \keto\SDK\Model\OryAccessControlPolicy[] listOryAccessControlPolicies($flavor, $limit, $offset, $subject, $resource, $action) - - - -List ORY Access Control Policies - -### Example -```php -listOryAccessControlPolicies($flavor, $limit, $offset, $subject, $resource, $action); - print_r($result); -} catch (Exception $e) { - echo 'Exception when calling EnginesApi->listOryAccessControlPolicies: ', $e->getMessage(), PHP_EOL; -} -?> -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **flavor** | **string**| The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\" | - **limit** | **int**| The maximum amount of policies returned. | [optional] - **offset** | **int**| The offset from where to start looking. | [optional] - **subject** | **string**| The subject for whom the policies are to be listed. | [optional] - **resource** | **string**| The resource for which the policies are to be listed. | [optional] - **action** | **string**| The action for which policies are to be listed. | [optional] - -### Return type - -[**\keto\SDK\Model\OryAccessControlPolicy[]**](../Model/OryAccessControlPolicy.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[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) - -# **listOryAccessControlPolicyRoles** -> \keto\SDK\Model\OryAccessControlPolicyRole[] listOryAccessControlPolicyRoles($flavor, $limit, $offset, $member) - -List ORY Access Control Policy Roles - -Roles group several subjects into one. Rules can be assigned to ORY Access Control Policy (OACP) by using the Role ID as subject in the OACP. - -### Example -```php -listOryAccessControlPolicyRoles($flavor, $limit, $offset, $member); - print_r($result); -} catch (Exception $e) { - echo 'Exception when calling EnginesApi->listOryAccessControlPolicyRoles: ', $e->getMessage(), PHP_EOL; -} -?> -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **flavor** | **string**| The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\" | - **limit** | **int**| The maximum amount of policies returned. | [optional] - **offset** | **int**| The offset from where to start looking. | [optional] - **member** | **string**| The member for which the roles are to be listed. | [optional] - -### Return type - -[**\keto\SDK\Model\OryAccessControlPolicyRole[]**](../Model/OryAccessControlPolicyRole.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[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) - -# **removeOryAccessControlPolicyRoleMembers** -> removeOryAccessControlPolicyRoleMembers($flavor, $id, $member) - -Remove a member from an ORY Access Control Policy Role - -Roles group several subjects into one. Rules can be assigned to ORY Access Control Policy (OACP) by using the Role ID as subject in the OACP. - -### Example -```php -removeOryAccessControlPolicyRoleMembers($flavor, $id, $member); -} catch (Exception $e) { - echo 'Exception when calling EnginesApi->removeOryAccessControlPolicyRoleMembers: ', $e->getMessage(), PHP_EOL; -} -?> -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **flavor** | **string**| The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". | - **id** | **string**| The ID of the ORY Access Control Policy Role. | - **member** | **string**| The member to be removed. | - -### Return type - -void (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[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) - -# **upsertOryAccessControlPolicy** -> \keto\SDK\Model\OryAccessControlPolicy upsertOryAccessControlPolicy($flavor, $body) - - - -Upsert an ORY Access Control Policy - -### Example -```php -upsertOryAccessControlPolicy($flavor, $body); - print_r($result); -} catch (Exception $e) { - echo 'Exception when calling EnginesApi->upsertOryAccessControlPolicy: ', $e->getMessage(), PHP_EOL; -} -?> -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **flavor** | **string**| The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". | - **body** | [**\keto\SDK\Model\OryAccessControlPolicy**](../Model/OryAccessControlPolicy.md)| | [optional] - -### Return type - -[**\keto\SDK\Model\OryAccessControlPolicy**](../Model/OryAccessControlPolicy.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[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) - -# **upsertOryAccessControlPolicyRole** -> \keto\SDK\Model\OryAccessControlPolicyRole upsertOryAccessControlPolicyRole($flavor, $body) - -Upsert an ORY Access Control Policy Role - -Roles group several subjects into one. Rules can be assigned to ORY Access Control Policy (OACP) by using the Role ID as subject in the OACP. - -### Example -```php -upsertOryAccessControlPolicyRole($flavor, $body); - print_r($result); -} catch (Exception $e) { - echo 'Exception when calling EnginesApi->upsertOryAccessControlPolicyRole: ', $e->getMessage(), PHP_EOL; -} -?> -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **flavor** | **string**| The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". | - **body** | [**\keto\SDK\Model\OryAccessControlPolicyRole**](../Model/OryAccessControlPolicyRole.md)| | [optional] - -### Return type - -[**\keto\SDK\Model\OryAccessControlPolicyRole**](../Model/OryAccessControlPolicyRole.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[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/sdk/php/swagger/docs/Api/HealthApi.md b/sdk/php/swagger/docs/Api/HealthApi.md deleted file mode 100644 index 52d0cc17d..000000000 --- a/sdk/php/swagger/docs/Api/HealthApi.md +++ /dev/null @@ -1,93 +0,0 @@ -# keto\SDK\HealthApi -Client for keto - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**isInstanceAlive**](HealthApi.md#isInstanceAlive) | **GET** /health/alive | Check alive status -[**isInstanceReady**](HealthApi.md#isInstanceReady) | **GET** /health/ready | Check readiness status - - -# **isInstanceAlive** -> \keto\SDK\Model\HealthStatus isInstanceAlive() - -Check alive status - -This endpoint returns a 200 status code when the HTTP server is up running. This status does currently not include checks whether the database connection is working. If the service supports TLS Edge Termination, this endpoint does not require the `X-Forwarded-Proto` header to be set. Be aware that if you are running multiple nodes of this service, the health status will never refer to the cluster state, only to a single instance. - -### Example -```php -isInstanceAlive(); - print_r($result); -} catch (Exception $e) { - echo 'Exception when calling HealthApi->isInstanceAlive: ', $e->getMessage(), PHP_EOL; -} -?> -``` - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**\keto\SDK\Model\HealthStatus**](../Model/HealthStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[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) - -# **isInstanceReady** -> \keto\SDK\Model\HealthStatus isInstanceReady() - -Check readiness status - -This endpoint returns a 200 status code when the HTTP server is up running and the environment dependencies (e.g. the database) are responsive as well. If the service supports TLS Edge Termination, this endpoint does not require the `X-Forwarded-Proto` header to be set. Be aware that if you are running multiple nodes of this service, the health status will never refer to the cluster state, only to a single instance. - -### Example -```php -isInstanceReady(); - print_r($result); -} catch (Exception $e) { - echo 'Exception when calling HealthApi->isInstanceReady: ', $e->getMessage(), PHP_EOL; -} -?> -``` - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**\keto\SDK\Model\HealthStatus**](../Model/HealthStatus.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[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/sdk/php/swagger/docs/Api/VersionApi.md b/sdk/php/swagger/docs/Api/VersionApi.md deleted file mode 100644 index 51afb19a2..000000000 --- a/sdk/php/swagger/docs/Api/VersionApi.md +++ /dev/null @@ -1,51 +0,0 @@ -# keto\SDK\VersionApi -Client for keto - -All URIs are relative to *http://localhost* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**getVersion**](VersionApi.md#getVersion) | **GET** /version | Get service version - - -# **getVersion** -> \keto\SDK\Model\Version getVersion() - -Get service version - -This endpoint returns the service version typically notated using semantic versioning. If the service supports TLS Edge Termination, this endpoint does not require the `X-Forwarded-Proto` header to be set. Be aware that if you are running multiple nodes of this service, the health status will never refer to the cluster state, only to a single instance. - -### Example -```php -getVersion(); - print_r($result); -} catch (Exception $e) { - echo 'Exception when calling VersionApi->getVersion: ', $e->getMessage(), PHP_EOL; -} -?> -``` - -### Parameters -This endpoint does not need any parameter. - -### Return type - -[**\keto\SDK\Model\Version**](../Model/Version.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[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/sdk/php/swagger/docs/Model/AddOryAccessControlPolicyRoleMembers.md b/sdk/php/swagger/docs/Model/AddOryAccessControlPolicyRoleMembers.md deleted file mode 100644 index 966b1ee19..000000000 --- a/sdk/php/swagger/docs/Model/AddOryAccessControlPolicyRoleMembers.md +++ /dev/null @@ -1,12 +0,0 @@ -# AddOryAccessControlPolicyRoleMembers - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**body** | [**\keto\SDK\Model\AddOryAccessControlPolicyRoleMembersBody**](AddOryAccessControlPolicyRoleMembersBody.md) | | [optional] -**flavor** | **string** | The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". in: path | -**id** | **string** | The ID of the ORY Access Control Policy Role. in: path | - -[[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/sdk/php/swagger/docs/Model/AddOryAccessControlPolicyRoleMembersBody.md b/sdk/php/swagger/docs/Model/AddOryAccessControlPolicyRoleMembersBody.md deleted file mode 100644 index 01fbaba18..000000000 --- a/sdk/php/swagger/docs/Model/AddOryAccessControlPolicyRoleMembersBody.md +++ /dev/null @@ -1,10 +0,0 @@ -# AddOryAccessControlPolicyRoleMembersBody - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**members** | **string[]** | The members to be added. | [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/sdk/php/swagger/docs/Model/AddOryAccessControlPolicyRoleMembersInternalServerError.md b/sdk/php/swagger/docs/Model/AddOryAccessControlPolicyRoleMembersInternalServerError.md deleted file mode 100644 index b74915e35..000000000 --- a/sdk/php/swagger/docs/Model/AddOryAccessControlPolicyRoleMembersInternalServerError.md +++ /dev/null @@ -1,10 +0,0 @@ -# AddOryAccessControlPolicyRoleMembersInternalServerError - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**payload** | [**\keto\SDK\Model\AddOryAccessControlPolicyRoleMembersInternalServerErrorBody**](AddOryAccessControlPolicyRoleMembersInternalServerErrorBody.md) | | [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/sdk/php/swagger/docs/Model/AddOryAccessControlPolicyRoleMembersInternalServerErrorBody.md b/sdk/php/swagger/docs/Model/AddOryAccessControlPolicyRoleMembersInternalServerErrorBody.md deleted file mode 100644 index 40ac0b05e..000000000 --- a/sdk/php/swagger/docs/Model/AddOryAccessControlPolicyRoleMembersInternalServerErrorBody.md +++ /dev/null @@ -1,15 +0,0 @@ -# AddOryAccessControlPolicyRoleMembersInternalServerErrorBody - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**code** | **int** | code | [optional] -**details** | [**map[string,object][]**](map.md) | details | [optional] -**message** | **string** | message | [optional] -**reason** | **string** | reason | [optional] -**request** | **string** | request | [optional] -**status** | **string** | status | [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/sdk/php/swagger/docs/Model/AddOryAccessControlPolicyRoleMembersOK.md b/sdk/php/swagger/docs/Model/AddOryAccessControlPolicyRoleMembersOK.md deleted file mode 100644 index 92f626a5d..000000000 --- a/sdk/php/swagger/docs/Model/AddOryAccessControlPolicyRoleMembersOK.md +++ /dev/null @@ -1,10 +0,0 @@ -# AddOryAccessControlPolicyRoleMembersOK - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**payload** | [**\keto\SDK\Model\OryAccessControlPolicyRole**](OryAccessControlPolicyRole.md) | | [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/sdk/php/swagger/docs/Model/AddOryAccessControlPolicyRoleMembersReader.md b/sdk/php/swagger/docs/Model/AddOryAccessControlPolicyRoleMembersReader.md deleted file mode 100644 index 9600f90f2..000000000 --- a/sdk/php/swagger/docs/Model/AddOryAccessControlPolicyRoleMembersReader.md +++ /dev/null @@ -1,9 +0,0 @@ -# AddOryAccessControlPolicyRoleMembersReader - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[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/sdk/php/swagger/docs/Model/AuthorizationResult.md b/sdk/php/swagger/docs/Model/AuthorizationResult.md deleted file mode 100644 index dc44b3568..000000000 --- a/sdk/php/swagger/docs/Model/AuthorizationResult.md +++ /dev/null @@ -1,10 +0,0 @@ -# AuthorizationResult - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**allowed** | **bool** | Allowed is true if the request should be allowed and false otherwise. | - -[[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/sdk/php/swagger/docs/Model/Context.md b/sdk/php/swagger/docs/Model/Context.md deleted file mode 100644 index f79b191f4..000000000 --- a/sdk/php/swagger/docs/Model/Context.md +++ /dev/null @@ -1,9 +0,0 @@ -# Context - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[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/sdk/php/swagger/docs/Model/DeleteOryAccessControlPolicy.md b/sdk/php/swagger/docs/Model/DeleteOryAccessControlPolicy.md deleted file mode 100644 index 7dff497d8..000000000 --- a/sdk/php/swagger/docs/Model/DeleteOryAccessControlPolicy.md +++ /dev/null @@ -1,11 +0,0 @@ -# DeleteOryAccessControlPolicy - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**flavor** | **string** | The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". in: path | -**id** | **string** | The ID of the ORY Access Control Policy Role. in: path | - -[[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/sdk/php/swagger/docs/Model/DeleteOryAccessControlPolicyCreated.md b/sdk/php/swagger/docs/Model/DeleteOryAccessControlPolicyCreated.md deleted file mode 100644 index ab0741176..000000000 --- a/sdk/php/swagger/docs/Model/DeleteOryAccessControlPolicyCreated.md +++ /dev/null @@ -1,9 +0,0 @@ -# DeleteOryAccessControlPolicyCreated - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[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/sdk/php/swagger/docs/Model/DeleteOryAccessControlPolicyInternalServerError.md b/sdk/php/swagger/docs/Model/DeleteOryAccessControlPolicyInternalServerError.md deleted file mode 100644 index 3de46e834..000000000 --- a/sdk/php/swagger/docs/Model/DeleteOryAccessControlPolicyInternalServerError.md +++ /dev/null @@ -1,10 +0,0 @@ -# DeleteOryAccessControlPolicyInternalServerError - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**payload** | [**\keto\SDK\Model\DeleteOryAccessControlPolicyInternalServerErrorBody**](DeleteOryAccessControlPolicyInternalServerErrorBody.md) | | [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/sdk/php/swagger/docs/Model/DeleteOryAccessControlPolicyInternalServerErrorBody.md b/sdk/php/swagger/docs/Model/DeleteOryAccessControlPolicyInternalServerErrorBody.md deleted file mode 100644 index 298283128..000000000 --- a/sdk/php/swagger/docs/Model/DeleteOryAccessControlPolicyInternalServerErrorBody.md +++ /dev/null @@ -1,15 +0,0 @@ -# DeleteOryAccessControlPolicyInternalServerErrorBody - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**code** | **int** | code | [optional] -**details** | [**map[string,object][]**](map.md) | details | [optional] -**message** | **string** | message | [optional] -**reason** | **string** | reason | [optional] -**request** | **string** | request | [optional] -**status** | **string** | status | [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/sdk/php/swagger/docs/Model/DeleteOryAccessControlPolicyNoContent.md b/sdk/php/swagger/docs/Model/DeleteOryAccessControlPolicyNoContent.md deleted file mode 100644 index c7e2b7ac6..000000000 --- a/sdk/php/swagger/docs/Model/DeleteOryAccessControlPolicyNoContent.md +++ /dev/null @@ -1,9 +0,0 @@ -# DeleteOryAccessControlPolicyNoContent - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[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/sdk/php/swagger/docs/Model/DeleteOryAccessControlPolicyReader.md b/sdk/php/swagger/docs/Model/DeleteOryAccessControlPolicyReader.md deleted file mode 100644 index 53e60f5fe..000000000 --- a/sdk/php/swagger/docs/Model/DeleteOryAccessControlPolicyReader.md +++ /dev/null @@ -1,9 +0,0 @@ -# DeleteOryAccessControlPolicyReader - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[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/sdk/php/swagger/docs/Model/DeleteOryAccessControlPolicyRole.md b/sdk/php/swagger/docs/Model/DeleteOryAccessControlPolicyRole.md deleted file mode 100644 index 269ed8c72..000000000 --- a/sdk/php/swagger/docs/Model/DeleteOryAccessControlPolicyRole.md +++ /dev/null @@ -1,11 +0,0 @@ -# DeleteOryAccessControlPolicyRole - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**flavor** | **string** | The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". in: path | -**id** | **string** | The ID of the ORY Access Control Policy Role. in: path | - -[[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/sdk/php/swagger/docs/Model/DeleteOryAccessControlPolicyRoleCreated.md b/sdk/php/swagger/docs/Model/DeleteOryAccessControlPolicyRoleCreated.md deleted file mode 100644 index 0b0e28bd7..000000000 --- a/sdk/php/swagger/docs/Model/DeleteOryAccessControlPolicyRoleCreated.md +++ /dev/null @@ -1,9 +0,0 @@ -# DeleteOryAccessControlPolicyRoleCreated - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[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/sdk/php/swagger/docs/Model/DeleteOryAccessControlPolicyRoleInternalServerError.md b/sdk/php/swagger/docs/Model/DeleteOryAccessControlPolicyRoleInternalServerError.md deleted file mode 100644 index e1492867c..000000000 --- a/sdk/php/swagger/docs/Model/DeleteOryAccessControlPolicyRoleInternalServerError.md +++ /dev/null @@ -1,10 +0,0 @@ -# DeleteOryAccessControlPolicyRoleInternalServerError - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**payload** | [**\keto\SDK\Model\DeleteOryAccessControlPolicyRoleInternalServerErrorBody**](DeleteOryAccessControlPolicyRoleInternalServerErrorBody.md) | | [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/sdk/php/swagger/docs/Model/DeleteOryAccessControlPolicyRoleInternalServerErrorBody.md b/sdk/php/swagger/docs/Model/DeleteOryAccessControlPolicyRoleInternalServerErrorBody.md deleted file mode 100644 index 1ae5ad495..000000000 --- a/sdk/php/swagger/docs/Model/DeleteOryAccessControlPolicyRoleInternalServerErrorBody.md +++ /dev/null @@ -1,15 +0,0 @@ -# DeleteOryAccessControlPolicyRoleInternalServerErrorBody - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**code** | **int** | code | [optional] -**details** | [**map[string,object][]**](map.md) | details | [optional] -**message** | **string** | message | [optional] -**reason** | **string** | reason | [optional] -**request** | **string** | request | [optional] -**status** | **string** | status | [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/sdk/php/swagger/docs/Model/DeleteOryAccessControlPolicyRoleNoContent.md b/sdk/php/swagger/docs/Model/DeleteOryAccessControlPolicyRoleNoContent.md deleted file mode 100644 index a1dfb4b6d..000000000 --- a/sdk/php/swagger/docs/Model/DeleteOryAccessControlPolicyRoleNoContent.md +++ /dev/null @@ -1,9 +0,0 @@ -# DeleteOryAccessControlPolicyRoleNoContent - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[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/sdk/php/swagger/docs/Model/DeleteOryAccessControlPolicyRoleReader.md b/sdk/php/swagger/docs/Model/DeleteOryAccessControlPolicyRoleReader.md deleted file mode 100644 index f6d816ae7..000000000 --- a/sdk/php/swagger/docs/Model/DeleteOryAccessControlPolicyRoleReader.md +++ /dev/null @@ -1,9 +0,0 @@ -# DeleteOryAccessControlPolicyRoleReader - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[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/sdk/php/swagger/docs/Model/DoOryAccessControlPoliciesAllow.md b/sdk/php/swagger/docs/Model/DoOryAccessControlPoliciesAllow.md deleted file mode 100644 index c52670267..000000000 --- a/sdk/php/swagger/docs/Model/DoOryAccessControlPoliciesAllow.md +++ /dev/null @@ -1,11 +0,0 @@ -# DoOryAccessControlPoliciesAllow - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**body** | [**\keto\SDK\Model\OryAccessControlPolicyAllowedInput**](OryAccessControlPolicyAllowedInput.md) | | [optional] -**flavor** | **string** | The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". in: path | - -[[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/sdk/php/swagger/docs/Model/DoOryAccessControlPoliciesAllowForbidden.md b/sdk/php/swagger/docs/Model/DoOryAccessControlPoliciesAllowForbidden.md deleted file mode 100644 index 349f2102e..000000000 --- a/sdk/php/swagger/docs/Model/DoOryAccessControlPoliciesAllowForbidden.md +++ /dev/null @@ -1,10 +0,0 @@ -# DoOryAccessControlPoliciesAllowForbidden - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**payload** | [**\keto\SDK\Model\AuthorizationResult**](AuthorizationResult.md) | | [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/sdk/php/swagger/docs/Model/DoOryAccessControlPoliciesAllowInternalServerError.md b/sdk/php/swagger/docs/Model/DoOryAccessControlPoliciesAllowInternalServerError.md deleted file mode 100644 index 7adeaf42f..000000000 --- a/sdk/php/swagger/docs/Model/DoOryAccessControlPoliciesAllowInternalServerError.md +++ /dev/null @@ -1,10 +0,0 @@ -# DoOryAccessControlPoliciesAllowInternalServerError - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**payload** | [**\keto\SDK\Model\DoOryAccessControlPoliciesAllowInternalServerErrorBody**](DoOryAccessControlPoliciesAllowInternalServerErrorBody.md) | | [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/sdk/php/swagger/docs/Model/DoOryAccessControlPoliciesAllowInternalServerErrorBody.md b/sdk/php/swagger/docs/Model/DoOryAccessControlPoliciesAllowInternalServerErrorBody.md deleted file mode 100644 index 9defc6110..000000000 --- a/sdk/php/swagger/docs/Model/DoOryAccessControlPoliciesAllowInternalServerErrorBody.md +++ /dev/null @@ -1,15 +0,0 @@ -# DoOryAccessControlPoliciesAllowInternalServerErrorBody - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**code** | **int** | code | [optional] -**details** | [**map[string,object][]**](map.md) | details | [optional] -**message** | **string** | message | [optional] -**reason** | **string** | reason | [optional] -**request** | **string** | request | [optional] -**status** | **string** | status | [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/sdk/php/swagger/docs/Model/DoOryAccessControlPoliciesAllowOK.md b/sdk/php/swagger/docs/Model/DoOryAccessControlPoliciesAllowOK.md deleted file mode 100644 index 2807fce83..000000000 --- a/sdk/php/swagger/docs/Model/DoOryAccessControlPoliciesAllowOK.md +++ /dev/null @@ -1,10 +0,0 @@ -# DoOryAccessControlPoliciesAllowOK - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**payload** | [**\keto\SDK\Model\AuthorizationResult**](AuthorizationResult.md) | | [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/sdk/php/swagger/docs/Model/DoOryAccessControlPoliciesAllowReader.md b/sdk/php/swagger/docs/Model/DoOryAccessControlPoliciesAllowReader.md deleted file mode 100644 index a656b0f74..000000000 --- a/sdk/php/swagger/docs/Model/DoOryAccessControlPoliciesAllowReader.md +++ /dev/null @@ -1,9 +0,0 @@ -# DoOryAccessControlPoliciesAllowReader - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[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/sdk/php/swagger/docs/Model/GetOryAccessControlPolicy.md b/sdk/php/swagger/docs/Model/GetOryAccessControlPolicy.md deleted file mode 100644 index c3a72ba01..000000000 --- a/sdk/php/swagger/docs/Model/GetOryAccessControlPolicy.md +++ /dev/null @@ -1,11 +0,0 @@ -# GetOryAccessControlPolicy - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**flavor** | **string** | The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". in: path | -**id** | **string** | The ID of the ORY Access Control Policy Role. in: path | - -[[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/sdk/php/swagger/docs/Model/GetOryAccessControlPolicyInternalServerError.md b/sdk/php/swagger/docs/Model/GetOryAccessControlPolicyInternalServerError.md deleted file mode 100644 index 6f6eac9fc..000000000 --- a/sdk/php/swagger/docs/Model/GetOryAccessControlPolicyInternalServerError.md +++ /dev/null @@ -1,10 +0,0 @@ -# GetOryAccessControlPolicyInternalServerError - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**payload** | [**\keto\SDK\Model\GetOryAccessControlPolicyInternalServerErrorBody**](GetOryAccessControlPolicyInternalServerErrorBody.md) | | [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/sdk/php/swagger/docs/Model/GetOryAccessControlPolicyInternalServerErrorBody.md b/sdk/php/swagger/docs/Model/GetOryAccessControlPolicyInternalServerErrorBody.md deleted file mode 100644 index 78d05ae40..000000000 --- a/sdk/php/swagger/docs/Model/GetOryAccessControlPolicyInternalServerErrorBody.md +++ /dev/null @@ -1,15 +0,0 @@ -# GetOryAccessControlPolicyInternalServerErrorBody - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**code** | **int** | code | [optional] -**details** | [**map[string,object][]**](map.md) | details | [optional] -**message** | **string** | message | [optional] -**reason** | **string** | reason | [optional] -**request** | **string** | request | [optional] -**status** | **string** | status | [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/sdk/php/swagger/docs/Model/GetOryAccessControlPolicyNotFound.md b/sdk/php/swagger/docs/Model/GetOryAccessControlPolicyNotFound.md deleted file mode 100644 index b3a623a97..000000000 --- a/sdk/php/swagger/docs/Model/GetOryAccessControlPolicyNotFound.md +++ /dev/null @@ -1,10 +0,0 @@ -# GetOryAccessControlPolicyNotFound - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**payload** | [**\keto\SDK\Model\GetOryAccessControlPolicyNotFoundBody**](GetOryAccessControlPolicyNotFoundBody.md) | | [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/sdk/php/swagger/docs/Model/GetOryAccessControlPolicyNotFoundBody.md b/sdk/php/swagger/docs/Model/GetOryAccessControlPolicyNotFoundBody.md deleted file mode 100644 index e0fc8c85d..000000000 --- a/sdk/php/swagger/docs/Model/GetOryAccessControlPolicyNotFoundBody.md +++ /dev/null @@ -1,15 +0,0 @@ -# GetOryAccessControlPolicyNotFoundBody - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**code** | **int** | code | [optional] -**details** | [**map[string,object][]**](map.md) | details | [optional] -**message** | **string** | message | [optional] -**reason** | **string** | reason | [optional] -**request** | **string** | request | [optional] -**status** | **string** | status | [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/sdk/php/swagger/docs/Model/GetOryAccessControlPolicyOK.md b/sdk/php/swagger/docs/Model/GetOryAccessControlPolicyOK.md deleted file mode 100644 index 6818230a7..000000000 --- a/sdk/php/swagger/docs/Model/GetOryAccessControlPolicyOK.md +++ /dev/null @@ -1,10 +0,0 @@ -# GetOryAccessControlPolicyOK - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**payload** | [**\keto\SDK\Model\OryAccessControlPolicy**](OryAccessControlPolicy.md) | | [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/sdk/php/swagger/docs/Model/GetOryAccessControlPolicyReader.md b/sdk/php/swagger/docs/Model/GetOryAccessControlPolicyReader.md deleted file mode 100644 index 439382afe..000000000 --- a/sdk/php/swagger/docs/Model/GetOryAccessControlPolicyReader.md +++ /dev/null @@ -1,9 +0,0 @@ -# GetOryAccessControlPolicyReader - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[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/sdk/php/swagger/docs/Model/GetOryAccessControlPolicyRole.md b/sdk/php/swagger/docs/Model/GetOryAccessControlPolicyRole.md deleted file mode 100644 index a3b56b0bd..000000000 --- a/sdk/php/swagger/docs/Model/GetOryAccessControlPolicyRole.md +++ /dev/null @@ -1,11 +0,0 @@ -# GetOryAccessControlPolicyRole - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**flavor** | **string** | The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". in: path | -**id** | **string** | The ID of the ORY Access Control Policy Role. in: path | - -[[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/sdk/php/swagger/docs/Model/GetOryAccessControlPolicyRoleInternalServerError.md b/sdk/php/swagger/docs/Model/GetOryAccessControlPolicyRoleInternalServerError.md deleted file mode 100644 index d9ae06c29..000000000 --- a/sdk/php/swagger/docs/Model/GetOryAccessControlPolicyRoleInternalServerError.md +++ /dev/null @@ -1,10 +0,0 @@ -# GetOryAccessControlPolicyRoleInternalServerError - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**payload** | [**\keto\SDK\Model\GetOryAccessControlPolicyRoleInternalServerErrorBody**](GetOryAccessControlPolicyRoleInternalServerErrorBody.md) | | [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/sdk/php/swagger/docs/Model/GetOryAccessControlPolicyRoleInternalServerErrorBody.md b/sdk/php/swagger/docs/Model/GetOryAccessControlPolicyRoleInternalServerErrorBody.md deleted file mode 100644 index 81de2afeb..000000000 --- a/sdk/php/swagger/docs/Model/GetOryAccessControlPolicyRoleInternalServerErrorBody.md +++ /dev/null @@ -1,15 +0,0 @@ -# GetOryAccessControlPolicyRoleInternalServerErrorBody - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**code** | **int** | code | [optional] -**details** | [**map[string,object][]**](map.md) | details | [optional] -**message** | **string** | message | [optional] -**reason** | **string** | reason | [optional] -**request** | **string** | request | [optional] -**status** | **string** | status | [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/sdk/php/swagger/docs/Model/GetOryAccessControlPolicyRoleNotFound.md b/sdk/php/swagger/docs/Model/GetOryAccessControlPolicyRoleNotFound.md deleted file mode 100644 index d872a53bd..000000000 --- a/sdk/php/swagger/docs/Model/GetOryAccessControlPolicyRoleNotFound.md +++ /dev/null @@ -1,10 +0,0 @@ -# GetOryAccessControlPolicyRoleNotFound - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**payload** | [**\keto\SDK\Model\GetOryAccessControlPolicyRoleNotFoundBody**](GetOryAccessControlPolicyRoleNotFoundBody.md) | | [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/sdk/php/swagger/docs/Model/GetOryAccessControlPolicyRoleNotFoundBody.md b/sdk/php/swagger/docs/Model/GetOryAccessControlPolicyRoleNotFoundBody.md deleted file mode 100644 index f2d5363b1..000000000 --- a/sdk/php/swagger/docs/Model/GetOryAccessControlPolicyRoleNotFoundBody.md +++ /dev/null @@ -1,15 +0,0 @@ -# GetOryAccessControlPolicyRoleNotFoundBody - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**code** | **int** | code | [optional] -**details** | [**map[string,object][]**](map.md) | details | [optional] -**message** | **string** | message | [optional] -**reason** | **string** | reason | [optional] -**request** | **string** | request | [optional] -**status** | **string** | status | [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/sdk/php/swagger/docs/Model/GetOryAccessControlPolicyRoleOK.md b/sdk/php/swagger/docs/Model/GetOryAccessControlPolicyRoleOK.md deleted file mode 100644 index 97467aa4b..000000000 --- a/sdk/php/swagger/docs/Model/GetOryAccessControlPolicyRoleOK.md +++ /dev/null @@ -1,10 +0,0 @@ -# GetOryAccessControlPolicyRoleOK - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**payload** | [**\keto\SDK\Model\OryAccessControlPolicyRole**](OryAccessControlPolicyRole.md) | | [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/sdk/php/swagger/docs/Model/GetOryAccessControlPolicyRoleReader.md b/sdk/php/swagger/docs/Model/GetOryAccessControlPolicyRoleReader.md deleted file mode 100644 index 64401eff1..000000000 --- a/sdk/php/swagger/docs/Model/GetOryAccessControlPolicyRoleReader.md +++ /dev/null @@ -1,9 +0,0 @@ -# GetOryAccessControlPolicyRoleReader - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[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/sdk/php/swagger/docs/Model/HealthNotReadyStatus.md b/sdk/php/swagger/docs/Model/HealthNotReadyStatus.md deleted file mode 100644 index f7c425090..000000000 --- a/sdk/php/swagger/docs/Model/HealthNotReadyStatus.md +++ /dev/null @@ -1,10 +0,0 @@ -# HealthNotReadyStatus - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**errors** | **map[string,string]** | Errors contains a list of errors that caused the not ready status. | [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/sdk/php/swagger/docs/Model/HealthStatus.md b/sdk/php/swagger/docs/Model/HealthStatus.md deleted file mode 100644 index 6d7575b07..000000000 --- a/sdk/php/swagger/docs/Model/HealthStatus.md +++ /dev/null @@ -1,10 +0,0 @@ -# HealthStatus - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | **string** | Status always contains \"ok\". | [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/sdk/php/swagger/docs/Model/InlineResponse500.md b/sdk/php/swagger/docs/Model/InlineResponse500.md deleted file mode 100644 index 02865d950..000000000 --- a/sdk/php/swagger/docs/Model/InlineResponse500.md +++ /dev/null @@ -1,15 +0,0 @@ -# InlineResponse500 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**code** | **int** | | [optional] -**details** | [**map[string,object][]**](map.md) | | [optional] -**message** | **string** | | [optional] -**reason** | **string** | | [optional] -**request** | **string** | | [optional] -**status** | **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/sdk/php/swagger/docs/Model/Input.md b/sdk/php/swagger/docs/Model/Input.md deleted file mode 100644 index c18681cc5..000000000 --- a/sdk/php/swagger/docs/Model/Input.md +++ /dev/null @@ -1,13 +0,0 @@ -# Input - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**action** | **string** | Action is the action that is requested on the resource. | [optional] -**context** | **map[string,object]** | Context is the request's environmental context. | [optional] -**resource** | **string** | Resource is the resource that access is requested to. | [optional] -**subject** | **string** | Subject is the subject that is requesting access. | [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/sdk/php/swagger/docs/Model/IsInstanceAliveInternalServerError.md b/sdk/php/swagger/docs/Model/IsInstanceAliveInternalServerError.md deleted file mode 100644 index fcd9b7053..000000000 --- a/sdk/php/swagger/docs/Model/IsInstanceAliveInternalServerError.md +++ /dev/null @@ -1,10 +0,0 @@ -# IsInstanceAliveInternalServerError - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**payload** | [**\keto\SDK\Model\IsInstanceAliveInternalServerErrorBody**](IsInstanceAliveInternalServerErrorBody.md) | | [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/sdk/php/swagger/docs/Model/IsInstanceAliveInternalServerErrorBody.md b/sdk/php/swagger/docs/Model/IsInstanceAliveInternalServerErrorBody.md deleted file mode 100644 index 3a0ee4bbd..000000000 --- a/sdk/php/swagger/docs/Model/IsInstanceAliveInternalServerErrorBody.md +++ /dev/null @@ -1,15 +0,0 @@ -# IsInstanceAliveInternalServerErrorBody - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**code** | **int** | code | [optional] -**details** | [**map[string,object][]**](map.md) | details | [optional] -**message** | **string** | message | [optional] -**reason** | **string** | reason | [optional] -**request** | **string** | request | [optional] -**status** | **string** | status | [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/sdk/php/swagger/docs/Model/IsInstanceAliveOK.md b/sdk/php/swagger/docs/Model/IsInstanceAliveOK.md deleted file mode 100644 index 3511c664c..000000000 --- a/sdk/php/swagger/docs/Model/IsInstanceAliveOK.md +++ /dev/null @@ -1,10 +0,0 @@ -# IsInstanceAliveOK - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**payload** | [**\keto\SDK\Model\SwaggerHealthStatus**](SwaggerHealthStatus.md) | | [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/sdk/php/swagger/docs/Model/IsInstanceAliveReader.md b/sdk/php/swagger/docs/Model/IsInstanceAliveReader.md deleted file mode 100644 index aaa3000c3..000000000 --- a/sdk/php/swagger/docs/Model/IsInstanceAliveReader.md +++ /dev/null @@ -1,9 +0,0 @@ -# IsInstanceAliveReader - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[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/sdk/php/swagger/docs/Model/ListOryAccessControlPolicies.md b/sdk/php/swagger/docs/Model/ListOryAccessControlPolicies.md deleted file mode 100644 index 58f226b64..000000000 --- a/sdk/php/swagger/docs/Model/ListOryAccessControlPolicies.md +++ /dev/null @@ -1,12 +0,0 @@ -# ListOryAccessControlPolicies - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**flavor** | **string** | The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\" in: path | -**limit** | **int** | The maximum amount of policies returned. in: query | [optional] -**offset** | **int** | The offset from where to start looking. in: query | [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/sdk/php/swagger/docs/Model/ListOryAccessControlPoliciesInternalServerError.md b/sdk/php/swagger/docs/Model/ListOryAccessControlPoliciesInternalServerError.md deleted file mode 100644 index 0a5ed653c..000000000 --- a/sdk/php/swagger/docs/Model/ListOryAccessControlPoliciesInternalServerError.md +++ /dev/null @@ -1,10 +0,0 @@ -# ListOryAccessControlPoliciesInternalServerError - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**payload** | [**\keto\SDK\Model\ListOryAccessControlPoliciesInternalServerErrorBody**](ListOryAccessControlPoliciesInternalServerErrorBody.md) | | [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/sdk/php/swagger/docs/Model/ListOryAccessControlPoliciesInternalServerErrorBody.md b/sdk/php/swagger/docs/Model/ListOryAccessControlPoliciesInternalServerErrorBody.md deleted file mode 100644 index 6c856f3a2..000000000 --- a/sdk/php/swagger/docs/Model/ListOryAccessControlPoliciesInternalServerErrorBody.md +++ /dev/null @@ -1,15 +0,0 @@ -# ListOryAccessControlPoliciesInternalServerErrorBody - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**code** | **int** | code | [optional] -**details** | [**map[string,object][]**](map.md) | details | [optional] -**message** | **string** | message | [optional] -**reason** | **string** | reason | [optional] -**request** | **string** | request | [optional] -**status** | **string** | status | [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/sdk/php/swagger/docs/Model/ListOryAccessControlPoliciesOK.md b/sdk/php/swagger/docs/Model/ListOryAccessControlPoliciesOK.md deleted file mode 100644 index b041a72f1..000000000 --- a/sdk/php/swagger/docs/Model/ListOryAccessControlPoliciesOK.md +++ /dev/null @@ -1,10 +0,0 @@ -# ListOryAccessControlPoliciesOK - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**payload** | [**\keto\SDK\Model\OryAccessControlPolicy[]**](OryAccessControlPolicy.md) | payload | [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/sdk/php/swagger/docs/Model/ListOryAccessControlPoliciesReader.md b/sdk/php/swagger/docs/Model/ListOryAccessControlPoliciesReader.md deleted file mode 100644 index 70ff37679..000000000 --- a/sdk/php/swagger/docs/Model/ListOryAccessControlPoliciesReader.md +++ /dev/null @@ -1,9 +0,0 @@ -# ListOryAccessControlPoliciesReader - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[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/sdk/php/swagger/docs/Model/ListOryAccessControlPolicyRoles.md b/sdk/php/swagger/docs/Model/ListOryAccessControlPolicyRoles.md deleted file mode 100644 index f9d462283..000000000 --- a/sdk/php/swagger/docs/Model/ListOryAccessControlPolicyRoles.md +++ /dev/null @@ -1,12 +0,0 @@ -# ListOryAccessControlPolicyRoles - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**flavor** | **string** | The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\" in: path | -**limit** | **int** | The maximum amount of policies returned. in: query | [optional] -**offset** | **int** | The offset from where to start looking. in: query | [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/sdk/php/swagger/docs/Model/ListOryAccessControlPolicyRolesInternalServerError.md b/sdk/php/swagger/docs/Model/ListOryAccessControlPolicyRolesInternalServerError.md deleted file mode 100644 index df5681b6b..000000000 --- a/sdk/php/swagger/docs/Model/ListOryAccessControlPolicyRolesInternalServerError.md +++ /dev/null @@ -1,10 +0,0 @@ -# ListOryAccessControlPolicyRolesInternalServerError - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**payload** | [**\keto\SDK\Model\ListOryAccessControlPolicyRolesInternalServerErrorBody**](ListOryAccessControlPolicyRolesInternalServerErrorBody.md) | | [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/sdk/php/swagger/docs/Model/ListOryAccessControlPolicyRolesInternalServerErrorBody.md b/sdk/php/swagger/docs/Model/ListOryAccessControlPolicyRolesInternalServerErrorBody.md deleted file mode 100644 index 5ca9a6211..000000000 --- a/sdk/php/swagger/docs/Model/ListOryAccessControlPolicyRolesInternalServerErrorBody.md +++ /dev/null @@ -1,15 +0,0 @@ -# ListOryAccessControlPolicyRolesInternalServerErrorBody - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**code** | **int** | code | [optional] -**details** | [**map[string,object][]**](map.md) | details | [optional] -**message** | **string** | message | [optional] -**reason** | **string** | reason | [optional] -**request** | **string** | request | [optional] -**status** | **string** | status | [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/sdk/php/swagger/docs/Model/ListOryAccessControlPolicyRolesOK.md b/sdk/php/swagger/docs/Model/ListOryAccessControlPolicyRolesOK.md deleted file mode 100644 index 776892707..000000000 --- a/sdk/php/swagger/docs/Model/ListOryAccessControlPolicyRolesOK.md +++ /dev/null @@ -1,10 +0,0 @@ -# ListOryAccessControlPolicyRolesOK - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**payload** | [**\keto\SDK\Model\OryAccessControlPolicyRole[]**](OryAccessControlPolicyRole.md) | payload | [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/sdk/php/swagger/docs/Model/ListOryAccessControlPolicyRolesReader.md b/sdk/php/swagger/docs/Model/ListOryAccessControlPolicyRolesReader.md deleted file mode 100644 index d9a23bac1..000000000 --- a/sdk/php/swagger/docs/Model/ListOryAccessControlPolicyRolesReader.md +++ /dev/null @@ -1,9 +0,0 @@ -# ListOryAccessControlPolicyRolesReader - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[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/sdk/php/swagger/docs/Model/OryAccessControlPolicies.md b/sdk/php/swagger/docs/Model/OryAccessControlPolicies.md deleted file mode 100644 index 7a1879b62..000000000 --- a/sdk/php/swagger/docs/Model/OryAccessControlPolicies.md +++ /dev/null @@ -1,10 +0,0 @@ -# OryAccessControlPolicies - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**body** | [**\keto\SDK\Model\OryAccessControlPolicy[]**](OryAccessControlPolicy.md) | The request body. in: body type: array | [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/sdk/php/swagger/docs/Model/OryAccessControlPolicy.md b/sdk/php/swagger/docs/Model/OryAccessControlPolicy.md deleted file mode 100644 index 4a3f1624f..000000000 --- a/sdk/php/swagger/docs/Model/OryAccessControlPolicy.md +++ /dev/null @@ -1,16 +0,0 @@ -# OryAccessControlPolicy - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**actions** | **string[]** | Actions is an array representing all the actions this ORY Access Policy applies to. | [optional] -**conditions** | **map[string,object]** | Conditions represents a keyed object of conditions under which this ORY Access Policy is active. | [optional] -**description** | **string** | Description is an optional, human-readable description. | [optional] -**effect** | **string** | Effect is the effect of this ORY Access Policy. It can be \"allow\" or \"deny\". | [optional] -**id** | **string** | ID is the unique identifier of the ORY Access Policy. It is used to query, update, and remove the ORY Access Policy. | [optional] -**resources** | **string[]** | Resources is an array representing all the resources this ORY Access Policy applies to. | [optional] -**subjects** | **string[]** | Subjects is an array representing all the subjects this ORY Access Policy applies to. | [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/sdk/php/swagger/docs/Model/OryAccessControlPolicyAllowedInput.md b/sdk/php/swagger/docs/Model/OryAccessControlPolicyAllowedInput.md deleted file mode 100644 index 44545537e..000000000 --- a/sdk/php/swagger/docs/Model/OryAccessControlPolicyAllowedInput.md +++ /dev/null @@ -1,13 +0,0 @@ -# OryAccessControlPolicyAllowedInput - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**action** | **string** | Action is the action that is requested on the resource. | [optional] -**context** | **map[string,object]** | Context is the request's environmental context. | [optional] -**resource** | **string** | Resource is the resource that access is requested to. | [optional] -**subject** | **string** | Subject is the subject that is requesting access. | [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/sdk/php/swagger/docs/Model/OryAccessControlPolicyRole.md b/sdk/php/swagger/docs/Model/OryAccessControlPolicyRole.md deleted file mode 100644 index 4c963a85e..000000000 --- a/sdk/php/swagger/docs/Model/OryAccessControlPolicyRole.md +++ /dev/null @@ -1,11 +0,0 @@ -# OryAccessControlPolicyRole - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **string** | ID is the role's unique id. | [optional] -**members** | **string[]** | Members is who belongs to the role. | [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/sdk/php/swagger/docs/Model/OryAccessControlPolicyRoles.md b/sdk/php/swagger/docs/Model/OryAccessControlPolicyRoles.md deleted file mode 100644 index 97efaec47..000000000 --- a/sdk/php/swagger/docs/Model/OryAccessControlPolicyRoles.md +++ /dev/null @@ -1,10 +0,0 @@ -# OryAccessControlPolicyRoles - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**body** | [**\keto\SDK\Model\OryAccessControlPolicyRole[]**](OryAccessControlPolicyRole.md) | The request body. in: body type: array | [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/sdk/php/swagger/docs/Model/Policies.md b/sdk/php/swagger/docs/Model/Policies.md deleted file mode 100644 index 3b4e2a077..000000000 --- a/sdk/php/swagger/docs/Model/Policies.md +++ /dev/null @@ -1,9 +0,0 @@ -# Policies - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[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/sdk/php/swagger/docs/Model/Policy.md b/sdk/php/swagger/docs/Model/Policy.md deleted file mode 100644 index 3e2466874..000000000 --- a/sdk/php/swagger/docs/Model/Policy.md +++ /dev/null @@ -1,16 +0,0 @@ -# Policy - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**actions** | **string[]** | Actions is an array representing all the actions this ORY Access Policy applies to. | [optional] -**conditions** | **map[string,object]** | Conditions represents a keyed object of conditions under which this ORY Access Policy is active. | [optional] -**description** | **string** | Description is an optional, human-readable description. | [optional] -**effect** | **string** | Effect is the effect of this ORY Access Policy. It can be \"allow\" or \"deny\". | [optional] -**id** | **string** | ID is the unique identifier of the ORY Access Policy. It is used to query, update, and remove the ORY Access Policy. | [optional] -**resources** | **string[]** | Resources is an array representing all the resources this ORY Access Policy applies to. | [optional] -**subjects** | **string[]** | Subjects is an array representing all the subjects this ORY Access Policy applies to. | [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/sdk/php/swagger/docs/Model/RemoveOryAccessControlPolicyRoleMembers.md b/sdk/php/swagger/docs/Model/RemoveOryAccessControlPolicyRoleMembers.md deleted file mode 100644 index a5d8e53a4..000000000 --- a/sdk/php/swagger/docs/Model/RemoveOryAccessControlPolicyRoleMembers.md +++ /dev/null @@ -1,12 +0,0 @@ -# RemoveOryAccessControlPolicyRoleMembers - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**flavor** | **string** | The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". in: path | -**id** | **string** | The ID of the ORY Access Control Policy Role. in: path | -**member** | **string** | The member to be removed. in: path | - -[[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/sdk/php/swagger/docs/Model/RemoveOryAccessControlPolicyRoleMembersCreated.md b/sdk/php/swagger/docs/Model/RemoveOryAccessControlPolicyRoleMembersCreated.md deleted file mode 100644 index fba970322..000000000 --- a/sdk/php/swagger/docs/Model/RemoveOryAccessControlPolicyRoleMembersCreated.md +++ /dev/null @@ -1,9 +0,0 @@ -# RemoveOryAccessControlPolicyRoleMembersCreated - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[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/sdk/php/swagger/docs/Model/RemoveOryAccessControlPolicyRoleMembersInternalServerError.md b/sdk/php/swagger/docs/Model/RemoveOryAccessControlPolicyRoleMembersInternalServerError.md deleted file mode 100644 index fcc481c1e..000000000 --- a/sdk/php/swagger/docs/Model/RemoveOryAccessControlPolicyRoleMembersInternalServerError.md +++ /dev/null @@ -1,10 +0,0 @@ -# RemoveOryAccessControlPolicyRoleMembersInternalServerError - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**payload** | [**\keto\SDK\Model\RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody**](RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody.md) | | [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/sdk/php/swagger/docs/Model/RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody.md b/sdk/php/swagger/docs/Model/RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody.md deleted file mode 100644 index 9e4c01eea..000000000 --- a/sdk/php/swagger/docs/Model/RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody.md +++ /dev/null @@ -1,15 +0,0 @@ -# RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**code** | **int** | code | [optional] -**details** | [**map[string,object][]**](map.md) | details | [optional] -**message** | **string** | message | [optional] -**reason** | **string** | reason | [optional] -**request** | **string** | request | [optional] -**status** | **string** | status | [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/sdk/php/swagger/docs/Model/RemoveOryAccessControlPolicyRoleMembersReader.md b/sdk/php/swagger/docs/Model/RemoveOryAccessControlPolicyRoleMembersReader.md deleted file mode 100644 index ce4b77d19..000000000 --- a/sdk/php/swagger/docs/Model/RemoveOryAccessControlPolicyRoleMembersReader.md +++ /dev/null @@ -1,9 +0,0 @@ -# RemoveOryAccessControlPolicyRoleMembersReader - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[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/sdk/php/swagger/docs/Model/Role.md b/sdk/php/swagger/docs/Model/Role.md deleted file mode 100644 index 8ee4747fe..000000000 --- a/sdk/php/swagger/docs/Model/Role.md +++ /dev/null @@ -1,11 +0,0 @@ -# Role - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **string** | ID is the role's unique id. | [optional] -**members** | **string[]** | Members is who belongs to the role. | [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/sdk/php/swagger/docs/Model/Roles.md b/sdk/php/swagger/docs/Model/Roles.md deleted file mode 100644 index 83766e9a4..000000000 --- a/sdk/php/swagger/docs/Model/Roles.md +++ /dev/null @@ -1,9 +0,0 @@ -# Roles - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[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/sdk/php/swagger/docs/Model/SwaggerHealthStatus.md b/sdk/php/swagger/docs/Model/SwaggerHealthStatus.md deleted file mode 100644 index 055f6d8d8..000000000 --- a/sdk/php/swagger/docs/Model/SwaggerHealthStatus.md +++ /dev/null @@ -1,10 +0,0 @@ -# SwaggerHealthStatus - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | **string** | Status always contains \"ok\". | [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/sdk/php/swagger/docs/Model/SwaggerNotReadyStatus.md b/sdk/php/swagger/docs/Model/SwaggerNotReadyStatus.md deleted file mode 100644 index b0200afb5..000000000 --- a/sdk/php/swagger/docs/Model/SwaggerNotReadyStatus.md +++ /dev/null @@ -1,10 +0,0 @@ -# SwaggerNotReadyStatus - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**errors** | **map[string,string]** | Errors contains a list of errors that caused the not ready status. | [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/sdk/php/swagger/docs/Model/SwaggerVersion.md b/sdk/php/swagger/docs/Model/SwaggerVersion.md deleted file mode 100644 index a55921418..000000000 --- a/sdk/php/swagger/docs/Model/SwaggerVersion.md +++ /dev/null @@ -1,10 +0,0 @@ -# SwaggerVersion - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**version** | **string** | Version is the service's version. | [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/sdk/php/swagger/docs/Model/UpsertOryAccessControlPolicy.md b/sdk/php/swagger/docs/Model/UpsertOryAccessControlPolicy.md deleted file mode 100644 index 9606c116d..000000000 --- a/sdk/php/swagger/docs/Model/UpsertOryAccessControlPolicy.md +++ /dev/null @@ -1,11 +0,0 @@ -# UpsertOryAccessControlPolicy - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**body** | [**\keto\SDK\Model\OryAccessControlPolicy**](OryAccessControlPolicy.md) | | [optional] -**flavor** | **string** | The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". in: path | - -[[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/sdk/php/swagger/docs/Model/UpsertOryAccessControlPolicyInternalServerError.md b/sdk/php/swagger/docs/Model/UpsertOryAccessControlPolicyInternalServerError.md deleted file mode 100644 index cbd8b755e..000000000 --- a/sdk/php/swagger/docs/Model/UpsertOryAccessControlPolicyInternalServerError.md +++ /dev/null @@ -1,10 +0,0 @@ -# UpsertOryAccessControlPolicyInternalServerError - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**payload** | [**\keto\SDK\Model\UpsertOryAccessControlPolicyInternalServerErrorBody**](UpsertOryAccessControlPolicyInternalServerErrorBody.md) | | [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/sdk/php/swagger/docs/Model/UpsertOryAccessControlPolicyInternalServerErrorBody.md b/sdk/php/swagger/docs/Model/UpsertOryAccessControlPolicyInternalServerErrorBody.md deleted file mode 100644 index 55444eac4..000000000 --- a/sdk/php/swagger/docs/Model/UpsertOryAccessControlPolicyInternalServerErrorBody.md +++ /dev/null @@ -1,15 +0,0 @@ -# UpsertOryAccessControlPolicyInternalServerErrorBody - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**code** | **int** | code | [optional] -**details** | [**map[string,object][]**](map.md) | details | [optional] -**message** | **string** | message | [optional] -**reason** | **string** | reason | [optional] -**request** | **string** | request | [optional] -**status** | **string** | status | [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/sdk/php/swagger/docs/Model/UpsertOryAccessControlPolicyOK.md b/sdk/php/swagger/docs/Model/UpsertOryAccessControlPolicyOK.md deleted file mode 100644 index 33b9a21c0..000000000 --- a/sdk/php/swagger/docs/Model/UpsertOryAccessControlPolicyOK.md +++ /dev/null @@ -1,10 +0,0 @@ -# UpsertOryAccessControlPolicyOK - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**payload** | [**\keto\SDK\Model\OryAccessControlPolicy**](OryAccessControlPolicy.md) | | [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/sdk/php/swagger/docs/Model/UpsertOryAccessControlPolicyReader.md b/sdk/php/swagger/docs/Model/UpsertOryAccessControlPolicyReader.md deleted file mode 100644 index ac91792c0..000000000 --- a/sdk/php/swagger/docs/Model/UpsertOryAccessControlPolicyReader.md +++ /dev/null @@ -1,9 +0,0 @@ -# UpsertOryAccessControlPolicyReader - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[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/sdk/php/swagger/docs/Model/UpsertOryAccessControlPolicyRole.md b/sdk/php/swagger/docs/Model/UpsertOryAccessControlPolicyRole.md deleted file mode 100644 index 1c5e8f4cd..000000000 --- a/sdk/php/swagger/docs/Model/UpsertOryAccessControlPolicyRole.md +++ /dev/null @@ -1,11 +0,0 @@ -# UpsertOryAccessControlPolicyRole - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**body** | [**\keto\SDK\Model\OryAccessControlPolicyRole**](OryAccessControlPolicyRole.md) | | [optional] -**flavor** | **string** | The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". in: path | - -[[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/sdk/php/swagger/docs/Model/UpsertOryAccessControlPolicyRoleInternalServerError.md b/sdk/php/swagger/docs/Model/UpsertOryAccessControlPolicyRoleInternalServerError.md deleted file mode 100644 index 0138080fa..000000000 --- a/sdk/php/swagger/docs/Model/UpsertOryAccessControlPolicyRoleInternalServerError.md +++ /dev/null @@ -1,10 +0,0 @@ -# UpsertOryAccessControlPolicyRoleInternalServerError - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**payload** | [**\keto\SDK\Model\UpsertOryAccessControlPolicyRoleInternalServerErrorBody**](UpsertOryAccessControlPolicyRoleInternalServerErrorBody.md) | | [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/sdk/php/swagger/docs/Model/UpsertOryAccessControlPolicyRoleInternalServerErrorBody.md b/sdk/php/swagger/docs/Model/UpsertOryAccessControlPolicyRoleInternalServerErrorBody.md deleted file mode 100644 index 45915ccf9..000000000 --- a/sdk/php/swagger/docs/Model/UpsertOryAccessControlPolicyRoleInternalServerErrorBody.md +++ /dev/null @@ -1,15 +0,0 @@ -# UpsertOryAccessControlPolicyRoleInternalServerErrorBody - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**code** | **int** | code | [optional] -**details** | [**map[string,object][]**](map.md) | details | [optional] -**message** | **string** | message | [optional] -**reason** | **string** | reason | [optional] -**request** | **string** | request | [optional] -**status** | **string** | status | [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/sdk/php/swagger/docs/Model/UpsertOryAccessControlPolicyRoleOK.md b/sdk/php/swagger/docs/Model/UpsertOryAccessControlPolicyRoleOK.md deleted file mode 100644 index 7bd4233d3..000000000 --- a/sdk/php/swagger/docs/Model/UpsertOryAccessControlPolicyRoleOK.md +++ /dev/null @@ -1,10 +0,0 @@ -# UpsertOryAccessControlPolicyRoleOK - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**payload** | [**\keto\SDK\Model\OryAccessControlPolicyRole**](OryAccessControlPolicyRole.md) | | [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/sdk/php/swagger/docs/Model/UpsertOryAccessControlPolicyRoleReader.md b/sdk/php/swagger/docs/Model/UpsertOryAccessControlPolicyRoleReader.md deleted file mode 100644 index 280545b71..000000000 --- a/sdk/php/swagger/docs/Model/UpsertOryAccessControlPolicyRoleReader.md +++ /dev/null @@ -1,9 +0,0 @@ -# UpsertOryAccessControlPolicyRoleReader - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[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/sdk/php/swagger/docs/Model/Version.md b/sdk/php/swagger/docs/Model/Version.md deleted file mode 100644 index 0ea6a25ec..000000000 --- a/sdk/php/swagger/docs/Model/Version.md +++ /dev/null @@ -1,10 +0,0 @@ -# Version - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**version** | **string** | Version is the service's version. | [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/sdk/php/swagger/git_push.sh b/sdk/php/swagger/git_push.sh deleted file mode 100644 index 228df0fd0..000000000 --- a/sdk/php/swagger/git_push.sh +++ /dev/null @@ -1,52 +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 swagger-petstore-perl "minor update" - -git_user_id=$1 -git_repo_id=$2 -release_note=$3 - -if [ "$git_user_id" = "" ]; then - git_user_id="ory" - echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id" -fi - -if [ "$git_repo_id" = "" ]; then - git_repo_id="swagger" - 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 crediential in your environment." - git remote add origin https://github.com/${git_user_id}/${git_repo_id}.git - else - git remote add origin https://${git_user_id}:${GIT_TOKEN}@github.com/${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://github.com/${git_user_id}/${git_repo_id}.git" -git push origin master 2>&1 | grep -v 'To https' - diff --git a/sdk/php/swagger/lib/Api/EnginesApi.php b/sdk/php/swagger/lib/Api/EnginesApi.php deleted file mode 100644 index dfe6c61af..000000000 --- a/sdk/php/swagger/lib/Api/EnginesApi.php +++ /dev/null @@ -1,1237 +0,0 @@ -apiClient = $apiClient; - } - - /** - * Get API client - * - * @return \keto\SDK\ApiClient get the API client - */ - public function getApiClient() - { - return $this->apiClient; - } - - /** - * Set the API client - * - * @param \keto\SDK\ApiClient $apiClient set the API client - * - * @return EnginesApi - */ - public function setApiClient(\keto\SDK\ApiClient $apiClient) - { - $this->apiClient = $apiClient; - return $this; - } - - /** - * Operation addOryAccessControlPolicyRoleMembers - * - * Add a member to an ORY Access Control Policy Role - * - * Client for keto - * - * @param string $flavor The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". (required) - * @param string $id The ID of the ORY Access Control Policy Role. (required) - * @param \keto\SDK\Model\AddOryAccessControlPolicyRoleMembersBody $body (optional) - * @throws \keto\SDK\ApiException on non-2xx response - * @return \keto\SDK\Model\OryAccessControlPolicyRole - */ - public function addOryAccessControlPolicyRoleMembers($flavor, $id, $body = null) - { - list($response) = $this->addOryAccessControlPolicyRoleMembersWithHttpInfo($flavor, $id, $body); - return $response; - } - - /** - * Operation addOryAccessControlPolicyRoleMembersWithHttpInfo - * - * Add a member to an ORY Access Control Policy Role - * - * Client for keto - * - * @param string $flavor The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". (required) - * @param string $id The ID of the ORY Access Control Policy Role. (required) - * @param \keto\SDK\Model\AddOryAccessControlPolicyRoleMembersBody $body (optional) - * @throws \keto\SDK\ApiException on non-2xx response - * @return array of \keto\SDK\Model\OryAccessControlPolicyRole, HTTP status code, HTTP response headers (array of strings) - */ - public function addOryAccessControlPolicyRoleMembersWithHttpInfo($flavor, $id, $body = null) - { - // verify the required parameter 'flavor' is set - if ($flavor === null) { - throw new \InvalidArgumentException('Missing the required parameter $flavor when calling addOryAccessControlPolicyRoleMembers'); - } - // verify the required parameter 'id' is set - if ($id === null) { - throw new \InvalidArgumentException('Missing the required parameter $id when calling addOryAccessControlPolicyRoleMembers'); - } - // parse inputs - $resourcePath = "/engines/acp/ory/{flavor}/roles/{id}/members"; - $httpBody = ''; - $queryParams = []; - $headerParams = []; - $formParams = []; - $_header_accept = $this->apiClient->selectHeaderAccept(['application/json']); - if (!is_null($_header_accept)) { - $headerParams['Accept'] = $_header_accept; - } - $headerParams['Content-Type'] = $this->apiClient->selectHeaderContentType(['application/json']); - - // path params - if ($flavor !== null) { - $resourcePath = str_replace( - "{" . "flavor" . "}", - $this->apiClient->getSerializer()->toPathValue($flavor), - $resourcePath - ); - } - // path params - if ($id !== null) { - $resourcePath = str_replace( - "{" . "id" . "}", - $this->apiClient->getSerializer()->toPathValue($id), - $resourcePath - ); - } - // body params - $_tempBody = null; - if (isset($body)) { - $_tempBody = $body; - } - - // for model (json/xml) - if (isset($_tempBody)) { - $httpBody = $_tempBody; // $_tempBody is the method argument, if present - } elseif (count($formParams) > 0) { - $httpBody = $formParams; // for HTTP post (form) - } - // make the API Call - try { - list($response, $statusCode, $httpHeader) = $this->apiClient->callApi( - $resourcePath, - 'PUT', - $queryParams, - $httpBody, - $headerParams, - '\keto\SDK\Model\OryAccessControlPolicyRole', - '/engines/acp/ory/{flavor}/roles/{id}/members' - ); - - return [$this->apiClient->getSerializer()->deserialize($response, '\keto\SDK\Model\OryAccessControlPolicyRole', $httpHeader), $statusCode, $httpHeader]; - } catch (ApiException $e) { - switch ($e->getCode()) { - case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\keto\SDK\Model\OryAccessControlPolicyRole', $e->getResponseHeaders()); - $e->setResponseObject($data); - break; - case 500: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\keto\SDK\Model\InlineResponse500', $e->getResponseHeaders()); - $e->setResponseObject($data); - break; - } - - throw $e; - } - } - - /** - * Operation deleteOryAccessControlPolicy - * - * Client for keto - * - * @param string $flavor The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". (required) - * @param string $id The ID of the ORY Access Control Policy Role. (required) - * @throws \keto\SDK\ApiException on non-2xx response - * @return void - */ - public function deleteOryAccessControlPolicy($flavor, $id) - { - list($response) = $this->deleteOryAccessControlPolicyWithHttpInfo($flavor, $id); - return $response; - } - - /** - * Operation deleteOryAccessControlPolicyWithHttpInfo - * - * Client for keto - * - * @param string $flavor The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". (required) - * @param string $id The ID of the ORY Access Control Policy Role. (required) - * @throws \keto\SDK\ApiException on non-2xx response - * @return array of null, HTTP status code, HTTP response headers (array of strings) - */ - public function deleteOryAccessControlPolicyWithHttpInfo($flavor, $id) - { - // verify the required parameter 'flavor' is set - if ($flavor === null) { - throw new \InvalidArgumentException('Missing the required parameter $flavor when calling deleteOryAccessControlPolicy'); - } - // verify the required parameter 'id' is set - if ($id === null) { - throw new \InvalidArgumentException('Missing the required parameter $id when calling deleteOryAccessControlPolicy'); - } - // parse inputs - $resourcePath = "/engines/acp/ory/{flavor}/policies/{id}"; - $httpBody = ''; - $queryParams = []; - $headerParams = []; - $formParams = []; - $_header_accept = $this->apiClient->selectHeaderAccept(['application/json']); - if (!is_null($_header_accept)) { - $headerParams['Accept'] = $_header_accept; - } - $headerParams['Content-Type'] = $this->apiClient->selectHeaderContentType(['application/json']); - - // path params - if ($flavor !== null) { - $resourcePath = str_replace( - "{" . "flavor" . "}", - $this->apiClient->getSerializer()->toPathValue($flavor), - $resourcePath - ); - } - // path params - if ($id !== null) { - $resourcePath = str_replace( - "{" . "id" . "}", - $this->apiClient->getSerializer()->toPathValue($id), - $resourcePath - ); - } - - // for model (json/xml) - if (isset($_tempBody)) { - $httpBody = $_tempBody; // $_tempBody is the method argument, if present - } elseif (count($formParams) > 0) { - $httpBody = $formParams; // for HTTP post (form) - } - // make the API Call - try { - list($response, $statusCode, $httpHeader) = $this->apiClient->callApi( - $resourcePath, - 'DELETE', - $queryParams, - $httpBody, - $headerParams, - null, - '/engines/acp/ory/{flavor}/policies/{id}' - ); - - return [null, $statusCode, $httpHeader]; - } catch (ApiException $e) { - switch ($e->getCode()) { - case 500: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\keto\SDK\Model\InlineResponse500', $e->getResponseHeaders()); - $e->setResponseObject($data); - break; - } - - throw $e; - } - } - - /** - * Operation deleteOryAccessControlPolicyRole - * - * Delete an ORY Access Control Policy Role - * - * Client for keto - * - * @param string $flavor The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". (required) - * @param string $id The ID of the ORY Access Control Policy Role. (required) - * @throws \keto\SDK\ApiException on non-2xx response - * @return void - */ - public function deleteOryAccessControlPolicyRole($flavor, $id) - { - list($response) = $this->deleteOryAccessControlPolicyRoleWithHttpInfo($flavor, $id); - return $response; - } - - /** - * Operation deleteOryAccessControlPolicyRoleWithHttpInfo - * - * Delete an ORY Access Control Policy Role - * - * Client for keto - * - * @param string $flavor The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". (required) - * @param string $id The ID of the ORY Access Control Policy Role. (required) - * @throws \keto\SDK\ApiException on non-2xx response - * @return array of null, HTTP status code, HTTP response headers (array of strings) - */ - public function deleteOryAccessControlPolicyRoleWithHttpInfo($flavor, $id) - { - // verify the required parameter 'flavor' is set - if ($flavor === null) { - throw new \InvalidArgumentException('Missing the required parameter $flavor when calling deleteOryAccessControlPolicyRole'); - } - // verify the required parameter 'id' is set - if ($id === null) { - throw new \InvalidArgumentException('Missing the required parameter $id when calling deleteOryAccessControlPolicyRole'); - } - // parse inputs - $resourcePath = "/engines/acp/ory/{flavor}/roles/{id}"; - $httpBody = ''; - $queryParams = []; - $headerParams = []; - $formParams = []; - $_header_accept = $this->apiClient->selectHeaderAccept(['application/json']); - if (!is_null($_header_accept)) { - $headerParams['Accept'] = $_header_accept; - } - $headerParams['Content-Type'] = $this->apiClient->selectHeaderContentType(['application/json']); - - // path params - if ($flavor !== null) { - $resourcePath = str_replace( - "{" . "flavor" . "}", - $this->apiClient->getSerializer()->toPathValue($flavor), - $resourcePath - ); - } - // path params - if ($id !== null) { - $resourcePath = str_replace( - "{" . "id" . "}", - $this->apiClient->getSerializer()->toPathValue($id), - $resourcePath - ); - } - - // for model (json/xml) - if (isset($_tempBody)) { - $httpBody = $_tempBody; // $_tempBody is the method argument, if present - } elseif (count($formParams) > 0) { - $httpBody = $formParams; // for HTTP post (form) - } - // make the API Call - try { - list($response, $statusCode, $httpHeader) = $this->apiClient->callApi( - $resourcePath, - 'DELETE', - $queryParams, - $httpBody, - $headerParams, - null, - '/engines/acp/ory/{flavor}/roles/{id}' - ); - - return [null, $statusCode, $httpHeader]; - } catch (ApiException $e) { - switch ($e->getCode()) { - case 500: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\keto\SDK\Model\InlineResponse500', $e->getResponseHeaders()); - $e->setResponseObject($data); - break; - } - - throw $e; - } - } - - /** - * Operation doOryAccessControlPoliciesAllow - * - * Check if a request is allowed - * - * Client for keto - * - * @param string $flavor The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". (required) - * @param \keto\SDK\Model\OryAccessControlPolicyAllowedInput $body (optional) - * @throws \keto\SDK\ApiException on non-2xx response - * @return \keto\SDK\Model\AuthorizationResult - */ - public function doOryAccessControlPoliciesAllow($flavor, $body = null) - { - list($response) = $this->doOryAccessControlPoliciesAllowWithHttpInfo($flavor, $body); - return $response; - } - - /** - * Operation doOryAccessControlPoliciesAllowWithHttpInfo - * - * Check if a request is allowed - * - * Client for keto - * - * @param string $flavor The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". (required) - * @param \keto\SDK\Model\OryAccessControlPolicyAllowedInput $body (optional) - * @throws \keto\SDK\ApiException on non-2xx response - * @return array of \keto\SDK\Model\AuthorizationResult, HTTP status code, HTTP response headers (array of strings) - */ - public function doOryAccessControlPoliciesAllowWithHttpInfo($flavor, $body = null) - { - // verify the required parameter 'flavor' is set - if ($flavor === null) { - throw new \InvalidArgumentException('Missing the required parameter $flavor when calling doOryAccessControlPoliciesAllow'); - } - // parse inputs - $resourcePath = "/engines/acp/ory/{flavor}/allowed"; - $httpBody = ''; - $queryParams = []; - $headerParams = []; - $formParams = []; - $_header_accept = $this->apiClient->selectHeaderAccept(['application/json']); - if (!is_null($_header_accept)) { - $headerParams['Accept'] = $_header_accept; - } - $headerParams['Content-Type'] = $this->apiClient->selectHeaderContentType(['application/json']); - - // path params - if ($flavor !== null) { - $resourcePath = str_replace( - "{" . "flavor" . "}", - $this->apiClient->getSerializer()->toPathValue($flavor), - $resourcePath - ); - } - // body params - $_tempBody = null; - if (isset($body)) { - $_tempBody = $body; - } - - // for model (json/xml) - if (isset($_tempBody)) { - $httpBody = $_tempBody; // $_tempBody is the method argument, if present - } elseif (count($formParams) > 0) { - $httpBody = $formParams; // for HTTP post (form) - } - // make the API Call - try { - list($response, $statusCode, $httpHeader) = $this->apiClient->callApi( - $resourcePath, - 'POST', - $queryParams, - $httpBody, - $headerParams, - '\keto\SDK\Model\AuthorizationResult', - '/engines/acp/ory/{flavor}/allowed' - ); - - return [$this->apiClient->getSerializer()->deserialize($response, '\keto\SDK\Model\AuthorizationResult', $httpHeader), $statusCode, $httpHeader]; - } catch (ApiException $e) { - switch ($e->getCode()) { - case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\keto\SDK\Model\AuthorizationResult', $e->getResponseHeaders()); - $e->setResponseObject($data); - break; - case 403: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\keto\SDK\Model\AuthorizationResult', $e->getResponseHeaders()); - $e->setResponseObject($data); - break; - case 500: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\keto\SDK\Model\InlineResponse500', $e->getResponseHeaders()); - $e->setResponseObject($data); - break; - } - - throw $e; - } - } - - /** - * Operation getOryAccessControlPolicy - * - * Client for keto - * - * @param string $flavor The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". (required) - * @param string $id The ID of the ORY Access Control Policy Role. (required) - * @throws \keto\SDK\ApiException on non-2xx response - * @return \keto\SDK\Model\OryAccessControlPolicy - */ - public function getOryAccessControlPolicy($flavor, $id) - { - list($response) = $this->getOryAccessControlPolicyWithHttpInfo($flavor, $id); - return $response; - } - - /** - * Operation getOryAccessControlPolicyWithHttpInfo - * - * Client for keto - * - * @param string $flavor The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". (required) - * @param string $id The ID of the ORY Access Control Policy Role. (required) - * @throws \keto\SDK\ApiException on non-2xx response - * @return array of \keto\SDK\Model\OryAccessControlPolicy, HTTP status code, HTTP response headers (array of strings) - */ - public function getOryAccessControlPolicyWithHttpInfo($flavor, $id) - { - // verify the required parameter 'flavor' is set - if ($flavor === null) { - throw new \InvalidArgumentException('Missing the required parameter $flavor when calling getOryAccessControlPolicy'); - } - // verify the required parameter 'id' is set - if ($id === null) { - throw new \InvalidArgumentException('Missing the required parameter $id when calling getOryAccessControlPolicy'); - } - // parse inputs - $resourcePath = "/engines/acp/ory/{flavor}/policies/{id}"; - $httpBody = ''; - $queryParams = []; - $headerParams = []; - $formParams = []; - $_header_accept = $this->apiClient->selectHeaderAccept(['application/json']); - if (!is_null($_header_accept)) { - $headerParams['Accept'] = $_header_accept; - } - $headerParams['Content-Type'] = $this->apiClient->selectHeaderContentType(['application/json']); - - // path params - if ($flavor !== null) { - $resourcePath = str_replace( - "{" . "flavor" . "}", - $this->apiClient->getSerializer()->toPathValue($flavor), - $resourcePath - ); - } - // path params - if ($id !== null) { - $resourcePath = str_replace( - "{" . "id" . "}", - $this->apiClient->getSerializer()->toPathValue($id), - $resourcePath - ); - } - - // for model (json/xml) - if (isset($_tempBody)) { - $httpBody = $_tempBody; // $_tempBody is the method argument, if present - } elseif (count($formParams) > 0) { - $httpBody = $formParams; // for HTTP post (form) - } - // make the API Call - try { - list($response, $statusCode, $httpHeader) = $this->apiClient->callApi( - $resourcePath, - 'GET', - $queryParams, - $httpBody, - $headerParams, - '\keto\SDK\Model\OryAccessControlPolicy', - '/engines/acp/ory/{flavor}/policies/{id}' - ); - - return [$this->apiClient->getSerializer()->deserialize($response, '\keto\SDK\Model\OryAccessControlPolicy', $httpHeader), $statusCode, $httpHeader]; - } catch (ApiException $e) { - switch ($e->getCode()) { - case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\keto\SDK\Model\OryAccessControlPolicy', $e->getResponseHeaders()); - $e->setResponseObject($data); - break; - case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\keto\SDK\Model\InlineResponse500', $e->getResponseHeaders()); - $e->setResponseObject($data); - break; - case 500: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\keto\SDK\Model\InlineResponse500', $e->getResponseHeaders()); - $e->setResponseObject($data); - break; - } - - throw $e; - } - } - - /** - * Operation getOryAccessControlPolicyRole - * - * Get an ORY Access Control Policy Role - * - * Client for keto - * - * @param string $flavor The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". (required) - * @param string $id The ID of the ORY Access Control Policy Role. (required) - * @throws \keto\SDK\ApiException on non-2xx response - * @return \keto\SDK\Model\OryAccessControlPolicyRole - */ - public function getOryAccessControlPolicyRole($flavor, $id) - { - list($response) = $this->getOryAccessControlPolicyRoleWithHttpInfo($flavor, $id); - return $response; - } - - /** - * Operation getOryAccessControlPolicyRoleWithHttpInfo - * - * Get an ORY Access Control Policy Role - * - * Client for keto - * - * @param string $flavor The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". (required) - * @param string $id The ID of the ORY Access Control Policy Role. (required) - * @throws \keto\SDK\ApiException on non-2xx response - * @return array of \keto\SDK\Model\OryAccessControlPolicyRole, HTTP status code, HTTP response headers (array of strings) - */ - public function getOryAccessControlPolicyRoleWithHttpInfo($flavor, $id) - { - // verify the required parameter 'flavor' is set - if ($flavor === null) { - throw new \InvalidArgumentException('Missing the required parameter $flavor when calling getOryAccessControlPolicyRole'); - } - // verify the required parameter 'id' is set - if ($id === null) { - throw new \InvalidArgumentException('Missing the required parameter $id when calling getOryAccessControlPolicyRole'); - } - // parse inputs - $resourcePath = "/engines/acp/ory/{flavor}/roles/{id}"; - $httpBody = ''; - $queryParams = []; - $headerParams = []; - $formParams = []; - $_header_accept = $this->apiClient->selectHeaderAccept(['application/json']); - if (!is_null($_header_accept)) { - $headerParams['Accept'] = $_header_accept; - } - $headerParams['Content-Type'] = $this->apiClient->selectHeaderContentType(['application/json']); - - // path params - if ($flavor !== null) { - $resourcePath = str_replace( - "{" . "flavor" . "}", - $this->apiClient->getSerializer()->toPathValue($flavor), - $resourcePath - ); - } - // path params - if ($id !== null) { - $resourcePath = str_replace( - "{" . "id" . "}", - $this->apiClient->getSerializer()->toPathValue($id), - $resourcePath - ); - } - - // for model (json/xml) - if (isset($_tempBody)) { - $httpBody = $_tempBody; // $_tempBody is the method argument, if present - } elseif (count($formParams) > 0) { - $httpBody = $formParams; // for HTTP post (form) - } - // make the API Call - try { - list($response, $statusCode, $httpHeader) = $this->apiClient->callApi( - $resourcePath, - 'GET', - $queryParams, - $httpBody, - $headerParams, - '\keto\SDK\Model\OryAccessControlPolicyRole', - '/engines/acp/ory/{flavor}/roles/{id}' - ); - - return [$this->apiClient->getSerializer()->deserialize($response, '\keto\SDK\Model\OryAccessControlPolicyRole', $httpHeader), $statusCode, $httpHeader]; - } catch (ApiException $e) { - switch ($e->getCode()) { - case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\keto\SDK\Model\OryAccessControlPolicyRole', $e->getResponseHeaders()); - $e->setResponseObject($data); - break; - case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\keto\SDK\Model\InlineResponse500', $e->getResponseHeaders()); - $e->setResponseObject($data); - break; - case 500: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\keto\SDK\Model\InlineResponse500', $e->getResponseHeaders()); - $e->setResponseObject($data); - break; - } - - throw $e; - } - } - - /** - * Operation listOryAccessControlPolicies - * - * Client for keto - * - * @param string $flavor The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\" (required) - * @param int $limit The maximum amount of policies returned. (optional) - * @param int $offset The offset from where to start looking. (optional) - * @param string $subject The subject for whom the policies are to be listed. (optional) - * @param string $resource The resource for which the policies are to be listed. (optional) - * @param string $action The action for which policies are to be listed. (optional) - * @throws \keto\SDK\ApiException on non-2xx response - * @return \keto\SDK\Model\OryAccessControlPolicy[] - */ - public function listOryAccessControlPolicies($flavor, $limit = null, $offset = null, $subject = null, $resource = null, $action = null) - { - list($response) = $this->listOryAccessControlPoliciesWithHttpInfo($flavor, $limit, $offset, $subject, $resource, $action); - return $response; - } - - /** - * Operation listOryAccessControlPoliciesWithHttpInfo - * - * Client for keto - * - * @param string $flavor The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\" (required) - * @param int $limit The maximum amount of policies returned. (optional) - * @param int $offset The offset from where to start looking. (optional) - * @param string $subject The subject for whom the policies are to be listed. (optional) - * @param string $resource The resource for which the policies are to be listed. (optional) - * @param string $action The action for which policies are to be listed. (optional) - * @throws \keto\SDK\ApiException on non-2xx response - * @return array of \keto\SDK\Model\OryAccessControlPolicy[], HTTP status code, HTTP response headers (array of strings) - */ - public function listOryAccessControlPoliciesWithHttpInfo($flavor, $limit = null, $offset = null, $subject = null, $resource = null, $action = null) - { - // verify the required parameter 'flavor' is set - if ($flavor === null) { - throw new \InvalidArgumentException('Missing the required parameter $flavor when calling listOryAccessControlPolicies'); - } - // parse inputs - $resourcePath = "/engines/acp/ory/{flavor}/policies"; - $httpBody = ''; - $queryParams = []; - $headerParams = []; - $formParams = []; - $_header_accept = $this->apiClient->selectHeaderAccept(['application/json']); - if (!is_null($_header_accept)) { - $headerParams['Accept'] = $_header_accept; - } - $headerParams['Content-Type'] = $this->apiClient->selectHeaderContentType(['application/json']); - - // query params - if ($limit !== null) { - $queryParams['limit'] = $this->apiClient->getSerializer()->toQueryValue($limit); - } - // query params - if ($offset !== null) { - $queryParams['offset'] = $this->apiClient->getSerializer()->toQueryValue($offset); - } - // query params - if ($subject !== null) { - $queryParams['subject'] = $this->apiClient->getSerializer()->toQueryValue($subject); - } - // query params - if ($resource !== null) { - $queryParams['resource'] = $this->apiClient->getSerializer()->toQueryValue($resource); - } - // query params - if ($action !== null) { - $queryParams['action'] = $this->apiClient->getSerializer()->toQueryValue($action); - } - // path params - if ($flavor !== null) { - $resourcePath = str_replace( - "{" . "flavor" . "}", - $this->apiClient->getSerializer()->toPathValue($flavor), - $resourcePath - ); - } - - // for model (json/xml) - if (isset($_tempBody)) { - $httpBody = $_tempBody; // $_tempBody is the method argument, if present - } elseif (count($formParams) > 0) { - $httpBody = $formParams; // for HTTP post (form) - } - // make the API Call - try { - list($response, $statusCode, $httpHeader) = $this->apiClient->callApi( - $resourcePath, - 'GET', - $queryParams, - $httpBody, - $headerParams, - '\keto\SDK\Model\OryAccessControlPolicy[]', - '/engines/acp/ory/{flavor}/policies' - ); - - return [$this->apiClient->getSerializer()->deserialize($response, '\keto\SDK\Model\OryAccessControlPolicy[]', $httpHeader), $statusCode, $httpHeader]; - } catch (ApiException $e) { - switch ($e->getCode()) { - case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\keto\SDK\Model\OryAccessControlPolicy[]', $e->getResponseHeaders()); - $e->setResponseObject($data); - break; - case 500: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\keto\SDK\Model\InlineResponse500', $e->getResponseHeaders()); - $e->setResponseObject($data); - break; - } - - throw $e; - } - } - - /** - * Operation listOryAccessControlPolicyRoles - * - * List ORY Access Control Policy Roles - * - * Client for keto - * - * @param string $flavor The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\" (required) - * @param int $limit The maximum amount of policies returned. (optional) - * @param int $offset The offset from where to start looking. (optional) - * @param string $member The member for which the roles are to be listed. (optional) - * @throws \keto\SDK\ApiException on non-2xx response - * @return \keto\SDK\Model\OryAccessControlPolicyRole[] - */ - public function listOryAccessControlPolicyRoles($flavor, $limit = null, $offset = null, $member = null) - { - list($response) = $this->listOryAccessControlPolicyRolesWithHttpInfo($flavor, $limit, $offset, $member); - return $response; - } - - /** - * Operation listOryAccessControlPolicyRolesWithHttpInfo - * - * List ORY Access Control Policy Roles - * - * Client for keto - * - * @param string $flavor The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\" (required) - * @param int $limit The maximum amount of policies returned. (optional) - * @param int $offset The offset from where to start looking. (optional) - * @param string $member The member for which the roles are to be listed. (optional) - * @throws \keto\SDK\ApiException on non-2xx response - * @return array of \keto\SDK\Model\OryAccessControlPolicyRole[], HTTP status code, HTTP response headers (array of strings) - */ - public function listOryAccessControlPolicyRolesWithHttpInfo($flavor, $limit = null, $offset = null, $member = null) - { - // verify the required parameter 'flavor' is set - if ($flavor === null) { - throw new \InvalidArgumentException('Missing the required parameter $flavor when calling listOryAccessControlPolicyRoles'); - } - // parse inputs - $resourcePath = "/engines/acp/ory/{flavor}/roles"; - $httpBody = ''; - $queryParams = []; - $headerParams = []; - $formParams = []; - $_header_accept = $this->apiClient->selectHeaderAccept(['application/json']); - if (!is_null($_header_accept)) { - $headerParams['Accept'] = $_header_accept; - } - $headerParams['Content-Type'] = $this->apiClient->selectHeaderContentType(['application/json']); - - // query params - if ($limit !== null) { - $queryParams['limit'] = $this->apiClient->getSerializer()->toQueryValue($limit); - } - // query params - if ($offset !== null) { - $queryParams['offset'] = $this->apiClient->getSerializer()->toQueryValue($offset); - } - // query params - if ($member !== null) { - $queryParams['member'] = $this->apiClient->getSerializer()->toQueryValue($member); - } - // path params - if ($flavor !== null) { - $resourcePath = str_replace( - "{" . "flavor" . "}", - $this->apiClient->getSerializer()->toPathValue($flavor), - $resourcePath - ); - } - - // for model (json/xml) - if (isset($_tempBody)) { - $httpBody = $_tempBody; // $_tempBody is the method argument, if present - } elseif (count($formParams) > 0) { - $httpBody = $formParams; // for HTTP post (form) - } - // make the API Call - try { - list($response, $statusCode, $httpHeader) = $this->apiClient->callApi( - $resourcePath, - 'GET', - $queryParams, - $httpBody, - $headerParams, - '\keto\SDK\Model\OryAccessControlPolicyRole[]', - '/engines/acp/ory/{flavor}/roles' - ); - - return [$this->apiClient->getSerializer()->deserialize($response, '\keto\SDK\Model\OryAccessControlPolicyRole[]', $httpHeader), $statusCode, $httpHeader]; - } catch (ApiException $e) { - switch ($e->getCode()) { - case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\keto\SDK\Model\OryAccessControlPolicyRole[]', $e->getResponseHeaders()); - $e->setResponseObject($data); - break; - case 500: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\keto\SDK\Model\InlineResponse500', $e->getResponseHeaders()); - $e->setResponseObject($data); - break; - } - - throw $e; - } - } - - /** - * Operation removeOryAccessControlPolicyRoleMembers - * - * Remove a member from an ORY Access Control Policy Role - * - * Client for keto - * - * @param string $flavor The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". (required) - * @param string $id The ID of the ORY Access Control Policy Role. (required) - * @param string $member The member to be removed. (required) - * @throws \keto\SDK\ApiException on non-2xx response - * @return void - */ - public function removeOryAccessControlPolicyRoleMembers($flavor, $id, $member) - { - list($response) = $this->removeOryAccessControlPolicyRoleMembersWithHttpInfo($flavor, $id, $member); - return $response; - } - - /** - * Operation removeOryAccessControlPolicyRoleMembersWithHttpInfo - * - * Remove a member from an ORY Access Control Policy Role - * - * Client for keto - * - * @param string $flavor The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". (required) - * @param string $id The ID of the ORY Access Control Policy Role. (required) - * @param string $member The member to be removed. (required) - * @throws \keto\SDK\ApiException on non-2xx response - * @return array of null, HTTP status code, HTTP response headers (array of strings) - */ - public function removeOryAccessControlPolicyRoleMembersWithHttpInfo($flavor, $id, $member) - { - // verify the required parameter 'flavor' is set - if ($flavor === null) { - throw new \InvalidArgumentException('Missing the required parameter $flavor when calling removeOryAccessControlPolicyRoleMembers'); - } - // verify the required parameter 'id' is set - if ($id === null) { - throw new \InvalidArgumentException('Missing the required parameter $id when calling removeOryAccessControlPolicyRoleMembers'); - } - // verify the required parameter 'member' is set - if ($member === null) { - throw new \InvalidArgumentException('Missing the required parameter $member when calling removeOryAccessControlPolicyRoleMembers'); - } - // parse inputs - $resourcePath = "/engines/acp/ory/{flavor}/roles/{id}/members/{member}"; - $httpBody = ''; - $queryParams = []; - $headerParams = []; - $formParams = []; - $_header_accept = $this->apiClient->selectHeaderAccept(['application/json']); - if (!is_null($_header_accept)) { - $headerParams['Accept'] = $_header_accept; - } - $headerParams['Content-Type'] = $this->apiClient->selectHeaderContentType(['application/json']); - - // path params - if ($flavor !== null) { - $resourcePath = str_replace( - "{" . "flavor" . "}", - $this->apiClient->getSerializer()->toPathValue($flavor), - $resourcePath - ); - } - // path params - if ($id !== null) { - $resourcePath = str_replace( - "{" . "id" . "}", - $this->apiClient->getSerializer()->toPathValue($id), - $resourcePath - ); - } - // path params - if ($member !== null) { - $resourcePath = str_replace( - "{" . "member" . "}", - $this->apiClient->getSerializer()->toPathValue($member), - $resourcePath - ); - } - - // for model (json/xml) - if (isset($_tempBody)) { - $httpBody = $_tempBody; // $_tempBody is the method argument, if present - } elseif (count($formParams) > 0) { - $httpBody = $formParams; // for HTTP post (form) - } - // make the API Call - try { - list($response, $statusCode, $httpHeader) = $this->apiClient->callApi( - $resourcePath, - 'DELETE', - $queryParams, - $httpBody, - $headerParams, - null, - '/engines/acp/ory/{flavor}/roles/{id}/members/{member}' - ); - - return [null, $statusCode, $httpHeader]; - } catch (ApiException $e) { - switch ($e->getCode()) { - case 500: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\keto\SDK\Model\InlineResponse500', $e->getResponseHeaders()); - $e->setResponseObject($data); - break; - } - - throw $e; - } - } - - /** - * Operation upsertOryAccessControlPolicy - * - * Client for keto - * - * @param string $flavor The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". (required) - * @param \keto\SDK\Model\OryAccessControlPolicy $body (optional) - * @throws \keto\SDK\ApiException on non-2xx response - * @return \keto\SDK\Model\OryAccessControlPolicy - */ - public function upsertOryAccessControlPolicy($flavor, $body = null) - { - list($response) = $this->upsertOryAccessControlPolicyWithHttpInfo($flavor, $body); - return $response; - } - - /** - * Operation upsertOryAccessControlPolicyWithHttpInfo - * - * Client for keto - * - * @param string $flavor The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". (required) - * @param \keto\SDK\Model\OryAccessControlPolicy $body (optional) - * @throws \keto\SDK\ApiException on non-2xx response - * @return array of \keto\SDK\Model\OryAccessControlPolicy, HTTP status code, HTTP response headers (array of strings) - */ - public function upsertOryAccessControlPolicyWithHttpInfo($flavor, $body = null) - { - // verify the required parameter 'flavor' is set - if ($flavor === null) { - throw new \InvalidArgumentException('Missing the required parameter $flavor when calling upsertOryAccessControlPolicy'); - } - // parse inputs - $resourcePath = "/engines/acp/ory/{flavor}/policies"; - $httpBody = ''; - $queryParams = []; - $headerParams = []; - $formParams = []; - $_header_accept = $this->apiClient->selectHeaderAccept(['application/json']); - if (!is_null($_header_accept)) { - $headerParams['Accept'] = $_header_accept; - } - $headerParams['Content-Type'] = $this->apiClient->selectHeaderContentType(['application/json']); - - // path params - if ($flavor !== null) { - $resourcePath = str_replace( - "{" . "flavor" . "}", - $this->apiClient->getSerializer()->toPathValue($flavor), - $resourcePath - ); - } - // body params - $_tempBody = null; - if (isset($body)) { - $_tempBody = $body; - } - - // for model (json/xml) - if (isset($_tempBody)) { - $httpBody = $_tempBody; // $_tempBody is the method argument, if present - } elseif (count($formParams) > 0) { - $httpBody = $formParams; // for HTTP post (form) - } - // make the API Call - try { - list($response, $statusCode, $httpHeader) = $this->apiClient->callApi( - $resourcePath, - 'PUT', - $queryParams, - $httpBody, - $headerParams, - '\keto\SDK\Model\OryAccessControlPolicy', - '/engines/acp/ory/{flavor}/policies' - ); - - return [$this->apiClient->getSerializer()->deserialize($response, '\keto\SDK\Model\OryAccessControlPolicy', $httpHeader), $statusCode, $httpHeader]; - } catch (ApiException $e) { - switch ($e->getCode()) { - case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\keto\SDK\Model\OryAccessControlPolicy', $e->getResponseHeaders()); - $e->setResponseObject($data); - break; - case 500: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\keto\SDK\Model\InlineResponse500', $e->getResponseHeaders()); - $e->setResponseObject($data); - break; - } - - throw $e; - } - } - - /** - * Operation upsertOryAccessControlPolicyRole - * - * Upsert an ORY Access Control Policy Role - * - * Client for keto - * - * @param string $flavor The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". (required) - * @param \keto\SDK\Model\OryAccessControlPolicyRole $body (optional) - * @throws \keto\SDK\ApiException on non-2xx response - * @return \keto\SDK\Model\OryAccessControlPolicyRole - */ - public function upsertOryAccessControlPolicyRole($flavor, $body = null) - { - list($response) = $this->upsertOryAccessControlPolicyRoleWithHttpInfo($flavor, $body); - return $response; - } - - /** - * Operation upsertOryAccessControlPolicyRoleWithHttpInfo - * - * Upsert an ORY Access Control Policy Role - * - * Client for keto - * - * @param string $flavor The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". (required) - * @param \keto\SDK\Model\OryAccessControlPolicyRole $body (optional) - * @throws \keto\SDK\ApiException on non-2xx response - * @return array of \keto\SDK\Model\OryAccessControlPolicyRole, HTTP status code, HTTP response headers (array of strings) - */ - public function upsertOryAccessControlPolicyRoleWithHttpInfo($flavor, $body = null) - { - // verify the required parameter 'flavor' is set - if ($flavor === null) { - throw new \InvalidArgumentException('Missing the required parameter $flavor when calling upsertOryAccessControlPolicyRole'); - } - // parse inputs - $resourcePath = "/engines/acp/ory/{flavor}/roles"; - $httpBody = ''; - $queryParams = []; - $headerParams = []; - $formParams = []; - $_header_accept = $this->apiClient->selectHeaderAccept(['application/json']); - if (!is_null($_header_accept)) { - $headerParams['Accept'] = $_header_accept; - } - $headerParams['Content-Type'] = $this->apiClient->selectHeaderContentType(['application/json']); - - // path params - if ($flavor !== null) { - $resourcePath = str_replace( - "{" . "flavor" . "}", - $this->apiClient->getSerializer()->toPathValue($flavor), - $resourcePath - ); - } - // body params - $_tempBody = null; - if (isset($body)) { - $_tempBody = $body; - } - - // for model (json/xml) - if (isset($_tempBody)) { - $httpBody = $_tempBody; // $_tempBody is the method argument, if present - } elseif (count($formParams) > 0) { - $httpBody = $formParams; // for HTTP post (form) - } - // make the API Call - try { - list($response, $statusCode, $httpHeader) = $this->apiClient->callApi( - $resourcePath, - 'PUT', - $queryParams, - $httpBody, - $headerParams, - '\keto\SDK\Model\OryAccessControlPolicyRole', - '/engines/acp/ory/{flavor}/roles' - ); - - return [$this->apiClient->getSerializer()->deserialize($response, '\keto\SDK\Model\OryAccessControlPolicyRole', $httpHeader), $statusCode, $httpHeader]; - } catch (ApiException $e) { - switch ($e->getCode()) { - case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\keto\SDK\Model\OryAccessControlPolicyRole', $e->getResponseHeaders()); - $e->setResponseObject($data); - break; - case 500: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\keto\SDK\Model\InlineResponse500', $e->getResponseHeaders()); - $e->setResponseObject($data); - break; - } - - throw $e; - } - } -} diff --git a/sdk/php/swagger/lib/Api/HealthApi.php b/sdk/php/swagger/lib/Api/HealthApi.php deleted file mode 100644 index 50cfdd6ac..000000000 --- a/sdk/php/swagger/lib/Api/HealthApi.php +++ /dev/null @@ -1,241 +0,0 @@ -apiClient = $apiClient; - } - - /** - * Get API client - * - * @return \keto\SDK\ApiClient get the API client - */ - public function getApiClient() - { - return $this->apiClient; - } - - /** - * Set the API client - * - * @param \keto\SDK\ApiClient $apiClient set the API client - * - * @return HealthApi - */ - public function setApiClient(\keto\SDK\ApiClient $apiClient) - { - $this->apiClient = $apiClient; - return $this; - } - - /** - * Operation isInstanceAlive - * - * Check alive status - * - * Client for keto - * - * @throws \keto\SDK\ApiException on non-2xx response - * @return \keto\SDK\Model\HealthStatus - */ - public function isInstanceAlive() - { - list($response) = $this->isInstanceAliveWithHttpInfo(); - return $response; - } - - /** - * Operation isInstanceAliveWithHttpInfo - * - * Check alive status - * - * Client for keto - * - * @throws \keto\SDK\ApiException on non-2xx response - * @return array of \keto\SDK\Model\HealthStatus, HTTP status code, HTTP response headers (array of strings) - */ - public function isInstanceAliveWithHttpInfo() - { - // parse inputs - $resourcePath = "/health/alive"; - $httpBody = ''; - $queryParams = []; - $headerParams = []; - $formParams = []; - $_header_accept = $this->apiClient->selectHeaderAccept(['application/json']); - if (!is_null($_header_accept)) { - $headerParams['Accept'] = $_header_accept; - } - $headerParams['Content-Type'] = $this->apiClient->selectHeaderContentType(['application/json']); - - - // for model (json/xml) - if (isset($_tempBody)) { - $httpBody = $_tempBody; // $_tempBody is the method argument, if present - } elseif (count($formParams) > 0) { - $httpBody = $formParams; // for HTTP post (form) - } - // make the API Call - try { - list($response, $statusCode, $httpHeader) = $this->apiClient->callApi( - $resourcePath, - 'GET', - $queryParams, - $httpBody, - $headerParams, - '\keto\SDK\Model\HealthStatus', - '/health/alive' - ); - - return [$this->apiClient->getSerializer()->deserialize($response, '\keto\SDK\Model\HealthStatus', $httpHeader), $statusCode, $httpHeader]; - } catch (ApiException $e) { - switch ($e->getCode()) { - case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\keto\SDK\Model\HealthStatus', $e->getResponseHeaders()); - $e->setResponseObject($data); - break; - case 500: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\keto\SDK\Model\InlineResponse500', $e->getResponseHeaders()); - $e->setResponseObject($data); - break; - } - - throw $e; - } - } - - /** - * Operation isInstanceReady - * - * Check readiness status - * - * Client for keto - * - * @throws \keto\SDK\ApiException on non-2xx response - * @return \keto\SDK\Model\HealthStatus - */ - public function isInstanceReady() - { - list($response) = $this->isInstanceReadyWithHttpInfo(); - return $response; - } - - /** - * Operation isInstanceReadyWithHttpInfo - * - * Check readiness status - * - * Client for keto - * - * @throws \keto\SDK\ApiException on non-2xx response - * @return array of \keto\SDK\Model\HealthStatus, HTTP status code, HTTP response headers (array of strings) - */ - public function isInstanceReadyWithHttpInfo() - { - // parse inputs - $resourcePath = "/health/ready"; - $httpBody = ''; - $queryParams = []; - $headerParams = []; - $formParams = []; - $_header_accept = $this->apiClient->selectHeaderAccept(['application/json']); - if (!is_null($_header_accept)) { - $headerParams['Accept'] = $_header_accept; - } - $headerParams['Content-Type'] = $this->apiClient->selectHeaderContentType(['application/json']); - - - // for model (json/xml) - if (isset($_tempBody)) { - $httpBody = $_tempBody; // $_tempBody is the method argument, if present - } elseif (count($formParams) > 0) { - $httpBody = $formParams; // for HTTP post (form) - } - // make the API Call - try { - list($response, $statusCode, $httpHeader) = $this->apiClient->callApi( - $resourcePath, - 'GET', - $queryParams, - $httpBody, - $headerParams, - '\keto\SDK\Model\HealthStatus', - '/health/ready' - ); - - return [$this->apiClient->getSerializer()->deserialize($response, '\keto\SDK\Model\HealthStatus', $httpHeader), $statusCode, $httpHeader]; - } catch (ApiException $e) { - switch ($e->getCode()) { - case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\keto\SDK\Model\HealthStatus', $e->getResponseHeaders()); - $e->setResponseObject($data); - break; - case 503: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\keto\SDK\Model\HealthNotReadyStatus', $e->getResponseHeaders()); - $e->setResponseObject($data); - break; - } - - throw $e; - } - } -} diff --git a/sdk/php/swagger/lib/Api/VersionApi.php b/sdk/php/swagger/lib/Api/VersionApi.php deleted file mode 100644 index 09dc91496..000000000 --- a/sdk/php/swagger/lib/Api/VersionApi.php +++ /dev/null @@ -1,161 +0,0 @@ -apiClient = $apiClient; - } - - /** - * Get API client - * - * @return \keto\SDK\ApiClient get the API client - */ - public function getApiClient() - { - return $this->apiClient; - } - - /** - * Set the API client - * - * @param \keto\SDK\ApiClient $apiClient set the API client - * - * @return VersionApi - */ - public function setApiClient(\keto\SDK\ApiClient $apiClient) - { - $this->apiClient = $apiClient; - return $this; - } - - /** - * Operation getVersion - * - * Get service version - * - * Client for keto - * - * @throws \keto\SDK\ApiException on non-2xx response - * @return \keto\SDK\Model\Version - */ - public function getVersion() - { - list($response) = $this->getVersionWithHttpInfo(); - return $response; - } - - /** - * Operation getVersionWithHttpInfo - * - * Get service version - * - * Client for keto - * - * @throws \keto\SDK\ApiException on non-2xx response - * @return array of \keto\SDK\Model\Version, HTTP status code, HTTP response headers (array of strings) - */ - public function getVersionWithHttpInfo() - { - // parse inputs - $resourcePath = "/version"; - $httpBody = ''; - $queryParams = []; - $headerParams = []; - $formParams = []; - $_header_accept = $this->apiClient->selectHeaderAccept(['application/json']); - if (!is_null($_header_accept)) { - $headerParams['Accept'] = $_header_accept; - } - $headerParams['Content-Type'] = $this->apiClient->selectHeaderContentType(['application/json']); - - - // for model (json/xml) - if (isset($_tempBody)) { - $httpBody = $_tempBody; // $_tempBody is the method argument, if present - } elseif (count($formParams) > 0) { - $httpBody = $formParams; // for HTTP post (form) - } - // make the API Call - try { - list($response, $statusCode, $httpHeader) = $this->apiClient->callApi( - $resourcePath, - 'GET', - $queryParams, - $httpBody, - $headerParams, - '\keto\SDK\Model\Version', - '/version' - ); - - return [$this->apiClient->getSerializer()->deserialize($response, '\keto\SDK\Model\Version', $httpHeader), $statusCode, $httpHeader]; - } catch (ApiException $e) { - switch ($e->getCode()) { - case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\keto\SDK\Model\Version', $e->getResponseHeaders()); - $e->setResponseObject($data); - break; - } - - throw $e; - } - } -} diff --git a/sdk/php/swagger/lib/ApiClient.php b/sdk/php/swagger/lib/ApiClient.php deleted file mode 100644 index 8b5af635c..000000000 --- a/sdk/php/swagger/lib/ApiClient.php +++ /dev/null @@ -1,371 +0,0 @@ -config = $config; - $this->serializer = new ObjectSerializer(); - } - - /** - * Get the config - * - * @return Configuration - */ - public function getConfig() - { - return $this->config; - } - - /** - * Get the serializer - * - * @return ObjectSerializer - */ - public function getSerializer() - { - return $this->serializer; - } - - /** - * Get API key (with prefix if set) - * - * @param string $apiKeyIdentifier name of apikey - * - * @return string API key with the prefix - */ - public function getApiKeyWithPrefix($apiKeyIdentifier) - { - $prefix = $this->config->getApiKeyPrefix($apiKeyIdentifier); - $apiKey = $this->config->getApiKey($apiKeyIdentifier); - - if (!isset($apiKey)) { - return null; - } - - if (isset($prefix)) { - $keyWithPrefix = $prefix." ".$apiKey; - } else { - $keyWithPrefix = $apiKey; - } - - return $keyWithPrefix; - } - - /** - * Make the HTTP call (Sync) - * - * @param string $resourcePath path to method endpoint - * @param string $method method to call - * @param array $queryParams parameters to be place in query URL - * @param array $postData parameters to be placed in POST body - * @param array $headerParams parameters to be place in request header - * @param string $responseType expected response type of the endpoint - * @param string $endpointPath path to method endpoint before expanding parameters - * - * @throws \keto\SDK\ApiException on a non 2xx response - * @return mixed - */ - public function callApi($resourcePath, $method, $queryParams, $postData, $headerParams, $responseType = null, $endpointPath = null) - { - $headers = []; - - // construct the http header - $headerParams = array_merge( - (array)$this->config->getDefaultHeaders(), - (array)$headerParams - ); - - foreach ($headerParams as $key => $val) { - $headers[] = "$key: $val"; - } - - // form data - if ($postData and in_array('Content-Type: application/x-www-form-urlencoded', $headers, true)) { - $postData = http_build_query($postData); - } elseif ((is_object($postData) or is_array($postData)) and !in_array('Content-Type: multipart/form-data', $headers, true)) { // json model - $postData = json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($postData)); - } - - $url = $this->config->getHost() . $resourcePath; - - $curl = curl_init(); - // set timeout, if needed - if ($this->config->getCurlTimeout() !== 0) { - curl_setopt($curl, CURLOPT_TIMEOUT, $this->config->getCurlTimeout()); - } - // set connect timeout, if needed - if ($this->config->getCurlConnectTimeout() != 0) { - curl_setopt($curl, CURLOPT_CONNECTTIMEOUT, $this->config->getCurlConnectTimeout()); - } - - // return the result on success, rather than just true - curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); - - curl_setopt($curl, CURLOPT_HTTPHEADER, $headers); - - // disable SSL verification, if needed - if ($this->config->getSSLVerification() === false) { - curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, 0); - curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, 0); - } - - if ($this->config->getCurlProxyHost()) { - curl_setopt($curl, CURLOPT_PROXY, $this->config->getCurlProxyHost()); - } - - if ($this->config->getCurlProxyPort()) { - curl_setopt($curl, CURLOPT_PROXYPORT, $this->config->getCurlProxyPort()); - } - - if ($this->config->getCurlProxyType()) { - curl_setopt($curl, CURLOPT_PROXYTYPE, $this->config->getCurlProxyType()); - } - - if ($this->config->getCurlProxyUser()) { - curl_setopt($curl, CURLOPT_PROXYUSERPWD, $this->config->getCurlProxyUser() . ':' .$this->config->getCurlProxyPassword()); - } - - if (!empty($queryParams)) { - $url = ($url . '?' . http_build_query($queryParams)); - } - - if ($this->config->getAllowEncoding()) { - curl_setopt($curl, CURLOPT_ENCODING, ''); - } - - if ($method === self::$POST) { - curl_setopt($curl, CURLOPT_POST, true); - curl_setopt($curl, CURLOPT_POSTFIELDS, $postData); - } elseif ($method === self::$HEAD) { - curl_setopt($curl, CURLOPT_NOBODY, true); - } elseif ($method === self::$OPTIONS) { - curl_setopt($curl, CURLOPT_CUSTOMREQUEST, "OPTIONS"); - curl_setopt($curl, CURLOPT_POSTFIELDS, $postData); - } elseif ($method === self::$PATCH) { - curl_setopt($curl, CURLOPT_CUSTOMREQUEST, "PATCH"); - curl_setopt($curl, CURLOPT_POSTFIELDS, $postData); - } elseif ($method === self::$PUT) { - curl_setopt($curl, CURLOPT_CUSTOMREQUEST, "PUT"); - curl_setopt($curl, CURLOPT_POSTFIELDS, $postData); - } elseif ($method === self::$DELETE) { - curl_setopt($curl, CURLOPT_CUSTOMREQUEST, "DELETE"); - curl_setopt($curl, CURLOPT_POSTFIELDS, $postData); - } elseif ($method !== self::$GET) { - throw new ApiException('Method ' . $method . ' is not recognized.'); - } - curl_setopt($curl, CURLOPT_URL, $url); - - // Set user agent - curl_setopt($curl, CURLOPT_USERAGENT, $this->config->getUserAgent()); - - // debugging for curl - if ($this->config->getDebug()) { - error_log("[DEBUG] HTTP Request body ~BEGIN~".PHP_EOL.print_r($postData, true).PHP_EOL."~END~".PHP_EOL, 3, $this->config->getDebugFile()); - - curl_setopt($curl, CURLOPT_VERBOSE, 1); - curl_setopt($curl, CURLOPT_STDERR, fopen($this->config->getDebugFile(), 'a')); - } else { - curl_setopt($curl, CURLOPT_VERBOSE, 0); - } - - // obtain the HTTP response headers - curl_setopt($curl, CURLOPT_HEADER, 1); - - // Make the request - $response = curl_exec($curl); - $http_header_size = curl_getinfo($curl, CURLINFO_HEADER_SIZE); - $http_header = $this->httpParseHeaders(substr($response, 0, $http_header_size)); - $http_body = substr($response, $http_header_size); - $response_info = curl_getinfo($curl); - - // debug HTTP response body - if ($this->config->getDebug()) { - error_log("[DEBUG] HTTP Response body ~BEGIN~".PHP_EOL.print_r($http_body, true).PHP_EOL."~END~".PHP_EOL, 3, $this->config->getDebugFile()); - } - - // Handle the response - if ($response_info['http_code'] === 0) { - $curl_error_message = curl_error($curl); - - // curl_exec can sometimes fail but still return a blank message from curl_error(). - if (!empty($curl_error_message)) { - $error_message = "API call to $url failed: $curl_error_message"; - } else { - $error_message = "API call to $url failed, but for an unknown reason. " . - "This could happen if you are disconnected from the network."; - } - - $exception = new ApiException($error_message, 0, null, null); - $exception->setResponseObject($response_info); - throw $exception; - } elseif ($response_info['http_code'] >= 200 && $response_info['http_code'] <= 299) { - // return raw body if response is a file - if ($responseType === '\SplFileObject' || $responseType === 'string') { - return [$http_body, $response_info['http_code'], $http_header]; - } - - $data = json_decode($http_body); - if (json_last_error() > 0) { // if response is a string - $data = $http_body; - } - } else { - $data = json_decode($http_body); - if (json_last_error() > 0) { // if response is a string - $data = $http_body; - } - - throw new ApiException( - "[".$response_info['http_code']."] Error connecting to the API ($url)", - $response_info['http_code'], - $http_header, - $data - ); - } - return [$data, $response_info['http_code'], $http_header]; - } - - /** - * Return the header 'Accept' based on an array of Accept provided - * - * @param string[] $accept Array of header - * - * @return string Accept (e.g. application/json) - */ - public function selectHeaderAccept($accept) - { - if (count($accept) === 0 or (count($accept) === 1 and $accept[0] === '')) { - return null; - } elseif (preg_grep("/application\/json/i", $accept)) { - return 'application/json'; - } else { - return implode(',', $accept); - } - } - - /** - * Return the content type based on an array of content-type provided - * - * @param string[] $content_type Array fo content-type - * - * @return string Content-Type (e.g. application/json) - */ - public function selectHeaderContentType($content_type) - { - if (count($content_type) === 0 or (count($content_type) === 1 and $content_type[0] === '')) { - return 'application/json'; - } elseif (preg_grep("/application\/json/i", $content_type)) { - return 'application/json'; - } else { - return implode(',', $content_type); - } - } - - /** - * Return an array of HTTP response headers - * - * @param string $raw_headers A string of raw HTTP response headers - * - * @return string[] Array of HTTP response heaers - */ - protected function httpParseHeaders($raw_headers) - { - // ref/credit: http://php.net/manual/en/function.http-parse-headers.php#112986 - $headers = []; - $key = ''; - - foreach (explode("\n", $raw_headers) as $h) { - $h = explode(':', $h, 2); - - if (isset($h[1])) { - if (!isset($headers[$h[0]])) { - $headers[$h[0]] = trim($h[1]); - } elseif (is_array($headers[$h[0]])) { - $headers[$h[0]] = array_merge($headers[$h[0]], [trim($h[1])]); - } else { - $headers[$h[0]] = array_merge([$headers[$h[0]]], [trim($h[1])]); - } - - $key = $h[0]; - } else { - if (substr($h[0], 0, 1) === "\t") { - $headers[$key] .= "\r\n\t".trim($h[0]); - } elseif (!$key) { - $headers[0] = trim($h[0]); - } - trim($h[0]); - } - } - - return $headers; - } -} diff --git a/sdk/php/swagger/lib/ApiException.php b/sdk/php/swagger/lib/ApiException.php deleted file mode 100644 index eb8d16d75..000000000 --- a/sdk/php/swagger/lib/ApiException.php +++ /dev/null @@ -1,121 +0,0 @@ -responseHeaders = $responseHeaders; - $this->responseBody = $responseBody; - } - - /** - * Gets the HTTP response header - * - * @return string[] HTTP response headers - */ - public function getResponseHeaders() - { - return $this->responseHeaders; - } - - /** - * Gets the HTTP body of the server response either as Json or string - * - * @return mixed HTTP body of the server response either as \stdClass or string - */ - public function getResponseBody() - { - return $this->responseBody; - } - - /** - * Sets the deseralized response object (during deserialization) - * - * @param mixed $obj Deserialized response object - * - * @return void - */ - public function setResponseObject($obj) - { - $this->responseObject = $obj; - } - - /** - * Gets the deseralized response object (during deserialization) - * - * @return mixed the deserialized response object - */ - public function getResponseObject() - { - return $this->responseObject; - } -} diff --git a/sdk/php/swagger/lib/Configuration.php b/sdk/php/swagger/lib/Configuration.php deleted file mode 100644 index ee41f6196..000000000 --- a/sdk/php/swagger/lib/Configuration.php +++ /dev/null @@ -1,735 +0,0 @@ -tempFolderPath = sys_get_temp_dir(); - } - - /** - * Sets API key - * - * @param string $apiKeyIdentifier API key identifier (authentication scheme) - * @param string $key API key or token - * - * @return $this - */ - public function setApiKey($apiKeyIdentifier, $key) - { - $this->apiKeys[$apiKeyIdentifier] = $key; - return $this; - } - - /** - * Gets API key - * - * @param string $apiKeyIdentifier API key identifier (authentication scheme) - * - * @return string API key or token - */ - public function getApiKey($apiKeyIdentifier) - { - return isset($this->apiKeys[$apiKeyIdentifier]) ? $this->apiKeys[$apiKeyIdentifier] : null; - } - - /** - * Sets the prefix for API key (e.g. Bearer) - * - * @param string $apiKeyIdentifier API key identifier (authentication scheme) - * @param string $prefix API key prefix, e.g. Bearer - * - * @return $this - */ - public function setApiKeyPrefix($apiKeyIdentifier, $prefix) - { - $this->apiKeyPrefixes[$apiKeyIdentifier] = $prefix; - return $this; - } - - /** - * Gets API key prefix - * - * @param string $apiKeyIdentifier API key identifier (authentication scheme) - * - * @return string - */ - public function getApiKeyPrefix($apiKeyIdentifier) - { - return isset($this->apiKeyPrefixes[$apiKeyIdentifier]) ? $this->apiKeyPrefixes[$apiKeyIdentifier] : null; - } - - /** - * Sets the access token for OAuth - * - * @param string $accessToken Token for OAuth - * - * @return $this - */ - public function setAccessToken($accessToken) - { - $this->accessToken = $accessToken; - return $this; - } - - /** - * Gets the access token for OAuth - * - * @return string Access token for OAuth - */ - public function getAccessToken() - { - return $this->accessToken; - } - - /** - * Sets the username for HTTP basic authentication - * - * @param string $username Username for HTTP basic authentication - * - * @return $this - */ - public function setUsername($username) - { - $this->username = $username; - return $this; - } - - /** - * Gets the username for HTTP basic authentication - * - * @return string Username for HTTP basic authentication - */ - public function getUsername() - { - return $this->username; - } - - /** - * Sets the password for HTTP basic authentication - * - * @param string $password Password for HTTP basic authentication - * - * @return $this - */ - public function setPassword($password) - { - $this->password = $password; - return $this; - } - - /** - * Gets the password for HTTP basic authentication - * - * @return string Password for HTTP basic authentication - */ - public function getPassword() - { - return $this->password; - } - - /** - * Adds a default header - * - * @param string $headerName header name (e.g. Token) - * @param string $headerValue header value (e.g. 1z8wp3) - * - * @throws \InvalidArgumentException - * @return $this - */ - public function addDefaultHeader($headerName, $headerValue) - { - if (!is_string($headerName)) { - throw new \InvalidArgumentException('Header name must be a string.'); - } - - $this->defaultHeaders[$headerName] = $headerValue; - return $this; - } - - /** - * Gets the default header - * - * @return array An array of default header(s) - */ - public function getDefaultHeaders() - { - return $this->defaultHeaders; - } - - /** - * Deletes a default header - * - * @param string $headerName the header to delete - * - * @return $this - */ - public function deleteDefaultHeader($headerName) - { - unset($this->defaultHeaders[$headerName]); - return $this; - } - - /** - * Sets the host - * - * @param string $host Host - * - * @return $this - */ - public function setHost($host) - { - $this->host = $host; - return $this; - } - - /** - * Gets the host - * - * @return string Host - */ - public function getHost() - { - return $this->host; - } - - /** - * Sets the user agent of the api client - * - * @param string $userAgent the user agent of the api client - * - * @throws \InvalidArgumentException - * @return $this - */ - public function setUserAgent($userAgent) - { - if (!is_string($userAgent)) { - throw new \InvalidArgumentException('User-agent must be a string.'); - } - - $this->userAgent = $userAgent; - return $this; - } - - /** - * Gets the user agent of the api client - * - * @return string user agent - */ - public function getUserAgent() - { - return $this->userAgent; - } - - /** - * Sets the HTTP timeout value - * - * @param integer $seconds Number of seconds before timing out [set to 0 for no timeout] - * - * @throws \InvalidArgumentException - * @return $this - */ - public function setCurlTimeout($seconds) - { - if (!is_numeric($seconds) || $seconds < 0) { - throw new \InvalidArgumentException('Timeout value must be numeric and a non-negative number.'); - } - - $this->curlTimeout = $seconds; - return $this; - } - - /** - * Gets the HTTP timeout value - * - * @return string HTTP timeout value - */ - public function getCurlTimeout() - { - return $this->curlTimeout; - } - - /** - * Sets the HTTP connect timeout value - * - * @param integer $seconds Number of seconds before connection times out [set to 0 for no timeout] - * - * @throws \InvalidArgumentException - * @return $this - */ - public function setCurlConnectTimeout($seconds) - { - if (!is_numeric($seconds) || $seconds < 0) { - throw new \InvalidArgumentException('Connect timeout value must be numeric and a non-negative number.'); - } - - $this->curlConnectTimeout = $seconds; - return $this; - } - - /** - * Set whether to accept encoding - * @param bool $allowEncoding - * - * @return $this - */ - public function setAllowEncoding($allowEncoding) - { - $this->allowEncoding = $allowEncoding; - return $this; - } - - /** - * Gets the HTTP connect timeout value - * - * @return string HTTP connect timeout value - */ - public function getCurlConnectTimeout() - { - return $this->curlConnectTimeout; - } - - /** - * Get whether to allow encoding - * - * @return bool - */ - public function getAllowEncoding() - { - return $this->allowEncoding; - } - - /** - * Sets the HTTP Proxy Host - * - * @param string $proxyHost HTTP Proxy URL - * - * @return $this - */ - public function setCurlProxyHost($proxyHost) - { - $this->proxyHost = $proxyHost; - return $this; - } - - /** - * Gets the HTTP Proxy Host - * - * @return string - */ - public function getCurlProxyHost() - { - return $this->proxyHost; - } - - /** - * Sets the HTTP Proxy Port - * - * @param integer $proxyPort HTTP Proxy Port - * - * @return $this - */ - public function setCurlProxyPort($proxyPort) - { - $this->proxyPort = $proxyPort; - return $this; - } - - /** - * Gets the HTTP Proxy Port - * - * @return integer - */ - public function getCurlProxyPort() - { - return $this->proxyPort; - } - - /** - * Sets the HTTP Proxy Type - * - * @param integer $proxyType HTTP Proxy Type - * - * @return $this - */ - public function setCurlProxyType($proxyType) - { - $this->proxyType = $proxyType; - return $this; - } - - /** - * Gets the HTTP Proxy Type - * - * @return integer - */ - public function getCurlProxyType() - { - return $this->proxyType; - } - - /** - * Sets the HTTP Proxy User - * - * @param string $proxyUser HTTP Proxy User - * - * @return $this - */ - public function setCurlProxyUser($proxyUser) - { - $this->proxyUser = $proxyUser; - return $this; - } - - /** - * Gets the HTTP Proxy User - * - * @return string - */ - public function getCurlProxyUser() - { - return $this->proxyUser; - } - - /** - * Sets the HTTP Proxy Password - * - * @param string $proxyPassword HTTP Proxy Password - * - * @return $this - */ - public function setCurlProxyPassword($proxyPassword) - { - $this->proxyPassword = $proxyPassword; - return $this; - } - - /** - * Gets the HTTP Proxy Password - * - * @return string - */ - public function getCurlProxyPassword() - { - return $this->proxyPassword; - } - - /** - * Sets debug flag - * - * @param bool $debug Debug flag - * - * @return $this - */ - public function setDebug($debug) - { - $this->debug = $debug; - return $this; - } - - /** - * Gets the debug flag - * - * @return bool - */ - public function getDebug() - { - return $this->debug; - } - - /** - * Sets the debug file - * - * @param string $debugFile Debug file - * - * @return $this - */ - public function setDebugFile($debugFile) - { - $this->debugFile = $debugFile; - return $this; - } - - /** - * Gets the debug file - * - * @return string - */ - public function getDebugFile() - { - return $this->debugFile; - } - - /** - * Sets the temp folder path - * - * @param string $tempFolderPath Temp folder path - * - * @return $this - */ - public function setTempFolderPath($tempFolderPath) - { - $this->tempFolderPath = $tempFolderPath; - return $this; - } - - /** - * Gets the temp folder path - * - * @return string Temp folder path - */ - public function getTempFolderPath() - { - return $this->tempFolderPath; - } - - /** - * Sets if SSL verification should be enabled or disabled - * - * @param boolean $sslVerification True if the certificate should be validated, false otherwise - * - * @return $this - */ - public function setSSLVerification($sslVerification) - { - $this->sslVerification = $sslVerification; - return $this; - } - - /** - * Gets if SSL verification should be enabled or disabled - * - * @return boolean True if the certificate should be validated, false otherwise - */ - public function getSSLVerification() - { - return $this->sslVerification; - } - - /** - * Gets the default configuration instance - * - * @return Configuration - */ - public static function getDefaultConfiguration() - { - if (self::$defaultConfiguration === null) { - self::$defaultConfiguration = new Configuration(); - } - - return self::$defaultConfiguration; - } - - /** - * Sets the detault configuration instance - * - * @param Configuration $config An instance of the Configuration Object - * - * @return void - */ - public static function setDefaultConfiguration(Configuration $config) - { - self::$defaultConfiguration = $config; - } - - /** - * Gets the essential information for debugging - * - * @return string The report for debugging - */ - public static function toDebugReport() - { - $report = 'PHP SDK (keto\SDK) Debug Report:' . PHP_EOL; - $report .= ' OS: ' . php_uname() . PHP_EOL; - $report .= ' PHP Version: ' . PHP_VERSION . PHP_EOL; - $report .= ' OpenAPI Spec Version: Latest' . PHP_EOL; - $report .= ' Temp Folder Path: ' . self::getDefaultConfiguration()->getTempFolderPath() . PHP_EOL; - - return $report; - } -} diff --git a/sdk/php/swagger/lib/Model/AddOryAccessControlPolicyRoleMembers.php b/sdk/php/swagger/lib/Model/AddOryAccessControlPolicyRoleMembers.php deleted file mode 100644 index 88a73bfde..000000000 --- a/sdk/php/swagger/lib/Model/AddOryAccessControlPolicyRoleMembers.php +++ /dev/null @@ -1,309 +0,0 @@ - '\keto\SDK\Model\AddOryAccessControlPolicyRoleMembersBody', - 'flavor' => 'string', - 'id' => 'string' - ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * @var string[] - */ - protected static $swaggerFormats = [ - 'body' => null, - 'flavor' => null, - 'id' => null - ]; - - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, and the value is the original name - * @var string[] - */ - protected static $attributeMap = [ - 'body' => 'Body', - 'flavor' => 'flavor', - 'id' => 'id' - ]; - - - /** - * Array of attributes to setter functions (for deserialization of responses) - * @var string[] - */ - protected static $setters = [ - 'body' => 'setBody', - 'flavor' => 'setFlavor', - 'id' => 'setId' - ]; - - - /** - * Array of attributes to getter functions (for serialization of requests) - * @var string[] - */ - protected static $getters = [ - 'body' => 'getBody', - 'flavor' => 'getFlavor', - 'id' => 'getId' - ]; - - public static function attributeMap() - { - return self::$attributeMap; - } - - public static function setters() - { - return self::$setters; - } - - public static function getters() - { - return self::$getters; - } - - - - - - /** - * Associative array for storing property values - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * @param mixed[] $data Associated array of property values initializing the model - */ - public function __construct(array $data = null) - { - $this->container['body'] = isset($data['body']) ? $data['body'] : null; - $this->container['flavor'] = isset($data['flavor']) ? $data['flavor'] : null; - $this->container['id'] = isset($data['id']) ? $data['id'] : null; - } - - /** - * show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalid_properties = []; - - if ($this->container['flavor'] === null) { - $invalid_properties[] = "'flavor' can't be null"; - } - if ($this->container['id'] === null) { - $invalid_properties[] = "'id' can't be null"; - } - return $invalid_properties; - } - - /** - * validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - - if ($this->container['flavor'] === null) { - return false; - } - if ($this->container['id'] === null) { - return false; - } - return true; - } - - - /** - * Gets body - * @return \keto\SDK\Model\AddOryAccessControlPolicyRoleMembersBody - */ - public function getBody() - { - return $this->container['body']; - } - - /** - * Sets body - * @param \keto\SDK\Model\AddOryAccessControlPolicyRoleMembersBody $body - * @return $this - */ - public function setBody($body) - { - $this->container['body'] = $body; - - return $this; - } - - /** - * Gets flavor - * @return string - */ - public function getFlavor() - { - return $this->container['flavor']; - } - - /** - * Sets flavor - * @param string $flavor The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". in: path - * @return $this - */ - public function setFlavor($flavor) - { - $this->container['flavor'] = $flavor; - - return $this; - } - - /** - * Gets id - * @return string - */ - public function getId() - { - return $this->container['id']; - } - - /** - * Sets id - * @param string $id The ID of the ORY Access Control Policy Role. in: path - * @return $this - */ - public function setId($id) - { - $this->container['id'] = $id; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * @param integer $offset Offset - * @return boolean - */ - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/AddOryAccessControlPolicyRoleMembersBody.php b/sdk/php/swagger/lib/Model/AddOryAccessControlPolicyRoleMembersBody.php deleted file mode 100644 index 8a04e3847..000000000 --- a/sdk/php/swagger/lib/Model/AddOryAccessControlPolicyRoleMembersBody.php +++ /dev/null @@ -1,242 +0,0 @@ - 'string[]' - ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * @var string[] - */ - protected static $swaggerFormats = [ - 'members' => null - ]; - - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, and the value is the original name - * @var string[] - */ - protected static $attributeMap = [ - 'members' => 'members' - ]; - - - /** - * Array of attributes to setter functions (for deserialization of responses) - * @var string[] - */ - protected static $setters = [ - 'members' => 'setMembers' - ]; - - - /** - * Array of attributes to getter functions (for serialization of requests) - * @var string[] - */ - protected static $getters = [ - 'members' => 'getMembers' - ]; - - public static function attributeMap() - { - return self::$attributeMap; - } - - public static function setters() - { - return self::$setters; - } - - public static function getters() - { - return self::$getters; - } - - - - - - /** - * Associative array for storing property values - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * @param mixed[] $data Associated array of property values initializing the model - */ - public function __construct(array $data = null) - { - $this->container['members'] = isset($data['members']) ? $data['members'] : null; - } - - /** - * show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalid_properties = []; - - return $invalid_properties; - } - - /** - * validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - - return true; - } - - - /** - * Gets members - * @return string[] - */ - public function getMembers() - { - return $this->container['members']; - } - - /** - * Sets members - * @param string[] $members The members to be added. - * @return $this - */ - public function setMembers($members) - { - $this->container['members'] = $members; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * @param integer $offset Offset - * @return boolean - */ - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/AddOryAccessControlPolicyRoleMembersInternalServerError.php b/sdk/php/swagger/lib/Model/AddOryAccessControlPolicyRoleMembersInternalServerError.php deleted file mode 100644 index ccb721e63..000000000 --- a/sdk/php/swagger/lib/Model/AddOryAccessControlPolicyRoleMembersInternalServerError.php +++ /dev/null @@ -1,243 +0,0 @@ - '\keto\SDK\Model\AddOryAccessControlPolicyRoleMembersInternalServerErrorBody' - ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * @var string[] - */ - protected static $swaggerFormats = [ - 'payload' => null - ]; - - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, and the value is the original name - * @var string[] - */ - protected static $attributeMap = [ - 'payload' => 'Payload' - ]; - - - /** - * Array of attributes to setter functions (for deserialization of responses) - * @var string[] - */ - protected static $setters = [ - 'payload' => 'setPayload' - ]; - - - /** - * Array of attributes to getter functions (for serialization of requests) - * @var string[] - */ - protected static $getters = [ - 'payload' => 'getPayload' - ]; - - public static function attributeMap() - { - return self::$attributeMap; - } - - public static function setters() - { - return self::$setters; - } - - public static function getters() - { - return self::$getters; - } - - - - - - /** - * Associative array for storing property values - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * @param mixed[] $data Associated array of property values initializing the model - */ - public function __construct(array $data = null) - { - $this->container['payload'] = isset($data['payload']) ? $data['payload'] : null; - } - - /** - * show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalid_properties = []; - - return $invalid_properties; - } - - /** - * validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - - return true; - } - - - /** - * Gets payload - * @return \keto\SDK\Model\AddOryAccessControlPolicyRoleMembersInternalServerErrorBody - */ - public function getPayload() - { - return $this->container['payload']; - } - - /** - * Sets payload - * @param \keto\SDK\Model\AddOryAccessControlPolicyRoleMembersInternalServerErrorBody $payload - * @return $this - */ - public function setPayload($payload) - { - $this->container['payload'] = $payload; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * @param integer $offset Offset - * @return boolean - */ - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/AddOryAccessControlPolicyRoleMembersInternalServerErrorBody.php b/sdk/php/swagger/lib/Model/AddOryAccessControlPolicyRoleMembersInternalServerErrorBody.php deleted file mode 100644 index 37a9f055b..000000000 --- a/sdk/php/swagger/lib/Model/AddOryAccessControlPolicyRoleMembersInternalServerErrorBody.php +++ /dev/null @@ -1,378 +0,0 @@ - 'int', - 'details' => 'map[string,object][]', - 'message' => 'string', - 'reason' => 'string', - 'request' => 'string', - 'status' => 'string' - ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * @var string[] - */ - protected static $swaggerFormats = [ - 'code' => 'int64', - 'details' => null, - 'message' => null, - 'reason' => null, - 'request' => null, - 'status' => null - ]; - - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, and the value is the original name - * @var string[] - */ - protected static $attributeMap = [ - 'code' => 'code', - 'details' => 'details', - 'message' => 'message', - 'reason' => 'reason', - 'request' => 'request', - 'status' => 'status' - ]; - - - /** - * Array of attributes to setter functions (for deserialization of responses) - * @var string[] - */ - protected static $setters = [ - 'code' => 'setCode', - 'details' => 'setDetails', - 'message' => 'setMessage', - 'reason' => 'setReason', - 'request' => 'setRequest', - 'status' => 'setStatus' - ]; - - - /** - * Array of attributes to getter functions (for serialization of requests) - * @var string[] - */ - protected static $getters = [ - 'code' => 'getCode', - 'details' => 'getDetails', - 'message' => 'getMessage', - 'reason' => 'getReason', - 'request' => 'getRequest', - 'status' => 'getStatus' - ]; - - public static function attributeMap() - { - return self::$attributeMap; - } - - public static function setters() - { - return self::$setters; - } - - public static function getters() - { - return self::$getters; - } - - - - - - /** - * Associative array for storing property values - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * @param mixed[] $data Associated array of property values initializing the model - */ - public function __construct(array $data = null) - { - $this->container['code'] = isset($data['code']) ? $data['code'] : null; - $this->container['details'] = isset($data['details']) ? $data['details'] : null; - $this->container['message'] = isset($data['message']) ? $data['message'] : null; - $this->container['reason'] = isset($data['reason']) ? $data['reason'] : null; - $this->container['request'] = isset($data['request']) ? $data['request'] : null; - $this->container['status'] = isset($data['status']) ? $data['status'] : null; - } - - /** - * show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalid_properties = []; - - return $invalid_properties; - } - - /** - * validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - - return true; - } - - - /** - * Gets code - * @return int - */ - public function getCode() - { - return $this->container['code']; - } - - /** - * Sets code - * @param int $code code - * @return $this - */ - public function setCode($code) - { - $this->container['code'] = $code; - - return $this; - } - - /** - * Gets details - * @return map[string,object][] - */ - public function getDetails() - { - return $this->container['details']; - } - - /** - * Sets details - * @param map[string,object][] $details details - * @return $this - */ - public function setDetails($details) - { - $this->container['details'] = $details; - - return $this; - } - - /** - * Gets message - * @return string - */ - public function getMessage() - { - return $this->container['message']; - } - - /** - * Sets message - * @param string $message message - * @return $this - */ - public function setMessage($message) - { - $this->container['message'] = $message; - - return $this; - } - - /** - * Gets reason - * @return string - */ - public function getReason() - { - return $this->container['reason']; - } - - /** - * Sets reason - * @param string $reason reason - * @return $this - */ - public function setReason($reason) - { - $this->container['reason'] = $reason; - - return $this; - } - - /** - * Gets request - * @return string - */ - public function getRequest() - { - return $this->container['request']; - } - - /** - * Sets request - * @param string $request request - * @return $this - */ - public function setRequest($request) - { - $this->container['request'] = $request; - - return $this; - } - - /** - * Gets status - * @return string - */ - public function getStatus() - { - return $this->container['status']; - } - - /** - * Sets status - * @param string $status status - * @return $this - */ - public function setStatus($status) - { - $this->container['status'] = $status; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * @param integer $offset Offset - * @return boolean - */ - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/AddOryAccessControlPolicyRoleMembersOK.php b/sdk/php/swagger/lib/Model/AddOryAccessControlPolicyRoleMembersOK.php deleted file mode 100644 index da3b52997..000000000 --- a/sdk/php/swagger/lib/Model/AddOryAccessControlPolicyRoleMembersOK.php +++ /dev/null @@ -1,243 +0,0 @@ - '\keto\SDK\Model\OryAccessControlPolicyRole' - ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * @var string[] - */ - protected static $swaggerFormats = [ - 'payload' => null - ]; - - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, and the value is the original name - * @var string[] - */ - protected static $attributeMap = [ - 'payload' => 'Payload' - ]; - - - /** - * Array of attributes to setter functions (for deserialization of responses) - * @var string[] - */ - protected static $setters = [ - 'payload' => 'setPayload' - ]; - - - /** - * Array of attributes to getter functions (for serialization of requests) - * @var string[] - */ - protected static $getters = [ - 'payload' => 'getPayload' - ]; - - public static function attributeMap() - { - return self::$attributeMap; - } - - public static function setters() - { - return self::$setters; - } - - public static function getters() - { - return self::$getters; - } - - - - - - /** - * Associative array for storing property values - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * @param mixed[] $data Associated array of property values initializing the model - */ - public function __construct(array $data = null) - { - $this->container['payload'] = isset($data['payload']) ? $data['payload'] : null; - } - - /** - * show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalid_properties = []; - - return $invalid_properties; - } - - /** - * validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - - return true; - } - - - /** - * Gets payload - * @return \keto\SDK\Model\OryAccessControlPolicyRole - */ - public function getPayload() - { - return $this->container['payload']; - } - - /** - * Sets payload - * @param \keto\SDK\Model\OryAccessControlPolicyRole $payload - * @return $this - */ - public function setPayload($payload) - { - $this->container['payload'] = $payload; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * @param integer $offset Offset - * @return boolean - */ - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/AddOryAccessControlPolicyRoleMembersReader.php b/sdk/php/swagger/lib/Model/AddOryAccessControlPolicyRoleMembersReader.php deleted file mode 100644 index 2d6206096..000000000 --- a/sdk/php/swagger/lib/Model/AddOryAccessControlPolicyRoleMembersReader.php +++ /dev/null @@ -1,220 +0,0 @@ -container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/AuthorizationResult.php b/sdk/php/swagger/lib/Model/AuthorizationResult.php deleted file mode 100644 index f634bd48a..000000000 --- a/sdk/php/swagger/lib/Model/AuthorizationResult.php +++ /dev/null @@ -1,248 +0,0 @@ - 'bool' - ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * @var string[] - */ - protected static $swaggerFormats = [ - 'allowed' => null - ]; - - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, and the value is the original name - * @var string[] - */ - protected static $attributeMap = [ - 'allowed' => 'allowed' - ]; - - - /** - * Array of attributes to setter functions (for deserialization of responses) - * @var string[] - */ - protected static $setters = [ - 'allowed' => 'setAllowed' - ]; - - - /** - * Array of attributes to getter functions (for serialization of requests) - * @var string[] - */ - protected static $getters = [ - 'allowed' => 'getAllowed' - ]; - - public static function attributeMap() - { - return self::$attributeMap; - } - - public static function setters() - { - return self::$setters; - } - - public static function getters() - { - return self::$getters; - } - - - - - - /** - * Associative array for storing property values - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * @param mixed[] $data Associated array of property values initializing the model - */ - public function __construct(array $data = null) - { - $this->container['allowed'] = isset($data['allowed']) ? $data['allowed'] : null; - } - - /** - * show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalid_properties = []; - - if ($this->container['allowed'] === null) { - $invalid_properties[] = "'allowed' can't be null"; - } - return $invalid_properties; - } - - /** - * validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - - if ($this->container['allowed'] === null) { - return false; - } - return true; - } - - - /** - * Gets allowed - * @return bool - */ - public function getAllowed() - { - return $this->container['allowed']; - } - - /** - * Sets allowed - * @param bool $allowed Allowed is true if the request should be allowed and false otherwise. - * @return $this - */ - public function setAllowed($allowed) - { - $this->container['allowed'] = $allowed; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * @param integer $offset Offset - * @return boolean - */ - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/Context.php b/sdk/php/swagger/lib/Model/Context.php deleted file mode 100644 index da33ada17..000000000 --- a/sdk/php/swagger/lib/Model/Context.php +++ /dev/null @@ -1,224 +0,0 @@ -container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicy.php b/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicy.php deleted file mode 100644 index 4df98209a..000000000 --- a/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicy.php +++ /dev/null @@ -1,282 +0,0 @@ - 'string', - 'id' => 'string' - ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * @var string[] - */ - protected static $swaggerFormats = [ - 'flavor' => null, - 'id' => null - ]; - - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, and the value is the original name - * @var string[] - */ - protected static $attributeMap = [ - 'flavor' => 'flavor', - 'id' => 'id' - ]; - - - /** - * Array of attributes to setter functions (for deserialization of responses) - * @var string[] - */ - protected static $setters = [ - 'flavor' => 'setFlavor', - 'id' => 'setId' - ]; - - - /** - * Array of attributes to getter functions (for serialization of requests) - * @var string[] - */ - protected static $getters = [ - 'flavor' => 'getFlavor', - 'id' => 'getId' - ]; - - public static function attributeMap() - { - return self::$attributeMap; - } - - public static function setters() - { - return self::$setters; - } - - public static function getters() - { - return self::$getters; - } - - - - - - /** - * Associative array for storing property values - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * @param mixed[] $data Associated array of property values initializing the model - */ - public function __construct(array $data = null) - { - $this->container['flavor'] = isset($data['flavor']) ? $data['flavor'] : null; - $this->container['id'] = isset($data['id']) ? $data['id'] : null; - } - - /** - * show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalid_properties = []; - - if ($this->container['flavor'] === null) { - $invalid_properties[] = "'flavor' can't be null"; - } - if ($this->container['id'] === null) { - $invalid_properties[] = "'id' can't be null"; - } - return $invalid_properties; - } - - /** - * validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - - if ($this->container['flavor'] === null) { - return false; - } - if ($this->container['id'] === null) { - return false; - } - return true; - } - - - /** - * Gets flavor - * @return string - */ - public function getFlavor() - { - return $this->container['flavor']; - } - - /** - * Sets flavor - * @param string $flavor The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". in: path - * @return $this - */ - public function setFlavor($flavor) - { - $this->container['flavor'] = $flavor; - - return $this; - } - - /** - * Gets id - * @return string - */ - public function getId() - { - return $this->container['id']; - } - - /** - * Sets id - * @param string $id The ID of the ORY Access Control Policy Role. in: path - * @return $this - */ - public function setId($id) - { - $this->container['id'] = $id; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * @param integer $offset Offset - * @return boolean - */ - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicyCreated.php b/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicyCreated.php deleted file mode 100644 index 324062adf..000000000 --- a/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicyCreated.php +++ /dev/null @@ -1,221 +0,0 @@ -container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicyInternalServerError.php b/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicyInternalServerError.php deleted file mode 100644 index 794ccf563..000000000 --- a/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicyInternalServerError.php +++ /dev/null @@ -1,243 +0,0 @@ - '\keto\SDK\Model\DeleteOryAccessControlPolicyInternalServerErrorBody' - ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * @var string[] - */ - protected static $swaggerFormats = [ - 'payload' => null - ]; - - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, and the value is the original name - * @var string[] - */ - protected static $attributeMap = [ - 'payload' => 'Payload' - ]; - - - /** - * Array of attributes to setter functions (for deserialization of responses) - * @var string[] - */ - protected static $setters = [ - 'payload' => 'setPayload' - ]; - - - /** - * Array of attributes to getter functions (for serialization of requests) - * @var string[] - */ - protected static $getters = [ - 'payload' => 'getPayload' - ]; - - public static function attributeMap() - { - return self::$attributeMap; - } - - public static function setters() - { - return self::$setters; - } - - public static function getters() - { - return self::$getters; - } - - - - - - /** - * Associative array for storing property values - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * @param mixed[] $data Associated array of property values initializing the model - */ - public function __construct(array $data = null) - { - $this->container['payload'] = isset($data['payload']) ? $data['payload'] : null; - } - - /** - * show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalid_properties = []; - - return $invalid_properties; - } - - /** - * validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - - return true; - } - - - /** - * Gets payload - * @return \keto\SDK\Model\DeleteOryAccessControlPolicyInternalServerErrorBody - */ - public function getPayload() - { - return $this->container['payload']; - } - - /** - * Sets payload - * @param \keto\SDK\Model\DeleteOryAccessControlPolicyInternalServerErrorBody $payload - * @return $this - */ - public function setPayload($payload) - { - $this->container['payload'] = $payload; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * @param integer $offset Offset - * @return boolean - */ - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicyInternalServerErrorBody.php b/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicyInternalServerErrorBody.php deleted file mode 100644 index 72cc35056..000000000 --- a/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicyInternalServerErrorBody.php +++ /dev/null @@ -1,378 +0,0 @@ - 'int', - 'details' => 'map[string,object][]', - 'message' => 'string', - 'reason' => 'string', - 'request' => 'string', - 'status' => 'string' - ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * @var string[] - */ - protected static $swaggerFormats = [ - 'code' => 'int64', - 'details' => null, - 'message' => null, - 'reason' => null, - 'request' => null, - 'status' => null - ]; - - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, and the value is the original name - * @var string[] - */ - protected static $attributeMap = [ - 'code' => 'code', - 'details' => 'details', - 'message' => 'message', - 'reason' => 'reason', - 'request' => 'request', - 'status' => 'status' - ]; - - - /** - * Array of attributes to setter functions (for deserialization of responses) - * @var string[] - */ - protected static $setters = [ - 'code' => 'setCode', - 'details' => 'setDetails', - 'message' => 'setMessage', - 'reason' => 'setReason', - 'request' => 'setRequest', - 'status' => 'setStatus' - ]; - - - /** - * Array of attributes to getter functions (for serialization of requests) - * @var string[] - */ - protected static $getters = [ - 'code' => 'getCode', - 'details' => 'getDetails', - 'message' => 'getMessage', - 'reason' => 'getReason', - 'request' => 'getRequest', - 'status' => 'getStatus' - ]; - - public static function attributeMap() - { - return self::$attributeMap; - } - - public static function setters() - { - return self::$setters; - } - - public static function getters() - { - return self::$getters; - } - - - - - - /** - * Associative array for storing property values - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * @param mixed[] $data Associated array of property values initializing the model - */ - public function __construct(array $data = null) - { - $this->container['code'] = isset($data['code']) ? $data['code'] : null; - $this->container['details'] = isset($data['details']) ? $data['details'] : null; - $this->container['message'] = isset($data['message']) ? $data['message'] : null; - $this->container['reason'] = isset($data['reason']) ? $data['reason'] : null; - $this->container['request'] = isset($data['request']) ? $data['request'] : null; - $this->container['status'] = isset($data['status']) ? $data['status'] : null; - } - - /** - * show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalid_properties = []; - - return $invalid_properties; - } - - /** - * validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - - return true; - } - - - /** - * Gets code - * @return int - */ - public function getCode() - { - return $this->container['code']; - } - - /** - * Sets code - * @param int $code code - * @return $this - */ - public function setCode($code) - { - $this->container['code'] = $code; - - return $this; - } - - /** - * Gets details - * @return map[string,object][] - */ - public function getDetails() - { - return $this->container['details']; - } - - /** - * Sets details - * @param map[string,object][] $details details - * @return $this - */ - public function setDetails($details) - { - $this->container['details'] = $details; - - return $this; - } - - /** - * Gets message - * @return string - */ - public function getMessage() - { - return $this->container['message']; - } - - /** - * Sets message - * @param string $message message - * @return $this - */ - public function setMessage($message) - { - $this->container['message'] = $message; - - return $this; - } - - /** - * Gets reason - * @return string - */ - public function getReason() - { - return $this->container['reason']; - } - - /** - * Sets reason - * @param string $reason reason - * @return $this - */ - public function setReason($reason) - { - $this->container['reason'] = $reason; - - return $this; - } - - /** - * Gets request - * @return string - */ - public function getRequest() - { - return $this->container['request']; - } - - /** - * Sets request - * @param string $request request - * @return $this - */ - public function setRequest($request) - { - $this->container['request'] = $request; - - return $this; - } - - /** - * Gets status - * @return string - */ - public function getStatus() - { - return $this->container['status']; - } - - /** - * Sets status - * @param string $status status - * @return $this - */ - public function setStatus($status) - { - $this->container['status'] = $status; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * @param integer $offset Offset - * @return boolean - */ - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicyNoContent.php b/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicyNoContent.php deleted file mode 100644 index b98f759ce..000000000 --- a/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicyNoContent.php +++ /dev/null @@ -1,221 +0,0 @@ -container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicyReader.php b/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicyReader.php deleted file mode 100644 index f7bdb6f06..000000000 --- a/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicyReader.php +++ /dev/null @@ -1,220 +0,0 @@ -container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicyRole.php b/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicyRole.php deleted file mode 100644 index 44920a563..000000000 --- a/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicyRole.php +++ /dev/null @@ -1,282 +0,0 @@ - 'string', - 'id' => 'string' - ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * @var string[] - */ - protected static $swaggerFormats = [ - 'flavor' => null, - 'id' => null - ]; - - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, and the value is the original name - * @var string[] - */ - protected static $attributeMap = [ - 'flavor' => 'flavor', - 'id' => 'id' - ]; - - - /** - * Array of attributes to setter functions (for deserialization of responses) - * @var string[] - */ - protected static $setters = [ - 'flavor' => 'setFlavor', - 'id' => 'setId' - ]; - - - /** - * Array of attributes to getter functions (for serialization of requests) - * @var string[] - */ - protected static $getters = [ - 'flavor' => 'getFlavor', - 'id' => 'getId' - ]; - - public static function attributeMap() - { - return self::$attributeMap; - } - - public static function setters() - { - return self::$setters; - } - - public static function getters() - { - return self::$getters; - } - - - - - - /** - * Associative array for storing property values - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * @param mixed[] $data Associated array of property values initializing the model - */ - public function __construct(array $data = null) - { - $this->container['flavor'] = isset($data['flavor']) ? $data['flavor'] : null; - $this->container['id'] = isset($data['id']) ? $data['id'] : null; - } - - /** - * show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalid_properties = []; - - if ($this->container['flavor'] === null) { - $invalid_properties[] = "'flavor' can't be null"; - } - if ($this->container['id'] === null) { - $invalid_properties[] = "'id' can't be null"; - } - return $invalid_properties; - } - - /** - * validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - - if ($this->container['flavor'] === null) { - return false; - } - if ($this->container['id'] === null) { - return false; - } - return true; - } - - - /** - * Gets flavor - * @return string - */ - public function getFlavor() - { - return $this->container['flavor']; - } - - /** - * Sets flavor - * @param string $flavor The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". in: path - * @return $this - */ - public function setFlavor($flavor) - { - $this->container['flavor'] = $flavor; - - return $this; - } - - /** - * Gets id - * @return string - */ - public function getId() - { - return $this->container['id']; - } - - /** - * Sets id - * @param string $id The ID of the ORY Access Control Policy Role. in: path - * @return $this - */ - public function setId($id) - { - $this->container['id'] = $id; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * @param integer $offset Offset - * @return boolean - */ - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicyRoleCreated.php b/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicyRoleCreated.php deleted file mode 100644 index eb5bb61a1..000000000 --- a/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicyRoleCreated.php +++ /dev/null @@ -1,221 +0,0 @@ -container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicyRoleInternalServerError.php b/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicyRoleInternalServerError.php deleted file mode 100644 index af4679f64..000000000 --- a/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicyRoleInternalServerError.php +++ /dev/null @@ -1,243 +0,0 @@ - '\keto\SDK\Model\DeleteOryAccessControlPolicyRoleInternalServerErrorBody' - ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * @var string[] - */ - protected static $swaggerFormats = [ - 'payload' => null - ]; - - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, and the value is the original name - * @var string[] - */ - protected static $attributeMap = [ - 'payload' => 'Payload' - ]; - - - /** - * Array of attributes to setter functions (for deserialization of responses) - * @var string[] - */ - protected static $setters = [ - 'payload' => 'setPayload' - ]; - - - /** - * Array of attributes to getter functions (for serialization of requests) - * @var string[] - */ - protected static $getters = [ - 'payload' => 'getPayload' - ]; - - public static function attributeMap() - { - return self::$attributeMap; - } - - public static function setters() - { - return self::$setters; - } - - public static function getters() - { - return self::$getters; - } - - - - - - /** - * Associative array for storing property values - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * @param mixed[] $data Associated array of property values initializing the model - */ - public function __construct(array $data = null) - { - $this->container['payload'] = isset($data['payload']) ? $data['payload'] : null; - } - - /** - * show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalid_properties = []; - - return $invalid_properties; - } - - /** - * validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - - return true; - } - - - /** - * Gets payload - * @return \keto\SDK\Model\DeleteOryAccessControlPolicyRoleInternalServerErrorBody - */ - public function getPayload() - { - return $this->container['payload']; - } - - /** - * Sets payload - * @param \keto\SDK\Model\DeleteOryAccessControlPolicyRoleInternalServerErrorBody $payload - * @return $this - */ - public function setPayload($payload) - { - $this->container['payload'] = $payload; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * @param integer $offset Offset - * @return boolean - */ - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicyRoleInternalServerErrorBody.php b/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicyRoleInternalServerErrorBody.php deleted file mode 100644 index 7a90aa781..000000000 --- a/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicyRoleInternalServerErrorBody.php +++ /dev/null @@ -1,378 +0,0 @@ - 'int', - 'details' => 'map[string,object][]', - 'message' => 'string', - 'reason' => 'string', - 'request' => 'string', - 'status' => 'string' - ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * @var string[] - */ - protected static $swaggerFormats = [ - 'code' => 'int64', - 'details' => null, - 'message' => null, - 'reason' => null, - 'request' => null, - 'status' => null - ]; - - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, and the value is the original name - * @var string[] - */ - protected static $attributeMap = [ - 'code' => 'code', - 'details' => 'details', - 'message' => 'message', - 'reason' => 'reason', - 'request' => 'request', - 'status' => 'status' - ]; - - - /** - * Array of attributes to setter functions (for deserialization of responses) - * @var string[] - */ - protected static $setters = [ - 'code' => 'setCode', - 'details' => 'setDetails', - 'message' => 'setMessage', - 'reason' => 'setReason', - 'request' => 'setRequest', - 'status' => 'setStatus' - ]; - - - /** - * Array of attributes to getter functions (for serialization of requests) - * @var string[] - */ - protected static $getters = [ - 'code' => 'getCode', - 'details' => 'getDetails', - 'message' => 'getMessage', - 'reason' => 'getReason', - 'request' => 'getRequest', - 'status' => 'getStatus' - ]; - - public static function attributeMap() - { - return self::$attributeMap; - } - - public static function setters() - { - return self::$setters; - } - - public static function getters() - { - return self::$getters; - } - - - - - - /** - * Associative array for storing property values - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * @param mixed[] $data Associated array of property values initializing the model - */ - public function __construct(array $data = null) - { - $this->container['code'] = isset($data['code']) ? $data['code'] : null; - $this->container['details'] = isset($data['details']) ? $data['details'] : null; - $this->container['message'] = isset($data['message']) ? $data['message'] : null; - $this->container['reason'] = isset($data['reason']) ? $data['reason'] : null; - $this->container['request'] = isset($data['request']) ? $data['request'] : null; - $this->container['status'] = isset($data['status']) ? $data['status'] : null; - } - - /** - * show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalid_properties = []; - - return $invalid_properties; - } - - /** - * validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - - return true; - } - - - /** - * Gets code - * @return int - */ - public function getCode() - { - return $this->container['code']; - } - - /** - * Sets code - * @param int $code code - * @return $this - */ - public function setCode($code) - { - $this->container['code'] = $code; - - return $this; - } - - /** - * Gets details - * @return map[string,object][] - */ - public function getDetails() - { - return $this->container['details']; - } - - /** - * Sets details - * @param map[string,object][] $details details - * @return $this - */ - public function setDetails($details) - { - $this->container['details'] = $details; - - return $this; - } - - /** - * Gets message - * @return string - */ - public function getMessage() - { - return $this->container['message']; - } - - /** - * Sets message - * @param string $message message - * @return $this - */ - public function setMessage($message) - { - $this->container['message'] = $message; - - return $this; - } - - /** - * Gets reason - * @return string - */ - public function getReason() - { - return $this->container['reason']; - } - - /** - * Sets reason - * @param string $reason reason - * @return $this - */ - public function setReason($reason) - { - $this->container['reason'] = $reason; - - return $this; - } - - /** - * Gets request - * @return string - */ - public function getRequest() - { - return $this->container['request']; - } - - /** - * Sets request - * @param string $request request - * @return $this - */ - public function setRequest($request) - { - $this->container['request'] = $request; - - return $this; - } - - /** - * Gets status - * @return string - */ - public function getStatus() - { - return $this->container['status']; - } - - /** - * Sets status - * @param string $status status - * @return $this - */ - public function setStatus($status) - { - $this->container['status'] = $status; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * @param integer $offset Offset - * @return boolean - */ - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicyRoleNoContent.php b/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicyRoleNoContent.php deleted file mode 100644 index 0232ee821..000000000 --- a/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicyRoleNoContent.php +++ /dev/null @@ -1,221 +0,0 @@ -container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicyRoleReader.php b/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicyRoleReader.php deleted file mode 100644 index 558544026..000000000 --- a/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicyRoleReader.php +++ /dev/null @@ -1,220 +0,0 @@ -container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/DoOryAccessControlPoliciesAllow.php b/sdk/php/swagger/lib/Model/DoOryAccessControlPoliciesAllow.php deleted file mode 100644 index b79f5d346..000000000 --- a/sdk/php/swagger/lib/Model/DoOryAccessControlPoliciesAllow.php +++ /dev/null @@ -1,276 +0,0 @@ - '\keto\SDK\Model\OryAccessControlPolicyAllowedInput', - 'flavor' => 'string' - ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * @var string[] - */ - protected static $swaggerFormats = [ - 'body' => null, - 'flavor' => null - ]; - - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, and the value is the original name - * @var string[] - */ - protected static $attributeMap = [ - 'body' => 'Body', - 'flavor' => 'flavor' - ]; - - - /** - * Array of attributes to setter functions (for deserialization of responses) - * @var string[] - */ - protected static $setters = [ - 'body' => 'setBody', - 'flavor' => 'setFlavor' - ]; - - - /** - * Array of attributes to getter functions (for serialization of requests) - * @var string[] - */ - protected static $getters = [ - 'body' => 'getBody', - 'flavor' => 'getFlavor' - ]; - - public static function attributeMap() - { - return self::$attributeMap; - } - - public static function setters() - { - return self::$setters; - } - - public static function getters() - { - return self::$getters; - } - - - - - - /** - * Associative array for storing property values - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * @param mixed[] $data Associated array of property values initializing the model - */ - public function __construct(array $data = null) - { - $this->container['body'] = isset($data['body']) ? $data['body'] : null; - $this->container['flavor'] = isset($data['flavor']) ? $data['flavor'] : null; - } - - /** - * show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalid_properties = []; - - if ($this->container['flavor'] === null) { - $invalid_properties[] = "'flavor' can't be null"; - } - return $invalid_properties; - } - - /** - * validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - - if ($this->container['flavor'] === null) { - return false; - } - return true; - } - - - /** - * Gets body - * @return \keto\SDK\Model\OryAccessControlPolicyAllowedInput - */ - public function getBody() - { - return $this->container['body']; - } - - /** - * Sets body - * @param \keto\SDK\Model\OryAccessControlPolicyAllowedInput $body - * @return $this - */ - public function setBody($body) - { - $this->container['body'] = $body; - - return $this; - } - - /** - * Gets flavor - * @return string - */ - public function getFlavor() - { - return $this->container['flavor']; - } - - /** - * Sets flavor - * @param string $flavor The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". in: path - * @return $this - */ - public function setFlavor($flavor) - { - $this->container['flavor'] = $flavor; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * @param integer $offset Offset - * @return boolean - */ - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/DoOryAccessControlPoliciesAllowForbidden.php b/sdk/php/swagger/lib/Model/DoOryAccessControlPoliciesAllowForbidden.php deleted file mode 100644 index 8c638fa2b..000000000 --- a/sdk/php/swagger/lib/Model/DoOryAccessControlPoliciesAllowForbidden.php +++ /dev/null @@ -1,243 +0,0 @@ - '\keto\SDK\Model\AuthorizationResult' - ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * @var string[] - */ - protected static $swaggerFormats = [ - 'payload' => null - ]; - - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, and the value is the original name - * @var string[] - */ - protected static $attributeMap = [ - 'payload' => 'Payload' - ]; - - - /** - * Array of attributes to setter functions (for deserialization of responses) - * @var string[] - */ - protected static $setters = [ - 'payload' => 'setPayload' - ]; - - - /** - * Array of attributes to getter functions (for serialization of requests) - * @var string[] - */ - protected static $getters = [ - 'payload' => 'getPayload' - ]; - - public static function attributeMap() - { - return self::$attributeMap; - } - - public static function setters() - { - return self::$setters; - } - - public static function getters() - { - return self::$getters; - } - - - - - - /** - * Associative array for storing property values - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * @param mixed[] $data Associated array of property values initializing the model - */ - public function __construct(array $data = null) - { - $this->container['payload'] = isset($data['payload']) ? $data['payload'] : null; - } - - /** - * show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalid_properties = []; - - return $invalid_properties; - } - - /** - * validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - - return true; - } - - - /** - * Gets payload - * @return \keto\SDK\Model\AuthorizationResult - */ - public function getPayload() - { - return $this->container['payload']; - } - - /** - * Sets payload - * @param \keto\SDK\Model\AuthorizationResult $payload - * @return $this - */ - public function setPayload($payload) - { - $this->container['payload'] = $payload; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * @param integer $offset Offset - * @return boolean - */ - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/DoOryAccessControlPoliciesAllowInternalServerError.php b/sdk/php/swagger/lib/Model/DoOryAccessControlPoliciesAllowInternalServerError.php deleted file mode 100644 index 26f1c50a9..000000000 --- a/sdk/php/swagger/lib/Model/DoOryAccessControlPoliciesAllowInternalServerError.php +++ /dev/null @@ -1,243 +0,0 @@ - '\keto\SDK\Model\DoOryAccessControlPoliciesAllowInternalServerErrorBody' - ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * @var string[] - */ - protected static $swaggerFormats = [ - 'payload' => null - ]; - - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, and the value is the original name - * @var string[] - */ - protected static $attributeMap = [ - 'payload' => 'Payload' - ]; - - - /** - * Array of attributes to setter functions (for deserialization of responses) - * @var string[] - */ - protected static $setters = [ - 'payload' => 'setPayload' - ]; - - - /** - * Array of attributes to getter functions (for serialization of requests) - * @var string[] - */ - protected static $getters = [ - 'payload' => 'getPayload' - ]; - - public static function attributeMap() - { - return self::$attributeMap; - } - - public static function setters() - { - return self::$setters; - } - - public static function getters() - { - return self::$getters; - } - - - - - - /** - * Associative array for storing property values - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * @param mixed[] $data Associated array of property values initializing the model - */ - public function __construct(array $data = null) - { - $this->container['payload'] = isset($data['payload']) ? $data['payload'] : null; - } - - /** - * show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalid_properties = []; - - return $invalid_properties; - } - - /** - * validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - - return true; - } - - - /** - * Gets payload - * @return \keto\SDK\Model\DoOryAccessControlPoliciesAllowInternalServerErrorBody - */ - public function getPayload() - { - return $this->container['payload']; - } - - /** - * Sets payload - * @param \keto\SDK\Model\DoOryAccessControlPoliciesAllowInternalServerErrorBody $payload - * @return $this - */ - public function setPayload($payload) - { - $this->container['payload'] = $payload; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * @param integer $offset Offset - * @return boolean - */ - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/DoOryAccessControlPoliciesAllowInternalServerErrorBody.php b/sdk/php/swagger/lib/Model/DoOryAccessControlPoliciesAllowInternalServerErrorBody.php deleted file mode 100644 index 2f80a67f1..000000000 --- a/sdk/php/swagger/lib/Model/DoOryAccessControlPoliciesAllowInternalServerErrorBody.php +++ /dev/null @@ -1,378 +0,0 @@ - 'int', - 'details' => 'map[string,object][]', - 'message' => 'string', - 'reason' => 'string', - 'request' => 'string', - 'status' => 'string' - ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * @var string[] - */ - protected static $swaggerFormats = [ - 'code' => 'int64', - 'details' => null, - 'message' => null, - 'reason' => null, - 'request' => null, - 'status' => null - ]; - - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, and the value is the original name - * @var string[] - */ - protected static $attributeMap = [ - 'code' => 'code', - 'details' => 'details', - 'message' => 'message', - 'reason' => 'reason', - 'request' => 'request', - 'status' => 'status' - ]; - - - /** - * Array of attributes to setter functions (for deserialization of responses) - * @var string[] - */ - protected static $setters = [ - 'code' => 'setCode', - 'details' => 'setDetails', - 'message' => 'setMessage', - 'reason' => 'setReason', - 'request' => 'setRequest', - 'status' => 'setStatus' - ]; - - - /** - * Array of attributes to getter functions (for serialization of requests) - * @var string[] - */ - protected static $getters = [ - 'code' => 'getCode', - 'details' => 'getDetails', - 'message' => 'getMessage', - 'reason' => 'getReason', - 'request' => 'getRequest', - 'status' => 'getStatus' - ]; - - public static function attributeMap() - { - return self::$attributeMap; - } - - public static function setters() - { - return self::$setters; - } - - public static function getters() - { - return self::$getters; - } - - - - - - /** - * Associative array for storing property values - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * @param mixed[] $data Associated array of property values initializing the model - */ - public function __construct(array $data = null) - { - $this->container['code'] = isset($data['code']) ? $data['code'] : null; - $this->container['details'] = isset($data['details']) ? $data['details'] : null; - $this->container['message'] = isset($data['message']) ? $data['message'] : null; - $this->container['reason'] = isset($data['reason']) ? $data['reason'] : null; - $this->container['request'] = isset($data['request']) ? $data['request'] : null; - $this->container['status'] = isset($data['status']) ? $data['status'] : null; - } - - /** - * show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalid_properties = []; - - return $invalid_properties; - } - - /** - * validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - - return true; - } - - - /** - * Gets code - * @return int - */ - public function getCode() - { - return $this->container['code']; - } - - /** - * Sets code - * @param int $code code - * @return $this - */ - public function setCode($code) - { - $this->container['code'] = $code; - - return $this; - } - - /** - * Gets details - * @return map[string,object][] - */ - public function getDetails() - { - return $this->container['details']; - } - - /** - * Sets details - * @param map[string,object][] $details details - * @return $this - */ - public function setDetails($details) - { - $this->container['details'] = $details; - - return $this; - } - - /** - * Gets message - * @return string - */ - public function getMessage() - { - return $this->container['message']; - } - - /** - * Sets message - * @param string $message message - * @return $this - */ - public function setMessage($message) - { - $this->container['message'] = $message; - - return $this; - } - - /** - * Gets reason - * @return string - */ - public function getReason() - { - return $this->container['reason']; - } - - /** - * Sets reason - * @param string $reason reason - * @return $this - */ - public function setReason($reason) - { - $this->container['reason'] = $reason; - - return $this; - } - - /** - * Gets request - * @return string - */ - public function getRequest() - { - return $this->container['request']; - } - - /** - * Sets request - * @param string $request request - * @return $this - */ - public function setRequest($request) - { - $this->container['request'] = $request; - - return $this; - } - - /** - * Gets status - * @return string - */ - public function getStatus() - { - return $this->container['status']; - } - - /** - * Sets status - * @param string $status status - * @return $this - */ - public function setStatus($status) - { - $this->container['status'] = $status; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * @param integer $offset Offset - * @return boolean - */ - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/DoOryAccessControlPoliciesAllowOK.php b/sdk/php/swagger/lib/Model/DoOryAccessControlPoliciesAllowOK.php deleted file mode 100644 index fd4841d41..000000000 --- a/sdk/php/swagger/lib/Model/DoOryAccessControlPoliciesAllowOK.php +++ /dev/null @@ -1,243 +0,0 @@ - '\keto\SDK\Model\AuthorizationResult' - ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * @var string[] - */ - protected static $swaggerFormats = [ - 'payload' => null - ]; - - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, and the value is the original name - * @var string[] - */ - protected static $attributeMap = [ - 'payload' => 'Payload' - ]; - - - /** - * Array of attributes to setter functions (for deserialization of responses) - * @var string[] - */ - protected static $setters = [ - 'payload' => 'setPayload' - ]; - - - /** - * Array of attributes to getter functions (for serialization of requests) - * @var string[] - */ - protected static $getters = [ - 'payload' => 'getPayload' - ]; - - public static function attributeMap() - { - return self::$attributeMap; - } - - public static function setters() - { - return self::$setters; - } - - public static function getters() - { - return self::$getters; - } - - - - - - /** - * Associative array for storing property values - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * @param mixed[] $data Associated array of property values initializing the model - */ - public function __construct(array $data = null) - { - $this->container['payload'] = isset($data['payload']) ? $data['payload'] : null; - } - - /** - * show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalid_properties = []; - - return $invalid_properties; - } - - /** - * validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - - return true; - } - - - /** - * Gets payload - * @return \keto\SDK\Model\AuthorizationResult - */ - public function getPayload() - { - return $this->container['payload']; - } - - /** - * Sets payload - * @param \keto\SDK\Model\AuthorizationResult $payload - * @return $this - */ - public function setPayload($payload) - { - $this->container['payload'] = $payload; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * @param integer $offset Offset - * @return boolean - */ - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/DoOryAccessControlPoliciesAllowReader.php b/sdk/php/swagger/lib/Model/DoOryAccessControlPoliciesAllowReader.php deleted file mode 100644 index d1b11841f..000000000 --- a/sdk/php/swagger/lib/Model/DoOryAccessControlPoliciesAllowReader.php +++ /dev/null @@ -1,220 +0,0 @@ -container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/GetOryAccessControlPolicy.php b/sdk/php/swagger/lib/Model/GetOryAccessControlPolicy.php deleted file mode 100644 index e139b2b1f..000000000 --- a/sdk/php/swagger/lib/Model/GetOryAccessControlPolicy.php +++ /dev/null @@ -1,282 +0,0 @@ - 'string', - 'id' => 'string' - ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * @var string[] - */ - protected static $swaggerFormats = [ - 'flavor' => null, - 'id' => null - ]; - - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, and the value is the original name - * @var string[] - */ - protected static $attributeMap = [ - 'flavor' => 'flavor', - 'id' => 'id' - ]; - - - /** - * Array of attributes to setter functions (for deserialization of responses) - * @var string[] - */ - protected static $setters = [ - 'flavor' => 'setFlavor', - 'id' => 'setId' - ]; - - - /** - * Array of attributes to getter functions (for serialization of requests) - * @var string[] - */ - protected static $getters = [ - 'flavor' => 'getFlavor', - 'id' => 'getId' - ]; - - public static function attributeMap() - { - return self::$attributeMap; - } - - public static function setters() - { - return self::$setters; - } - - public static function getters() - { - return self::$getters; - } - - - - - - /** - * Associative array for storing property values - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * @param mixed[] $data Associated array of property values initializing the model - */ - public function __construct(array $data = null) - { - $this->container['flavor'] = isset($data['flavor']) ? $data['flavor'] : null; - $this->container['id'] = isset($data['id']) ? $data['id'] : null; - } - - /** - * show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalid_properties = []; - - if ($this->container['flavor'] === null) { - $invalid_properties[] = "'flavor' can't be null"; - } - if ($this->container['id'] === null) { - $invalid_properties[] = "'id' can't be null"; - } - return $invalid_properties; - } - - /** - * validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - - if ($this->container['flavor'] === null) { - return false; - } - if ($this->container['id'] === null) { - return false; - } - return true; - } - - - /** - * Gets flavor - * @return string - */ - public function getFlavor() - { - return $this->container['flavor']; - } - - /** - * Sets flavor - * @param string $flavor The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". in: path - * @return $this - */ - public function setFlavor($flavor) - { - $this->container['flavor'] = $flavor; - - return $this; - } - - /** - * Gets id - * @return string - */ - public function getId() - { - return $this->container['id']; - } - - /** - * Sets id - * @param string $id The ID of the ORY Access Control Policy Role. in: path - * @return $this - */ - public function setId($id) - { - $this->container['id'] = $id; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * @param integer $offset Offset - * @return boolean - */ - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyInternalServerError.php b/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyInternalServerError.php deleted file mode 100644 index 8f12461b6..000000000 --- a/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyInternalServerError.php +++ /dev/null @@ -1,243 +0,0 @@ - '\keto\SDK\Model\GetOryAccessControlPolicyInternalServerErrorBody' - ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * @var string[] - */ - protected static $swaggerFormats = [ - 'payload' => null - ]; - - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, and the value is the original name - * @var string[] - */ - protected static $attributeMap = [ - 'payload' => 'Payload' - ]; - - - /** - * Array of attributes to setter functions (for deserialization of responses) - * @var string[] - */ - protected static $setters = [ - 'payload' => 'setPayload' - ]; - - - /** - * Array of attributes to getter functions (for serialization of requests) - * @var string[] - */ - protected static $getters = [ - 'payload' => 'getPayload' - ]; - - public static function attributeMap() - { - return self::$attributeMap; - } - - public static function setters() - { - return self::$setters; - } - - public static function getters() - { - return self::$getters; - } - - - - - - /** - * Associative array for storing property values - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * @param mixed[] $data Associated array of property values initializing the model - */ - public function __construct(array $data = null) - { - $this->container['payload'] = isset($data['payload']) ? $data['payload'] : null; - } - - /** - * show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalid_properties = []; - - return $invalid_properties; - } - - /** - * validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - - return true; - } - - - /** - * Gets payload - * @return \keto\SDK\Model\GetOryAccessControlPolicyInternalServerErrorBody - */ - public function getPayload() - { - return $this->container['payload']; - } - - /** - * Sets payload - * @param \keto\SDK\Model\GetOryAccessControlPolicyInternalServerErrorBody $payload - * @return $this - */ - public function setPayload($payload) - { - $this->container['payload'] = $payload; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * @param integer $offset Offset - * @return boolean - */ - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyInternalServerErrorBody.php b/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyInternalServerErrorBody.php deleted file mode 100644 index 453a9475d..000000000 --- a/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyInternalServerErrorBody.php +++ /dev/null @@ -1,378 +0,0 @@ - 'int', - 'details' => 'map[string,object][]', - 'message' => 'string', - 'reason' => 'string', - 'request' => 'string', - 'status' => 'string' - ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * @var string[] - */ - protected static $swaggerFormats = [ - 'code' => 'int64', - 'details' => null, - 'message' => null, - 'reason' => null, - 'request' => null, - 'status' => null - ]; - - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, and the value is the original name - * @var string[] - */ - protected static $attributeMap = [ - 'code' => 'code', - 'details' => 'details', - 'message' => 'message', - 'reason' => 'reason', - 'request' => 'request', - 'status' => 'status' - ]; - - - /** - * Array of attributes to setter functions (for deserialization of responses) - * @var string[] - */ - protected static $setters = [ - 'code' => 'setCode', - 'details' => 'setDetails', - 'message' => 'setMessage', - 'reason' => 'setReason', - 'request' => 'setRequest', - 'status' => 'setStatus' - ]; - - - /** - * Array of attributes to getter functions (for serialization of requests) - * @var string[] - */ - protected static $getters = [ - 'code' => 'getCode', - 'details' => 'getDetails', - 'message' => 'getMessage', - 'reason' => 'getReason', - 'request' => 'getRequest', - 'status' => 'getStatus' - ]; - - public static function attributeMap() - { - return self::$attributeMap; - } - - public static function setters() - { - return self::$setters; - } - - public static function getters() - { - return self::$getters; - } - - - - - - /** - * Associative array for storing property values - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * @param mixed[] $data Associated array of property values initializing the model - */ - public function __construct(array $data = null) - { - $this->container['code'] = isset($data['code']) ? $data['code'] : null; - $this->container['details'] = isset($data['details']) ? $data['details'] : null; - $this->container['message'] = isset($data['message']) ? $data['message'] : null; - $this->container['reason'] = isset($data['reason']) ? $data['reason'] : null; - $this->container['request'] = isset($data['request']) ? $data['request'] : null; - $this->container['status'] = isset($data['status']) ? $data['status'] : null; - } - - /** - * show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalid_properties = []; - - return $invalid_properties; - } - - /** - * validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - - return true; - } - - - /** - * Gets code - * @return int - */ - public function getCode() - { - return $this->container['code']; - } - - /** - * Sets code - * @param int $code code - * @return $this - */ - public function setCode($code) - { - $this->container['code'] = $code; - - return $this; - } - - /** - * Gets details - * @return map[string,object][] - */ - public function getDetails() - { - return $this->container['details']; - } - - /** - * Sets details - * @param map[string,object][] $details details - * @return $this - */ - public function setDetails($details) - { - $this->container['details'] = $details; - - return $this; - } - - /** - * Gets message - * @return string - */ - public function getMessage() - { - return $this->container['message']; - } - - /** - * Sets message - * @param string $message message - * @return $this - */ - public function setMessage($message) - { - $this->container['message'] = $message; - - return $this; - } - - /** - * Gets reason - * @return string - */ - public function getReason() - { - return $this->container['reason']; - } - - /** - * Sets reason - * @param string $reason reason - * @return $this - */ - public function setReason($reason) - { - $this->container['reason'] = $reason; - - return $this; - } - - /** - * Gets request - * @return string - */ - public function getRequest() - { - return $this->container['request']; - } - - /** - * Sets request - * @param string $request request - * @return $this - */ - public function setRequest($request) - { - $this->container['request'] = $request; - - return $this; - } - - /** - * Gets status - * @return string - */ - public function getStatus() - { - return $this->container['status']; - } - - /** - * Sets status - * @param string $status status - * @return $this - */ - public function setStatus($status) - { - $this->container['status'] = $status; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * @param integer $offset Offset - * @return boolean - */ - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyNotFound.php b/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyNotFound.php deleted file mode 100644 index 08071a76b..000000000 --- a/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyNotFound.php +++ /dev/null @@ -1,243 +0,0 @@ - '\keto\SDK\Model\GetOryAccessControlPolicyNotFoundBody' - ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * @var string[] - */ - protected static $swaggerFormats = [ - 'payload' => null - ]; - - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, and the value is the original name - * @var string[] - */ - protected static $attributeMap = [ - 'payload' => 'Payload' - ]; - - - /** - * Array of attributes to setter functions (for deserialization of responses) - * @var string[] - */ - protected static $setters = [ - 'payload' => 'setPayload' - ]; - - - /** - * Array of attributes to getter functions (for serialization of requests) - * @var string[] - */ - protected static $getters = [ - 'payload' => 'getPayload' - ]; - - public static function attributeMap() - { - return self::$attributeMap; - } - - public static function setters() - { - return self::$setters; - } - - public static function getters() - { - return self::$getters; - } - - - - - - /** - * Associative array for storing property values - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * @param mixed[] $data Associated array of property values initializing the model - */ - public function __construct(array $data = null) - { - $this->container['payload'] = isset($data['payload']) ? $data['payload'] : null; - } - - /** - * show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalid_properties = []; - - return $invalid_properties; - } - - /** - * validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - - return true; - } - - - /** - * Gets payload - * @return \keto\SDK\Model\GetOryAccessControlPolicyNotFoundBody - */ - public function getPayload() - { - return $this->container['payload']; - } - - /** - * Sets payload - * @param \keto\SDK\Model\GetOryAccessControlPolicyNotFoundBody $payload - * @return $this - */ - public function setPayload($payload) - { - $this->container['payload'] = $payload; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * @param integer $offset Offset - * @return boolean - */ - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyNotFoundBody.php b/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyNotFoundBody.php deleted file mode 100644 index dc35b2165..000000000 --- a/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyNotFoundBody.php +++ /dev/null @@ -1,378 +0,0 @@ - 'int', - 'details' => 'map[string,object][]', - 'message' => 'string', - 'reason' => 'string', - 'request' => 'string', - 'status' => 'string' - ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * @var string[] - */ - protected static $swaggerFormats = [ - 'code' => 'int64', - 'details' => null, - 'message' => null, - 'reason' => null, - 'request' => null, - 'status' => null - ]; - - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, and the value is the original name - * @var string[] - */ - protected static $attributeMap = [ - 'code' => 'code', - 'details' => 'details', - 'message' => 'message', - 'reason' => 'reason', - 'request' => 'request', - 'status' => 'status' - ]; - - - /** - * Array of attributes to setter functions (for deserialization of responses) - * @var string[] - */ - protected static $setters = [ - 'code' => 'setCode', - 'details' => 'setDetails', - 'message' => 'setMessage', - 'reason' => 'setReason', - 'request' => 'setRequest', - 'status' => 'setStatus' - ]; - - - /** - * Array of attributes to getter functions (for serialization of requests) - * @var string[] - */ - protected static $getters = [ - 'code' => 'getCode', - 'details' => 'getDetails', - 'message' => 'getMessage', - 'reason' => 'getReason', - 'request' => 'getRequest', - 'status' => 'getStatus' - ]; - - public static function attributeMap() - { - return self::$attributeMap; - } - - public static function setters() - { - return self::$setters; - } - - public static function getters() - { - return self::$getters; - } - - - - - - /** - * Associative array for storing property values - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * @param mixed[] $data Associated array of property values initializing the model - */ - public function __construct(array $data = null) - { - $this->container['code'] = isset($data['code']) ? $data['code'] : null; - $this->container['details'] = isset($data['details']) ? $data['details'] : null; - $this->container['message'] = isset($data['message']) ? $data['message'] : null; - $this->container['reason'] = isset($data['reason']) ? $data['reason'] : null; - $this->container['request'] = isset($data['request']) ? $data['request'] : null; - $this->container['status'] = isset($data['status']) ? $data['status'] : null; - } - - /** - * show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalid_properties = []; - - return $invalid_properties; - } - - /** - * validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - - return true; - } - - - /** - * Gets code - * @return int - */ - public function getCode() - { - return $this->container['code']; - } - - /** - * Sets code - * @param int $code code - * @return $this - */ - public function setCode($code) - { - $this->container['code'] = $code; - - return $this; - } - - /** - * Gets details - * @return map[string,object][] - */ - public function getDetails() - { - return $this->container['details']; - } - - /** - * Sets details - * @param map[string,object][] $details details - * @return $this - */ - public function setDetails($details) - { - $this->container['details'] = $details; - - return $this; - } - - /** - * Gets message - * @return string - */ - public function getMessage() - { - return $this->container['message']; - } - - /** - * Sets message - * @param string $message message - * @return $this - */ - public function setMessage($message) - { - $this->container['message'] = $message; - - return $this; - } - - /** - * Gets reason - * @return string - */ - public function getReason() - { - return $this->container['reason']; - } - - /** - * Sets reason - * @param string $reason reason - * @return $this - */ - public function setReason($reason) - { - $this->container['reason'] = $reason; - - return $this; - } - - /** - * Gets request - * @return string - */ - public function getRequest() - { - return $this->container['request']; - } - - /** - * Sets request - * @param string $request request - * @return $this - */ - public function setRequest($request) - { - $this->container['request'] = $request; - - return $this; - } - - /** - * Gets status - * @return string - */ - public function getStatus() - { - return $this->container['status']; - } - - /** - * Sets status - * @param string $status status - * @return $this - */ - public function setStatus($status) - { - $this->container['status'] = $status; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * @param integer $offset Offset - * @return boolean - */ - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyOK.php b/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyOK.php deleted file mode 100644 index 5425ea346..000000000 --- a/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyOK.php +++ /dev/null @@ -1,243 +0,0 @@ - '\keto\SDK\Model\OryAccessControlPolicy' - ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * @var string[] - */ - protected static $swaggerFormats = [ - 'payload' => null - ]; - - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, and the value is the original name - * @var string[] - */ - protected static $attributeMap = [ - 'payload' => 'Payload' - ]; - - - /** - * Array of attributes to setter functions (for deserialization of responses) - * @var string[] - */ - protected static $setters = [ - 'payload' => 'setPayload' - ]; - - - /** - * Array of attributes to getter functions (for serialization of requests) - * @var string[] - */ - protected static $getters = [ - 'payload' => 'getPayload' - ]; - - public static function attributeMap() - { - return self::$attributeMap; - } - - public static function setters() - { - return self::$setters; - } - - public static function getters() - { - return self::$getters; - } - - - - - - /** - * Associative array for storing property values - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * @param mixed[] $data Associated array of property values initializing the model - */ - public function __construct(array $data = null) - { - $this->container['payload'] = isset($data['payload']) ? $data['payload'] : null; - } - - /** - * show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalid_properties = []; - - return $invalid_properties; - } - - /** - * validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - - return true; - } - - - /** - * Gets payload - * @return \keto\SDK\Model\OryAccessControlPolicy - */ - public function getPayload() - { - return $this->container['payload']; - } - - /** - * Sets payload - * @param \keto\SDK\Model\OryAccessControlPolicy $payload - * @return $this - */ - public function setPayload($payload) - { - $this->container['payload'] = $payload; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * @param integer $offset Offset - * @return boolean - */ - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyReader.php b/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyReader.php deleted file mode 100644 index c462ab44b..000000000 --- a/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyReader.php +++ /dev/null @@ -1,220 +0,0 @@ -container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyRole.php b/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyRole.php deleted file mode 100644 index 3f454f269..000000000 --- a/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyRole.php +++ /dev/null @@ -1,282 +0,0 @@ - 'string', - 'id' => 'string' - ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * @var string[] - */ - protected static $swaggerFormats = [ - 'flavor' => null, - 'id' => null - ]; - - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, and the value is the original name - * @var string[] - */ - protected static $attributeMap = [ - 'flavor' => 'flavor', - 'id' => 'id' - ]; - - - /** - * Array of attributes to setter functions (for deserialization of responses) - * @var string[] - */ - protected static $setters = [ - 'flavor' => 'setFlavor', - 'id' => 'setId' - ]; - - - /** - * Array of attributes to getter functions (for serialization of requests) - * @var string[] - */ - protected static $getters = [ - 'flavor' => 'getFlavor', - 'id' => 'getId' - ]; - - public static function attributeMap() - { - return self::$attributeMap; - } - - public static function setters() - { - return self::$setters; - } - - public static function getters() - { - return self::$getters; - } - - - - - - /** - * Associative array for storing property values - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * @param mixed[] $data Associated array of property values initializing the model - */ - public function __construct(array $data = null) - { - $this->container['flavor'] = isset($data['flavor']) ? $data['flavor'] : null; - $this->container['id'] = isset($data['id']) ? $data['id'] : null; - } - - /** - * show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalid_properties = []; - - if ($this->container['flavor'] === null) { - $invalid_properties[] = "'flavor' can't be null"; - } - if ($this->container['id'] === null) { - $invalid_properties[] = "'id' can't be null"; - } - return $invalid_properties; - } - - /** - * validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - - if ($this->container['flavor'] === null) { - return false; - } - if ($this->container['id'] === null) { - return false; - } - return true; - } - - - /** - * Gets flavor - * @return string - */ - public function getFlavor() - { - return $this->container['flavor']; - } - - /** - * Sets flavor - * @param string $flavor The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". in: path - * @return $this - */ - public function setFlavor($flavor) - { - $this->container['flavor'] = $flavor; - - return $this; - } - - /** - * Gets id - * @return string - */ - public function getId() - { - return $this->container['id']; - } - - /** - * Sets id - * @param string $id The ID of the ORY Access Control Policy Role. in: path - * @return $this - */ - public function setId($id) - { - $this->container['id'] = $id; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * @param integer $offset Offset - * @return boolean - */ - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyRoleInternalServerError.php b/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyRoleInternalServerError.php deleted file mode 100644 index d2017cdba..000000000 --- a/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyRoleInternalServerError.php +++ /dev/null @@ -1,243 +0,0 @@ - '\keto\SDK\Model\GetOryAccessControlPolicyRoleInternalServerErrorBody' - ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * @var string[] - */ - protected static $swaggerFormats = [ - 'payload' => null - ]; - - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, and the value is the original name - * @var string[] - */ - protected static $attributeMap = [ - 'payload' => 'Payload' - ]; - - - /** - * Array of attributes to setter functions (for deserialization of responses) - * @var string[] - */ - protected static $setters = [ - 'payload' => 'setPayload' - ]; - - - /** - * Array of attributes to getter functions (for serialization of requests) - * @var string[] - */ - protected static $getters = [ - 'payload' => 'getPayload' - ]; - - public static function attributeMap() - { - return self::$attributeMap; - } - - public static function setters() - { - return self::$setters; - } - - public static function getters() - { - return self::$getters; - } - - - - - - /** - * Associative array for storing property values - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * @param mixed[] $data Associated array of property values initializing the model - */ - public function __construct(array $data = null) - { - $this->container['payload'] = isset($data['payload']) ? $data['payload'] : null; - } - - /** - * show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalid_properties = []; - - return $invalid_properties; - } - - /** - * validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - - return true; - } - - - /** - * Gets payload - * @return \keto\SDK\Model\GetOryAccessControlPolicyRoleInternalServerErrorBody - */ - public function getPayload() - { - return $this->container['payload']; - } - - /** - * Sets payload - * @param \keto\SDK\Model\GetOryAccessControlPolicyRoleInternalServerErrorBody $payload - * @return $this - */ - public function setPayload($payload) - { - $this->container['payload'] = $payload; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * @param integer $offset Offset - * @return boolean - */ - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyRoleInternalServerErrorBody.php b/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyRoleInternalServerErrorBody.php deleted file mode 100644 index 5f30b2e03..000000000 --- a/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyRoleInternalServerErrorBody.php +++ /dev/null @@ -1,378 +0,0 @@ - 'int', - 'details' => 'map[string,object][]', - 'message' => 'string', - 'reason' => 'string', - 'request' => 'string', - 'status' => 'string' - ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * @var string[] - */ - protected static $swaggerFormats = [ - 'code' => 'int64', - 'details' => null, - 'message' => null, - 'reason' => null, - 'request' => null, - 'status' => null - ]; - - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, and the value is the original name - * @var string[] - */ - protected static $attributeMap = [ - 'code' => 'code', - 'details' => 'details', - 'message' => 'message', - 'reason' => 'reason', - 'request' => 'request', - 'status' => 'status' - ]; - - - /** - * Array of attributes to setter functions (for deserialization of responses) - * @var string[] - */ - protected static $setters = [ - 'code' => 'setCode', - 'details' => 'setDetails', - 'message' => 'setMessage', - 'reason' => 'setReason', - 'request' => 'setRequest', - 'status' => 'setStatus' - ]; - - - /** - * Array of attributes to getter functions (for serialization of requests) - * @var string[] - */ - protected static $getters = [ - 'code' => 'getCode', - 'details' => 'getDetails', - 'message' => 'getMessage', - 'reason' => 'getReason', - 'request' => 'getRequest', - 'status' => 'getStatus' - ]; - - public static function attributeMap() - { - return self::$attributeMap; - } - - public static function setters() - { - return self::$setters; - } - - public static function getters() - { - return self::$getters; - } - - - - - - /** - * Associative array for storing property values - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * @param mixed[] $data Associated array of property values initializing the model - */ - public function __construct(array $data = null) - { - $this->container['code'] = isset($data['code']) ? $data['code'] : null; - $this->container['details'] = isset($data['details']) ? $data['details'] : null; - $this->container['message'] = isset($data['message']) ? $data['message'] : null; - $this->container['reason'] = isset($data['reason']) ? $data['reason'] : null; - $this->container['request'] = isset($data['request']) ? $data['request'] : null; - $this->container['status'] = isset($data['status']) ? $data['status'] : null; - } - - /** - * show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalid_properties = []; - - return $invalid_properties; - } - - /** - * validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - - return true; - } - - - /** - * Gets code - * @return int - */ - public function getCode() - { - return $this->container['code']; - } - - /** - * Sets code - * @param int $code code - * @return $this - */ - public function setCode($code) - { - $this->container['code'] = $code; - - return $this; - } - - /** - * Gets details - * @return map[string,object][] - */ - public function getDetails() - { - return $this->container['details']; - } - - /** - * Sets details - * @param map[string,object][] $details details - * @return $this - */ - public function setDetails($details) - { - $this->container['details'] = $details; - - return $this; - } - - /** - * Gets message - * @return string - */ - public function getMessage() - { - return $this->container['message']; - } - - /** - * Sets message - * @param string $message message - * @return $this - */ - public function setMessage($message) - { - $this->container['message'] = $message; - - return $this; - } - - /** - * Gets reason - * @return string - */ - public function getReason() - { - return $this->container['reason']; - } - - /** - * Sets reason - * @param string $reason reason - * @return $this - */ - public function setReason($reason) - { - $this->container['reason'] = $reason; - - return $this; - } - - /** - * Gets request - * @return string - */ - public function getRequest() - { - return $this->container['request']; - } - - /** - * Sets request - * @param string $request request - * @return $this - */ - public function setRequest($request) - { - $this->container['request'] = $request; - - return $this; - } - - /** - * Gets status - * @return string - */ - public function getStatus() - { - return $this->container['status']; - } - - /** - * Sets status - * @param string $status status - * @return $this - */ - public function setStatus($status) - { - $this->container['status'] = $status; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * @param integer $offset Offset - * @return boolean - */ - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyRoleNotFound.php b/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyRoleNotFound.php deleted file mode 100644 index f5b34edb5..000000000 --- a/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyRoleNotFound.php +++ /dev/null @@ -1,243 +0,0 @@ - '\keto\SDK\Model\GetOryAccessControlPolicyRoleNotFoundBody' - ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * @var string[] - */ - protected static $swaggerFormats = [ - 'payload' => null - ]; - - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, and the value is the original name - * @var string[] - */ - protected static $attributeMap = [ - 'payload' => 'Payload' - ]; - - - /** - * Array of attributes to setter functions (for deserialization of responses) - * @var string[] - */ - protected static $setters = [ - 'payload' => 'setPayload' - ]; - - - /** - * Array of attributes to getter functions (for serialization of requests) - * @var string[] - */ - protected static $getters = [ - 'payload' => 'getPayload' - ]; - - public static function attributeMap() - { - return self::$attributeMap; - } - - public static function setters() - { - return self::$setters; - } - - public static function getters() - { - return self::$getters; - } - - - - - - /** - * Associative array for storing property values - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * @param mixed[] $data Associated array of property values initializing the model - */ - public function __construct(array $data = null) - { - $this->container['payload'] = isset($data['payload']) ? $data['payload'] : null; - } - - /** - * show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalid_properties = []; - - return $invalid_properties; - } - - /** - * validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - - return true; - } - - - /** - * Gets payload - * @return \keto\SDK\Model\GetOryAccessControlPolicyRoleNotFoundBody - */ - public function getPayload() - { - return $this->container['payload']; - } - - /** - * Sets payload - * @param \keto\SDK\Model\GetOryAccessControlPolicyRoleNotFoundBody $payload - * @return $this - */ - public function setPayload($payload) - { - $this->container['payload'] = $payload; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * @param integer $offset Offset - * @return boolean - */ - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyRoleNotFoundBody.php b/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyRoleNotFoundBody.php deleted file mode 100644 index 92116e535..000000000 --- a/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyRoleNotFoundBody.php +++ /dev/null @@ -1,378 +0,0 @@ - 'int', - 'details' => 'map[string,object][]', - 'message' => 'string', - 'reason' => 'string', - 'request' => 'string', - 'status' => 'string' - ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * @var string[] - */ - protected static $swaggerFormats = [ - 'code' => 'int64', - 'details' => null, - 'message' => null, - 'reason' => null, - 'request' => null, - 'status' => null - ]; - - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, and the value is the original name - * @var string[] - */ - protected static $attributeMap = [ - 'code' => 'code', - 'details' => 'details', - 'message' => 'message', - 'reason' => 'reason', - 'request' => 'request', - 'status' => 'status' - ]; - - - /** - * Array of attributes to setter functions (for deserialization of responses) - * @var string[] - */ - protected static $setters = [ - 'code' => 'setCode', - 'details' => 'setDetails', - 'message' => 'setMessage', - 'reason' => 'setReason', - 'request' => 'setRequest', - 'status' => 'setStatus' - ]; - - - /** - * Array of attributes to getter functions (for serialization of requests) - * @var string[] - */ - protected static $getters = [ - 'code' => 'getCode', - 'details' => 'getDetails', - 'message' => 'getMessage', - 'reason' => 'getReason', - 'request' => 'getRequest', - 'status' => 'getStatus' - ]; - - public static function attributeMap() - { - return self::$attributeMap; - } - - public static function setters() - { - return self::$setters; - } - - public static function getters() - { - return self::$getters; - } - - - - - - /** - * Associative array for storing property values - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * @param mixed[] $data Associated array of property values initializing the model - */ - public function __construct(array $data = null) - { - $this->container['code'] = isset($data['code']) ? $data['code'] : null; - $this->container['details'] = isset($data['details']) ? $data['details'] : null; - $this->container['message'] = isset($data['message']) ? $data['message'] : null; - $this->container['reason'] = isset($data['reason']) ? $data['reason'] : null; - $this->container['request'] = isset($data['request']) ? $data['request'] : null; - $this->container['status'] = isset($data['status']) ? $data['status'] : null; - } - - /** - * show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalid_properties = []; - - return $invalid_properties; - } - - /** - * validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - - return true; - } - - - /** - * Gets code - * @return int - */ - public function getCode() - { - return $this->container['code']; - } - - /** - * Sets code - * @param int $code code - * @return $this - */ - public function setCode($code) - { - $this->container['code'] = $code; - - return $this; - } - - /** - * Gets details - * @return map[string,object][] - */ - public function getDetails() - { - return $this->container['details']; - } - - /** - * Sets details - * @param map[string,object][] $details details - * @return $this - */ - public function setDetails($details) - { - $this->container['details'] = $details; - - return $this; - } - - /** - * Gets message - * @return string - */ - public function getMessage() - { - return $this->container['message']; - } - - /** - * Sets message - * @param string $message message - * @return $this - */ - public function setMessage($message) - { - $this->container['message'] = $message; - - return $this; - } - - /** - * Gets reason - * @return string - */ - public function getReason() - { - return $this->container['reason']; - } - - /** - * Sets reason - * @param string $reason reason - * @return $this - */ - public function setReason($reason) - { - $this->container['reason'] = $reason; - - return $this; - } - - /** - * Gets request - * @return string - */ - public function getRequest() - { - return $this->container['request']; - } - - /** - * Sets request - * @param string $request request - * @return $this - */ - public function setRequest($request) - { - $this->container['request'] = $request; - - return $this; - } - - /** - * Gets status - * @return string - */ - public function getStatus() - { - return $this->container['status']; - } - - /** - * Sets status - * @param string $status status - * @return $this - */ - public function setStatus($status) - { - $this->container['status'] = $status; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * @param integer $offset Offset - * @return boolean - */ - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyRoleOK.php b/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyRoleOK.php deleted file mode 100644 index c745a7abd..000000000 --- a/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyRoleOK.php +++ /dev/null @@ -1,243 +0,0 @@ - '\keto\SDK\Model\OryAccessControlPolicyRole' - ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * @var string[] - */ - protected static $swaggerFormats = [ - 'payload' => null - ]; - - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, and the value is the original name - * @var string[] - */ - protected static $attributeMap = [ - 'payload' => 'Payload' - ]; - - - /** - * Array of attributes to setter functions (for deserialization of responses) - * @var string[] - */ - protected static $setters = [ - 'payload' => 'setPayload' - ]; - - - /** - * Array of attributes to getter functions (for serialization of requests) - * @var string[] - */ - protected static $getters = [ - 'payload' => 'getPayload' - ]; - - public static function attributeMap() - { - return self::$attributeMap; - } - - public static function setters() - { - return self::$setters; - } - - public static function getters() - { - return self::$getters; - } - - - - - - /** - * Associative array for storing property values - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * @param mixed[] $data Associated array of property values initializing the model - */ - public function __construct(array $data = null) - { - $this->container['payload'] = isset($data['payload']) ? $data['payload'] : null; - } - - /** - * show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalid_properties = []; - - return $invalid_properties; - } - - /** - * validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - - return true; - } - - - /** - * Gets payload - * @return \keto\SDK\Model\OryAccessControlPolicyRole - */ - public function getPayload() - { - return $this->container['payload']; - } - - /** - * Sets payload - * @param \keto\SDK\Model\OryAccessControlPolicyRole $payload - * @return $this - */ - public function setPayload($payload) - { - $this->container['payload'] = $payload; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * @param integer $offset Offset - * @return boolean - */ - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyRoleReader.php b/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyRoleReader.php deleted file mode 100644 index 68213bf6a..000000000 --- a/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyRoleReader.php +++ /dev/null @@ -1,220 +0,0 @@ -container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/HealthNotReadyStatus.php b/sdk/php/swagger/lib/Model/HealthNotReadyStatus.php deleted file mode 100644 index 633fb9e94..000000000 --- a/sdk/php/swagger/lib/Model/HealthNotReadyStatus.php +++ /dev/null @@ -1,242 +0,0 @@ - 'map[string,string]' - ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * @var string[] - */ - protected static $swaggerFormats = [ - 'errors' => null - ]; - - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, and the value is the original name - * @var string[] - */ - protected static $attributeMap = [ - 'errors' => 'errors' - ]; - - - /** - * Array of attributes to setter functions (for deserialization of responses) - * @var string[] - */ - protected static $setters = [ - 'errors' => 'setErrors' - ]; - - - /** - * Array of attributes to getter functions (for serialization of requests) - * @var string[] - */ - protected static $getters = [ - 'errors' => 'getErrors' - ]; - - public static function attributeMap() - { - return self::$attributeMap; - } - - public static function setters() - { - return self::$setters; - } - - public static function getters() - { - return self::$getters; - } - - - - - - /** - * Associative array for storing property values - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * @param mixed[] $data Associated array of property values initializing the model - */ - public function __construct(array $data = null) - { - $this->container['errors'] = isset($data['errors']) ? $data['errors'] : null; - } - - /** - * show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalid_properties = []; - - return $invalid_properties; - } - - /** - * validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - - return true; - } - - - /** - * Gets errors - * @return map[string,string] - */ - public function getErrors() - { - return $this->container['errors']; - } - - /** - * Sets errors - * @param map[string,string] $errors Errors contains a list of errors that caused the not ready status. - * @return $this - */ - public function setErrors($errors) - { - $this->container['errors'] = $errors; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * @param integer $offset Offset - * @return boolean - */ - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/HealthStatus.php b/sdk/php/swagger/lib/Model/HealthStatus.php deleted file mode 100644 index b0805d732..000000000 --- a/sdk/php/swagger/lib/Model/HealthStatus.php +++ /dev/null @@ -1,242 +0,0 @@ - 'string' - ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * @var string[] - */ - protected static $swaggerFormats = [ - 'status' => null - ]; - - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, and the value is the original name - * @var string[] - */ - protected static $attributeMap = [ - 'status' => 'status' - ]; - - - /** - * Array of attributes to setter functions (for deserialization of responses) - * @var string[] - */ - protected static $setters = [ - 'status' => 'setStatus' - ]; - - - /** - * Array of attributes to getter functions (for serialization of requests) - * @var string[] - */ - protected static $getters = [ - 'status' => 'getStatus' - ]; - - public static function attributeMap() - { - return self::$attributeMap; - } - - public static function setters() - { - return self::$setters; - } - - public static function getters() - { - return self::$getters; - } - - - - - - /** - * Associative array for storing property values - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * @param mixed[] $data Associated array of property values initializing the model - */ - public function __construct(array $data = null) - { - $this->container['status'] = isset($data['status']) ? $data['status'] : null; - } - - /** - * show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalid_properties = []; - - return $invalid_properties; - } - - /** - * validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - - return true; - } - - - /** - * Gets status - * @return string - */ - public function getStatus() - { - return $this->container['status']; - } - - /** - * Sets status - * @param string $status Status always contains \"ok\". - * @return $this - */ - public function setStatus($status) - { - $this->container['status'] = $status; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * @param integer $offset Offset - * @return boolean - */ - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/InlineResponse500.php b/sdk/php/swagger/lib/Model/InlineResponse500.php deleted file mode 100644 index b7db10550..000000000 --- a/sdk/php/swagger/lib/Model/InlineResponse500.php +++ /dev/null @@ -1,377 +0,0 @@ - 'int', - 'details' => 'map[string,object][]', - 'message' => 'string', - 'reason' => 'string', - 'request' => 'string', - 'status' => 'string' - ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * @var string[] - */ - protected static $swaggerFormats = [ - 'code' => 'int64', - 'details' => null, - 'message' => null, - 'reason' => null, - 'request' => null, - 'status' => null - ]; - - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, and the value is the original name - * @var string[] - */ - protected static $attributeMap = [ - 'code' => 'code', - 'details' => 'details', - 'message' => 'message', - 'reason' => 'reason', - 'request' => 'request', - 'status' => 'status' - ]; - - - /** - * Array of attributes to setter functions (for deserialization of responses) - * @var string[] - */ - protected static $setters = [ - 'code' => 'setCode', - 'details' => 'setDetails', - 'message' => 'setMessage', - 'reason' => 'setReason', - 'request' => 'setRequest', - 'status' => 'setStatus' - ]; - - - /** - * Array of attributes to getter functions (for serialization of requests) - * @var string[] - */ - protected static $getters = [ - 'code' => 'getCode', - 'details' => 'getDetails', - 'message' => 'getMessage', - 'reason' => 'getReason', - 'request' => 'getRequest', - 'status' => 'getStatus' - ]; - - public static function attributeMap() - { - return self::$attributeMap; - } - - public static function setters() - { - return self::$setters; - } - - public static function getters() - { - return self::$getters; - } - - - - - - /** - * Associative array for storing property values - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * @param mixed[] $data Associated array of property values initializing the model - */ - public function __construct(array $data = null) - { - $this->container['code'] = isset($data['code']) ? $data['code'] : null; - $this->container['details'] = isset($data['details']) ? $data['details'] : null; - $this->container['message'] = isset($data['message']) ? $data['message'] : null; - $this->container['reason'] = isset($data['reason']) ? $data['reason'] : null; - $this->container['request'] = isset($data['request']) ? $data['request'] : null; - $this->container['status'] = isset($data['status']) ? $data['status'] : null; - } - - /** - * show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalid_properties = []; - - return $invalid_properties; - } - - /** - * validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - - return true; - } - - - /** - * Gets code - * @return int - */ - public function getCode() - { - return $this->container['code']; - } - - /** - * Sets code - * @param int $code - * @return $this - */ - public function setCode($code) - { - $this->container['code'] = $code; - - return $this; - } - - /** - * Gets details - * @return map[string,object][] - */ - public function getDetails() - { - return $this->container['details']; - } - - /** - * Sets details - * @param map[string,object][] $details - * @return $this - */ - public function setDetails($details) - { - $this->container['details'] = $details; - - return $this; - } - - /** - * Gets message - * @return string - */ - public function getMessage() - { - return $this->container['message']; - } - - /** - * Sets message - * @param string $message - * @return $this - */ - public function setMessage($message) - { - $this->container['message'] = $message; - - return $this; - } - - /** - * Gets reason - * @return string - */ - public function getReason() - { - return $this->container['reason']; - } - - /** - * Sets reason - * @param string $reason - * @return $this - */ - public function setReason($reason) - { - $this->container['reason'] = $reason; - - return $this; - } - - /** - * Gets request - * @return string - */ - public function getRequest() - { - return $this->container['request']; - } - - /** - * Sets request - * @param string $request - * @return $this - */ - public function setRequest($request) - { - $this->container['request'] = $request; - - return $this; - } - - /** - * Gets status - * @return string - */ - public function getStatus() - { - return $this->container['status']; - } - - /** - * Sets status - * @param string $status - * @return $this - */ - public function setStatus($status) - { - $this->container['status'] = $status; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * @param integer $offset Offset - * @return boolean - */ - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/Input.php b/sdk/php/swagger/lib/Model/Input.php deleted file mode 100644 index 800e43a1f..000000000 --- a/sdk/php/swagger/lib/Model/Input.php +++ /dev/null @@ -1,323 +0,0 @@ - 'string', - 'context' => 'map[string,object]', - 'resource' => 'string', - 'subject' => 'string' - ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * @var string[] - */ - protected static $swaggerFormats = [ - 'action' => null, - 'context' => null, - 'resource' => null, - 'subject' => null - ]; - - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, and the value is the original name - * @var string[] - */ - protected static $attributeMap = [ - 'action' => 'action', - 'context' => 'context', - 'resource' => 'resource', - 'subject' => 'subject' - ]; - - - /** - * Array of attributes to setter functions (for deserialization of responses) - * @var string[] - */ - protected static $setters = [ - 'action' => 'setAction', - 'context' => 'setContext', - 'resource' => 'setResource', - 'subject' => 'setSubject' - ]; - - - /** - * Array of attributes to getter functions (for serialization of requests) - * @var string[] - */ - protected static $getters = [ - 'action' => 'getAction', - 'context' => 'getContext', - 'resource' => 'getResource', - 'subject' => 'getSubject' - ]; - - public static function attributeMap() - { - return self::$attributeMap; - } - - public static function setters() - { - return self::$setters; - } - - public static function getters() - { - return self::$getters; - } - - - - - - /** - * Associative array for storing property values - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * @param mixed[] $data Associated array of property values initializing the model - */ - public function __construct(array $data = null) - { - $this->container['action'] = isset($data['action']) ? $data['action'] : null; - $this->container['context'] = isset($data['context']) ? $data['context'] : null; - $this->container['resource'] = isset($data['resource']) ? $data['resource'] : null; - $this->container['subject'] = isset($data['subject']) ? $data['subject'] : null; - } - - /** - * show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalid_properties = []; - - return $invalid_properties; - } - - /** - * validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - - return true; - } - - - /** - * Gets action - * @return string - */ - public function getAction() - { - return $this->container['action']; - } - - /** - * Sets action - * @param string $action Action is the action that is requested on the resource. - * @return $this - */ - public function setAction($action) - { - $this->container['action'] = $action; - - return $this; - } - - /** - * Gets context - * @return map[string,object] - */ - public function getContext() - { - return $this->container['context']; - } - - /** - * Sets context - * @param map[string,object] $context Context is the request's environmental context. - * @return $this - */ - public function setContext($context) - { - $this->container['context'] = $context; - - return $this; - } - - /** - * Gets resource - * @return string - */ - public function getResource() - { - return $this->container['resource']; - } - - /** - * Sets resource - * @param string $resource Resource is the resource that access is requested to. - * @return $this - */ - public function setResource($resource) - { - $this->container['resource'] = $resource; - - return $this; - } - - /** - * Gets subject - * @return string - */ - public function getSubject() - { - return $this->container['subject']; - } - - /** - * Sets subject - * @param string $subject Subject is the subject that is requesting access. - * @return $this - */ - public function setSubject($subject) - { - $this->container['subject'] = $subject; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * @param integer $offset Offset - * @return boolean - */ - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/IsInstanceAliveInternalServerError.php b/sdk/php/swagger/lib/Model/IsInstanceAliveInternalServerError.php deleted file mode 100644 index 72135201b..000000000 --- a/sdk/php/swagger/lib/Model/IsInstanceAliveInternalServerError.php +++ /dev/null @@ -1,243 +0,0 @@ - '\keto\SDK\Model\IsInstanceAliveInternalServerErrorBody' - ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * @var string[] - */ - protected static $swaggerFormats = [ - 'payload' => null - ]; - - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, and the value is the original name - * @var string[] - */ - protected static $attributeMap = [ - 'payload' => 'Payload' - ]; - - - /** - * Array of attributes to setter functions (for deserialization of responses) - * @var string[] - */ - protected static $setters = [ - 'payload' => 'setPayload' - ]; - - - /** - * Array of attributes to getter functions (for serialization of requests) - * @var string[] - */ - protected static $getters = [ - 'payload' => 'getPayload' - ]; - - public static function attributeMap() - { - return self::$attributeMap; - } - - public static function setters() - { - return self::$setters; - } - - public static function getters() - { - return self::$getters; - } - - - - - - /** - * Associative array for storing property values - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * @param mixed[] $data Associated array of property values initializing the model - */ - public function __construct(array $data = null) - { - $this->container['payload'] = isset($data['payload']) ? $data['payload'] : null; - } - - /** - * show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalid_properties = []; - - return $invalid_properties; - } - - /** - * validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - - return true; - } - - - /** - * Gets payload - * @return \keto\SDK\Model\IsInstanceAliveInternalServerErrorBody - */ - public function getPayload() - { - return $this->container['payload']; - } - - /** - * Sets payload - * @param \keto\SDK\Model\IsInstanceAliveInternalServerErrorBody $payload - * @return $this - */ - public function setPayload($payload) - { - $this->container['payload'] = $payload; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * @param integer $offset Offset - * @return boolean - */ - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/IsInstanceAliveInternalServerErrorBody.php b/sdk/php/swagger/lib/Model/IsInstanceAliveInternalServerErrorBody.php deleted file mode 100644 index b093453c5..000000000 --- a/sdk/php/swagger/lib/Model/IsInstanceAliveInternalServerErrorBody.php +++ /dev/null @@ -1,378 +0,0 @@ - 'int', - 'details' => 'map[string,object][]', - 'message' => 'string', - 'reason' => 'string', - 'request' => 'string', - 'status' => 'string' - ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * @var string[] - */ - protected static $swaggerFormats = [ - 'code' => 'int64', - 'details' => null, - 'message' => null, - 'reason' => null, - 'request' => null, - 'status' => null - ]; - - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, and the value is the original name - * @var string[] - */ - protected static $attributeMap = [ - 'code' => 'code', - 'details' => 'details', - 'message' => 'message', - 'reason' => 'reason', - 'request' => 'request', - 'status' => 'status' - ]; - - - /** - * Array of attributes to setter functions (for deserialization of responses) - * @var string[] - */ - protected static $setters = [ - 'code' => 'setCode', - 'details' => 'setDetails', - 'message' => 'setMessage', - 'reason' => 'setReason', - 'request' => 'setRequest', - 'status' => 'setStatus' - ]; - - - /** - * Array of attributes to getter functions (for serialization of requests) - * @var string[] - */ - protected static $getters = [ - 'code' => 'getCode', - 'details' => 'getDetails', - 'message' => 'getMessage', - 'reason' => 'getReason', - 'request' => 'getRequest', - 'status' => 'getStatus' - ]; - - public static function attributeMap() - { - return self::$attributeMap; - } - - public static function setters() - { - return self::$setters; - } - - public static function getters() - { - return self::$getters; - } - - - - - - /** - * Associative array for storing property values - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * @param mixed[] $data Associated array of property values initializing the model - */ - public function __construct(array $data = null) - { - $this->container['code'] = isset($data['code']) ? $data['code'] : null; - $this->container['details'] = isset($data['details']) ? $data['details'] : null; - $this->container['message'] = isset($data['message']) ? $data['message'] : null; - $this->container['reason'] = isset($data['reason']) ? $data['reason'] : null; - $this->container['request'] = isset($data['request']) ? $data['request'] : null; - $this->container['status'] = isset($data['status']) ? $data['status'] : null; - } - - /** - * show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalid_properties = []; - - return $invalid_properties; - } - - /** - * validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - - return true; - } - - - /** - * Gets code - * @return int - */ - public function getCode() - { - return $this->container['code']; - } - - /** - * Sets code - * @param int $code code - * @return $this - */ - public function setCode($code) - { - $this->container['code'] = $code; - - return $this; - } - - /** - * Gets details - * @return map[string,object][] - */ - public function getDetails() - { - return $this->container['details']; - } - - /** - * Sets details - * @param map[string,object][] $details details - * @return $this - */ - public function setDetails($details) - { - $this->container['details'] = $details; - - return $this; - } - - /** - * Gets message - * @return string - */ - public function getMessage() - { - return $this->container['message']; - } - - /** - * Sets message - * @param string $message message - * @return $this - */ - public function setMessage($message) - { - $this->container['message'] = $message; - - return $this; - } - - /** - * Gets reason - * @return string - */ - public function getReason() - { - return $this->container['reason']; - } - - /** - * Sets reason - * @param string $reason reason - * @return $this - */ - public function setReason($reason) - { - $this->container['reason'] = $reason; - - return $this; - } - - /** - * Gets request - * @return string - */ - public function getRequest() - { - return $this->container['request']; - } - - /** - * Sets request - * @param string $request request - * @return $this - */ - public function setRequest($request) - { - $this->container['request'] = $request; - - return $this; - } - - /** - * Gets status - * @return string - */ - public function getStatus() - { - return $this->container['status']; - } - - /** - * Sets status - * @param string $status status - * @return $this - */ - public function setStatus($status) - { - $this->container['status'] = $status; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * @param integer $offset Offset - * @return boolean - */ - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/IsInstanceAliveOK.php b/sdk/php/swagger/lib/Model/IsInstanceAliveOK.php deleted file mode 100644 index b02618d4d..000000000 --- a/sdk/php/swagger/lib/Model/IsInstanceAliveOK.php +++ /dev/null @@ -1,243 +0,0 @@ - '\keto\SDK\Model\SwaggerHealthStatus' - ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * @var string[] - */ - protected static $swaggerFormats = [ - 'payload' => null - ]; - - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, and the value is the original name - * @var string[] - */ - protected static $attributeMap = [ - 'payload' => 'Payload' - ]; - - - /** - * Array of attributes to setter functions (for deserialization of responses) - * @var string[] - */ - protected static $setters = [ - 'payload' => 'setPayload' - ]; - - - /** - * Array of attributes to getter functions (for serialization of requests) - * @var string[] - */ - protected static $getters = [ - 'payload' => 'getPayload' - ]; - - public static function attributeMap() - { - return self::$attributeMap; - } - - public static function setters() - { - return self::$setters; - } - - public static function getters() - { - return self::$getters; - } - - - - - - /** - * Associative array for storing property values - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * @param mixed[] $data Associated array of property values initializing the model - */ - public function __construct(array $data = null) - { - $this->container['payload'] = isset($data['payload']) ? $data['payload'] : null; - } - - /** - * show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalid_properties = []; - - return $invalid_properties; - } - - /** - * validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - - return true; - } - - - /** - * Gets payload - * @return \keto\SDK\Model\SwaggerHealthStatus - */ - public function getPayload() - { - return $this->container['payload']; - } - - /** - * Sets payload - * @param \keto\SDK\Model\SwaggerHealthStatus $payload - * @return $this - */ - public function setPayload($payload) - { - $this->container['payload'] = $payload; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * @param integer $offset Offset - * @return boolean - */ - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/IsInstanceAliveReader.php b/sdk/php/swagger/lib/Model/IsInstanceAliveReader.php deleted file mode 100644 index 0181f0df1..000000000 --- a/sdk/php/swagger/lib/Model/IsInstanceAliveReader.php +++ /dev/null @@ -1,220 +0,0 @@ -container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/ListOryAccessControlPolicies.php b/sdk/php/swagger/lib/Model/ListOryAccessControlPolicies.php deleted file mode 100644 index b86a501c7..000000000 --- a/sdk/php/swagger/lib/Model/ListOryAccessControlPolicies.php +++ /dev/null @@ -1,303 +0,0 @@ - 'string', - 'limit' => 'int', - 'offset' => 'int' - ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * @var string[] - */ - protected static $swaggerFormats = [ - 'flavor' => null, - 'limit' => 'int64', - 'offset' => 'int64' - ]; - - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, and the value is the original name - * @var string[] - */ - protected static $attributeMap = [ - 'flavor' => 'flavor', - 'limit' => 'limit', - 'offset' => 'offset' - ]; - - - /** - * Array of attributes to setter functions (for deserialization of responses) - * @var string[] - */ - protected static $setters = [ - 'flavor' => 'setFlavor', - 'limit' => 'setLimit', - 'offset' => 'setOffset' - ]; - - - /** - * Array of attributes to getter functions (for serialization of requests) - * @var string[] - */ - protected static $getters = [ - 'flavor' => 'getFlavor', - 'limit' => 'getLimit', - 'offset' => 'getOffset' - ]; - - public static function attributeMap() - { - return self::$attributeMap; - } - - public static function setters() - { - return self::$setters; - } - - public static function getters() - { - return self::$getters; - } - - - - - - /** - * Associative array for storing property values - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * @param mixed[] $data Associated array of property values initializing the model - */ - public function __construct(array $data = null) - { - $this->container['flavor'] = isset($data['flavor']) ? $data['flavor'] : null; - $this->container['limit'] = isset($data['limit']) ? $data['limit'] : null; - $this->container['offset'] = isset($data['offset']) ? $data['offset'] : null; - } - - /** - * show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalid_properties = []; - - if ($this->container['flavor'] === null) { - $invalid_properties[] = "'flavor' can't be null"; - } - return $invalid_properties; - } - - /** - * validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - - if ($this->container['flavor'] === null) { - return false; - } - return true; - } - - - /** - * Gets flavor - * @return string - */ - public function getFlavor() - { - return $this->container['flavor']; - } - - /** - * Sets flavor - * @param string $flavor The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\" in: path - * @return $this - */ - public function setFlavor($flavor) - { - $this->container['flavor'] = $flavor; - - return $this; - } - - /** - * Gets limit - * @return int - */ - public function getLimit() - { - return $this->container['limit']; - } - - /** - * Sets limit - * @param int $limit The maximum amount of policies returned. in: query - * @return $this - */ - public function setLimit($limit) - { - $this->container['limit'] = $limit; - - return $this; - } - - /** - * Gets offset - * @return int - */ - public function getOffset() - { - return $this->container['offset']; - } - - /** - * Sets offset - * @param int $offset The offset from where to start looking. in: query - * @return $this - */ - public function setOffset($offset) - { - $this->container['offset'] = $offset; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * @param integer $offset Offset - * @return boolean - */ - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/ListOryAccessControlPoliciesInternalServerError.php b/sdk/php/swagger/lib/Model/ListOryAccessControlPoliciesInternalServerError.php deleted file mode 100644 index 4d90cdc0e..000000000 --- a/sdk/php/swagger/lib/Model/ListOryAccessControlPoliciesInternalServerError.php +++ /dev/null @@ -1,243 +0,0 @@ - '\keto\SDK\Model\ListOryAccessControlPoliciesInternalServerErrorBody' - ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * @var string[] - */ - protected static $swaggerFormats = [ - 'payload' => null - ]; - - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, and the value is the original name - * @var string[] - */ - protected static $attributeMap = [ - 'payload' => 'Payload' - ]; - - - /** - * Array of attributes to setter functions (for deserialization of responses) - * @var string[] - */ - protected static $setters = [ - 'payload' => 'setPayload' - ]; - - - /** - * Array of attributes to getter functions (for serialization of requests) - * @var string[] - */ - protected static $getters = [ - 'payload' => 'getPayload' - ]; - - public static function attributeMap() - { - return self::$attributeMap; - } - - public static function setters() - { - return self::$setters; - } - - public static function getters() - { - return self::$getters; - } - - - - - - /** - * Associative array for storing property values - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * @param mixed[] $data Associated array of property values initializing the model - */ - public function __construct(array $data = null) - { - $this->container['payload'] = isset($data['payload']) ? $data['payload'] : null; - } - - /** - * show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalid_properties = []; - - return $invalid_properties; - } - - /** - * validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - - return true; - } - - - /** - * Gets payload - * @return \keto\SDK\Model\ListOryAccessControlPoliciesInternalServerErrorBody - */ - public function getPayload() - { - return $this->container['payload']; - } - - /** - * Sets payload - * @param \keto\SDK\Model\ListOryAccessControlPoliciesInternalServerErrorBody $payload - * @return $this - */ - public function setPayload($payload) - { - $this->container['payload'] = $payload; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * @param integer $offset Offset - * @return boolean - */ - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/ListOryAccessControlPoliciesInternalServerErrorBody.php b/sdk/php/swagger/lib/Model/ListOryAccessControlPoliciesInternalServerErrorBody.php deleted file mode 100644 index 0bebc7c0a..000000000 --- a/sdk/php/swagger/lib/Model/ListOryAccessControlPoliciesInternalServerErrorBody.php +++ /dev/null @@ -1,378 +0,0 @@ - 'int', - 'details' => 'map[string,object][]', - 'message' => 'string', - 'reason' => 'string', - 'request' => 'string', - 'status' => 'string' - ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * @var string[] - */ - protected static $swaggerFormats = [ - 'code' => 'int64', - 'details' => null, - 'message' => null, - 'reason' => null, - 'request' => null, - 'status' => null - ]; - - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, and the value is the original name - * @var string[] - */ - protected static $attributeMap = [ - 'code' => 'code', - 'details' => 'details', - 'message' => 'message', - 'reason' => 'reason', - 'request' => 'request', - 'status' => 'status' - ]; - - - /** - * Array of attributes to setter functions (for deserialization of responses) - * @var string[] - */ - protected static $setters = [ - 'code' => 'setCode', - 'details' => 'setDetails', - 'message' => 'setMessage', - 'reason' => 'setReason', - 'request' => 'setRequest', - 'status' => 'setStatus' - ]; - - - /** - * Array of attributes to getter functions (for serialization of requests) - * @var string[] - */ - protected static $getters = [ - 'code' => 'getCode', - 'details' => 'getDetails', - 'message' => 'getMessage', - 'reason' => 'getReason', - 'request' => 'getRequest', - 'status' => 'getStatus' - ]; - - public static function attributeMap() - { - return self::$attributeMap; - } - - public static function setters() - { - return self::$setters; - } - - public static function getters() - { - return self::$getters; - } - - - - - - /** - * Associative array for storing property values - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * @param mixed[] $data Associated array of property values initializing the model - */ - public function __construct(array $data = null) - { - $this->container['code'] = isset($data['code']) ? $data['code'] : null; - $this->container['details'] = isset($data['details']) ? $data['details'] : null; - $this->container['message'] = isset($data['message']) ? $data['message'] : null; - $this->container['reason'] = isset($data['reason']) ? $data['reason'] : null; - $this->container['request'] = isset($data['request']) ? $data['request'] : null; - $this->container['status'] = isset($data['status']) ? $data['status'] : null; - } - - /** - * show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalid_properties = []; - - return $invalid_properties; - } - - /** - * validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - - return true; - } - - - /** - * Gets code - * @return int - */ - public function getCode() - { - return $this->container['code']; - } - - /** - * Sets code - * @param int $code code - * @return $this - */ - public function setCode($code) - { - $this->container['code'] = $code; - - return $this; - } - - /** - * Gets details - * @return map[string,object][] - */ - public function getDetails() - { - return $this->container['details']; - } - - /** - * Sets details - * @param map[string,object][] $details details - * @return $this - */ - public function setDetails($details) - { - $this->container['details'] = $details; - - return $this; - } - - /** - * Gets message - * @return string - */ - public function getMessage() - { - return $this->container['message']; - } - - /** - * Sets message - * @param string $message message - * @return $this - */ - public function setMessage($message) - { - $this->container['message'] = $message; - - return $this; - } - - /** - * Gets reason - * @return string - */ - public function getReason() - { - return $this->container['reason']; - } - - /** - * Sets reason - * @param string $reason reason - * @return $this - */ - public function setReason($reason) - { - $this->container['reason'] = $reason; - - return $this; - } - - /** - * Gets request - * @return string - */ - public function getRequest() - { - return $this->container['request']; - } - - /** - * Sets request - * @param string $request request - * @return $this - */ - public function setRequest($request) - { - $this->container['request'] = $request; - - return $this; - } - - /** - * Gets status - * @return string - */ - public function getStatus() - { - return $this->container['status']; - } - - /** - * Sets status - * @param string $status status - * @return $this - */ - public function setStatus($status) - { - $this->container['status'] = $status; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * @param integer $offset Offset - * @return boolean - */ - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/ListOryAccessControlPoliciesOK.php b/sdk/php/swagger/lib/Model/ListOryAccessControlPoliciesOK.php deleted file mode 100644 index fd6e70eaf..000000000 --- a/sdk/php/swagger/lib/Model/ListOryAccessControlPoliciesOK.php +++ /dev/null @@ -1,243 +0,0 @@ - '\keto\SDK\Model\OryAccessControlPolicy[]' - ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * @var string[] - */ - protected static $swaggerFormats = [ - 'payload' => null - ]; - - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, and the value is the original name - * @var string[] - */ - protected static $attributeMap = [ - 'payload' => 'Payload' - ]; - - - /** - * Array of attributes to setter functions (for deserialization of responses) - * @var string[] - */ - protected static $setters = [ - 'payload' => 'setPayload' - ]; - - - /** - * Array of attributes to getter functions (for serialization of requests) - * @var string[] - */ - protected static $getters = [ - 'payload' => 'getPayload' - ]; - - public static function attributeMap() - { - return self::$attributeMap; - } - - public static function setters() - { - return self::$setters; - } - - public static function getters() - { - return self::$getters; - } - - - - - - /** - * Associative array for storing property values - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * @param mixed[] $data Associated array of property values initializing the model - */ - public function __construct(array $data = null) - { - $this->container['payload'] = isset($data['payload']) ? $data['payload'] : null; - } - - /** - * show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalid_properties = []; - - return $invalid_properties; - } - - /** - * validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - - return true; - } - - - /** - * Gets payload - * @return \keto\SDK\Model\OryAccessControlPolicy[] - */ - public function getPayload() - { - return $this->container['payload']; - } - - /** - * Sets payload - * @param \keto\SDK\Model\OryAccessControlPolicy[] $payload payload - * @return $this - */ - public function setPayload($payload) - { - $this->container['payload'] = $payload; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * @param integer $offset Offset - * @return boolean - */ - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/ListOryAccessControlPoliciesReader.php b/sdk/php/swagger/lib/Model/ListOryAccessControlPoliciesReader.php deleted file mode 100644 index 9789920b9..000000000 --- a/sdk/php/swagger/lib/Model/ListOryAccessControlPoliciesReader.php +++ /dev/null @@ -1,220 +0,0 @@ -container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/ListOryAccessControlPolicyRoles.php b/sdk/php/swagger/lib/Model/ListOryAccessControlPolicyRoles.php deleted file mode 100644 index 007c29dc0..000000000 --- a/sdk/php/swagger/lib/Model/ListOryAccessControlPolicyRoles.php +++ /dev/null @@ -1,303 +0,0 @@ - 'string', - 'limit' => 'int', - 'offset' => 'int' - ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * @var string[] - */ - protected static $swaggerFormats = [ - 'flavor' => null, - 'limit' => 'int64', - 'offset' => 'int64' - ]; - - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, and the value is the original name - * @var string[] - */ - protected static $attributeMap = [ - 'flavor' => 'flavor', - 'limit' => 'limit', - 'offset' => 'offset' - ]; - - - /** - * Array of attributes to setter functions (for deserialization of responses) - * @var string[] - */ - protected static $setters = [ - 'flavor' => 'setFlavor', - 'limit' => 'setLimit', - 'offset' => 'setOffset' - ]; - - - /** - * Array of attributes to getter functions (for serialization of requests) - * @var string[] - */ - protected static $getters = [ - 'flavor' => 'getFlavor', - 'limit' => 'getLimit', - 'offset' => 'getOffset' - ]; - - public static function attributeMap() - { - return self::$attributeMap; - } - - public static function setters() - { - return self::$setters; - } - - public static function getters() - { - return self::$getters; - } - - - - - - /** - * Associative array for storing property values - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * @param mixed[] $data Associated array of property values initializing the model - */ - public function __construct(array $data = null) - { - $this->container['flavor'] = isset($data['flavor']) ? $data['flavor'] : null; - $this->container['limit'] = isset($data['limit']) ? $data['limit'] : null; - $this->container['offset'] = isset($data['offset']) ? $data['offset'] : null; - } - - /** - * show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalid_properties = []; - - if ($this->container['flavor'] === null) { - $invalid_properties[] = "'flavor' can't be null"; - } - return $invalid_properties; - } - - /** - * validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - - if ($this->container['flavor'] === null) { - return false; - } - return true; - } - - - /** - * Gets flavor - * @return string - */ - public function getFlavor() - { - return $this->container['flavor']; - } - - /** - * Sets flavor - * @param string $flavor The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\" in: path - * @return $this - */ - public function setFlavor($flavor) - { - $this->container['flavor'] = $flavor; - - return $this; - } - - /** - * Gets limit - * @return int - */ - public function getLimit() - { - return $this->container['limit']; - } - - /** - * Sets limit - * @param int $limit The maximum amount of policies returned. in: query - * @return $this - */ - public function setLimit($limit) - { - $this->container['limit'] = $limit; - - return $this; - } - - /** - * Gets offset - * @return int - */ - public function getOffset() - { - return $this->container['offset']; - } - - /** - * Sets offset - * @param int $offset The offset from where to start looking. in: query - * @return $this - */ - public function setOffset($offset) - { - $this->container['offset'] = $offset; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * @param integer $offset Offset - * @return boolean - */ - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/ListOryAccessControlPolicyRolesInternalServerError.php b/sdk/php/swagger/lib/Model/ListOryAccessControlPolicyRolesInternalServerError.php deleted file mode 100644 index da9f403b6..000000000 --- a/sdk/php/swagger/lib/Model/ListOryAccessControlPolicyRolesInternalServerError.php +++ /dev/null @@ -1,243 +0,0 @@ - '\keto\SDK\Model\ListOryAccessControlPolicyRolesInternalServerErrorBody' - ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * @var string[] - */ - protected static $swaggerFormats = [ - 'payload' => null - ]; - - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, and the value is the original name - * @var string[] - */ - protected static $attributeMap = [ - 'payload' => 'Payload' - ]; - - - /** - * Array of attributes to setter functions (for deserialization of responses) - * @var string[] - */ - protected static $setters = [ - 'payload' => 'setPayload' - ]; - - - /** - * Array of attributes to getter functions (for serialization of requests) - * @var string[] - */ - protected static $getters = [ - 'payload' => 'getPayload' - ]; - - public static function attributeMap() - { - return self::$attributeMap; - } - - public static function setters() - { - return self::$setters; - } - - public static function getters() - { - return self::$getters; - } - - - - - - /** - * Associative array for storing property values - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * @param mixed[] $data Associated array of property values initializing the model - */ - public function __construct(array $data = null) - { - $this->container['payload'] = isset($data['payload']) ? $data['payload'] : null; - } - - /** - * show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalid_properties = []; - - return $invalid_properties; - } - - /** - * validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - - return true; - } - - - /** - * Gets payload - * @return \keto\SDK\Model\ListOryAccessControlPolicyRolesInternalServerErrorBody - */ - public function getPayload() - { - return $this->container['payload']; - } - - /** - * Sets payload - * @param \keto\SDK\Model\ListOryAccessControlPolicyRolesInternalServerErrorBody $payload - * @return $this - */ - public function setPayload($payload) - { - $this->container['payload'] = $payload; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * @param integer $offset Offset - * @return boolean - */ - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/ListOryAccessControlPolicyRolesInternalServerErrorBody.php b/sdk/php/swagger/lib/Model/ListOryAccessControlPolicyRolesInternalServerErrorBody.php deleted file mode 100644 index d60dfe385..000000000 --- a/sdk/php/swagger/lib/Model/ListOryAccessControlPolicyRolesInternalServerErrorBody.php +++ /dev/null @@ -1,378 +0,0 @@ - 'int', - 'details' => 'map[string,object][]', - 'message' => 'string', - 'reason' => 'string', - 'request' => 'string', - 'status' => 'string' - ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * @var string[] - */ - protected static $swaggerFormats = [ - 'code' => 'int64', - 'details' => null, - 'message' => null, - 'reason' => null, - 'request' => null, - 'status' => null - ]; - - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, and the value is the original name - * @var string[] - */ - protected static $attributeMap = [ - 'code' => 'code', - 'details' => 'details', - 'message' => 'message', - 'reason' => 'reason', - 'request' => 'request', - 'status' => 'status' - ]; - - - /** - * Array of attributes to setter functions (for deserialization of responses) - * @var string[] - */ - protected static $setters = [ - 'code' => 'setCode', - 'details' => 'setDetails', - 'message' => 'setMessage', - 'reason' => 'setReason', - 'request' => 'setRequest', - 'status' => 'setStatus' - ]; - - - /** - * Array of attributes to getter functions (for serialization of requests) - * @var string[] - */ - protected static $getters = [ - 'code' => 'getCode', - 'details' => 'getDetails', - 'message' => 'getMessage', - 'reason' => 'getReason', - 'request' => 'getRequest', - 'status' => 'getStatus' - ]; - - public static function attributeMap() - { - return self::$attributeMap; - } - - public static function setters() - { - return self::$setters; - } - - public static function getters() - { - return self::$getters; - } - - - - - - /** - * Associative array for storing property values - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * @param mixed[] $data Associated array of property values initializing the model - */ - public function __construct(array $data = null) - { - $this->container['code'] = isset($data['code']) ? $data['code'] : null; - $this->container['details'] = isset($data['details']) ? $data['details'] : null; - $this->container['message'] = isset($data['message']) ? $data['message'] : null; - $this->container['reason'] = isset($data['reason']) ? $data['reason'] : null; - $this->container['request'] = isset($data['request']) ? $data['request'] : null; - $this->container['status'] = isset($data['status']) ? $data['status'] : null; - } - - /** - * show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalid_properties = []; - - return $invalid_properties; - } - - /** - * validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - - return true; - } - - - /** - * Gets code - * @return int - */ - public function getCode() - { - return $this->container['code']; - } - - /** - * Sets code - * @param int $code code - * @return $this - */ - public function setCode($code) - { - $this->container['code'] = $code; - - return $this; - } - - /** - * Gets details - * @return map[string,object][] - */ - public function getDetails() - { - return $this->container['details']; - } - - /** - * Sets details - * @param map[string,object][] $details details - * @return $this - */ - public function setDetails($details) - { - $this->container['details'] = $details; - - return $this; - } - - /** - * Gets message - * @return string - */ - public function getMessage() - { - return $this->container['message']; - } - - /** - * Sets message - * @param string $message message - * @return $this - */ - public function setMessage($message) - { - $this->container['message'] = $message; - - return $this; - } - - /** - * Gets reason - * @return string - */ - public function getReason() - { - return $this->container['reason']; - } - - /** - * Sets reason - * @param string $reason reason - * @return $this - */ - public function setReason($reason) - { - $this->container['reason'] = $reason; - - return $this; - } - - /** - * Gets request - * @return string - */ - public function getRequest() - { - return $this->container['request']; - } - - /** - * Sets request - * @param string $request request - * @return $this - */ - public function setRequest($request) - { - $this->container['request'] = $request; - - return $this; - } - - /** - * Gets status - * @return string - */ - public function getStatus() - { - return $this->container['status']; - } - - /** - * Sets status - * @param string $status status - * @return $this - */ - public function setStatus($status) - { - $this->container['status'] = $status; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * @param integer $offset Offset - * @return boolean - */ - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/ListOryAccessControlPolicyRolesOK.php b/sdk/php/swagger/lib/Model/ListOryAccessControlPolicyRolesOK.php deleted file mode 100644 index 70672eb52..000000000 --- a/sdk/php/swagger/lib/Model/ListOryAccessControlPolicyRolesOK.php +++ /dev/null @@ -1,243 +0,0 @@ - '\keto\SDK\Model\OryAccessControlPolicyRole[]' - ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * @var string[] - */ - protected static $swaggerFormats = [ - 'payload' => null - ]; - - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, and the value is the original name - * @var string[] - */ - protected static $attributeMap = [ - 'payload' => 'Payload' - ]; - - - /** - * Array of attributes to setter functions (for deserialization of responses) - * @var string[] - */ - protected static $setters = [ - 'payload' => 'setPayload' - ]; - - - /** - * Array of attributes to getter functions (for serialization of requests) - * @var string[] - */ - protected static $getters = [ - 'payload' => 'getPayload' - ]; - - public static function attributeMap() - { - return self::$attributeMap; - } - - public static function setters() - { - return self::$setters; - } - - public static function getters() - { - return self::$getters; - } - - - - - - /** - * Associative array for storing property values - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * @param mixed[] $data Associated array of property values initializing the model - */ - public function __construct(array $data = null) - { - $this->container['payload'] = isset($data['payload']) ? $data['payload'] : null; - } - - /** - * show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalid_properties = []; - - return $invalid_properties; - } - - /** - * validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - - return true; - } - - - /** - * Gets payload - * @return \keto\SDK\Model\OryAccessControlPolicyRole[] - */ - public function getPayload() - { - return $this->container['payload']; - } - - /** - * Sets payload - * @param \keto\SDK\Model\OryAccessControlPolicyRole[] $payload payload - * @return $this - */ - public function setPayload($payload) - { - $this->container['payload'] = $payload; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * @param integer $offset Offset - * @return boolean - */ - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/ListOryAccessControlPolicyRolesReader.php b/sdk/php/swagger/lib/Model/ListOryAccessControlPolicyRolesReader.php deleted file mode 100644 index 2f6122c68..000000000 --- a/sdk/php/swagger/lib/Model/ListOryAccessControlPolicyRolesReader.php +++ /dev/null @@ -1,220 +0,0 @@ -container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/OryAccessControlPolicies.php b/sdk/php/swagger/lib/Model/OryAccessControlPolicies.php deleted file mode 100644 index aba2be0f9..000000000 --- a/sdk/php/swagger/lib/Model/OryAccessControlPolicies.php +++ /dev/null @@ -1,242 +0,0 @@ - '\keto\SDK\Model\OryAccessControlPolicy[]' - ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * @var string[] - */ - protected static $swaggerFormats = [ - 'body' => null - ]; - - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, and the value is the original name - * @var string[] - */ - protected static $attributeMap = [ - 'body' => 'Body' - ]; - - - /** - * Array of attributes to setter functions (for deserialization of responses) - * @var string[] - */ - protected static $setters = [ - 'body' => 'setBody' - ]; - - - /** - * Array of attributes to getter functions (for serialization of requests) - * @var string[] - */ - protected static $getters = [ - 'body' => 'getBody' - ]; - - public static function attributeMap() - { - return self::$attributeMap; - } - - public static function setters() - { - return self::$setters; - } - - public static function getters() - { - return self::$getters; - } - - - - - - /** - * Associative array for storing property values - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * @param mixed[] $data Associated array of property values initializing the model - */ - public function __construct(array $data = null) - { - $this->container['body'] = isset($data['body']) ? $data['body'] : null; - } - - /** - * show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalid_properties = []; - - return $invalid_properties; - } - - /** - * validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - - return true; - } - - - /** - * Gets body - * @return \keto\SDK\Model\OryAccessControlPolicy[] - */ - public function getBody() - { - return $this->container['body']; - } - - /** - * Sets body - * @param \keto\SDK\Model\OryAccessControlPolicy[] $body The request body. in: body type: array - * @return $this - */ - public function setBody($body) - { - $this->container['body'] = $body; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * @param integer $offset Offset - * @return boolean - */ - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/OryAccessControlPolicy.php b/sdk/php/swagger/lib/Model/OryAccessControlPolicy.php deleted file mode 100644 index 2770eca79..000000000 --- a/sdk/php/swagger/lib/Model/OryAccessControlPolicy.php +++ /dev/null @@ -1,404 +0,0 @@ - 'string[]', - 'conditions' => 'map[string,object]', - 'description' => 'string', - 'effect' => 'string', - 'id' => 'string', - 'resources' => 'string[]', - 'subjects' => 'string[]' - ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * @var string[] - */ - protected static $swaggerFormats = [ - 'actions' => null, - 'conditions' => null, - 'description' => null, - 'effect' => null, - 'id' => null, - 'resources' => null, - 'subjects' => null - ]; - - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, and the value is the original name - * @var string[] - */ - protected static $attributeMap = [ - 'actions' => 'actions', - 'conditions' => 'conditions', - 'description' => 'description', - 'effect' => 'effect', - 'id' => 'id', - 'resources' => 'resources', - 'subjects' => 'subjects' - ]; - - - /** - * Array of attributes to setter functions (for deserialization of responses) - * @var string[] - */ - protected static $setters = [ - 'actions' => 'setActions', - 'conditions' => 'setConditions', - 'description' => 'setDescription', - 'effect' => 'setEffect', - 'id' => 'setId', - 'resources' => 'setResources', - 'subjects' => 'setSubjects' - ]; - - - /** - * Array of attributes to getter functions (for serialization of requests) - * @var string[] - */ - protected static $getters = [ - 'actions' => 'getActions', - 'conditions' => 'getConditions', - 'description' => 'getDescription', - 'effect' => 'getEffect', - 'id' => 'getId', - 'resources' => 'getResources', - 'subjects' => 'getSubjects' - ]; - - public static function attributeMap() - { - return self::$attributeMap; - } - - public static function setters() - { - return self::$setters; - } - - public static function getters() - { - return self::$getters; - } - - - - - - /** - * Associative array for storing property values - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * @param mixed[] $data Associated array of property values initializing the model - */ - public function __construct(array $data = null) - { - $this->container['actions'] = isset($data['actions']) ? $data['actions'] : null; - $this->container['conditions'] = isset($data['conditions']) ? $data['conditions'] : null; - $this->container['description'] = isset($data['description']) ? $data['description'] : null; - $this->container['effect'] = isset($data['effect']) ? $data['effect'] : null; - $this->container['id'] = isset($data['id']) ? $data['id'] : null; - $this->container['resources'] = isset($data['resources']) ? $data['resources'] : null; - $this->container['subjects'] = isset($data['subjects']) ? $data['subjects'] : null; - } - - /** - * show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalid_properties = []; - - return $invalid_properties; - } - - /** - * validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - - return true; - } - - - /** - * Gets actions - * @return string[] - */ - public function getActions() - { - return $this->container['actions']; - } - - /** - * Sets actions - * @param string[] $actions Actions is an array representing all the actions this ORY Access Policy applies to. - * @return $this - */ - public function setActions($actions) - { - $this->container['actions'] = $actions; - - return $this; - } - - /** - * Gets conditions - * @return map[string,object] - */ - public function getConditions() - { - return $this->container['conditions']; - } - - /** - * Sets conditions - * @param map[string,object] $conditions Conditions represents a keyed object of conditions under which this ORY Access Policy is active. - * @return $this - */ - public function setConditions($conditions) - { - $this->container['conditions'] = $conditions; - - return $this; - } - - /** - * Gets description - * @return string - */ - public function getDescription() - { - return $this->container['description']; - } - - /** - * Sets description - * @param string $description Description is an optional, human-readable description. - * @return $this - */ - public function setDescription($description) - { - $this->container['description'] = $description; - - return $this; - } - - /** - * Gets effect - * @return string - */ - public function getEffect() - { - return $this->container['effect']; - } - - /** - * Sets effect - * @param string $effect Effect is the effect of this ORY Access Policy. It can be \"allow\" or \"deny\". - * @return $this - */ - public function setEffect($effect) - { - $this->container['effect'] = $effect; - - return $this; - } - - /** - * Gets id - * @return string - */ - public function getId() - { - return $this->container['id']; - } - - /** - * Sets id - * @param string $id ID is the unique identifier of the ORY Access Policy. It is used to query, update, and remove the ORY Access Policy. - * @return $this - */ - public function setId($id) - { - $this->container['id'] = $id; - - return $this; - } - - /** - * Gets resources - * @return string[] - */ - public function getResources() - { - return $this->container['resources']; - } - - /** - * Sets resources - * @param string[] $resources Resources is an array representing all the resources this ORY Access Policy applies to. - * @return $this - */ - public function setResources($resources) - { - $this->container['resources'] = $resources; - - return $this; - } - - /** - * Gets subjects - * @return string[] - */ - public function getSubjects() - { - return $this->container['subjects']; - } - - /** - * Sets subjects - * @param string[] $subjects Subjects is an array representing all the subjects this ORY Access Policy applies to. - * @return $this - */ - public function setSubjects($subjects) - { - $this->container['subjects'] = $subjects; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * @param integer $offset Offset - * @return boolean - */ - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/OryAccessControlPolicyAllowedInput.php b/sdk/php/swagger/lib/Model/OryAccessControlPolicyAllowedInput.php deleted file mode 100644 index 979bf0abd..000000000 --- a/sdk/php/swagger/lib/Model/OryAccessControlPolicyAllowedInput.php +++ /dev/null @@ -1,323 +0,0 @@ - 'string', - 'context' => 'map[string,object]', - 'resource' => 'string', - 'subject' => 'string' - ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * @var string[] - */ - protected static $swaggerFormats = [ - 'action' => null, - 'context' => null, - 'resource' => null, - 'subject' => null - ]; - - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, and the value is the original name - * @var string[] - */ - protected static $attributeMap = [ - 'action' => 'action', - 'context' => 'context', - 'resource' => 'resource', - 'subject' => 'subject' - ]; - - - /** - * Array of attributes to setter functions (for deserialization of responses) - * @var string[] - */ - protected static $setters = [ - 'action' => 'setAction', - 'context' => 'setContext', - 'resource' => 'setResource', - 'subject' => 'setSubject' - ]; - - - /** - * Array of attributes to getter functions (for serialization of requests) - * @var string[] - */ - protected static $getters = [ - 'action' => 'getAction', - 'context' => 'getContext', - 'resource' => 'getResource', - 'subject' => 'getSubject' - ]; - - public static function attributeMap() - { - return self::$attributeMap; - } - - public static function setters() - { - return self::$setters; - } - - public static function getters() - { - return self::$getters; - } - - - - - - /** - * Associative array for storing property values - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * @param mixed[] $data Associated array of property values initializing the model - */ - public function __construct(array $data = null) - { - $this->container['action'] = isset($data['action']) ? $data['action'] : null; - $this->container['context'] = isset($data['context']) ? $data['context'] : null; - $this->container['resource'] = isset($data['resource']) ? $data['resource'] : null; - $this->container['subject'] = isset($data['subject']) ? $data['subject'] : null; - } - - /** - * show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalid_properties = []; - - return $invalid_properties; - } - - /** - * validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - - return true; - } - - - /** - * Gets action - * @return string - */ - public function getAction() - { - return $this->container['action']; - } - - /** - * Sets action - * @param string $action Action is the action that is requested on the resource. - * @return $this - */ - public function setAction($action) - { - $this->container['action'] = $action; - - return $this; - } - - /** - * Gets context - * @return map[string,object] - */ - public function getContext() - { - return $this->container['context']; - } - - /** - * Sets context - * @param map[string,object] $context Context is the request's environmental context. - * @return $this - */ - public function setContext($context) - { - $this->container['context'] = $context; - - return $this; - } - - /** - * Gets resource - * @return string - */ - public function getResource() - { - return $this->container['resource']; - } - - /** - * Sets resource - * @param string $resource Resource is the resource that access is requested to. - * @return $this - */ - public function setResource($resource) - { - $this->container['resource'] = $resource; - - return $this; - } - - /** - * Gets subject - * @return string - */ - public function getSubject() - { - return $this->container['subject']; - } - - /** - * Sets subject - * @param string $subject Subject is the subject that is requesting access. - * @return $this - */ - public function setSubject($subject) - { - $this->container['subject'] = $subject; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * @param integer $offset Offset - * @return boolean - */ - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/OryAccessControlPolicyRole.php b/sdk/php/swagger/lib/Model/OryAccessControlPolicyRole.php deleted file mode 100644 index cf09dfd61..000000000 --- a/sdk/php/swagger/lib/Model/OryAccessControlPolicyRole.php +++ /dev/null @@ -1,270 +0,0 @@ - 'string', - 'members' => 'string[]' - ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * @var string[] - */ - protected static $swaggerFormats = [ - 'id' => null, - 'members' => null - ]; - - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, and the value is the original name - * @var string[] - */ - protected static $attributeMap = [ - 'id' => 'id', - 'members' => 'members' - ]; - - - /** - * Array of attributes to setter functions (for deserialization of responses) - * @var string[] - */ - protected static $setters = [ - 'id' => 'setId', - 'members' => 'setMembers' - ]; - - - /** - * Array of attributes to getter functions (for serialization of requests) - * @var string[] - */ - protected static $getters = [ - 'id' => 'getId', - 'members' => 'getMembers' - ]; - - public static function attributeMap() - { - return self::$attributeMap; - } - - public static function setters() - { - return self::$setters; - } - - public static function getters() - { - return self::$getters; - } - - - - - - /** - * Associative array for storing property values - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * @param mixed[] $data Associated array of property values initializing the model - */ - public function __construct(array $data = null) - { - $this->container['id'] = isset($data['id']) ? $data['id'] : null; - $this->container['members'] = isset($data['members']) ? $data['members'] : null; - } - - /** - * show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalid_properties = []; - - return $invalid_properties; - } - - /** - * validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - - return true; - } - - - /** - * Gets id - * @return string - */ - public function getId() - { - return $this->container['id']; - } - - /** - * Sets id - * @param string $id ID is the role's unique id. - * @return $this - */ - public function setId($id) - { - $this->container['id'] = $id; - - return $this; - } - - /** - * Gets members - * @return string[] - */ - public function getMembers() - { - return $this->container['members']; - } - - /** - * Sets members - * @param string[] $members Members is who belongs to the role. - * @return $this - */ - public function setMembers($members) - { - $this->container['members'] = $members; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * @param integer $offset Offset - * @return boolean - */ - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/OryAccessControlPolicyRoles.php b/sdk/php/swagger/lib/Model/OryAccessControlPolicyRoles.php deleted file mode 100644 index 82d6f2a93..000000000 --- a/sdk/php/swagger/lib/Model/OryAccessControlPolicyRoles.php +++ /dev/null @@ -1,242 +0,0 @@ - '\keto\SDK\Model\OryAccessControlPolicyRole[]' - ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * @var string[] - */ - protected static $swaggerFormats = [ - 'body' => null - ]; - - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, and the value is the original name - * @var string[] - */ - protected static $attributeMap = [ - 'body' => 'Body' - ]; - - - /** - * Array of attributes to setter functions (for deserialization of responses) - * @var string[] - */ - protected static $setters = [ - 'body' => 'setBody' - ]; - - - /** - * Array of attributes to getter functions (for serialization of requests) - * @var string[] - */ - protected static $getters = [ - 'body' => 'getBody' - ]; - - public static function attributeMap() - { - return self::$attributeMap; - } - - public static function setters() - { - return self::$setters; - } - - public static function getters() - { - return self::$getters; - } - - - - - - /** - * Associative array for storing property values - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * @param mixed[] $data Associated array of property values initializing the model - */ - public function __construct(array $data = null) - { - $this->container['body'] = isset($data['body']) ? $data['body'] : null; - } - - /** - * show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalid_properties = []; - - return $invalid_properties; - } - - /** - * validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - - return true; - } - - - /** - * Gets body - * @return \keto\SDK\Model\OryAccessControlPolicyRole[] - */ - public function getBody() - { - return $this->container['body']; - } - - /** - * Sets body - * @param \keto\SDK\Model\OryAccessControlPolicyRole[] $body The request body. in: body type: array - * @return $this - */ - public function setBody($body) - { - $this->container['body'] = $body; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * @param integer $offset Offset - * @return boolean - */ - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/Policies.php b/sdk/php/swagger/lib/Model/Policies.php deleted file mode 100644 index c17539b03..000000000 --- a/sdk/php/swagger/lib/Model/Policies.php +++ /dev/null @@ -1,223 +0,0 @@ -container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/Policy.php b/sdk/php/swagger/lib/Model/Policy.php deleted file mode 100644 index 17e73811a..000000000 --- a/sdk/php/swagger/lib/Model/Policy.php +++ /dev/null @@ -1,404 +0,0 @@ - 'string[]', - 'conditions' => 'map[string,object]', - 'description' => 'string', - 'effect' => 'string', - 'id' => 'string', - 'resources' => 'string[]', - 'subjects' => 'string[]' - ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * @var string[] - */ - protected static $swaggerFormats = [ - 'actions' => null, - 'conditions' => null, - 'description' => null, - 'effect' => null, - 'id' => null, - 'resources' => null, - 'subjects' => null - ]; - - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, and the value is the original name - * @var string[] - */ - protected static $attributeMap = [ - 'actions' => 'actions', - 'conditions' => 'conditions', - 'description' => 'description', - 'effect' => 'effect', - 'id' => 'id', - 'resources' => 'resources', - 'subjects' => 'subjects' - ]; - - - /** - * Array of attributes to setter functions (for deserialization of responses) - * @var string[] - */ - protected static $setters = [ - 'actions' => 'setActions', - 'conditions' => 'setConditions', - 'description' => 'setDescription', - 'effect' => 'setEffect', - 'id' => 'setId', - 'resources' => 'setResources', - 'subjects' => 'setSubjects' - ]; - - - /** - * Array of attributes to getter functions (for serialization of requests) - * @var string[] - */ - protected static $getters = [ - 'actions' => 'getActions', - 'conditions' => 'getConditions', - 'description' => 'getDescription', - 'effect' => 'getEffect', - 'id' => 'getId', - 'resources' => 'getResources', - 'subjects' => 'getSubjects' - ]; - - public static function attributeMap() - { - return self::$attributeMap; - } - - public static function setters() - { - return self::$setters; - } - - public static function getters() - { - return self::$getters; - } - - - - - - /** - * Associative array for storing property values - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * @param mixed[] $data Associated array of property values initializing the model - */ - public function __construct(array $data = null) - { - $this->container['actions'] = isset($data['actions']) ? $data['actions'] : null; - $this->container['conditions'] = isset($data['conditions']) ? $data['conditions'] : null; - $this->container['description'] = isset($data['description']) ? $data['description'] : null; - $this->container['effect'] = isset($data['effect']) ? $data['effect'] : null; - $this->container['id'] = isset($data['id']) ? $data['id'] : null; - $this->container['resources'] = isset($data['resources']) ? $data['resources'] : null; - $this->container['subjects'] = isset($data['subjects']) ? $data['subjects'] : null; - } - - /** - * show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalid_properties = []; - - return $invalid_properties; - } - - /** - * validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - - return true; - } - - - /** - * Gets actions - * @return string[] - */ - public function getActions() - { - return $this->container['actions']; - } - - /** - * Sets actions - * @param string[] $actions Actions is an array representing all the actions this ORY Access Policy applies to. - * @return $this - */ - public function setActions($actions) - { - $this->container['actions'] = $actions; - - return $this; - } - - /** - * Gets conditions - * @return map[string,object] - */ - public function getConditions() - { - return $this->container['conditions']; - } - - /** - * Sets conditions - * @param map[string,object] $conditions Conditions represents a keyed object of conditions under which this ORY Access Policy is active. - * @return $this - */ - public function setConditions($conditions) - { - $this->container['conditions'] = $conditions; - - return $this; - } - - /** - * Gets description - * @return string - */ - public function getDescription() - { - return $this->container['description']; - } - - /** - * Sets description - * @param string $description Description is an optional, human-readable description. - * @return $this - */ - public function setDescription($description) - { - $this->container['description'] = $description; - - return $this; - } - - /** - * Gets effect - * @return string - */ - public function getEffect() - { - return $this->container['effect']; - } - - /** - * Sets effect - * @param string $effect Effect is the effect of this ORY Access Policy. It can be \"allow\" or \"deny\". - * @return $this - */ - public function setEffect($effect) - { - $this->container['effect'] = $effect; - - return $this; - } - - /** - * Gets id - * @return string - */ - public function getId() - { - return $this->container['id']; - } - - /** - * Sets id - * @param string $id ID is the unique identifier of the ORY Access Policy. It is used to query, update, and remove the ORY Access Policy. - * @return $this - */ - public function setId($id) - { - $this->container['id'] = $id; - - return $this; - } - - /** - * Gets resources - * @return string[] - */ - public function getResources() - { - return $this->container['resources']; - } - - /** - * Sets resources - * @param string[] $resources Resources is an array representing all the resources this ORY Access Policy applies to. - * @return $this - */ - public function setResources($resources) - { - $this->container['resources'] = $resources; - - return $this; - } - - /** - * Gets subjects - * @return string[] - */ - public function getSubjects() - { - return $this->container['subjects']; - } - - /** - * Sets subjects - * @param string[] $subjects Subjects is an array representing all the subjects this ORY Access Policy applies to. - * @return $this - */ - public function setSubjects($subjects) - { - $this->container['subjects'] = $subjects; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * @param integer $offset Offset - * @return boolean - */ - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/RemoveOryAccessControlPolicyRoleMembers.php b/sdk/php/swagger/lib/Model/RemoveOryAccessControlPolicyRoleMembers.php deleted file mode 100644 index 972fb6d21..000000000 --- a/sdk/php/swagger/lib/Model/RemoveOryAccessControlPolicyRoleMembers.php +++ /dev/null @@ -1,315 +0,0 @@ - 'string', - 'id' => 'string', - 'member' => 'string' - ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * @var string[] - */ - protected static $swaggerFormats = [ - 'flavor' => null, - 'id' => null, - 'member' => null - ]; - - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, and the value is the original name - * @var string[] - */ - protected static $attributeMap = [ - 'flavor' => 'flavor', - 'id' => 'id', - 'member' => 'member' - ]; - - - /** - * Array of attributes to setter functions (for deserialization of responses) - * @var string[] - */ - protected static $setters = [ - 'flavor' => 'setFlavor', - 'id' => 'setId', - 'member' => 'setMember' - ]; - - - /** - * Array of attributes to getter functions (for serialization of requests) - * @var string[] - */ - protected static $getters = [ - 'flavor' => 'getFlavor', - 'id' => 'getId', - 'member' => 'getMember' - ]; - - public static function attributeMap() - { - return self::$attributeMap; - } - - public static function setters() - { - return self::$setters; - } - - public static function getters() - { - return self::$getters; - } - - - - - - /** - * Associative array for storing property values - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * @param mixed[] $data Associated array of property values initializing the model - */ - public function __construct(array $data = null) - { - $this->container['flavor'] = isset($data['flavor']) ? $data['flavor'] : null; - $this->container['id'] = isset($data['id']) ? $data['id'] : null; - $this->container['member'] = isset($data['member']) ? $data['member'] : null; - } - - /** - * show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalid_properties = []; - - if ($this->container['flavor'] === null) { - $invalid_properties[] = "'flavor' can't be null"; - } - if ($this->container['id'] === null) { - $invalid_properties[] = "'id' can't be null"; - } - if ($this->container['member'] === null) { - $invalid_properties[] = "'member' can't be null"; - } - return $invalid_properties; - } - - /** - * validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - - if ($this->container['flavor'] === null) { - return false; - } - if ($this->container['id'] === null) { - return false; - } - if ($this->container['member'] === null) { - return false; - } - return true; - } - - - /** - * Gets flavor - * @return string - */ - public function getFlavor() - { - return $this->container['flavor']; - } - - /** - * Sets flavor - * @param string $flavor The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". in: path - * @return $this - */ - public function setFlavor($flavor) - { - $this->container['flavor'] = $flavor; - - return $this; - } - - /** - * Gets id - * @return string - */ - public function getId() - { - return $this->container['id']; - } - - /** - * Sets id - * @param string $id The ID of the ORY Access Control Policy Role. in: path - * @return $this - */ - public function setId($id) - { - $this->container['id'] = $id; - - return $this; - } - - /** - * Gets member - * @return string - */ - public function getMember() - { - return $this->container['member']; - } - - /** - * Sets member - * @param string $member The member to be removed. in: path - * @return $this - */ - public function setMember($member) - { - $this->container['member'] = $member; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * @param integer $offset Offset - * @return boolean - */ - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/RemoveOryAccessControlPolicyRoleMembersCreated.php b/sdk/php/swagger/lib/Model/RemoveOryAccessControlPolicyRoleMembersCreated.php deleted file mode 100644 index 0e3b77905..000000000 --- a/sdk/php/swagger/lib/Model/RemoveOryAccessControlPolicyRoleMembersCreated.php +++ /dev/null @@ -1,221 +0,0 @@ -container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/RemoveOryAccessControlPolicyRoleMembersInternalServerError.php b/sdk/php/swagger/lib/Model/RemoveOryAccessControlPolicyRoleMembersInternalServerError.php deleted file mode 100644 index 682839481..000000000 --- a/sdk/php/swagger/lib/Model/RemoveOryAccessControlPolicyRoleMembersInternalServerError.php +++ /dev/null @@ -1,243 +0,0 @@ - '\keto\SDK\Model\RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody' - ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * @var string[] - */ - protected static $swaggerFormats = [ - 'payload' => null - ]; - - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, and the value is the original name - * @var string[] - */ - protected static $attributeMap = [ - 'payload' => 'Payload' - ]; - - - /** - * Array of attributes to setter functions (for deserialization of responses) - * @var string[] - */ - protected static $setters = [ - 'payload' => 'setPayload' - ]; - - - /** - * Array of attributes to getter functions (for serialization of requests) - * @var string[] - */ - protected static $getters = [ - 'payload' => 'getPayload' - ]; - - public static function attributeMap() - { - return self::$attributeMap; - } - - public static function setters() - { - return self::$setters; - } - - public static function getters() - { - return self::$getters; - } - - - - - - /** - * Associative array for storing property values - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * @param mixed[] $data Associated array of property values initializing the model - */ - public function __construct(array $data = null) - { - $this->container['payload'] = isset($data['payload']) ? $data['payload'] : null; - } - - /** - * show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalid_properties = []; - - return $invalid_properties; - } - - /** - * validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - - return true; - } - - - /** - * Gets payload - * @return \keto\SDK\Model\RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody - */ - public function getPayload() - { - return $this->container['payload']; - } - - /** - * Sets payload - * @param \keto\SDK\Model\RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody $payload - * @return $this - */ - public function setPayload($payload) - { - $this->container['payload'] = $payload; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * @param integer $offset Offset - * @return boolean - */ - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody.php b/sdk/php/swagger/lib/Model/RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody.php deleted file mode 100644 index 178e20f45..000000000 --- a/sdk/php/swagger/lib/Model/RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody.php +++ /dev/null @@ -1,378 +0,0 @@ - 'int', - 'details' => 'map[string,object][]', - 'message' => 'string', - 'reason' => 'string', - 'request' => 'string', - 'status' => 'string' - ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * @var string[] - */ - protected static $swaggerFormats = [ - 'code' => 'int64', - 'details' => null, - 'message' => null, - 'reason' => null, - 'request' => null, - 'status' => null - ]; - - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, and the value is the original name - * @var string[] - */ - protected static $attributeMap = [ - 'code' => 'code', - 'details' => 'details', - 'message' => 'message', - 'reason' => 'reason', - 'request' => 'request', - 'status' => 'status' - ]; - - - /** - * Array of attributes to setter functions (for deserialization of responses) - * @var string[] - */ - protected static $setters = [ - 'code' => 'setCode', - 'details' => 'setDetails', - 'message' => 'setMessage', - 'reason' => 'setReason', - 'request' => 'setRequest', - 'status' => 'setStatus' - ]; - - - /** - * Array of attributes to getter functions (for serialization of requests) - * @var string[] - */ - protected static $getters = [ - 'code' => 'getCode', - 'details' => 'getDetails', - 'message' => 'getMessage', - 'reason' => 'getReason', - 'request' => 'getRequest', - 'status' => 'getStatus' - ]; - - public static function attributeMap() - { - return self::$attributeMap; - } - - public static function setters() - { - return self::$setters; - } - - public static function getters() - { - return self::$getters; - } - - - - - - /** - * Associative array for storing property values - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * @param mixed[] $data Associated array of property values initializing the model - */ - public function __construct(array $data = null) - { - $this->container['code'] = isset($data['code']) ? $data['code'] : null; - $this->container['details'] = isset($data['details']) ? $data['details'] : null; - $this->container['message'] = isset($data['message']) ? $data['message'] : null; - $this->container['reason'] = isset($data['reason']) ? $data['reason'] : null; - $this->container['request'] = isset($data['request']) ? $data['request'] : null; - $this->container['status'] = isset($data['status']) ? $data['status'] : null; - } - - /** - * show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalid_properties = []; - - return $invalid_properties; - } - - /** - * validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - - return true; - } - - - /** - * Gets code - * @return int - */ - public function getCode() - { - return $this->container['code']; - } - - /** - * Sets code - * @param int $code code - * @return $this - */ - public function setCode($code) - { - $this->container['code'] = $code; - - return $this; - } - - /** - * Gets details - * @return map[string,object][] - */ - public function getDetails() - { - return $this->container['details']; - } - - /** - * Sets details - * @param map[string,object][] $details details - * @return $this - */ - public function setDetails($details) - { - $this->container['details'] = $details; - - return $this; - } - - /** - * Gets message - * @return string - */ - public function getMessage() - { - return $this->container['message']; - } - - /** - * Sets message - * @param string $message message - * @return $this - */ - public function setMessage($message) - { - $this->container['message'] = $message; - - return $this; - } - - /** - * Gets reason - * @return string - */ - public function getReason() - { - return $this->container['reason']; - } - - /** - * Sets reason - * @param string $reason reason - * @return $this - */ - public function setReason($reason) - { - $this->container['reason'] = $reason; - - return $this; - } - - /** - * Gets request - * @return string - */ - public function getRequest() - { - return $this->container['request']; - } - - /** - * Sets request - * @param string $request request - * @return $this - */ - public function setRequest($request) - { - $this->container['request'] = $request; - - return $this; - } - - /** - * Gets status - * @return string - */ - public function getStatus() - { - return $this->container['status']; - } - - /** - * Sets status - * @param string $status status - * @return $this - */ - public function setStatus($status) - { - $this->container['status'] = $status; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * @param integer $offset Offset - * @return boolean - */ - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/RemoveOryAccessControlPolicyRoleMembersReader.php b/sdk/php/swagger/lib/Model/RemoveOryAccessControlPolicyRoleMembersReader.php deleted file mode 100644 index 1a0ae62cc..000000000 --- a/sdk/php/swagger/lib/Model/RemoveOryAccessControlPolicyRoleMembersReader.php +++ /dev/null @@ -1,220 +0,0 @@ -container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/Role.php b/sdk/php/swagger/lib/Model/Role.php deleted file mode 100644 index 0b0d18dd3..000000000 --- a/sdk/php/swagger/lib/Model/Role.php +++ /dev/null @@ -1,270 +0,0 @@ - 'string', - 'members' => 'string[]' - ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * @var string[] - */ - protected static $swaggerFormats = [ - 'id' => null, - 'members' => null - ]; - - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, and the value is the original name - * @var string[] - */ - protected static $attributeMap = [ - 'id' => 'id', - 'members' => 'members' - ]; - - - /** - * Array of attributes to setter functions (for deserialization of responses) - * @var string[] - */ - protected static $setters = [ - 'id' => 'setId', - 'members' => 'setMembers' - ]; - - - /** - * Array of attributes to getter functions (for serialization of requests) - * @var string[] - */ - protected static $getters = [ - 'id' => 'getId', - 'members' => 'getMembers' - ]; - - public static function attributeMap() - { - return self::$attributeMap; - } - - public static function setters() - { - return self::$setters; - } - - public static function getters() - { - return self::$getters; - } - - - - - - /** - * Associative array for storing property values - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * @param mixed[] $data Associated array of property values initializing the model - */ - public function __construct(array $data = null) - { - $this->container['id'] = isset($data['id']) ? $data['id'] : null; - $this->container['members'] = isset($data['members']) ? $data['members'] : null; - } - - /** - * show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalid_properties = []; - - return $invalid_properties; - } - - /** - * validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - - return true; - } - - - /** - * Gets id - * @return string - */ - public function getId() - { - return $this->container['id']; - } - - /** - * Sets id - * @param string $id ID is the role's unique id. - * @return $this - */ - public function setId($id) - { - $this->container['id'] = $id; - - return $this; - } - - /** - * Gets members - * @return string[] - */ - public function getMembers() - { - return $this->container['members']; - } - - /** - * Sets members - * @param string[] $members Members is who belongs to the role. - * @return $this - */ - public function setMembers($members) - { - $this->container['members'] = $members; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * @param integer $offset Offset - * @return boolean - */ - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/Roles.php b/sdk/php/swagger/lib/Model/Roles.php deleted file mode 100644 index 72a9803cb..000000000 --- a/sdk/php/swagger/lib/Model/Roles.php +++ /dev/null @@ -1,223 +0,0 @@ -container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/SwaggerHealthStatus.php b/sdk/php/swagger/lib/Model/SwaggerHealthStatus.php deleted file mode 100644 index 3c9bc1d61..000000000 --- a/sdk/php/swagger/lib/Model/SwaggerHealthStatus.php +++ /dev/null @@ -1,243 +0,0 @@ - 'string' - ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * @var string[] - */ - protected static $swaggerFormats = [ - 'status' => null - ]; - - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, and the value is the original name - * @var string[] - */ - protected static $attributeMap = [ - 'status' => 'status' - ]; - - - /** - * Array of attributes to setter functions (for deserialization of responses) - * @var string[] - */ - protected static $setters = [ - 'status' => 'setStatus' - ]; - - - /** - * Array of attributes to getter functions (for serialization of requests) - * @var string[] - */ - protected static $getters = [ - 'status' => 'getStatus' - ]; - - public static function attributeMap() - { - return self::$attributeMap; - } - - public static function setters() - { - return self::$setters; - } - - public static function getters() - { - return self::$getters; - } - - - - - - /** - * Associative array for storing property values - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * @param mixed[] $data Associated array of property values initializing the model - */ - public function __construct(array $data = null) - { - $this->container['status'] = isset($data['status']) ? $data['status'] : null; - } - - /** - * show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalid_properties = []; - - return $invalid_properties; - } - - /** - * validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - - return true; - } - - - /** - * Gets status - * @return string - */ - public function getStatus() - { - return $this->container['status']; - } - - /** - * Sets status - * @param string $status Status always contains \"ok\". - * @return $this - */ - public function setStatus($status) - { - $this->container['status'] = $status; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * @param integer $offset Offset - * @return boolean - */ - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/SwaggerNotReadyStatus.php b/sdk/php/swagger/lib/Model/SwaggerNotReadyStatus.php deleted file mode 100644 index c73a5004a..000000000 --- a/sdk/php/swagger/lib/Model/SwaggerNotReadyStatus.php +++ /dev/null @@ -1,243 +0,0 @@ - 'map[string,string]' - ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * @var string[] - */ - protected static $swaggerFormats = [ - 'errors' => null - ]; - - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, and the value is the original name - * @var string[] - */ - protected static $attributeMap = [ - 'errors' => 'errors' - ]; - - - /** - * Array of attributes to setter functions (for deserialization of responses) - * @var string[] - */ - protected static $setters = [ - 'errors' => 'setErrors' - ]; - - - /** - * Array of attributes to getter functions (for serialization of requests) - * @var string[] - */ - protected static $getters = [ - 'errors' => 'getErrors' - ]; - - public static function attributeMap() - { - return self::$attributeMap; - } - - public static function setters() - { - return self::$setters; - } - - public static function getters() - { - return self::$getters; - } - - - - - - /** - * Associative array for storing property values - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * @param mixed[] $data Associated array of property values initializing the model - */ - public function __construct(array $data = null) - { - $this->container['errors'] = isset($data['errors']) ? $data['errors'] : null; - } - - /** - * show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalid_properties = []; - - return $invalid_properties; - } - - /** - * validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - - return true; - } - - - /** - * Gets errors - * @return map[string,string] - */ - public function getErrors() - { - return $this->container['errors']; - } - - /** - * Sets errors - * @param map[string,string] $errors Errors contains a list of errors that caused the not ready status. - * @return $this - */ - public function setErrors($errors) - { - $this->container['errors'] = $errors; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * @param integer $offset Offset - * @return boolean - */ - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/SwaggerVersion.php b/sdk/php/swagger/lib/Model/SwaggerVersion.php deleted file mode 100644 index 88b4e7bb9..000000000 --- a/sdk/php/swagger/lib/Model/SwaggerVersion.php +++ /dev/null @@ -1,243 +0,0 @@ - 'string' - ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * @var string[] - */ - protected static $swaggerFormats = [ - 'version' => null - ]; - - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, and the value is the original name - * @var string[] - */ - protected static $attributeMap = [ - 'version' => 'version' - ]; - - - /** - * Array of attributes to setter functions (for deserialization of responses) - * @var string[] - */ - protected static $setters = [ - 'version' => 'setVersion' - ]; - - - /** - * Array of attributes to getter functions (for serialization of requests) - * @var string[] - */ - protected static $getters = [ - 'version' => 'getVersion' - ]; - - public static function attributeMap() - { - return self::$attributeMap; - } - - public static function setters() - { - return self::$setters; - } - - public static function getters() - { - return self::$getters; - } - - - - - - /** - * Associative array for storing property values - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * @param mixed[] $data Associated array of property values initializing the model - */ - public function __construct(array $data = null) - { - $this->container['version'] = isset($data['version']) ? $data['version'] : null; - } - - /** - * show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalid_properties = []; - - return $invalid_properties; - } - - /** - * validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - - return true; - } - - - /** - * Gets version - * @return string - */ - public function getVersion() - { - return $this->container['version']; - } - - /** - * Sets version - * @param string $version Version is the service's version. - * @return $this - */ - public function setVersion($version) - { - $this->container['version'] = $version; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * @param integer $offset Offset - * @return boolean - */ - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/UpsertOryAccessControlPolicy.php b/sdk/php/swagger/lib/Model/UpsertOryAccessControlPolicy.php deleted file mode 100644 index 723fe431d..000000000 --- a/sdk/php/swagger/lib/Model/UpsertOryAccessControlPolicy.php +++ /dev/null @@ -1,276 +0,0 @@ - '\keto\SDK\Model\OryAccessControlPolicy', - 'flavor' => 'string' - ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * @var string[] - */ - protected static $swaggerFormats = [ - 'body' => null, - 'flavor' => null - ]; - - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, and the value is the original name - * @var string[] - */ - protected static $attributeMap = [ - 'body' => 'Body', - 'flavor' => 'flavor' - ]; - - - /** - * Array of attributes to setter functions (for deserialization of responses) - * @var string[] - */ - protected static $setters = [ - 'body' => 'setBody', - 'flavor' => 'setFlavor' - ]; - - - /** - * Array of attributes to getter functions (for serialization of requests) - * @var string[] - */ - protected static $getters = [ - 'body' => 'getBody', - 'flavor' => 'getFlavor' - ]; - - public static function attributeMap() - { - return self::$attributeMap; - } - - public static function setters() - { - return self::$setters; - } - - public static function getters() - { - return self::$getters; - } - - - - - - /** - * Associative array for storing property values - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * @param mixed[] $data Associated array of property values initializing the model - */ - public function __construct(array $data = null) - { - $this->container['body'] = isset($data['body']) ? $data['body'] : null; - $this->container['flavor'] = isset($data['flavor']) ? $data['flavor'] : null; - } - - /** - * show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalid_properties = []; - - if ($this->container['flavor'] === null) { - $invalid_properties[] = "'flavor' can't be null"; - } - return $invalid_properties; - } - - /** - * validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - - if ($this->container['flavor'] === null) { - return false; - } - return true; - } - - - /** - * Gets body - * @return \keto\SDK\Model\OryAccessControlPolicy - */ - public function getBody() - { - return $this->container['body']; - } - - /** - * Sets body - * @param \keto\SDK\Model\OryAccessControlPolicy $body - * @return $this - */ - public function setBody($body) - { - $this->container['body'] = $body; - - return $this; - } - - /** - * Gets flavor - * @return string - */ - public function getFlavor() - { - return $this->container['flavor']; - } - - /** - * Sets flavor - * @param string $flavor The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". in: path - * @return $this - */ - public function setFlavor($flavor) - { - $this->container['flavor'] = $flavor; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * @param integer $offset Offset - * @return boolean - */ - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/UpsertOryAccessControlPolicyInternalServerError.php b/sdk/php/swagger/lib/Model/UpsertOryAccessControlPolicyInternalServerError.php deleted file mode 100644 index 5f8751e86..000000000 --- a/sdk/php/swagger/lib/Model/UpsertOryAccessControlPolicyInternalServerError.php +++ /dev/null @@ -1,243 +0,0 @@ - '\keto\SDK\Model\UpsertOryAccessControlPolicyInternalServerErrorBody' - ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * @var string[] - */ - protected static $swaggerFormats = [ - 'payload' => null - ]; - - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, and the value is the original name - * @var string[] - */ - protected static $attributeMap = [ - 'payload' => 'Payload' - ]; - - - /** - * Array of attributes to setter functions (for deserialization of responses) - * @var string[] - */ - protected static $setters = [ - 'payload' => 'setPayload' - ]; - - - /** - * Array of attributes to getter functions (for serialization of requests) - * @var string[] - */ - protected static $getters = [ - 'payload' => 'getPayload' - ]; - - public static function attributeMap() - { - return self::$attributeMap; - } - - public static function setters() - { - return self::$setters; - } - - public static function getters() - { - return self::$getters; - } - - - - - - /** - * Associative array for storing property values - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * @param mixed[] $data Associated array of property values initializing the model - */ - public function __construct(array $data = null) - { - $this->container['payload'] = isset($data['payload']) ? $data['payload'] : null; - } - - /** - * show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalid_properties = []; - - return $invalid_properties; - } - - /** - * validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - - return true; - } - - - /** - * Gets payload - * @return \keto\SDK\Model\UpsertOryAccessControlPolicyInternalServerErrorBody - */ - public function getPayload() - { - return $this->container['payload']; - } - - /** - * Sets payload - * @param \keto\SDK\Model\UpsertOryAccessControlPolicyInternalServerErrorBody $payload - * @return $this - */ - public function setPayload($payload) - { - $this->container['payload'] = $payload; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * @param integer $offset Offset - * @return boolean - */ - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/UpsertOryAccessControlPolicyInternalServerErrorBody.php b/sdk/php/swagger/lib/Model/UpsertOryAccessControlPolicyInternalServerErrorBody.php deleted file mode 100644 index 74d255772..000000000 --- a/sdk/php/swagger/lib/Model/UpsertOryAccessControlPolicyInternalServerErrorBody.php +++ /dev/null @@ -1,378 +0,0 @@ - 'int', - 'details' => 'map[string,object][]', - 'message' => 'string', - 'reason' => 'string', - 'request' => 'string', - 'status' => 'string' - ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * @var string[] - */ - protected static $swaggerFormats = [ - 'code' => 'int64', - 'details' => null, - 'message' => null, - 'reason' => null, - 'request' => null, - 'status' => null - ]; - - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, and the value is the original name - * @var string[] - */ - protected static $attributeMap = [ - 'code' => 'code', - 'details' => 'details', - 'message' => 'message', - 'reason' => 'reason', - 'request' => 'request', - 'status' => 'status' - ]; - - - /** - * Array of attributes to setter functions (for deserialization of responses) - * @var string[] - */ - protected static $setters = [ - 'code' => 'setCode', - 'details' => 'setDetails', - 'message' => 'setMessage', - 'reason' => 'setReason', - 'request' => 'setRequest', - 'status' => 'setStatus' - ]; - - - /** - * Array of attributes to getter functions (for serialization of requests) - * @var string[] - */ - protected static $getters = [ - 'code' => 'getCode', - 'details' => 'getDetails', - 'message' => 'getMessage', - 'reason' => 'getReason', - 'request' => 'getRequest', - 'status' => 'getStatus' - ]; - - public static function attributeMap() - { - return self::$attributeMap; - } - - public static function setters() - { - return self::$setters; - } - - public static function getters() - { - return self::$getters; - } - - - - - - /** - * Associative array for storing property values - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * @param mixed[] $data Associated array of property values initializing the model - */ - public function __construct(array $data = null) - { - $this->container['code'] = isset($data['code']) ? $data['code'] : null; - $this->container['details'] = isset($data['details']) ? $data['details'] : null; - $this->container['message'] = isset($data['message']) ? $data['message'] : null; - $this->container['reason'] = isset($data['reason']) ? $data['reason'] : null; - $this->container['request'] = isset($data['request']) ? $data['request'] : null; - $this->container['status'] = isset($data['status']) ? $data['status'] : null; - } - - /** - * show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalid_properties = []; - - return $invalid_properties; - } - - /** - * validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - - return true; - } - - - /** - * Gets code - * @return int - */ - public function getCode() - { - return $this->container['code']; - } - - /** - * Sets code - * @param int $code code - * @return $this - */ - public function setCode($code) - { - $this->container['code'] = $code; - - return $this; - } - - /** - * Gets details - * @return map[string,object][] - */ - public function getDetails() - { - return $this->container['details']; - } - - /** - * Sets details - * @param map[string,object][] $details details - * @return $this - */ - public function setDetails($details) - { - $this->container['details'] = $details; - - return $this; - } - - /** - * Gets message - * @return string - */ - public function getMessage() - { - return $this->container['message']; - } - - /** - * Sets message - * @param string $message message - * @return $this - */ - public function setMessage($message) - { - $this->container['message'] = $message; - - return $this; - } - - /** - * Gets reason - * @return string - */ - public function getReason() - { - return $this->container['reason']; - } - - /** - * Sets reason - * @param string $reason reason - * @return $this - */ - public function setReason($reason) - { - $this->container['reason'] = $reason; - - return $this; - } - - /** - * Gets request - * @return string - */ - public function getRequest() - { - return $this->container['request']; - } - - /** - * Sets request - * @param string $request request - * @return $this - */ - public function setRequest($request) - { - $this->container['request'] = $request; - - return $this; - } - - /** - * Gets status - * @return string - */ - public function getStatus() - { - return $this->container['status']; - } - - /** - * Sets status - * @param string $status status - * @return $this - */ - public function setStatus($status) - { - $this->container['status'] = $status; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * @param integer $offset Offset - * @return boolean - */ - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/UpsertOryAccessControlPolicyOK.php b/sdk/php/swagger/lib/Model/UpsertOryAccessControlPolicyOK.php deleted file mode 100644 index 9f5c0bb31..000000000 --- a/sdk/php/swagger/lib/Model/UpsertOryAccessControlPolicyOK.php +++ /dev/null @@ -1,243 +0,0 @@ - '\keto\SDK\Model\OryAccessControlPolicy' - ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * @var string[] - */ - protected static $swaggerFormats = [ - 'payload' => null - ]; - - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, and the value is the original name - * @var string[] - */ - protected static $attributeMap = [ - 'payload' => 'Payload' - ]; - - - /** - * Array of attributes to setter functions (for deserialization of responses) - * @var string[] - */ - protected static $setters = [ - 'payload' => 'setPayload' - ]; - - - /** - * Array of attributes to getter functions (for serialization of requests) - * @var string[] - */ - protected static $getters = [ - 'payload' => 'getPayload' - ]; - - public static function attributeMap() - { - return self::$attributeMap; - } - - public static function setters() - { - return self::$setters; - } - - public static function getters() - { - return self::$getters; - } - - - - - - /** - * Associative array for storing property values - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * @param mixed[] $data Associated array of property values initializing the model - */ - public function __construct(array $data = null) - { - $this->container['payload'] = isset($data['payload']) ? $data['payload'] : null; - } - - /** - * show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalid_properties = []; - - return $invalid_properties; - } - - /** - * validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - - return true; - } - - - /** - * Gets payload - * @return \keto\SDK\Model\OryAccessControlPolicy - */ - public function getPayload() - { - return $this->container['payload']; - } - - /** - * Sets payload - * @param \keto\SDK\Model\OryAccessControlPolicy $payload - * @return $this - */ - public function setPayload($payload) - { - $this->container['payload'] = $payload; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * @param integer $offset Offset - * @return boolean - */ - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/UpsertOryAccessControlPolicyReader.php b/sdk/php/swagger/lib/Model/UpsertOryAccessControlPolicyReader.php deleted file mode 100644 index db101d436..000000000 --- a/sdk/php/swagger/lib/Model/UpsertOryAccessControlPolicyReader.php +++ /dev/null @@ -1,220 +0,0 @@ -container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/UpsertOryAccessControlPolicyRole.php b/sdk/php/swagger/lib/Model/UpsertOryAccessControlPolicyRole.php deleted file mode 100644 index aad1e9058..000000000 --- a/sdk/php/swagger/lib/Model/UpsertOryAccessControlPolicyRole.php +++ /dev/null @@ -1,276 +0,0 @@ - '\keto\SDK\Model\OryAccessControlPolicyRole', - 'flavor' => 'string' - ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * @var string[] - */ - protected static $swaggerFormats = [ - 'body' => null, - 'flavor' => null - ]; - - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, and the value is the original name - * @var string[] - */ - protected static $attributeMap = [ - 'body' => 'Body', - 'flavor' => 'flavor' - ]; - - - /** - * Array of attributes to setter functions (for deserialization of responses) - * @var string[] - */ - protected static $setters = [ - 'body' => 'setBody', - 'flavor' => 'setFlavor' - ]; - - - /** - * Array of attributes to getter functions (for serialization of requests) - * @var string[] - */ - protected static $getters = [ - 'body' => 'getBody', - 'flavor' => 'getFlavor' - ]; - - public static function attributeMap() - { - return self::$attributeMap; - } - - public static function setters() - { - return self::$setters; - } - - public static function getters() - { - return self::$getters; - } - - - - - - /** - * Associative array for storing property values - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * @param mixed[] $data Associated array of property values initializing the model - */ - public function __construct(array $data = null) - { - $this->container['body'] = isset($data['body']) ? $data['body'] : null; - $this->container['flavor'] = isset($data['flavor']) ? $data['flavor'] : null; - } - - /** - * show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalid_properties = []; - - if ($this->container['flavor'] === null) { - $invalid_properties[] = "'flavor' can't be null"; - } - return $invalid_properties; - } - - /** - * validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - - if ($this->container['flavor'] === null) { - return false; - } - return true; - } - - - /** - * Gets body - * @return \keto\SDK\Model\OryAccessControlPolicyRole - */ - public function getBody() - { - return $this->container['body']; - } - - /** - * Sets body - * @param \keto\SDK\Model\OryAccessControlPolicyRole $body - * @return $this - */ - public function setBody($body) - { - $this->container['body'] = $body; - - return $this; - } - - /** - * Gets flavor - * @return string - */ - public function getFlavor() - { - return $this->container['flavor']; - } - - /** - * Sets flavor - * @param string $flavor The ORY Access Control Policy flavor. Can be \"regex\", \"glob\", and \"exact\". in: path - * @return $this - */ - public function setFlavor($flavor) - { - $this->container['flavor'] = $flavor; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * @param integer $offset Offset - * @return boolean - */ - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/UpsertOryAccessControlPolicyRoleInternalServerError.php b/sdk/php/swagger/lib/Model/UpsertOryAccessControlPolicyRoleInternalServerError.php deleted file mode 100644 index af7417cd1..000000000 --- a/sdk/php/swagger/lib/Model/UpsertOryAccessControlPolicyRoleInternalServerError.php +++ /dev/null @@ -1,243 +0,0 @@ - '\keto\SDK\Model\UpsertOryAccessControlPolicyRoleInternalServerErrorBody' - ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * @var string[] - */ - protected static $swaggerFormats = [ - 'payload' => null - ]; - - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, and the value is the original name - * @var string[] - */ - protected static $attributeMap = [ - 'payload' => 'Payload' - ]; - - - /** - * Array of attributes to setter functions (for deserialization of responses) - * @var string[] - */ - protected static $setters = [ - 'payload' => 'setPayload' - ]; - - - /** - * Array of attributes to getter functions (for serialization of requests) - * @var string[] - */ - protected static $getters = [ - 'payload' => 'getPayload' - ]; - - public static function attributeMap() - { - return self::$attributeMap; - } - - public static function setters() - { - return self::$setters; - } - - public static function getters() - { - return self::$getters; - } - - - - - - /** - * Associative array for storing property values - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * @param mixed[] $data Associated array of property values initializing the model - */ - public function __construct(array $data = null) - { - $this->container['payload'] = isset($data['payload']) ? $data['payload'] : null; - } - - /** - * show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalid_properties = []; - - return $invalid_properties; - } - - /** - * validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - - return true; - } - - - /** - * Gets payload - * @return \keto\SDK\Model\UpsertOryAccessControlPolicyRoleInternalServerErrorBody - */ - public function getPayload() - { - return $this->container['payload']; - } - - /** - * Sets payload - * @param \keto\SDK\Model\UpsertOryAccessControlPolicyRoleInternalServerErrorBody $payload - * @return $this - */ - public function setPayload($payload) - { - $this->container['payload'] = $payload; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * @param integer $offset Offset - * @return boolean - */ - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/UpsertOryAccessControlPolicyRoleInternalServerErrorBody.php b/sdk/php/swagger/lib/Model/UpsertOryAccessControlPolicyRoleInternalServerErrorBody.php deleted file mode 100644 index a1b1999eb..000000000 --- a/sdk/php/swagger/lib/Model/UpsertOryAccessControlPolicyRoleInternalServerErrorBody.php +++ /dev/null @@ -1,378 +0,0 @@ - 'int', - 'details' => 'map[string,object][]', - 'message' => 'string', - 'reason' => 'string', - 'request' => 'string', - 'status' => 'string' - ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * @var string[] - */ - protected static $swaggerFormats = [ - 'code' => 'int64', - 'details' => null, - 'message' => null, - 'reason' => null, - 'request' => null, - 'status' => null - ]; - - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, and the value is the original name - * @var string[] - */ - protected static $attributeMap = [ - 'code' => 'code', - 'details' => 'details', - 'message' => 'message', - 'reason' => 'reason', - 'request' => 'request', - 'status' => 'status' - ]; - - - /** - * Array of attributes to setter functions (for deserialization of responses) - * @var string[] - */ - protected static $setters = [ - 'code' => 'setCode', - 'details' => 'setDetails', - 'message' => 'setMessage', - 'reason' => 'setReason', - 'request' => 'setRequest', - 'status' => 'setStatus' - ]; - - - /** - * Array of attributes to getter functions (for serialization of requests) - * @var string[] - */ - protected static $getters = [ - 'code' => 'getCode', - 'details' => 'getDetails', - 'message' => 'getMessage', - 'reason' => 'getReason', - 'request' => 'getRequest', - 'status' => 'getStatus' - ]; - - public static function attributeMap() - { - return self::$attributeMap; - } - - public static function setters() - { - return self::$setters; - } - - public static function getters() - { - return self::$getters; - } - - - - - - /** - * Associative array for storing property values - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * @param mixed[] $data Associated array of property values initializing the model - */ - public function __construct(array $data = null) - { - $this->container['code'] = isset($data['code']) ? $data['code'] : null; - $this->container['details'] = isset($data['details']) ? $data['details'] : null; - $this->container['message'] = isset($data['message']) ? $data['message'] : null; - $this->container['reason'] = isset($data['reason']) ? $data['reason'] : null; - $this->container['request'] = isset($data['request']) ? $data['request'] : null; - $this->container['status'] = isset($data['status']) ? $data['status'] : null; - } - - /** - * show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalid_properties = []; - - return $invalid_properties; - } - - /** - * validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - - return true; - } - - - /** - * Gets code - * @return int - */ - public function getCode() - { - return $this->container['code']; - } - - /** - * Sets code - * @param int $code code - * @return $this - */ - public function setCode($code) - { - $this->container['code'] = $code; - - return $this; - } - - /** - * Gets details - * @return map[string,object][] - */ - public function getDetails() - { - return $this->container['details']; - } - - /** - * Sets details - * @param map[string,object][] $details details - * @return $this - */ - public function setDetails($details) - { - $this->container['details'] = $details; - - return $this; - } - - /** - * Gets message - * @return string - */ - public function getMessage() - { - return $this->container['message']; - } - - /** - * Sets message - * @param string $message message - * @return $this - */ - public function setMessage($message) - { - $this->container['message'] = $message; - - return $this; - } - - /** - * Gets reason - * @return string - */ - public function getReason() - { - return $this->container['reason']; - } - - /** - * Sets reason - * @param string $reason reason - * @return $this - */ - public function setReason($reason) - { - $this->container['reason'] = $reason; - - return $this; - } - - /** - * Gets request - * @return string - */ - public function getRequest() - { - return $this->container['request']; - } - - /** - * Sets request - * @param string $request request - * @return $this - */ - public function setRequest($request) - { - $this->container['request'] = $request; - - return $this; - } - - /** - * Gets status - * @return string - */ - public function getStatus() - { - return $this->container['status']; - } - - /** - * Sets status - * @param string $status status - * @return $this - */ - public function setStatus($status) - { - $this->container['status'] = $status; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * @param integer $offset Offset - * @return boolean - */ - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/UpsertOryAccessControlPolicyRoleOK.php b/sdk/php/swagger/lib/Model/UpsertOryAccessControlPolicyRoleOK.php deleted file mode 100644 index b86faca05..000000000 --- a/sdk/php/swagger/lib/Model/UpsertOryAccessControlPolicyRoleOK.php +++ /dev/null @@ -1,243 +0,0 @@ - '\keto\SDK\Model\OryAccessControlPolicyRole' - ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * @var string[] - */ - protected static $swaggerFormats = [ - 'payload' => null - ]; - - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, and the value is the original name - * @var string[] - */ - protected static $attributeMap = [ - 'payload' => 'Payload' - ]; - - - /** - * Array of attributes to setter functions (for deserialization of responses) - * @var string[] - */ - protected static $setters = [ - 'payload' => 'setPayload' - ]; - - - /** - * Array of attributes to getter functions (for serialization of requests) - * @var string[] - */ - protected static $getters = [ - 'payload' => 'getPayload' - ]; - - public static function attributeMap() - { - return self::$attributeMap; - } - - public static function setters() - { - return self::$setters; - } - - public static function getters() - { - return self::$getters; - } - - - - - - /** - * Associative array for storing property values - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * @param mixed[] $data Associated array of property values initializing the model - */ - public function __construct(array $data = null) - { - $this->container['payload'] = isset($data['payload']) ? $data['payload'] : null; - } - - /** - * show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalid_properties = []; - - return $invalid_properties; - } - - /** - * validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - - return true; - } - - - /** - * Gets payload - * @return \keto\SDK\Model\OryAccessControlPolicyRole - */ - public function getPayload() - { - return $this->container['payload']; - } - - /** - * Sets payload - * @param \keto\SDK\Model\OryAccessControlPolicyRole $payload - * @return $this - */ - public function setPayload($payload) - { - $this->container['payload'] = $payload; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * @param integer $offset Offset - * @return boolean - */ - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/UpsertOryAccessControlPolicyRoleReader.php b/sdk/php/swagger/lib/Model/UpsertOryAccessControlPolicyRoleReader.php deleted file mode 100644 index a4eed893c..000000000 --- a/sdk/php/swagger/lib/Model/UpsertOryAccessControlPolicyRoleReader.php +++ /dev/null @@ -1,220 +0,0 @@ -container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/Model/Version.php b/sdk/php/swagger/lib/Model/Version.php deleted file mode 100644 index 2851091f2..000000000 --- a/sdk/php/swagger/lib/Model/Version.php +++ /dev/null @@ -1,242 +0,0 @@ - 'string' - ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * @var string[] - */ - protected static $swaggerFormats = [ - 'version' => null - ]; - - public static function swaggerTypes() - { - return self::$swaggerTypes; - } - - public static function swaggerFormats() - { - return self::$swaggerFormats; - } - - /** - * Array of attributes where the key is the local name, and the value is the original name - * @var string[] - */ - protected static $attributeMap = [ - 'version' => 'version' - ]; - - - /** - * Array of attributes to setter functions (for deserialization of responses) - * @var string[] - */ - protected static $setters = [ - 'version' => 'setVersion' - ]; - - - /** - * Array of attributes to getter functions (for serialization of requests) - * @var string[] - */ - protected static $getters = [ - 'version' => 'getVersion' - ]; - - public static function attributeMap() - { - return self::$attributeMap; - } - - public static function setters() - { - return self::$setters; - } - - public static function getters() - { - return self::$getters; - } - - - - - - /** - * Associative array for storing property values - * @var mixed[] - */ - protected $container = []; - - /** - * Constructor - * @param mixed[] $data Associated array of property values initializing the model - */ - public function __construct(array $data = null) - { - $this->container['version'] = isset($data['version']) ? $data['version'] : null; - } - - /** - * show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalid_properties = []; - - return $invalid_properties; - } - - /** - * validate all the properties in the model - * return true if all passed - * - * @return bool True if all properties are valid - */ - public function valid() - { - - return true; - } - - - /** - * Gets version - * @return string - */ - public function getVersion() - { - return $this->container['version']; - } - - /** - * Sets version - * @param string $version Version is the service's version. - * @return $this - */ - public function setVersion($version) - { - $this->container['version'] = $version; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * @param integer $offset Offset - * @return boolean - */ - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * @param integer $offset Offset - * @return mixed - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * Sets value based on offset. - * @param integer $offset Offset - * @param mixed $value Value to be set - * @return void - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * @param integer $offset Offset - * @return void - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); - } - - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/sdk/php/swagger/lib/ObjectSerializer.php b/sdk/php/swagger/lib/ObjectSerializer.php deleted file mode 100644 index 78ad62f57..000000000 --- a/sdk/php/swagger/lib/ObjectSerializer.php +++ /dev/null @@ -1,312 +0,0 @@ -format('Y-m-d') : $data->format(\DateTime::ATOM); - } elseif (is_array($data)) { - foreach ($data as $property => $value) { - $data[$property] = self::sanitizeForSerialization($value); - } - return $data; - } elseif (is_object($data)) { - $values = []; - $formats = $data::swaggerFormats(); - foreach ($data::swaggerTypes() as $property => $swaggerType) { - $getter = $data::getters()[$property]; - $value = $data->$getter(); - if ($value !== null && method_exists($swaggerType, 'getAllowableEnumValues') - && !in_array($value, $swaggerType::getAllowableEnumValues())) { - $imploded = implode("', '", $swaggerType::getAllowableEnumValues()); - throw new \InvalidArgumentException("Invalid value for enum '$swaggerType', must be one of: '$imploded'"); - } - if ($value !== null) { - $values[$data::attributeMap()[$property]] = self::sanitizeForSerialization($value, $swaggerType, $formats[$property]); - } - } - return (object)$values; - } else { - return (string)$data; - } - } - - /** - * Sanitize filename by removing path. - * e.g. ../../sun.gif becomes sun.gif - * - * @param string $filename filename to be sanitized - * - * @return string the sanitized filename - */ - public static function sanitizeFilename($filename) - { - if (preg_match("/.*[\/\\\\](.*)$/", $filename, $match)) { - return $match[1]; - } else { - return $filename; - } - } - - /** - * Take value and turn it into a string suitable for inclusion in - * the path, by url-encoding. - * - * @param string $value a string which will be part of the path - * - * @return string the serialized object - */ - public function toPathValue($value) - { - return rawurlencode($this->toString($value)); - } - - /** - * Take value and turn it into a string suitable for inclusion in - * the query, by imploding comma-separated if it's an object. - * If it's a string, pass through unchanged. It will be url-encoded - * later. - * - * @param string[]|string|\DateTime $object an object to be serialized to a string - * - * @return string the serialized object - */ - public function toQueryValue($object) - { - if (is_array($object)) { - return implode(',', $object); - } else { - return $this->toString($object); - } - } - - /** - * Take value and turn it into a string suitable for inclusion in - * the header. If it's a string, pass through unchanged - * If it's a datetime object, format it in ISO8601 - * - * @param string $value a string which will be part of the header - * - * @return string the header string - */ - public function toHeaderValue($value) - { - return $this->toString($value); - } - - /** - * Take value and turn it into a string suitable for inclusion in - * the http body (form parameter). If it's a string, pass through unchanged - * If it's a datetime object, format it in ISO8601 - * - * @param string|\SplFileObject $value the value of the form parameter - * - * @return string the form string - */ - public function toFormValue($value) - { - if ($value instanceof \SplFileObject) { - return $value->getRealPath(); - } else { - return $this->toString($value); - } - } - - /** - * Take value and turn it into a string suitable for inclusion in - * the parameter. If it's a string, pass through unchanged - * If it's a datetime object, format it in ISO8601 - * - * @param string|\DateTime $value the value of the parameter - * - * @return string the header string - */ - public function toString($value) - { - if ($value instanceof \DateTime) { // datetime in ISO8601 format - return $value->format(\DateTime::ATOM); - } else { - return $value; - } - } - - /** - * Serialize an array to a string. - * - * @param array $collection collection to serialize to a string - * @param string $collectionFormat the format use for serialization (csv, - * ssv, tsv, pipes, multi) - * @param bool $allowCollectionFormatMulti allow collection format to be a multidimensional array - * - * @return string - */ - public function serializeCollection(array $collection, $collectionFormat, $allowCollectionFormatMulti = false) - { - if ($allowCollectionFormatMulti && ('multi' === $collectionFormat)) { - // http_build_query() almost does the job for us. We just - // need to fix the result of multidimensional arrays. - return preg_replace('/%5B[0-9]+%5D=/', '=', http_build_query($collection, '', '&')); - } - switch ($collectionFormat) { - case 'pipes': - return implode('|', $collection); - - case 'tsv': - return implode("\t", $collection); - - case 'ssv': - return implode(' ', $collection); - - case 'csv': - // Deliberate fall through. CSV is default format. - default: - return implode(',', $collection); - } - } - - /** - * Deserialize a JSON string into an object - * - * @param mixed $data object or primitive to be deserialized - * @param string $class class name is passed as a string - * @param string[] $httpHeaders HTTP headers - * @param string $discriminator discriminator if polymorphism is used - * - * @return object|array|null an single or an array of $class instances - */ - public static function deserialize($data, $class, $httpHeaders = null) - { - if (null === $data) { - return null; - } elseif (substr($class, 0, 4) === 'map[') { // for associative array e.g. map[string,int] - $inner = substr($class, 4, -1); - $deserialized = []; - if (strrpos($inner, ",") !== false) { - $subClass_array = explode(',', $inner, 2); - $subClass = $subClass_array[1]; - foreach ($data as $key => $value) { - $deserialized[$key] = self::deserialize($value, $subClass, null); - } - } - return $deserialized; - } elseif (strcasecmp(substr($class, -2), '[]') === 0) { - $subClass = substr($class, 0, -2); - $values = []; - foreach ($data as $key => $value) { - $values[] = self::deserialize($value, $subClass, null); - } - return $values; - } elseif ($class === 'object') { - settype($data, 'array'); - return $data; - } elseif ($class === '\DateTime') { - // Some API's return an invalid, empty string as a - // date-time property. DateTime::__construct() will return - // the current time for empty input which is probably not - // what is meant. The invalid empty string is probably to - // be interpreted as a missing field/value. Let's handle - // this graceful. - if (!empty($data)) { - return new \DateTime($data); - } else { - return null; - } - } elseif (in_array($class, ['DateTime', 'bool', 'boolean', 'byte', 'double', 'float', 'int', 'integer', 'mixed', 'number', 'object', 'string', 'void'], true)) { - settype($data, $class); - return $data; - } elseif ($class === '\SplFileObject') { - // determine file name - if (array_key_exists('Content-Disposition', $httpHeaders) && - preg_match('/inline; filename=[\'"]?([^\'"\s]+)[\'"]?$/i', $httpHeaders['Content-Disposition'], $match)) { - $filename = Configuration::getDefaultConfiguration()->getTempFolderPath() . self::sanitizeFilename($match[1]); - } else { - $filename = tempnam(Configuration::getDefaultConfiguration()->getTempFolderPath(), ''); - } - $deserialized = new \SplFileObject($filename, "w"); - $byte_written = $deserialized->fwrite($data); - if (Configuration::getDefaultConfiguration()->getDebug()) { - error_log("[DEBUG] Written $byte_written byte to $filename. Please move the file to a proper folder or delete the temp file after processing.".PHP_EOL, 3, Configuration::getDefaultConfiguration()->getDebugFile()); - } - - return $deserialized; - } elseif (method_exists($class, 'getAllowableEnumValues')) { - if (!in_array($data, $class::getAllowableEnumValues())) { - $imploded = implode("', '", $class::getAllowableEnumValues()); - throw new \InvalidArgumentException("Invalid value for enum '$class', must be one of: '$imploded'"); - } - return $data; - } else { - // If a discriminator is defined and points to a valid subclass, use it. - $discriminator = $class::DISCRIMINATOR; - if (!empty($discriminator) && isset($data->{$discriminator}) && is_string($data->{$discriminator})) { - $subclass = '\keto\SDK\Model\\' . $data->{$discriminator}; - if (is_subclass_of($subclass, $class)) { - $class = $subclass; - } - } - $instance = new $class(); - foreach ($instance::swaggerTypes() as $property => $type) { - $propertySetter = $instance::setters()[$property]; - - if (!isset($propertySetter) || !isset($data->{$instance::attributeMap()[$property]})) { - continue; - } - - $propertyValue = $data->{$instance::attributeMap()[$property]}; - if (isset($propertyValue)) { - $instance->$propertySetter(self::deserialize($propertyValue, $type, null)); - } - } - return $instance; - } - } -}