diff --git a/cmd/engines_acp_ory_allowed.go b/cmd/engines_acp_ory_allowed.go index fd79950ba..9d0d2b6b0 100644 --- a/cmd/engines_acp_ory_allowed.go +++ b/cmd/engines_acp_ory_allowed.go @@ -38,7 +38,7 @@ var enginesAcpOryAllowedCmd = &cobra.Command{ res, err := c.Engines.DoOryAccessControlPoliciesAllow( engines.NewDoOryAccessControlPoliciesAllowParams(). WithFlavor(args[0]). - WithBody(&models.Input{ + WithBody(&models.OryAccessControlPolicyAllowedInput{ Subject: args[1], Resource: args[2], Action: args[3], diff --git a/docs/api.swagger.json b/docs/api.swagger.json index 9014b8652..f3cdae092 100644 --- a/docs/api.swagger.json +++ b/docs/api.swagger.json @@ -634,19 +634,58 @@ } }, "definitions": { + "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-package": "github.com/ory/keto/sdk/go/keto/models" + }, + "AddOryAccessControlPolicyRoleMembersBody": { + "description": "AddOryAccessControlPolicyRoleMembersBody add ory access control policy role members body", + "type": "object", + "properties": { + "members": { + "description": "The members to be added.", + "type": "array", + "items": { + "type": "string" + }, + "x-go-name": "Members" + } + }, + "x-go-package": "github.com/ory/keto/sdk/go/keto/models" + }, "AddOryAccessControlPolicyRoleMembersInternalServerError": { "description": "The standard error format", "type": "object", - "title": "AddOryAccessControlPolicyRoleMembersInternalServerError AddOryAccessControlPolicyRoleMembersInternalServerError AddOryAccessControlPolicyRoleMembersInternalServerError handles this case with default header values.", + "title": "AddOryAccessControlPolicyRoleMembersInternalServerError handles this case with default header values.", "properties": { "Payload": { "$ref": "#/definitions/AddOryAccessControlPolicyRoleMembersInternalServerErrorBody" } }, - "x-go-package": "github.com/ory/keto/sdk/go/keto/models" + "x-go-package": "github.com/ory/keto/sdk/go/keto/client/engines" }, "AddOryAccessControlPolicyRoleMembersInternalServerErrorBody": { - "description": "AddOryAccessControlPolicyRoleMembersInternalServerErrorBody AddOryAccessControlPolicyRoleMembersInternalServerErrorBody AddOryAccessControlPolicyRoleMembersInternalServerErrorBody add ory access control policy role members internal server error body", + "description": "AddOryAccessControlPolicyRoleMembersInternalServerErrorBody add ory access control policy role members internal server error body", "type": "object", "properties": { "code": { @@ -687,27 +726,27 @@ "x-go-name": "Status" } }, - "x-go-package": "github.com/ory/keto/sdk/go/keto/models" + "x-go-package": "github.com/ory/keto/sdk/go/keto/client/engines" }, "AddOryAccessControlPolicyRoleMembersOK": { "description": "oryAccessControlPolicyRole", "type": "object", - "title": "AddOryAccessControlPolicyRoleMembersOK AddOryAccessControlPolicyRoleMembersOK AddOryAccessControlPolicyRoleMembersOK handles this case with default header values.", + "title": "AddOryAccessControlPolicyRoleMembersOK handles this case with default header values.", "properties": { "Payload": { - "$ref": "#/definitions/Role" + "$ref": "#/definitions/OryAccessControlPolicyRole" } }, - "x-go-package": "github.com/ory/keto/sdk/go/keto/models" + "x-go-package": "github.com/ory/keto/sdk/go/keto/client/engines" }, "AddOryAccessControlPolicyRoleMembersReader": { "type": "object", - "title": "AddOryAccessControlPolicyRoleMembersReader AddOryAccessControlPolicyRoleMembersReader AddOryAccessControlPolicyRoleMembersReader is a Reader for the AddOryAccessControlPolicyRoleMembers structure.", - "x-go-package": "github.com/ory/keto/sdk/go/keto/models" + "title": "AddOryAccessControlPolicyRoleMembersReader is a Reader for the AddOryAccessControlPolicyRoleMembers structure.", + "x-go-package": "github.com/ory/keto/sdk/go/keto/client/engines" }, "AuthorizationResult": { "type": "object", - "title": "AuthorizationResult AuthorizationResult is the result of an access control decision. It contains the decision outcome.", + "title": "AuthorizationResult AuthorizationResult AuthorizationResult is the result of an access control decision. It contains the decision outcome.", "required": [ "allowed" ], @@ -721,32 +760,53 @@ "x-go-package": "github.com/ory/keto/sdk/go/keto/models" }, "Context": { - "description": "Context Context Context Context Context Context Context context", + "description": "Context Context Context Context Context Context Context Context context", "type": "object", "additionalProperties": { "type": "object" }, - "x-go-package": "github.com/ory/keto/engine/ladon" + "x-go-package": "github.com/ory/keto/sdk/go/keto/models" + }, + "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-package": "github.com/ory/keto/sdk/go/keto/models" }, "DeleteOryAccessControlPolicyCreated": { "description": "An empty response", "type": "object", - "title": "DeleteOryAccessControlPolicyCreated DeleteOryAccessControlPolicyCreated DeleteOryAccessControlPolicyCreated handles this case with default header values.", + "title": "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", "type": "object", - "title": "DeleteOryAccessControlPolicyInternalServerError DeleteOryAccessControlPolicyInternalServerError DeleteOryAccessControlPolicyInternalServerError handles this case with default header values.", + "title": "DeleteOryAccessControlPolicyInternalServerError handles this case with default header values.", "properties": { "Payload": { "$ref": "#/definitions/DeleteOryAccessControlPolicyInternalServerErrorBody" } }, - "x-go-package": "github.com/ory/keto/sdk/go/keto/models" + "x-go-package": "github.com/ory/keto/sdk/go/keto/client/engines" }, "DeleteOryAccessControlPolicyInternalServerErrorBody": { - "description": "DeleteOryAccessControlPolicyInternalServerErrorBody DeleteOryAccessControlPolicyInternalServerErrorBody DeleteOryAccessControlPolicyInternalServerErrorBody delete ory access control policy internal server error body", + "description": "DeleteOryAccessControlPolicyInternalServerErrorBody delete ory access control policy internal server error body", "type": "object", "properties": { "code": { @@ -787,32 +847,59 @@ "x-go-name": "Status" } }, - "x-go-package": "github.com/ory/keto/sdk/go/keto/models" + "x-go-package": "github.com/ory/keto/sdk/go/keto/client/engines" + }, + "DeleteOryAccessControlPolicyNoContent": { + "description": "An empty response", + "type": "object", + "title": "DeleteOryAccessControlPolicyNoContent handles this case with default header values.", + "x-go-package": "github.com/ory/keto/sdk/go/keto/client/engines" }, "DeleteOryAccessControlPolicyReader": { "type": "object", - "title": "DeleteOryAccessControlPolicyReader DeleteOryAccessControlPolicyReader DeleteOryAccessControlPolicyReader is a Reader for the DeleteOryAccessControlPolicy structure.", + "title": "DeleteOryAccessControlPolicyReader is a Reader for the DeleteOryAccessControlPolicy structure.", + "x-go-package": "github.com/ory/keto/sdk/go/keto/client/engines" + }, + "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-package": "github.com/ory/keto/sdk/go/keto/models" }, "DeleteOryAccessControlPolicyRoleCreated": { "description": "An empty response", "type": "object", - "title": "DeleteOryAccessControlPolicyRoleCreated DeleteOryAccessControlPolicyRoleCreated DeleteOryAccessControlPolicyRoleCreated handles this case with default header values.", + "title": "DeleteOryAccessControlPolicyRoleCreated DeleteOryAccessControlPolicyRoleCreated DeleteOryAccessControlPolicyRoleCreated DeleteOryAccessControlPolicyRoleCreated handles this case with default header values.", "x-go-package": "github.com/ory/keto/sdk/go/keto/models" }, "DeleteOryAccessControlPolicyRoleInternalServerError": { "description": "The standard error format", "type": "object", - "title": "DeleteOryAccessControlPolicyRoleInternalServerError DeleteOryAccessControlPolicyRoleInternalServerError DeleteOryAccessControlPolicyRoleInternalServerError handles this case with default header values.", + "title": "DeleteOryAccessControlPolicyRoleInternalServerError handles this case with default header values.", "properties": { "Payload": { "$ref": "#/definitions/DeleteOryAccessControlPolicyRoleInternalServerErrorBody" } }, - "x-go-package": "github.com/ory/keto/sdk/go/keto/models" + "x-go-package": "github.com/ory/keto/sdk/go/keto/client/engines" }, "DeleteOryAccessControlPolicyRoleInternalServerErrorBody": { - "description": "DeleteOryAccessControlPolicyRoleInternalServerErrorBody DeleteOryAccessControlPolicyRoleInternalServerErrorBody DeleteOryAccessControlPolicyRoleInternalServerErrorBody delete ory access control policy role internal server error body", + "description": "DeleteOryAccessControlPolicyRoleInternalServerErrorBody delete ory access control policy role internal server error body", "type": "object", "properties": { "code": { @@ -853,37 +940,61 @@ "x-go-name": "Status" } }, - "x-go-package": "github.com/ory/keto/sdk/go/keto/models" + "x-go-package": "github.com/ory/keto/sdk/go/keto/client/engines" + }, + "DeleteOryAccessControlPolicyRoleNoContent": { + "description": "An empty response", + "type": "object", + "title": "DeleteOryAccessControlPolicyRoleNoContent handles this case with default header values.", + "x-go-package": "github.com/ory/keto/sdk/go/keto/client/engines" }, "DeleteOryAccessControlPolicyRoleReader": { "type": "object", - "title": "DeleteOryAccessControlPolicyRoleReader DeleteOryAccessControlPolicyRoleReader DeleteOryAccessControlPolicyRoleReader is a Reader for the DeleteOryAccessControlPolicyRole structure.", + "title": "DeleteOryAccessControlPolicyRoleReader is a Reader for the DeleteOryAccessControlPolicyRole structure.", + "x-go-package": "github.com/ory/keto/sdk/go/keto/client/engines" + }, + "DoOryAccessControlPoliciesAllow": { + "description": "DoOryAccessControlPoliciesAllow do ory access control policies allow", + "type": "object", + "required": [ + "flavor" + ], + "properties": { + "Body": { + "$ref": "#/definitions/Input" + }, + "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/ory/keto/sdk/go/keto/models" }, "DoOryAccessControlPoliciesAllowForbidden": { "description": "authorizationResult", "type": "object", - "title": "DoOryAccessControlPoliciesAllowForbidden DoOryAccessControlPoliciesAllowForbidden DoOryAccessControlPoliciesAllowForbidden handles this case with default header values.", + "title": "DoOryAccessControlPoliciesAllowForbidden handles this case with default header values.", "properties": { "Payload": { "$ref": "#/definitions/AuthorizationResult" } }, - "x-go-package": "github.com/ory/keto/sdk/go/keto/models" + "x-go-package": "github.com/ory/keto/sdk/go/keto/client/engines" }, "DoOryAccessControlPoliciesAllowInternalServerError": { "description": "The standard error format", "type": "object", - "title": "DoOryAccessControlPoliciesAllowInternalServerError DoOryAccessControlPoliciesAllowInternalServerError DoOryAccessControlPoliciesAllowInternalServerError handles this case with default header values.", + "title": "DoOryAccessControlPoliciesAllowInternalServerError handles this case with default header values.", "properties": { "Payload": { "$ref": "#/definitions/DoOryAccessControlPoliciesAllowInternalServerErrorBody" } }, - "x-go-package": "github.com/ory/keto/sdk/go/keto/models" + "x-go-package": "github.com/ory/keto/sdk/go/keto/client/engines" }, "DoOryAccessControlPoliciesAllowInternalServerErrorBody": { - "description": "DoOryAccessControlPoliciesAllowInternalServerErrorBody DoOryAccessControlPoliciesAllowInternalServerErrorBody DoOryAccessControlPoliciesAllowInternalServerErrorBody do ory access control policies allow internal server error body", + "description": "DoOryAccessControlPoliciesAllowInternalServerErrorBody do ory access control policies allow internal server error body", "type": "object", "properties": { "code": { @@ -924,37 +1035,58 @@ "x-go-name": "Status" } }, - "x-go-package": "github.com/ory/keto/sdk/go/keto/models" + "x-go-package": "github.com/ory/keto/sdk/go/keto/client/engines" }, "DoOryAccessControlPoliciesAllowOK": { "description": "authorizationResult", "type": "object", - "title": "DoOryAccessControlPoliciesAllowOK DoOryAccessControlPoliciesAllowOK DoOryAccessControlPoliciesAllowOK handles this case with default header values.", + "title": "DoOryAccessControlPoliciesAllowOK handles this case with default header values.", "properties": { "Payload": { "$ref": "#/definitions/AuthorizationResult" } }, - "x-go-package": "github.com/ory/keto/sdk/go/keto/models" + "x-go-package": "github.com/ory/keto/sdk/go/keto/client/engines" }, "DoOryAccessControlPoliciesAllowReader": { "type": "object", - "title": "DoOryAccessControlPoliciesAllowReader DoOryAccessControlPoliciesAllowReader DoOryAccessControlPoliciesAllowReader is a Reader for the DoOryAccessControlPoliciesAllow structure.", + "title": "DoOryAccessControlPoliciesAllowReader is a Reader for the DoOryAccessControlPoliciesAllow structure.", + "x-go-package": "github.com/ory/keto/sdk/go/keto/client/engines" + }, + "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-package": "github.com/ory/keto/sdk/go/keto/models" }, "GetOryAccessControlPolicyInternalServerError": { "description": "The standard error format", "type": "object", - "title": "GetOryAccessControlPolicyInternalServerError GetOryAccessControlPolicyInternalServerError GetOryAccessControlPolicyInternalServerError handles this case with default header values.", + "title": "GetOryAccessControlPolicyInternalServerError handles this case with default header values.", "properties": { "Payload": { "$ref": "#/definitions/GetOryAccessControlPolicyInternalServerErrorBody" } }, - "x-go-package": "github.com/ory/keto/sdk/go/keto/models" + "x-go-package": "github.com/ory/keto/sdk/go/keto/client/engines" }, "GetOryAccessControlPolicyInternalServerErrorBody": { - "description": "GetOryAccessControlPolicyInternalServerErrorBody GetOryAccessControlPolicyInternalServerErrorBody GetOryAccessControlPolicyInternalServerErrorBody get ory access control policy internal server error body", + "description": "GetOryAccessControlPolicyInternalServerErrorBody get ory access control policy internal server error body", "type": "object", "properties": { "code": { @@ -995,21 +1127,21 @@ "x-go-name": "Status" } }, - "x-go-package": "github.com/ory/keto/sdk/go/keto/models" + "x-go-package": "github.com/ory/keto/sdk/go/keto/client/engines" }, "GetOryAccessControlPolicyNotFound": { "description": "The standard error format", "type": "object", - "title": "GetOryAccessControlPolicyNotFound GetOryAccessControlPolicyNotFound GetOryAccessControlPolicyNotFound handles this case with default header values.", + "title": "GetOryAccessControlPolicyNotFound handles this case with default header values.", "properties": { "Payload": { "$ref": "#/definitions/GetOryAccessControlPolicyNotFoundBody" } }, - "x-go-package": "github.com/ory/keto/sdk/go/keto/models" + "x-go-package": "github.com/ory/keto/sdk/go/keto/client/engines" }, "GetOryAccessControlPolicyNotFoundBody": { - "description": "GetOryAccessControlPolicyNotFoundBody GetOryAccessControlPolicyNotFoundBody GetOryAccessControlPolicyNotFoundBody get ory access control policy not found body", + "description": "GetOryAccessControlPolicyNotFoundBody get ory access control policy not found body", "type": "object", "properties": { "code": { @@ -1050,37 +1182,58 @@ "x-go-name": "Status" } }, - "x-go-package": "github.com/ory/keto/sdk/go/keto/models" + "x-go-package": "github.com/ory/keto/sdk/go/keto/client/engines" }, "GetOryAccessControlPolicyOK": { "description": "oryAccessControlPolicy", "type": "object", - "title": "GetOryAccessControlPolicyOK GetOryAccessControlPolicyOK GetOryAccessControlPolicyOK handles this case with default header values.", + "title": "GetOryAccessControlPolicyOK handles this case with default header values.", "properties": { "Payload": { - "$ref": "#/definitions/Policy" + "$ref": "#/definitions/oryAccessControlPolicy" } }, - "x-go-package": "github.com/ory/keto/sdk/go/keto/models" + "x-go-package": "github.com/ory/keto/sdk/go/keto/client/engines" }, "GetOryAccessControlPolicyReader": { "type": "object", - "title": "GetOryAccessControlPolicyReader GetOryAccessControlPolicyReader GetOryAccessControlPolicyReader is a Reader for the GetOryAccessControlPolicy structure.", + "title": "GetOryAccessControlPolicyReader is a Reader for the GetOryAccessControlPolicy structure.", + "x-go-package": "github.com/ory/keto/sdk/go/keto/client/engines" + }, + "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-package": "github.com/ory/keto/sdk/go/keto/models" }, "GetOryAccessControlPolicyRoleInternalServerError": { "description": "The standard error format", "type": "object", - "title": "GetOryAccessControlPolicyRoleInternalServerError GetOryAccessControlPolicyRoleInternalServerError GetOryAccessControlPolicyRoleInternalServerError handles this case with default header values.", + "title": "GetOryAccessControlPolicyRoleInternalServerError handles this case with default header values.", "properties": { "Payload": { "$ref": "#/definitions/GetOryAccessControlPolicyRoleInternalServerErrorBody" } }, - "x-go-package": "github.com/ory/keto/sdk/go/keto/models" + "x-go-package": "github.com/ory/keto/sdk/go/keto/client/engines" }, "GetOryAccessControlPolicyRoleInternalServerErrorBody": { - "description": "GetOryAccessControlPolicyRoleInternalServerErrorBody GetOryAccessControlPolicyRoleInternalServerErrorBody GetOryAccessControlPolicyRoleInternalServerErrorBody get ory access control policy role internal server error body", + "description": "GetOryAccessControlPolicyRoleInternalServerErrorBody get ory access control policy role internal server error body", "type": "object", "properties": { "code": { @@ -1121,21 +1274,21 @@ "x-go-name": "Status" } }, - "x-go-package": "github.com/ory/keto/sdk/go/keto/models" + "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.", + "title": "GetOryAccessControlPolicyRoleNotFound handles this case with default header values.", "properties": { "Payload": { "$ref": "#/definitions/GetOryAccessControlPolicyRoleNotFoundBody" } }, - "x-go-package": "github.com/ory/keto/sdk/go/keto/models" + "x-go-package": "github.com/ory/keto/sdk/go/keto/client/engines" }, "GetOryAccessControlPolicyRoleNotFoundBody": { - "description": "GetOryAccessControlPolicyRoleNotFoundBody GetOryAccessControlPolicyRoleNotFoundBody GetOryAccessControlPolicyRoleNotFoundBody get ory access control policy role not found body", + "description": "GetOryAccessControlPolicyRoleNotFoundBody get ory access control policy role not found body", "type": "object", "properties": { "code": { @@ -1176,27 +1329,27 @@ "x-go-name": "Status" } }, - "x-go-package": "github.com/ory/keto/sdk/go/keto/models" + "x-go-package": "github.com/ory/keto/sdk/go/keto/client/engines" }, "GetOryAccessControlPolicyRoleOK": { "description": "oryAccessControlPolicyRole", "type": "object", - "title": "GetOryAccessControlPolicyRoleOK GetOryAccessControlPolicyRoleOK GetOryAccessControlPolicyRoleOK handles this case with default header values.", + "title": "GetOryAccessControlPolicyRoleOK handles this case with default header values.", "properties": { "Payload": { - "$ref": "#/definitions/Role" + "$ref": "#/definitions/OryAccessControlPolicyRole" } }, - "x-go-package": "github.com/ory/keto/sdk/go/keto/models" + "x-go-package": "github.com/ory/keto/sdk/go/keto/client/engines" }, "GetOryAccessControlPolicyRoleReader": { "type": "object", - "title": "GetOryAccessControlPolicyRoleReader GetOryAccessControlPolicyRoleReader GetOryAccessControlPolicyRoleReader is a Reader for the GetOryAccessControlPolicyRole structure.", - "x-go-package": "github.com/ory/keto/sdk/go/keto/models" + "title": "GetOryAccessControlPolicyRoleReader is a Reader for the GetOryAccessControlPolicyRole structure.", + "x-go-package": "github.com/ory/keto/sdk/go/keto/client/engines" }, "Input": { "type": "object", - "title": "Input Input for checking if a request is allowed or not.", + "title": "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.", @@ -1295,19 +1448,46 @@ "title": "IsInstanceAliveReader is a Reader for the IsInstanceAlive structure.", "x-go-package": "github.com/ory/keto/sdk/go/keto/client/health" }, + "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-package": "github.com/ory/keto/sdk/go/keto/models" + }, "ListOryAccessControlPoliciesInternalServerError": { "description": "The standard error format", "type": "object", - "title": "ListOryAccessControlPoliciesInternalServerError ListOryAccessControlPoliciesInternalServerError ListOryAccessControlPoliciesInternalServerError handles this case with default header values.", + "title": "ListOryAccessControlPoliciesInternalServerError handles this case with default header values.", "properties": { "Payload": { "$ref": "#/definitions/ListOryAccessControlPoliciesInternalServerErrorBody" } }, - "x-go-package": "github.com/ory/keto/sdk/go/keto/models" + "x-go-package": "github.com/ory/keto/sdk/go/keto/client/engines" }, "ListOryAccessControlPoliciesInternalServerErrorBody": { - "description": "ListOryAccessControlPoliciesInternalServerErrorBody ListOryAccessControlPoliciesInternalServerErrorBody ListOryAccessControlPoliciesInternalServerErrorBody list ory access control policies internal server error body", + "description": "ListOryAccessControlPoliciesInternalServerErrorBody list ory access control policies internal server error body", "type": "object", "properties": { "code": { @@ -1348,41 +1528,68 @@ "x-go-name": "Status" } }, - "x-go-package": "github.com/ory/keto/sdk/go/keto/models" + "x-go-package": "github.com/ory/keto/sdk/go/keto/client/engines" }, "ListOryAccessControlPoliciesOK": { "description": "Policies is an array of policies.", "type": "object", - "title": "ListOryAccessControlPoliciesOK ListOryAccessControlPoliciesOK ListOryAccessControlPoliciesOK handles this case with default header values.", + "title": "ListOryAccessControlPoliciesOK handles this case with default header values.", "properties": { "Payload": { "description": "payload", "type": "array", "items": { - "$ref": "#/definitions/Policy" + "$ref": "#/definitions/oryAccessControlPolicy" } } }, - "x-go-package": "github.com/ory/keto/sdk/go/keto/models" + "x-go-package": "github.com/ory/keto/sdk/go/keto/client/engines" }, "ListOryAccessControlPoliciesReader": { "type": "object", - "title": "ListOryAccessControlPoliciesReader ListOryAccessControlPoliciesReader ListOryAccessControlPoliciesReader is a Reader for the ListOryAccessControlPolicies structure.", + "title": "ListOryAccessControlPoliciesReader is a Reader for the ListOryAccessControlPolicies structure.", + "x-go-package": "github.com/ory/keto/sdk/go/keto/client/engines" + }, + "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-package": "github.com/ory/keto/sdk/go/keto/models" }, "ListOryAccessControlPolicyRolesInternalServerError": { "description": "The standard error format", "type": "object", - "title": "ListOryAccessControlPolicyRolesInternalServerError ListOryAccessControlPolicyRolesInternalServerError ListOryAccessControlPolicyRolesInternalServerError handles this case with default header values.", + "title": "ListOryAccessControlPolicyRolesInternalServerError handles this case with default header values.", "properties": { "Payload": { "$ref": "#/definitions/ListOryAccessControlPolicyRolesInternalServerErrorBody" } }, - "x-go-package": "github.com/ory/keto/sdk/go/keto/models" + "x-go-package": "github.com/ory/keto/sdk/go/keto/client/engines" }, "ListOryAccessControlPolicyRolesInternalServerErrorBody": { - "description": "ListOryAccessControlPolicyRolesInternalServerErrorBody ListOryAccessControlPolicyRolesInternalServerErrorBody ListOryAccessControlPolicyRolesInternalServerErrorBody list ory access control policy roles internal server error body", + "description": "ListOryAccessControlPolicyRolesInternalServerErrorBody list ory access control policy roles internal server error body", "type": "object", "properties": { "code": { @@ -1423,99 +1630,65 @@ "x-go-name": "Status" } }, - "x-go-package": "github.com/ory/keto/sdk/go/keto/models" + "x-go-package": "github.com/ory/keto/sdk/go/keto/client/engines" }, "ListOryAccessControlPolicyRolesOK": { "description": "Roles is an array of roles.", "type": "object", - "title": "ListOryAccessControlPolicyRolesOK ListOryAccessControlPolicyRolesOK ListOryAccessControlPolicyRolesOK handles this case with default header values.", + "title": "ListOryAccessControlPolicyRolesOK handles this case with default header values.", "properties": { "Payload": { "description": "payload", "type": "array", "items": { - "$ref": "#/definitions/Role" + "$ref": "#/definitions/OryAccessControlPolicyRole" } } }, - "x-go-package": "github.com/ory/keto/sdk/go/keto/models" + "x-go-package": "github.com/ory/keto/sdk/go/keto/client/engines" }, "ListOryAccessControlPolicyRolesReader": { "type": "object", - "title": "ListOryAccessControlPolicyRolesReader ListOryAccessControlPolicyRolesReader ListOryAccessControlPolicyRolesReader is a Reader for the ListOryAccessControlPolicyRoles structure.", - "x-go-package": "github.com/ory/keto/sdk/go/keto/models" + "title": "ListOryAccessControlPolicyRolesReader is a Reader for the ListOryAccessControlPolicyRoles structure.", + "x-go-package": "github.com/ory/keto/sdk/go/keto/client/engines" }, - "OryAccessControlPolicy": { + "OryAccessControlPolicies": { "type": "object", - "title": "OryAccessControlPolicy OryAccessControlPolicy oryAccessControlPolicy specifies an ORY Access Policy document.", + "title": "OryAccessControlPolicies Policies is an array of policies.", "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.", + "Body": { + "description": "The request body.\n\nin: body\ntype: array", "type": "array", "items": { - "type": "string" - }, - "x-go-name": "Subjects" + "$ref": "#/definitions/oryAccessControlPolicy" + } } }, "x-go-package": "github.com/ory/keto/sdk/go/keto/models" }, - "OryAccessControlPolicyRoles": { + "OryAccessControlPolicyRole": { + "description": "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", - "title": "OryAccessControlPolicyRoles OryAccessControlPolicyRoles Roles is an array of roles.", "properties": { - "Body": { - "description": "The request body.\n\nin: body\ntype: array", + "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": { - "$ref": "#/definitions/Role" - } + "type": "string" + }, + "x-go-name": "Members" } }, "x-go-package": "github.com/ory/keto/sdk/go/keto/models" }, "Policies": { "type": "array", - "title": "Policies Policies Policies is an array of policies.", + "title": "Policies Policies Policies Policies is an array of policies.", "items": { "$ref": "#/definitions/Policy" }, @@ -1523,7 +1696,7 @@ }, "Policy": { "type": "object", - "title": "Policy Policy Policy specifies an ORY Access Policy document.", + "title": "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.", @@ -1575,25 +1748,52 @@ }, "x-go-package": "github.com/ory/keto/sdk/go/keto/models" }, + "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-package": "github.com/ory/keto/sdk/go/keto/models" + }, "RemoveOryAccessControlPolicyRoleMembersCreated": { "description": "An empty response", "type": "object", - "title": "RemoveOryAccessControlPolicyRoleMembersCreated RemoveOryAccessControlPolicyRoleMembersCreated RemoveOryAccessControlPolicyRoleMembersCreated handles this case with default header values.", - "x-go-package": "github.com/ory/keto/sdk/go/keto/models" + "title": "RemoveOryAccessControlPolicyRoleMembersCreated handles this case with default header values.", + "x-go-package": "github.com/ory/keto/sdk/go/keto/client/engines" }, "RemoveOryAccessControlPolicyRoleMembersInternalServerError": { "description": "The standard error format", "type": "object", - "title": "RemoveOryAccessControlPolicyRoleMembersInternalServerError RemoveOryAccessControlPolicyRoleMembersInternalServerError RemoveOryAccessControlPolicyRoleMembersInternalServerError handles this case with default header values.", + "title": "RemoveOryAccessControlPolicyRoleMembersInternalServerError handles this case with default header values.", "properties": { "Payload": { "$ref": "#/definitions/RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody" } }, - "x-go-package": "github.com/ory/keto/sdk/go/keto/models" + "x-go-package": "github.com/ory/keto/sdk/go/keto/client/engines" }, "RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody": { - "description": "RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody remove ory access control policy role members internal server error body", + "description": "RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody remove ory access control policy role members internal server error body", "type": "object", "properties": { "code": { @@ -1634,15 +1834,15 @@ "x-go-name": "Status" } }, - "x-go-package": "github.com/ory/keto/sdk/go/keto/models" + "x-go-package": "github.com/ory/keto/sdk/go/keto/client/engines" }, "RemoveOryAccessControlPolicyRoleMembersReader": { "type": "object", - "title": "RemoveOryAccessControlPolicyRoleMembersReader RemoveOryAccessControlPolicyRoleMembersReader RemoveOryAccessControlPolicyRoleMembersReader is a Reader for the RemoveOryAccessControlPolicyRoleMembers structure.", - "x-go-package": "github.com/ory/keto/sdk/go/keto/models" + "title": "RemoveOryAccessControlPolicyRoleMembersReader is a Reader for the RemoveOryAccessControlPolicyRoleMembers structure.", + "x-go-package": "github.com/ory/keto/sdk/go/keto/client/engines" }, "Role": { - "description": "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.", + "description": "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": { @@ -1663,25 +1863,43 @@ }, "Roles": { "type": "array", - "title": "Roles Roles A list of roles.", + "title": "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 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/ory/keto/sdk/go/keto/models" + }, "UpsertOryAccessControlPolicyInternalServerError": { "description": "The standard error format", "type": "object", - "title": "UpsertOryAccessControlPolicyInternalServerError UpsertOryAccessControlPolicyInternalServerError UpsertOryAccessControlPolicyInternalServerError handles this case with default header values.", + "title": "UpsertOryAccessControlPolicyInternalServerError handles this case with default header values.", "properties": { "Payload": { "$ref": "#/definitions/UpsertOryAccessControlPolicyInternalServerErrorBody" } }, - "x-go-package": "github.com/ory/keto/sdk/go/keto/models" + "x-go-package": "github.com/ory/keto/sdk/go/keto/client/engines" }, "UpsertOryAccessControlPolicyInternalServerErrorBody": { - "description": "UpsertOryAccessControlPolicyInternalServerErrorBody UpsertOryAccessControlPolicyInternalServerErrorBody UpsertOryAccessControlPolicyInternalServerErrorBody upsert ory access control policy internal server error body", + "description": "UpsertOryAccessControlPolicyInternalServerErrorBody upsert ory access control policy internal server error body", "type": "object", "properties": { "code": { @@ -1722,37 +1940,55 @@ "x-go-name": "Status" } }, - "x-go-package": "github.com/ory/keto/sdk/go/keto/models" + "x-go-package": "github.com/ory/keto/sdk/go/keto/client/engines" }, "UpsertOryAccessControlPolicyOK": { "description": "oryAccessControlPolicy", "type": "object", - "title": "UpsertOryAccessControlPolicyOK UpsertOryAccessControlPolicyOK UpsertOryAccessControlPolicyOK handles this case with default header values.", + "title": "UpsertOryAccessControlPolicyOK handles this case with default header values.", "properties": { "Payload": { - "$ref": "#/definitions/Policy" + "$ref": "#/definitions/oryAccessControlPolicy" } }, - "x-go-package": "github.com/ory/keto/sdk/go/keto/models" + "x-go-package": "github.com/ory/keto/sdk/go/keto/client/engines" }, "UpsertOryAccessControlPolicyReader": { "type": "object", - "title": "UpsertOryAccessControlPolicyReader UpsertOryAccessControlPolicyReader UpsertOryAccessControlPolicyReader is a Reader for the UpsertOryAccessControlPolicy structure.", + "title": "UpsertOryAccessControlPolicyReader is a Reader for the UpsertOryAccessControlPolicy structure.", + "x-go-package": "github.com/ory/keto/sdk/go/keto/client/engines" + }, + "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-package": "github.com/ory/keto/sdk/go/keto/models" }, "UpsertOryAccessControlPolicyRoleInternalServerError": { "description": "The standard error format", "type": "object", - "title": "UpsertOryAccessControlPolicyRoleInternalServerError UpsertOryAccessControlPolicyRoleInternalServerError UpsertOryAccessControlPolicyRoleInternalServerError handles this case with default header values.", + "title": "UpsertOryAccessControlPolicyRoleInternalServerError handles this case with default header values.", "properties": { "Payload": { "$ref": "#/definitions/UpsertOryAccessControlPolicyRoleInternalServerErrorBody" } }, - "x-go-package": "github.com/ory/keto/sdk/go/keto/models" + "x-go-package": "github.com/ory/keto/sdk/go/keto/client/engines" }, "UpsertOryAccessControlPolicyRoleInternalServerErrorBody": { - "description": "UpsertOryAccessControlPolicyRoleInternalServerErrorBody UpsertOryAccessControlPolicyRoleInternalServerErrorBody UpsertOryAccessControlPolicyRoleInternalServerErrorBody upsert ory access control policy role internal server error body", + "description": "UpsertOryAccessControlPolicyRoleInternalServerErrorBody upsert ory access control policy role internal server error body", "type": "object", "properties": { "code": { @@ -1793,23 +2029,23 @@ "x-go-name": "Status" } }, - "x-go-package": "github.com/ory/keto/sdk/go/keto/models" + "x-go-package": "github.com/ory/keto/sdk/go/keto/client/engines" }, "UpsertOryAccessControlPolicyRoleOK": { "description": "oryAccessControlPolicyRole", "type": "object", - "title": "UpsertOryAccessControlPolicyRoleOK UpsertOryAccessControlPolicyRoleOK UpsertOryAccessControlPolicyRoleOK handles this case with default header values.", + "title": "UpsertOryAccessControlPolicyRoleOK handles this case with default header values.", "properties": { "Payload": { - "$ref": "#/definitions/Role" + "$ref": "#/definitions/OryAccessControlPolicyRole" } }, - "x-go-package": "github.com/ory/keto/sdk/go/keto/models" + "x-go-package": "github.com/ory/keto/sdk/go/keto/client/engines" }, "UpsertOryAccessControlPolicyRoleReader": { "type": "object", - "title": "UpsertOryAccessControlPolicyRoleReader UpsertOryAccessControlPolicyRoleReader UpsertOryAccessControlPolicyRoleReader is a Reader for the UpsertOryAccessControlPolicyRole structure.", - "x-go-package": "github.com/ory/keto/sdk/go/keto/models" + "title": "UpsertOryAccessControlPolicyRoleReader is a Reader for the UpsertOryAccessControlPolicyRole structure.", + "x-go-package": "github.com/ory/keto/sdk/go/keto/client/engines" }, "addOryAccessControlPolicyRoleMembers": { "type": "object", @@ -1832,7 +2068,6 @@ "x-go-name": "ID" } }, - "x-go-name": "AddOryAccessControlPolicyRoleMembers", "x-go-package": "github.com/ory/keto/engine/ladon" }, "addOryAccessControlPolicyRoleMembersBody": { @@ -1847,7 +2082,6 @@ "x-go-name": "Members" } }, - "x-go-name": "AddOryAccessControlPolicyRoleMembersBody", "x-go-package": "github.com/ory/keto/engine/ladon" }, "authorizationResult": { @@ -1884,7 +2118,6 @@ "x-go-name": "ID" } }, - "x-go-name": "DeleteOryAccessControlPolicy", "x-go-package": "github.com/ory/keto/engine/ladon" }, "deleteOryAccessControlPolicyRole": { @@ -1905,7 +2138,6 @@ "x-go-name": "ID" } }, - "x-go-name": "DeleteOryAccessControlPolicyRole", "x-go-package": "github.com/ory/keto/engine/ladon" }, "doOryAccessControlPoliciesAllow": { @@ -1923,7 +2155,6 @@ "x-go-name": "Flavor" } }, - "x-go-name": "DoOryAccessControlPoliciesAllow", "x-go-package": "github.com/ory/keto/engine/ladon" }, "getOryAccessControlPolicy": { @@ -1944,7 +2175,6 @@ "x-go-name": "ID" } }, - "x-go-name": "GetOryAccessControlPolicy", "x-go-package": "github.com/ory/keto/engine/ladon" }, "getOryAccessControlPolicyRole": { @@ -1965,7 +2195,6 @@ "x-go-name": "ID" } }, - "x-go-name": "GetOryAccessControlPolicyRole", "x-go-package": "github.com/ory/keto/engine/ladon" }, "healthNotReadyStatus": { @@ -2019,7 +2248,6 @@ "x-go-name": "Offset" } }, - "x-go-name": "ListOryAccessControlPolicies", "x-go-package": "github.com/ory/keto/engine/ladon" }, "listOryAccessControlPolicyRoles": { @@ -2046,7 +2274,6 @@ "x-go-name": "Offset" } }, - "x-go-name": "ListOryAccessControlPolicyRoles", "x-go-package": "github.com/ory/keto/engine/ladon" }, "oryAccessControlPolicies": { @@ -2061,7 +2288,6 @@ } } }, - "x-go-name": "OryAccessControlPolicies", "x-go-package": "github.com/ory/keto/engine/ladon" }, "oryAccessControlPolicy": { @@ -2116,6 +2342,7 @@ "x-go-name": "Subjects" } }, + "x-go-name": "OryAccessControlPolicy", "x-go-package": "github.com/ory/keto/engine/ladon" }, "oryAccessControlPolicyAllowedInput": { @@ -2146,7 +2373,6 @@ "x-go-name": "Subject" } }, - "x-go-name": "Input", "x-go-package": "github.com/ory/keto/engine/ladon" }, "oryAccessControlPolicyRole": { @@ -2167,7 +2393,6 @@ "x-go-name": "Members" } }, - "x-go-name": "OryAccessControlPolicyRole", "x-go-package": "github.com/ory/keto/engine/ladon" }, "oryAccessControlPolicyRoles": { @@ -2182,6 +2407,7 @@ } } }, + "x-go-name": "OryAccessControlPolicyRoles", "x-go-package": "github.com/ory/keto/engine/ladon" }, "removeOryAccessControlPolicyRoleMembers": { @@ -2208,7 +2434,6 @@ "x-go-name": "Member" } }, - "x-go-name": "RemoveOryAccessControlPolicyRoleMembers", "x-go-package": "github.com/ory/keto/engine/ladon" }, "swaggerHealthStatus": { @@ -2268,7 +2493,6 @@ "x-go-name": "Flavor" } }, - "x-go-name": "UpsertOryAccessControlPolicy", "x-go-package": "github.com/ory/keto/engine/ladon" }, "upsertOryAccessControlPolicyRole": { @@ -2286,7 +2510,6 @@ "x-go-name": "Flavor" } }, - "x-go-name": "UpsertOryAccessControlPolicyRole", "x-go-package": "github.com/ory/keto/engine/ladon" }, "version": { diff --git a/engine/ladon/handler_helper_test.go b/engine/ladon/handler_helper_test.go index d7ed1395e..69e3eca7b 100644 --- a/engine/ladon/handler_helper_test.go +++ b/engine/ladon/handler_helper_test.go @@ -28,12 +28,12 @@ var ( }}, } requests = map[string][]struct { - req models.Input + req models.OryAccessControlPolicyAllowedInput allowed bool }{ "regex": { { - req: models.Input{ + req: models.OryAccessControlPolicyAllowedInput{ Subject: "alice", Resource: "other-thing", Action: "create", @@ -42,7 +42,7 @@ var ( allowed: false, }, { - req: models.Input{ + req: models.OryAccessControlPolicyAllowedInput{ Subject: "alice", Resource: "matrix", Action: "delete", @@ -51,7 +51,7 @@ var ( allowed: false, }, { - req: models.Input{ + req: models.OryAccessControlPolicyAllowedInput{ Subject: "alice", Resource: "matrix", Action: "create", @@ -60,7 +60,7 @@ var ( allowed: true, }, { - req: models.Input{ + req: models.OryAccessControlPolicyAllowedInput{ Subject: "ken", Resource: "forbidden_matrix", Action: "create", @@ -69,7 +69,7 @@ var ( allowed: false, }, { - req: models.Input{ + req: models.OryAccessControlPolicyAllowedInput{ Subject: "ken", Resource: "allowed_matrix", Action: "create", @@ -80,7 +80,7 @@ var ( }, "exact": { { - req: models.Input{ + req: models.OryAccessControlPolicyAllowedInput{ Subject: "alice", Resource: "other-thing", Action: "create", @@ -89,7 +89,7 @@ var ( allowed: false, }, { - req: models.Input{ + req: models.OryAccessControlPolicyAllowedInput{ Subject: "alice", Resource: "matrix", Action: "delete", @@ -98,7 +98,7 @@ var ( allowed: false, }, { - req: models.Input{ + req: models.OryAccessControlPolicyAllowedInput{ Subject: "alice", Resource: "matrix", Action: "create", @@ -107,7 +107,7 @@ var ( allowed: true, }, { - req: models.Input{ + req: models.OryAccessControlPolicyAllowedInput{ Subject: "ken", Resource: "forbidden_matrix", Action: "create", @@ -116,7 +116,7 @@ var ( allowed: false, }, { - req: models.Input{ + req: models.OryAccessControlPolicyAllowedInput{ Subject: "ken", Resource: "allowed_matrix", Action: "create", diff --git a/engine/ladon/types.go b/engine/ladon/types.go index debd77343..d44c01bcc 100644 --- a/engine/ladon/types.go +++ b/engine/ladon/types.go @@ -9,7 +9,7 @@ const ( // Input for checking if a request is allowed or not. // -// swagger:model oryAccessControlPolicyAllowedInput +// swagger:ignore type Input struct { // Resource is the resource that access is requested to. Resource string `json:"resource"` diff --git a/go.sum b/go.sum index 9432bd076..650bfed1f 100644 --- a/go.sum +++ b/go.sum @@ -531,8 +531,6 @@ 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.41 h1:wcvrT82ktnAkioDvEsnJEroTvjzJ8yHDgt8gfLEGqZM= -github.com/ory/x v0.0.41/go.mod h1:wY34Yfy/lRklrrVbChZHqOQxhbSHH2a6bSJ6o3YFKY8= github.com/ory/x v0.0.42 h1:5buEAEuI7TAq6WsZM8K4LIBllFhwpwMDlSBaPd2RiN0= github.com/ory/x v0.0.42/go.mod h1:wY34Yfy/lRklrrVbChZHqOQxhbSHH2a6bSJ6o3YFKY8= github.com/parnurzeal/gorequest v0.2.15/go.mod h1:3Kh2QUMJoqw3icWAecsyzkpY7UzRfDhbRdTjtNwNiUE= @@ -662,6 +660,7 @@ github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UV 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/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= @@ -686,6 +685,7 @@ 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= diff --git a/sdk/go/keto/client/engines/do_ory_access_control_policies_allow_parameters.go b/sdk/go/keto/client/engines/do_ory_access_control_policies_allow_parameters.go index 69fdb6834..06d63b9ae 100644 --- a/sdk/go/keto/client/engines/do_ory_access_control_policies_allow_parameters.go +++ b/sdk/go/keto/client/engines/do_ory_access_control_policies_allow_parameters.go @@ -64,7 +64,7 @@ for the do ory access control policies allow operation typically these are writt type DoOryAccessControlPoliciesAllowParams struct { /*Body*/ - Body *models.Input + Body *models.OryAccessControlPolicyAllowedInput /*Flavor The ORY Access Control Policy flavor. Can be "regex", "glob", and "exact". @@ -110,13 +110,13 @@ func (o *DoOryAccessControlPoliciesAllowParams) SetHTTPClient(client *http.Clien } // WithBody adds the body to the do ory access control policies allow params -func (o *DoOryAccessControlPoliciesAllowParams) WithBody(body *models.Input) *DoOryAccessControlPoliciesAllowParams { +func (o *DoOryAccessControlPoliciesAllowParams) WithBody(body *models.OryAccessControlPolicyAllowedInput) *DoOryAccessControlPoliciesAllowParams { o.SetBody(body) return o } // SetBody adds the body to the do ory access control policies allow params -func (o *DoOryAccessControlPoliciesAllowParams) SetBody(body *models.Input) { +func (o *DoOryAccessControlPoliciesAllowParams) SetBody(body *models.OryAccessControlPolicyAllowedInput) { o.Body = body } 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 index 883ddd800..784a4c974 100644 --- 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 @@ -14,7 +14,7 @@ import ( ) // AddOryAccessControlPolicyRoleMembers add ory access control policy role members -// swagger:model AddOryAccessControlPolicyRoleMembers +// swagger:model addOryAccessControlPolicyRoleMembers type AddOryAccessControlPolicyRoleMembers struct { // body diff --git a/sdk/go/keto/models/add_ory_access_control_policy_role_members_body.go b/sdk/go/keto/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/sdk/go/keto/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/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 index 85a2ed8e9..3d0f0969f 100644 --- 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 @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/swag" ) -// AddOryAccessControlPolicyRoleMembersInternalServerError AddOryAccessControlPolicyRoleMembersInternalServerError AddOryAccessControlPolicyRoleMembersInternalServerError AddOryAccessControlPolicyRoleMembersInternalServerError handles this case with default header values. +// AddOryAccessControlPolicyRoleMembersInternalServerError AddOryAccessControlPolicyRoleMembersInternalServerError handles this case with default header values. // // The standard error format // swagger:model AddOryAccessControlPolicyRoleMembersInternalServerError 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 index 2a976fc93..186c38fce 100644 --- 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 @@ -11,7 +11,7 @@ import ( "github.com/go-openapi/swag" ) -// AddOryAccessControlPolicyRoleMembersInternalServerErrorBody AddOryAccessControlPolicyRoleMembersInternalServerErrorBody AddOryAccessControlPolicyRoleMembersInternalServerErrorBody AddOryAccessControlPolicyRoleMembersInternalServerErrorBody add ory access control policy role members internal server error body +// AddOryAccessControlPolicyRoleMembersInternalServerErrorBody AddOryAccessControlPolicyRoleMembersInternalServerErrorBody add ory access control policy role members internal server error body // swagger:model AddOryAccessControlPolicyRoleMembersInternalServerErrorBody type AddOryAccessControlPolicyRoleMembersInternalServerErrorBody struct { 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 index e6c003878..cad5366cb 100644 --- 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 @@ -12,14 +12,14 @@ import ( "github.com/go-openapi/swag" ) -// AddOryAccessControlPolicyRoleMembersOK AddOryAccessControlPolicyRoleMembersOK AddOryAccessControlPolicyRoleMembersOK AddOryAccessControlPolicyRoleMembersOK handles this case with default header values. +// AddOryAccessControlPolicyRoleMembersOK AddOryAccessControlPolicyRoleMembersOK handles this case with default header values. // // oryAccessControlPolicyRole // swagger:model AddOryAccessControlPolicyRoleMembersOK type AddOryAccessControlPolicyRoleMembersOK struct { // payload - Payload *Role `json:"Payload,omitempty"` + Payload *OryAccessControlPolicyRole `json:"Payload,omitempty"` } // Validate validates this add ory access control policy role members o k 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 index 44861c6e5..1c6c0d1a4 100644 --- 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 @@ -5,6 +5,6 @@ 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. +// AddOryAccessControlPolicyRoleMembersReader AddOryAccessControlPolicyRoleMembersReader is a Reader for the AddOryAccessControlPolicyRoleMembers structure. // swagger:model AddOryAccessControlPolicyRoleMembersReader type AddOryAccessControlPolicyRoleMembersReader interface{} diff --git a/sdk/go/keto/models/authorization_result.go b/sdk/go/keto/models/authorization_result.go index 5b1b3f4dd..a73698e50 100644 --- a/sdk/go/keto/models/authorization_result.go +++ b/sdk/go/keto/models/authorization_result.go @@ -13,7 +13,7 @@ import ( "github.com/go-openapi/validate" ) -// AuthorizationResult AuthorizationResult AuthorizationResult is the result of an access control decision. It contains the decision outcome. +// AuthorizationResult AuthorizationResult is the result of an access control decision. It contains the decision outcome. // swagger:model AuthorizationResult type AuthorizationResult struct { diff --git a/sdk/go/keto/models/context.go b/sdk/go/keto/models/context.go index 7a406a221..1c54168bc 100644 --- a/sdk/go/keto/models/context.go +++ b/sdk/go/keto/models/context.go @@ -9,7 +9,7 @@ import ( strfmt "github.com/go-openapi/strfmt" ) -// Context Context Context Context Context Context Context Context context +// Context Context Context Context Context Context Context Context Context context // swagger:model Context type Context map[string]interface{} diff --git a/sdk/go/keto/models/delete_ory_access_control_policy.go b/sdk/go/keto/models/delete_ory_access_control_policy.go index fd6fd1e72..29ac631fe 100644 --- a/sdk/go/keto/models/delete_ory_access_control_policy.go +++ b/sdk/go/keto/models/delete_ory_access_control_policy.go @@ -14,7 +14,7 @@ import ( ) // DeleteOryAccessControlPolicy delete ory access control policy -// swagger:model DeleteOryAccessControlPolicy +// swagger:model deleteOryAccessControlPolicy type DeleteOryAccessControlPolicy struct { // The ORY Access Control Policy flavor. Can be "regex", "glob", and "exact". 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 index 6ab15bdf3..d0428fe32 100644 --- a/sdk/go/keto/models/delete_ory_access_control_policy_created.go +++ b/sdk/go/keto/models/delete_ory_access_control_policy_created.go @@ -5,7 +5,7 @@ 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 handles this case with default header values. +// DeleteOryAccessControlPolicyCreated DeleteOryAccessControlPolicyCreated DeleteOryAccessControlPolicyCreated DeleteOryAccessControlPolicyCreated DeleteOryAccessControlPolicyCreated handles this case with default header values. // // An empty response // swagger:model DeleteOryAccessControlPolicyCreated 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 index 5d5f50292..277d5df45 100644 --- 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 @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/swag" ) -// DeleteOryAccessControlPolicyInternalServerError DeleteOryAccessControlPolicyInternalServerError DeleteOryAccessControlPolicyInternalServerError DeleteOryAccessControlPolicyInternalServerError handles this case with default header values. +// DeleteOryAccessControlPolicyInternalServerError DeleteOryAccessControlPolicyInternalServerError handles this case with default header values. // // The standard error format // swagger:model DeleteOryAccessControlPolicyInternalServerError 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 index eec208d02..dc1e011b2 100644 --- 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 @@ -11,7 +11,7 @@ import ( "github.com/go-openapi/swag" ) -// DeleteOryAccessControlPolicyInternalServerErrorBody DeleteOryAccessControlPolicyInternalServerErrorBody DeleteOryAccessControlPolicyInternalServerErrorBody DeleteOryAccessControlPolicyInternalServerErrorBody delete ory access control policy internal server error body +// DeleteOryAccessControlPolicyInternalServerErrorBody DeleteOryAccessControlPolicyInternalServerErrorBody delete ory access control policy internal server error body // swagger:model DeleteOryAccessControlPolicyInternalServerErrorBody type DeleteOryAccessControlPolicyInternalServerErrorBody struct { 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 new file mode 100644 index 000000000..2ea78655d --- /dev/null +++ b/sdk/go/keto/models/delete_ory_access_control_policy_no_content.go @@ -0,0 +1,12 @@ +// 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 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 index 353a14fde..6834e98cd 100644 --- a/sdk/go/keto/models/delete_ory_access_control_policy_reader.go +++ b/sdk/go/keto/models/delete_ory_access_control_policy_reader.go @@ -5,6 +5,6 @@ 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. +// 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 index 3ab428ac9..4635aeca0 100644 --- a/sdk/go/keto/models/delete_ory_access_control_policy_role.go +++ b/sdk/go/keto/models/delete_ory_access_control_policy_role.go @@ -14,7 +14,7 @@ import ( ) // DeleteOryAccessControlPolicyRole delete ory access control policy role -// swagger:model DeleteOryAccessControlPolicyRole +// swagger:model deleteOryAccessControlPolicyRole type DeleteOryAccessControlPolicyRole struct { // The ORY Access Control Policy flavor. Can be "regex", "glob", and "exact". 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 index bc170dea4..f13579693 100644 --- 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 @@ -5,7 +5,7 @@ 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 handles this case with default header values. +// DeleteOryAccessControlPolicyRoleCreated DeleteOryAccessControlPolicyRoleCreated DeleteOryAccessControlPolicyRoleCreated DeleteOryAccessControlPolicyRoleCreated DeleteOryAccessControlPolicyRoleCreated handles this case with default header values. // // An empty response // swagger:model DeleteOryAccessControlPolicyRoleCreated 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 index ed83d3808..1e99f0c9d 100644 --- 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 @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/swag" ) -// DeleteOryAccessControlPolicyRoleInternalServerError DeleteOryAccessControlPolicyRoleInternalServerError DeleteOryAccessControlPolicyRoleInternalServerError DeleteOryAccessControlPolicyRoleInternalServerError handles this case with default header values. +// DeleteOryAccessControlPolicyRoleInternalServerError DeleteOryAccessControlPolicyRoleInternalServerError handles this case with default header values. // // The standard error format // swagger:model DeleteOryAccessControlPolicyRoleInternalServerError 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 index 2efdabed8..d1d96f766 100644 --- 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 @@ -11,7 +11,7 @@ import ( "github.com/go-openapi/swag" ) -// DeleteOryAccessControlPolicyRoleInternalServerErrorBody DeleteOryAccessControlPolicyRoleInternalServerErrorBody DeleteOryAccessControlPolicyRoleInternalServerErrorBody DeleteOryAccessControlPolicyRoleInternalServerErrorBody delete ory access control policy role internal server error body +// DeleteOryAccessControlPolicyRoleInternalServerErrorBody DeleteOryAccessControlPolicyRoleInternalServerErrorBody delete ory access control policy role internal server error body // swagger:model DeleteOryAccessControlPolicyRoleInternalServerErrorBody type DeleteOryAccessControlPolicyRoleInternalServerErrorBody struct { 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 new file mode 100644 index 000000000..24e0b7aba --- /dev/null +++ b/sdk/go/keto/models/delete_ory_access_control_policy_role_no_content.go @@ -0,0 +1,12 @@ +// 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 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 index d1f1b7989..d3b37f27c 100644 --- 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 @@ -5,6 +5,6 @@ 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 is a Reader for the DeleteOryAccessControlPolicyRole structure. +// 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 index 19156f106..05200b267 100644 --- a/sdk/go/keto/models/do_ory_access_control_policies_allow.go +++ b/sdk/go/keto/models/do_ory_access_control_policies_allow.go @@ -14,11 +14,11 @@ import ( ) // DoOryAccessControlPoliciesAllow do ory access control policies allow -// swagger:model DoOryAccessControlPoliciesAllow +// swagger:model doOryAccessControlPoliciesAllow type DoOryAccessControlPoliciesAllow struct { // body - Body *Input `json:"Body,omitempty"` + Body *OryAccessControlPolicyAllowedInput `json:"Body,omitempty"` // The ORY Access Control Policy flavor. Can be "regex", "glob", and "exact". // 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 index a49767772..d84c9b8ff 100644 --- 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 @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/swag" ) -// DoOryAccessControlPoliciesAllowForbidden DoOryAccessControlPoliciesAllowForbidden DoOryAccessControlPoliciesAllowForbidden DoOryAccessControlPoliciesAllowForbidden handles this case with default header values. +// DoOryAccessControlPoliciesAllowForbidden DoOryAccessControlPoliciesAllowForbidden handles this case with default header values. // // authorizationResult // swagger:model DoOryAccessControlPoliciesAllowForbidden 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 index b810f08c5..ef0a08b8e 100644 --- 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 @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/swag" ) -// DoOryAccessControlPoliciesAllowInternalServerError DoOryAccessControlPoliciesAllowInternalServerError DoOryAccessControlPoliciesAllowInternalServerError DoOryAccessControlPoliciesAllowInternalServerError handles this case with default header values. +// DoOryAccessControlPoliciesAllowInternalServerError DoOryAccessControlPoliciesAllowInternalServerError handles this case with default header values. // // The standard error format // swagger:model DoOryAccessControlPoliciesAllowInternalServerError 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 index 846e1465d..dde1a5344 100644 --- 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 @@ -11,7 +11,7 @@ import ( "github.com/go-openapi/swag" ) -// DoOryAccessControlPoliciesAllowInternalServerErrorBody DoOryAccessControlPoliciesAllowInternalServerErrorBody DoOryAccessControlPoliciesAllowInternalServerErrorBody DoOryAccessControlPoliciesAllowInternalServerErrorBody do ory access control policies allow internal server error body +// DoOryAccessControlPoliciesAllowInternalServerErrorBody DoOryAccessControlPoliciesAllowInternalServerErrorBody do ory access control policies allow internal server error body // swagger:model DoOryAccessControlPoliciesAllowInternalServerErrorBody type DoOryAccessControlPoliciesAllowInternalServerErrorBody struct { 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 index d10ea61ed..699a00609 100644 --- 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 @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/swag" ) -// DoOryAccessControlPoliciesAllowOK DoOryAccessControlPoliciesAllowOK DoOryAccessControlPoliciesAllowOK DoOryAccessControlPoliciesAllowOK handles this case with default header values. +// DoOryAccessControlPoliciesAllowOK DoOryAccessControlPoliciesAllowOK handles this case with default header values. // // authorizationResult // swagger:model DoOryAccessControlPoliciesAllowOK 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 index 27d70b8a2..73a067ac3 100644 --- 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 @@ -5,6 +5,6 @@ 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 DoOryAccessControlPoliciesAllowReader is a Reader for the DoOryAccessControlPoliciesAllow structure. +// 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 index c448138d7..83fc55329 100644 --- a/sdk/go/keto/models/get_ory_access_control_policy.go +++ b/sdk/go/keto/models/get_ory_access_control_policy.go @@ -14,7 +14,7 @@ import ( ) // GetOryAccessControlPolicy get ory access control policy -// swagger:model GetOryAccessControlPolicy +// swagger:model getOryAccessControlPolicy type GetOryAccessControlPolicy struct { // The ORY Access Control Policy flavor. Can be "regex", "glob", and "exact". 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 index 1eb96fc48..55e343d81 100644 --- 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 @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/swag" ) -// GetOryAccessControlPolicyInternalServerError GetOryAccessControlPolicyInternalServerError GetOryAccessControlPolicyInternalServerError GetOryAccessControlPolicyInternalServerError handles this case with default header values. +// GetOryAccessControlPolicyInternalServerError GetOryAccessControlPolicyInternalServerError handles this case with default header values. // // The standard error format // swagger:model GetOryAccessControlPolicyInternalServerError 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 index ac9930dd2..6111ddd23 100644 --- 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 @@ -11,7 +11,7 @@ import ( "github.com/go-openapi/swag" ) -// GetOryAccessControlPolicyInternalServerErrorBody GetOryAccessControlPolicyInternalServerErrorBody GetOryAccessControlPolicyInternalServerErrorBody GetOryAccessControlPolicyInternalServerErrorBody get ory access control policy internal server error body +// GetOryAccessControlPolicyInternalServerErrorBody GetOryAccessControlPolicyInternalServerErrorBody get ory access control policy internal server error body // swagger:model GetOryAccessControlPolicyInternalServerErrorBody type GetOryAccessControlPolicyInternalServerErrorBody struct { 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 index ac75d6f22..c5f18aaed 100644 --- 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 @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/swag" ) -// GetOryAccessControlPolicyNotFound GetOryAccessControlPolicyNotFound GetOryAccessControlPolicyNotFound GetOryAccessControlPolicyNotFound handles this case with default header values. +// GetOryAccessControlPolicyNotFound GetOryAccessControlPolicyNotFound handles this case with default header values. // // The standard error format // swagger:model GetOryAccessControlPolicyNotFound 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 index a58268fa5..325415fa7 100644 --- 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 @@ -11,7 +11,7 @@ import ( "github.com/go-openapi/swag" ) -// GetOryAccessControlPolicyNotFoundBody GetOryAccessControlPolicyNotFoundBody GetOryAccessControlPolicyNotFoundBody GetOryAccessControlPolicyNotFoundBody get ory access control policy not found body +// GetOryAccessControlPolicyNotFoundBody GetOryAccessControlPolicyNotFoundBody get ory access control policy not found body // swagger:model GetOryAccessControlPolicyNotFoundBody type GetOryAccessControlPolicyNotFoundBody struct { 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 index 8134ba13e..bcd765d41 100644 --- 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 @@ -12,14 +12,14 @@ import ( "github.com/go-openapi/swag" ) -// GetOryAccessControlPolicyOK GetOryAccessControlPolicyOK GetOryAccessControlPolicyOK GetOryAccessControlPolicyOK handles this case with default header values. +// GetOryAccessControlPolicyOK GetOryAccessControlPolicyOK handles this case with default header values. // // oryAccessControlPolicy // swagger:model GetOryAccessControlPolicyOK type GetOryAccessControlPolicyOK struct { // payload - Payload *Policy `json:"Payload,omitempty"` + Payload *OryAccessControlPolicy `json:"Payload,omitempty"` } // Validate validates this get ory access control policy o k 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 index 5750721bf..a3a17690d 100644 --- a/sdk/go/keto/models/get_ory_access_control_policy_reader.go +++ b/sdk/go/keto/models/get_ory_access_control_policy_reader.go @@ -5,6 +5,6 @@ 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 is a Reader for the GetOryAccessControlPolicy structure. +// 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 index 244db718d..b970fd296 100644 --- a/sdk/go/keto/models/get_ory_access_control_policy_role.go +++ b/sdk/go/keto/models/get_ory_access_control_policy_role.go @@ -14,7 +14,7 @@ import ( ) // GetOryAccessControlPolicyRole get ory access control policy role -// swagger:model GetOryAccessControlPolicyRole +// swagger:model getOryAccessControlPolicyRole type GetOryAccessControlPolicyRole struct { // The ORY Access Control Policy flavor. Can be "regex", "glob", and "exact". 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 index 5f2d7d3ca..d584551c7 100644 --- 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 @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/swag" ) -// GetOryAccessControlPolicyRoleInternalServerError GetOryAccessControlPolicyRoleInternalServerError GetOryAccessControlPolicyRoleInternalServerError GetOryAccessControlPolicyRoleInternalServerError handles this case with default header values. +// GetOryAccessControlPolicyRoleInternalServerError GetOryAccessControlPolicyRoleInternalServerError handles this case with default header values. // // The standard error format // swagger:model GetOryAccessControlPolicyRoleInternalServerError 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 index 113585005..5d2492f85 100644 --- 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 @@ -11,7 +11,7 @@ import ( "github.com/go-openapi/swag" ) -// GetOryAccessControlPolicyRoleInternalServerErrorBody GetOryAccessControlPolicyRoleInternalServerErrorBody GetOryAccessControlPolicyRoleInternalServerErrorBody GetOryAccessControlPolicyRoleInternalServerErrorBody get ory access control policy role internal server error body +// GetOryAccessControlPolicyRoleInternalServerErrorBody GetOryAccessControlPolicyRoleInternalServerErrorBody get ory access control policy role internal server error body // swagger:model GetOryAccessControlPolicyRoleInternalServerErrorBody type GetOryAccessControlPolicyRoleInternalServerErrorBody struct { 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 index 2d202dc4d..15a579987 100644 --- 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 @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/swag" ) -// GetOryAccessControlPolicyRoleNotFound GetOryAccessControlPolicyRoleNotFound GetOryAccessControlPolicyRoleNotFound GetOryAccessControlPolicyRoleNotFound handles this case with default header values. +// GetOryAccessControlPolicyRoleNotFound GetOryAccessControlPolicyRoleNotFound handles this case with default header values. // // The standard error format // swagger:model GetOryAccessControlPolicyRoleNotFound 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 index c5fa61831..960e773e3 100644 --- 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 @@ -11,7 +11,7 @@ import ( "github.com/go-openapi/swag" ) -// GetOryAccessControlPolicyRoleNotFoundBody GetOryAccessControlPolicyRoleNotFoundBody GetOryAccessControlPolicyRoleNotFoundBody GetOryAccessControlPolicyRoleNotFoundBody get ory access control policy role not found body +// GetOryAccessControlPolicyRoleNotFoundBody GetOryAccessControlPolicyRoleNotFoundBody get ory access control policy role not found body // swagger:model GetOryAccessControlPolicyRoleNotFoundBody type GetOryAccessControlPolicyRoleNotFoundBody struct { 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 index 1c546555c..2efc48bac 100644 --- 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 @@ -12,14 +12,14 @@ import ( "github.com/go-openapi/swag" ) -// GetOryAccessControlPolicyRoleOK GetOryAccessControlPolicyRoleOK GetOryAccessControlPolicyRoleOK GetOryAccessControlPolicyRoleOK handles this case with default header values. +// GetOryAccessControlPolicyRoleOK GetOryAccessControlPolicyRoleOK handles this case with default header values. // // oryAccessControlPolicyRole // swagger:model GetOryAccessControlPolicyRoleOK type GetOryAccessControlPolicyRoleOK struct { // payload - Payload *Role `json:"Payload,omitempty"` + Payload *OryAccessControlPolicyRole `json:"Payload,omitempty"` } // Validate validates this get ory access control policy role o k 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 index 893456e95..44aafc36f 100644 --- 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 @@ -5,6 +5,6 @@ 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. +// 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 index 87ae55c19..bceb8e0e6 100644 --- a/sdk/go/keto/models/input.go +++ b/sdk/go/keto/models/input.go @@ -11,7 +11,7 @@ import ( "github.com/go-openapi/swag" ) -// Input Input Input for checking if a request is allowed or not. +// Input Input Input Input for checking if a request is allowed or not. // swagger:model Input type Input struct { diff --git a/sdk/go/keto/models/list_ory_access_control_policies.go b/sdk/go/keto/models/list_ory_access_control_policies.go index f43e8153f..2be4f4082 100644 --- a/sdk/go/keto/models/list_ory_access_control_policies.go +++ b/sdk/go/keto/models/list_ory_access_control_policies.go @@ -14,7 +14,7 @@ import ( ) // ListOryAccessControlPolicies list ory access control policies -// swagger:model ListOryAccessControlPolicies +// swagger:model listOryAccessControlPolicies type ListOryAccessControlPolicies struct { // The ORY Access Control Policy flavor. Can be "regex", "glob", and "exact" 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 index 3085cfb58..4e1d97a05 100644 --- 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 @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/swag" ) -// ListOryAccessControlPoliciesInternalServerError ListOryAccessControlPoliciesInternalServerError ListOryAccessControlPoliciesInternalServerError ListOryAccessControlPoliciesInternalServerError handles this case with default header values. +// ListOryAccessControlPoliciesInternalServerError ListOryAccessControlPoliciesInternalServerError handles this case with default header values. // // The standard error format // swagger:model ListOryAccessControlPoliciesInternalServerError 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 index d98513366..9db24cacd 100644 --- 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 @@ -11,7 +11,7 @@ import ( "github.com/go-openapi/swag" ) -// ListOryAccessControlPoliciesInternalServerErrorBody ListOryAccessControlPoliciesInternalServerErrorBody ListOryAccessControlPoliciesInternalServerErrorBody ListOryAccessControlPoliciesInternalServerErrorBody list ory access control policies internal server error body +// ListOryAccessControlPoliciesInternalServerErrorBody ListOryAccessControlPoliciesInternalServerErrorBody list ory access control policies internal server error body // swagger:model ListOryAccessControlPoliciesInternalServerErrorBody type ListOryAccessControlPoliciesInternalServerErrorBody struct { 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 index 622ccb54f..ea68dee9c 100644 --- 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 @@ -14,14 +14,14 @@ import ( "github.com/go-openapi/swag" ) -// ListOryAccessControlPoliciesOK ListOryAccessControlPoliciesOK ListOryAccessControlPoliciesOK ListOryAccessControlPoliciesOK handles this case with default header values. +// ListOryAccessControlPoliciesOK ListOryAccessControlPoliciesOK handles this case with default header values. // // Policies is an array of policies. // swagger:model ListOryAccessControlPoliciesOK type ListOryAccessControlPoliciesOK struct { // payload - Payload []*Policy `json:"Payload"` + Payload []*OryAccessControlPolicy `json:"Payload"` } // Validate validates this list ory access control policies o k 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 index 05b2aef35..0a5f73086 100644 --- a/sdk/go/keto/models/list_ory_access_control_policies_reader.go +++ b/sdk/go/keto/models/list_ory_access_control_policies_reader.go @@ -5,6 +5,6 @@ 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. +// 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 index 4640d053e..3fad316e4 100644 --- a/sdk/go/keto/models/list_ory_access_control_policy_roles.go +++ b/sdk/go/keto/models/list_ory_access_control_policy_roles.go @@ -14,7 +14,7 @@ import ( ) // ListOryAccessControlPolicyRoles list ory access control policy roles -// swagger:model ListOryAccessControlPolicyRoles +// swagger:model listOryAccessControlPolicyRoles type ListOryAccessControlPolicyRoles struct { // The ORY Access Control Policy flavor. Can be "regex", "glob", and "exact" 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 index f455fc502..e75130b6f 100644 --- 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 @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/swag" ) -// ListOryAccessControlPolicyRolesInternalServerError ListOryAccessControlPolicyRolesInternalServerError ListOryAccessControlPolicyRolesInternalServerError ListOryAccessControlPolicyRolesInternalServerError handles this case with default header values. +// ListOryAccessControlPolicyRolesInternalServerError ListOryAccessControlPolicyRolesInternalServerError handles this case with default header values. // // The standard error format // swagger:model ListOryAccessControlPolicyRolesInternalServerError 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 index 952a9b687..36e69d4c7 100644 --- 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 @@ -11,7 +11,7 @@ import ( "github.com/go-openapi/swag" ) -// ListOryAccessControlPolicyRolesInternalServerErrorBody ListOryAccessControlPolicyRolesInternalServerErrorBody ListOryAccessControlPolicyRolesInternalServerErrorBody ListOryAccessControlPolicyRolesInternalServerErrorBody list ory access control policy roles internal server error body +// ListOryAccessControlPolicyRolesInternalServerErrorBody ListOryAccessControlPolicyRolesInternalServerErrorBody list ory access control policy roles internal server error body // swagger:model ListOryAccessControlPolicyRolesInternalServerErrorBody type ListOryAccessControlPolicyRolesInternalServerErrorBody struct { 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 index a456feaf1..ce7a8506a 100644 --- 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 @@ -14,14 +14,14 @@ import ( "github.com/go-openapi/swag" ) -// ListOryAccessControlPolicyRolesOK ListOryAccessControlPolicyRolesOK ListOryAccessControlPolicyRolesOK ListOryAccessControlPolicyRolesOK handles this case with default header values. +// ListOryAccessControlPolicyRolesOK ListOryAccessControlPolicyRolesOK handles this case with default header values. // // Roles is an array of roles. // swagger:model ListOryAccessControlPolicyRolesOK type ListOryAccessControlPolicyRolesOK struct { // payload - Payload []*Role `json:"Payload"` + Payload []*OryAccessControlPolicyRole `json:"Payload"` } // Validate validates this list ory access control policy roles o k 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 index 2f00dc364..aff1f6a2f 100644 --- 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 @@ -5,6 +5,6 @@ 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. +// 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 index bce1faac2..f9b72e2e6 100644 --- a/sdk/go/keto/models/ory_access_control_policies.go +++ b/sdk/go/keto/models/ory_access_control_policies.go @@ -15,7 +15,7 @@ import ( ) // OryAccessControlPolicies Policies is an array of policies. -// swagger:model OryAccessControlPolicies +// swagger:model oryAccessControlPolicies type OryAccessControlPolicies struct { // The request body. diff --git a/sdk/go/keto/models/ory_access_control_policy.go b/sdk/go/keto/models/ory_access_control_policy.go index 33e71b68f..e0f1743e6 100644 --- a/sdk/go/keto/models/ory_access_control_policy.go +++ b/sdk/go/keto/models/ory_access_control_policy.go @@ -12,7 +12,7 @@ import ( ) // OryAccessControlPolicy oryAccessControlPolicy specifies an ORY Access Policy document. -// swagger:model oryAccessControlPolicy +// swagger:model OryAccessControlPolicy type OryAccessControlPolicy struct { // Actions is an array representing all the actions this ORY Access Policy applies to. diff --git a/sdk/go/keto/models/ory_access_control_policy_allowed_input.go b/sdk/go/keto/models/ory_access_control_policy_allowed_input.go new file mode 100644 index 000000000..40ec89514 --- /dev/null +++ b/sdk/go/keto/models/ory_access_control_policy_allowed_input.go @@ -0,0 +1,52 @@ +// 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" +) + +// OryAccessControlPolicyAllowedInput Input for checking if a request is allowed or not. +// swagger:model oryAccessControlPolicyAllowedInput +type OryAccessControlPolicyAllowedInput 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 ory access control policy allowed input +func (m *OryAccessControlPolicyAllowedInput) Validate(formats strfmt.Registry) error { + return nil +} + +// MarshalBinary interface implementation +func (m *OryAccessControlPolicyAllowedInput) MarshalBinary() ([]byte, error) { + if m == nil { + return nil, nil + } + return swag.WriteJSON(m) +} + +// UnmarshalBinary interface implementation +func (m *OryAccessControlPolicyAllowedInput) UnmarshalBinary(b []byte) error { + var res OryAccessControlPolicyAllowedInput + 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_role.go b/sdk/go/keto/models/ory_access_control_policy_role.go index da324b5cd..feef6517e 100644 --- a/sdk/go/keto/models/ory_access_control_policy_role.go +++ b/sdk/go/keto/models/ory_access_control_policy_role.go @@ -13,7 +13,7 @@ import ( // 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/ory_access_control_policy_roles.go b/sdk/go/keto/models/ory_access_control_policy_roles.go index 516ebeae2..e14db0a77 100644 --- a/sdk/go/keto/models/ory_access_control_policy_roles.go +++ b/sdk/go/keto/models/ory_access_control_policy_roles.go @@ -15,7 +15,7 @@ import ( ) // OryAccessControlPolicyRoles Roles is an array of roles. -// swagger:model oryAccessControlPolicyRoles +// swagger:model OryAccessControlPolicyRoles type OryAccessControlPolicyRoles struct { // The request body. diff --git a/sdk/go/keto/models/policies.go b/sdk/go/keto/models/policies.go index e381dbcbb..8c80a6696 100644 --- a/sdk/go/keto/models/policies.go +++ b/sdk/go/keto/models/policies.go @@ -14,7 +14,7 @@ import ( "github.com/go-openapi/swag" ) -// Policies Policies Policies Policies is an array of policies. +// Policies Policies Policies Policies Policies is an array of policies. // swagger:model Policies type Policies []*Policy diff --git a/sdk/go/keto/models/policy.go b/sdk/go/keto/models/policy.go index b1284057b..8a17afa96 100644 --- a/sdk/go/keto/models/policy.go +++ b/sdk/go/keto/models/policy.go @@ -11,7 +11,7 @@ import ( "github.com/go-openapi/swag" ) -// Policy Policy Policy Policy specifies an ORY Access Policy document. +// Policy Policy Policy Policy Policy specifies an ORY Access Policy document. // swagger:model Policy type Policy struct { 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 index 09b9914b4..8b0f4cf88 100644 --- 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 @@ -14,7 +14,7 @@ import ( ) // RemoveOryAccessControlPolicyRoleMembers remove ory access control policy role members -// swagger:model RemoveOryAccessControlPolicyRoleMembers +// swagger:model removeOryAccessControlPolicyRoleMembers type RemoveOryAccessControlPolicyRoleMembers struct { // The ORY Access Control Policy flavor. Can be "regex", "glob", and "exact". 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 index ca8528eab..5049d4a62 100644 --- 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 @@ -5,7 +5,7 @@ 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 handles this case with default header values. +// RemoveOryAccessControlPolicyRoleMembersCreated RemoveOryAccessControlPolicyRoleMembersCreated handles this case with default header values. // // An empty response // swagger:model RemoveOryAccessControlPolicyRoleMembersCreated 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 index 58a160249..676e6ec07 100644 --- 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 @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/swag" ) -// RemoveOryAccessControlPolicyRoleMembersInternalServerError RemoveOryAccessControlPolicyRoleMembersInternalServerError RemoveOryAccessControlPolicyRoleMembersInternalServerError RemoveOryAccessControlPolicyRoleMembersInternalServerError handles this case with default header values. +// RemoveOryAccessControlPolicyRoleMembersInternalServerError RemoveOryAccessControlPolicyRoleMembersInternalServerError handles this case with default header values. // // The standard error format // swagger:model RemoveOryAccessControlPolicyRoleMembersInternalServerError 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 index 6586e5111..7f5c25041 100644 --- 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 @@ -11,7 +11,7 @@ import ( "github.com/go-openapi/swag" ) -// RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody remove ory access control policy role members internal server error body +// RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody remove ory access control policy role members internal server error body // swagger:model RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody type RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody struct { 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 index dd1c537f1..e4c7fdf9d 100644 --- 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 @@ -5,6 +5,6 @@ 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 RemoveOryAccessControlPolicyRoleMembersReader is a Reader for the RemoveOryAccessControlPolicyRoleMembers structure. +// 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 index e46fbce23..513a873f5 100644 --- a/sdk/go/keto/models/role.go +++ b/sdk/go/keto/models/role.go @@ -11,7 +11,7 @@ import ( "github.com/go-openapi/swag" ) -// 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 +// 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 { diff --git a/sdk/go/keto/models/roles.go b/sdk/go/keto/models/roles.go index a6a784b32..bdb3162c9 100644 --- a/sdk/go/keto/models/roles.go +++ b/sdk/go/keto/models/roles.go @@ -14,7 +14,7 @@ import ( "github.com/go-openapi/swag" ) -// Roles Roles Roles A list of roles. +// Roles Roles Roles Roles A list of roles. // swagger:model Roles type Roles []*Role diff --git a/sdk/go/keto/models/upsert_ory_access_control_policy.go b/sdk/go/keto/models/upsert_ory_access_control_policy.go index d58344d09..edf07a76a 100644 --- a/sdk/go/keto/models/upsert_ory_access_control_policy.go +++ b/sdk/go/keto/models/upsert_ory_access_control_policy.go @@ -14,7 +14,7 @@ import ( ) // UpsertOryAccessControlPolicy upsert ory access control policy -// swagger:model UpsertOryAccessControlPolicy +// swagger:model upsertOryAccessControlPolicy type UpsertOryAccessControlPolicy struct { // body 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 index 28ee3557e..8af46785e 100644 --- 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 @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/swag" ) -// UpsertOryAccessControlPolicyInternalServerError UpsertOryAccessControlPolicyInternalServerError UpsertOryAccessControlPolicyInternalServerError UpsertOryAccessControlPolicyInternalServerError handles this case with default header values. +// UpsertOryAccessControlPolicyInternalServerError UpsertOryAccessControlPolicyInternalServerError handles this case with default header values. // // The standard error format // swagger:model UpsertOryAccessControlPolicyInternalServerError 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 index 1013521dc..104785bc0 100644 --- 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 @@ -11,7 +11,7 @@ import ( "github.com/go-openapi/swag" ) -// UpsertOryAccessControlPolicyInternalServerErrorBody UpsertOryAccessControlPolicyInternalServerErrorBody UpsertOryAccessControlPolicyInternalServerErrorBody UpsertOryAccessControlPolicyInternalServerErrorBody upsert ory access control policy internal server error body +// UpsertOryAccessControlPolicyInternalServerErrorBody UpsertOryAccessControlPolicyInternalServerErrorBody upsert ory access control policy internal server error body // swagger:model UpsertOryAccessControlPolicyInternalServerErrorBody type UpsertOryAccessControlPolicyInternalServerErrorBody struct { 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 index 7283b9174..990264b6d 100644 --- 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 @@ -12,14 +12,14 @@ import ( "github.com/go-openapi/swag" ) -// UpsertOryAccessControlPolicyOK UpsertOryAccessControlPolicyOK UpsertOryAccessControlPolicyOK UpsertOryAccessControlPolicyOK handles this case with default header values. +// UpsertOryAccessControlPolicyOK UpsertOryAccessControlPolicyOK handles this case with default header values. // // oryAccessControlPolicy // swagger:model UpsertOryAccessControlPolicyOK type UpsertOryAccessControlPolicyOK struct { // payload - Payload *Policy `json:"Payload,omitempty"` + Payload *OryAccessControlPolicy `json:"Payload,omitempty"` } // Validate validates this upsert ory access control policy o k 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 index f8e9baef4..d4a03335b 100644 --- a/sdk/go/keto/models/upsert_ory_access_control_policy_reader.go +++ b/sdk/go/keto/models/upsert_ory_access_control_policy_reader.go @@ -5,6 +5,6 @@ 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. +// 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 index a4f0bd86f..3f4f975fb 100644 --- a/sdk/go/keto/models/upsert_ory_access_control_policy_role.go +++ b/sdk/go/keto/models/upsert_ory_access_control_policy_role.go @@ -14,7 +14,7 @@ import ( ) // UpsertOryAccessControlPolicyRole upsert ory access control policy role -// swagger:model UpsertOryAccessControlPolicyRole +// swagger:model upsertOryAccessControlPolicyRole type UpsertOryAccessControlPolicyRole struct { // body 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 index 505c61e94..b16b3ed52 100644 --- 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 @@ -12,7 +12,7 @@ import ( "github.com/go-openapi/swag" ) -// UpsertOryAccessControlPolicyRoleInternalServerError UpsertOryAccessControlPolicyRoleInternalServerError UpsertOryAccessControlPolicyRoleInternalServerError UpsertOryAccessControlPolicyRoleInternalServerError handles this case with default header values. +// UpsertOryAccessControlPolicyRoleInternalServerError UpsertOryAccessControlPolicyRoleInternalServerError handles this case with default header values. // // The standard error format // swagger:model UpsertOryAccessControlPolicyRoleInternalServerError 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 index 0eb661403..7e0cc71b4 100644 --- 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 @@ -11,7 +11,7 @@ import ( "github.com/go-openapi/swag" ) -// UpsertOryAccessControlPolicyRoleInternalServerErrorBody UpsertOryAccessControlPolicyRoleInternalServerErrorBody UpsertOryAccessControlPolicyRoleInternalServerErrorBody UpsertOryAccessControlPolicyRoleInternalServerErrorBody upsert ory access control policy role internal server error body +// UpsertOryAccessControlPolicyRoleInternalServerErrorBody UpsertOryAccessControlPolicyRoleInternalServerErrorBody upsert ory access control policy role internal server error body // swagger:model UpsertOryAccessControlPolicyRoleInternalServerErrorBody type UpsertOryAccessControlPolicyRoleInternalServerErrorBody struct { 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 index 69346a050..d75d8aac3 100644 --- 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 @@ -12,14 +12,14 @@ import ( "github.com/go-openapi/swag" ) -// UpsertOryAccessControlPolicyRoleOK UpsertOryAccessControlPolicyRoleOK UpsertOryAccessControlPolicyRoleOK UpsertOryAccessControlPolicyRoleOK handles this case with default header values. +// UpsertOryAccessControlPolicyRoleOK UpsertOryAccessControlPolicyRoleOK handles this case with default header values. // // oryAccessControlPolicyRole // swagger:model UpsertOryAccessControlPolicyRoleOK type UpsertOryAccessControlPolicyRoleOK struct { // payload - Payload *Role `json:"Payload,omitempty"` + Payload *OryAccessControlPolicyRole `json:"Payload,omitempty"` } // Validate validates this upsert ory access control policy role o k 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 index ee36f4516..d84be9b9f 100644 --- 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 @@ -5,6 +5,6 @@ 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. +// UpsertOryAccessControlPolicyRoleReader UpsertOryAccessControlPolicyRoleReader is a Reader for the UpsertOryAccessControlPolicyRole structure. // swagger:model UpsertOryAccessControlPolicyRoleReader type UpsertOryAccessControlPolicyRoleReader interface{} diff --git a/sdk/js/swagger/README.md b/sdk/js/swagger/README.md index 19f036764..6544a55fb 100644 --- a/sdk/js/swagger/README.md +++ b/sdk/js/swagger/README.md @@ -153,11 +153,13 @@ Class | Method | HTTP request | Description - [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) diff --git a/sdk/js/swagger/docs/AddOryAccessControlPolicyRoleMembersOK.md b/sdk/js/swagger/docs/AddOryAccessControlPolicyRoleMembersOK.md index 2e276140e..a384a19df 100644 --- a/sdk/js/swagger/docs/AddOryAccessControlPolicyRoleMembersOK.md +++ b/sdk/js/swagger/docs/AddOryAccessControlPolicyRoleMembersOK.md @@ -3,6 +3,6 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**payload** | [**Role**](Role.md) | | [optional] +**payload** | [**OryAccessControlPolicyRole**](OryAccessControlPolicyRole.md) | | [optional] diff --git a/sdk/js/swagger/docs/DeleteOryAccessControlPolicyNoContent.md b/sdk/js/swagger/docs/DeleteOryAccessControlPolicyNoContent.md new file mode 100644 index 000000000..3f9cb9ee3 --- /dev/null +++ b/sdk/js/swagger/docs/DeleteOryAccessControlPolicyNoContent.md @@ -0,0 +1,7 @@ +# OryKeto.DeleteOryAccessControlPolicyNoContent + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + + diff --git a/sdk/js/swagger/docs/DeleteOryAccessControlPolicyRoleNoContent.md b/sdk/js/swagger/docs/DeleteOryAccessControlPolicyRoleNoContent.md new file mode 100644 index 000000000..b11ad206b --- /dev/null +++ b/sdk/js/swagger/docs/DeleteOryAccessControlPolicyRoleNoContent.md @@ -0,0 +1,7 @@ +# OryKeto.DeleteOryAccessControlPolicyRoleNoContent + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + + diff --git a/sdk/js/swagger/docs/GetOryAccessControlPolicyOK.md b/sdk/js/swagger/docs/GetOryAccessControlPolicyOK.md index f1a6cacf0..7dce70ee9 100644 --- a/sdk/js/swagger/docs/GetOryAccessControlPolicyOK.md +++ b/sdk/js/swagger/docs/GetOryAccessControlPolicyOK.md @@ -3,6 +3,6 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**payload** | [**Policy**](Policy.md) | | [optional] +**payload** | [**OryAccessControlPolicy**](OryAccessControlPolicy.md) | | [optional] diff --git a/sdk/js/swagger/docs/GetOryAccessControlPolicyRoleOK.md b/sdk/js/swagger/docs/GetOryAccessControlPolicyRoleOK.md index 0ab06664c..b61c68df7 100644 --- a/sdk/js/swagger/docs/GetOryAccessControlPolicyRoleOK.md +++ b/sdk/js/swagger/docs/GetOryAccessControlPolicyRoleOK.md @@ -3,6 +3,6 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**payload** | [**Role**](Role.md) | | [optional] +**payload** | [**OryAccessControlPolicyRole**](OryAccessControlPolicyRole.md) | | [optional] diff --git a/sdk/js/swagger/docs/ListOryAccessControlPoliciesOK.md b/sdk/js/swagger/docs/ListOryAccessControlPoliciesOK.md index b50ad8197..d4141ab7e 100644 --- a/sdk/js/swagger/docs/ListOryAccessControlPoliciesOK.md +++ b/sdk/js/swagger/docs/ListOryAccessControlPoliciesOK.md @@ -3,6 +3,6 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**payload** | [**[Policy]**](Policy.md) | payload | [optional] +**payload** | [**[OryAccessControlPolicy]**](OryAccessControlPolicy.md) | payload | [optional] diff --git a/sdk/js/swagger/docs/ListOryAccessControlPolicyRolesOK.md b/sdk/js/swagger/docs/ListOryAccessControlPolicyRolesOK.md index 90434c553..17f0b6f4b 100644 --- a/sdk/js/swagger/docs/ListOryAccessControlPolicyRolesOK.md +++ b/sdk/js/swagger/docs/ListOryAccessControlPolicyRolesOK.md @@ -3,6 +3,6 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**payload** | [**[Role]**](Role.md) | payload | [optional] +**payload** | [**[OryAccessControlPolicyRole]**](OryAccessControlPolicyRole.md) | payload | [optional] diff --git a/sdk/js/swagger/docs/UpsertOryAccessControlPolicyOK.md b/sdk/js/swagger/docs/UpsertOryAccessControlPolicyOK.md index 3c3a1673c..20344fd6d 100644 --- a/sdk/js/swagger/docs/UpsertOryAccessControlPolicyOK.md +++ b/sdk/js/swagger/docs/UpsertOryAccessControlPolicyOK.md @@ -3,6 +3,6 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**payload** | [**Policy**](Policy.md) | | [optional] +**payload** | [**OryAccessControlPolicy**](OryAccessControlPolicy.md) | | [optional] diff --git a/sdk/js/swagger/docs/UpsertOryAccessControlPolicyRoleOK.md b/sdk/js/swagger/docs/UpsertOryAccessControlPolicyRoleOK.md index 3b8ba4c31..c8e91cc00 100644 --- a/sdk/js/swagger/docs/UpsertOryAccessControlPolicyRoleOK.md +++ b/sdk/js/swagger/docs/UpsertOryAccessControlPolicyRoleOK.md @@ -3,6 +3,6 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**payload** | [**Role**](Role.md) | | [optional] +**payload** | [**OryAccessControlPolicyRole**](OryAccessControlPolicyRole.md) | | [optional] diff --git a/sdk/js/swagger/src/index.js b/sdk/js/swagger/src/index.js index 9c7a7a223..14740f142 100644 --- a/sdk/js/swagger/src/index.js +++ b/sdk/js/swagger/src/index.js @@ -17,12 +17,12 @@ (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/DeleteOryAccessControlPolicyReader', 'model/DeleteOryAccessControlPolicyRole', 'model/DeleteOryAccessControlPolicyRoleCreated', 'model/DeleteOryAccessControlPolicyRoleInternalServerError', 'model/DeleteOryAccessControlPolicyRoleInternalServerErrorBody', '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); + 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/DeleteOryAccessControlPolicyReader'), require('./model/DeleteOryAccessControlPolicyRole'), require('./model/DeleteOryAccessControlPolicyRoleCreated'), require('./model/DeleteOryAccessControlPolicyRoleInternalServerError'), require('./model/DeleteOryAccessControlPolicyRoleInternalServerErrorBody'), 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')); + 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, DeleteOryAccessControlPolicyReader, DeleteOryAccessControlPolicyRole, DeleteOryAccessControlPolicyRoleCreated, DeleteOryAccessControlPolicyRoleInternalServerError, DeleteOryAccessControlPolicyRoleInternalServerErrorBody, 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) { +}(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'; /** @@ -122,6 +122,11 @@ * @property {module:model/DeleteOryAccessControlPolicyInternalServerErrorBody} */ DeleteOryAccessControlPolicyInternalServerErrorBody: DeleteOryAccessControlPolicyInternalServerErrorBody, + /** + * The DeleteOryAccessControlPolicyNoContent model constructor. + * @property {module:model/DeleteOryAccessControlPolicyNoContent} + */ + DeleteOryAccessControlPolicyNoContent: DeleteOryAccessControlPolicyNoContent, /** * The DeleteOryAccessControlPolicyReader model constructor. * @property {module:model/DeleteOryAccessControlPolicyReader} @@ -147,6 +152,11 @@ * @property {module:model/DeleteOryAccessControlPolicyRoleInternalServerErrorBody} */ DeleteOryAccessControlPolicyRoleInternalServerErrorBody: DeleteOryAccessControlPolicyRoleInternalServerErrorBody, + /** + * The DeleteOryAccessControlPolicyRoleNoContent model constructor. + * @property {module:model/DeleteOryAccessControlPolicyRoleNoContent} + */ + DeleteOryAccessControlPolicyRoleNoContent: DeleteOryAccessControlPolicyRoleNoContent, /** * The DeleteOryAccessControlPolicyRoleReader model constructor. * @property {module:model/DeleteOryAccessControlPolicyRoleReader} diff --git a/sdk/js/swagger/src/model/AddOryAccessControlPolicyRoleMembersInternalServerErrorBody.js b/sdk/js/swagger/src/model/AddOryAccessControlPolicyRoleMembersInternalServerErrorBody.js index 53a2dcfbd..cfd006309 100644 --- a/sdk/js/swagger/src/model/AddOryAccessControlPolicyRoleMembersInternalServerErrorBody.js +++ b/sdk/js/swagger/src/model/AddOryAccessControlPolicyRoleMembersInternalServerErrorBody.js @@ -42,7 +42,7 @@ /** * Constructs a new AddOryAccessControlPolicyRoleMembersInternalServerErrorBody. - * AddOryAccessControlPolicyRoleMembersInternalServerErrorBody AddOryAccessControlPolicyRoleMembersInternalServerErrorBody AddOryAccessControlPolicyRoleMembersInternalServerErrorBody add ory access control policy role members internal server error body + * AddOryAccessControlPolicyRoleMembersInternalServerErrorBody add ory access control policy role members internal server error body * @alias module:model/AddOryAccessControlPolicyRoleMembersInternalServerErrorBody * @class */ diff --git a/sdk/js/swagger/src/model/AddOryAccessControlPolicyRoleMembersOK.js b/sdk/js/swagger/src/model/AddOryAccessControlPolicyRoleMembersOK.js index 38edfba70..45bb243f3 100644 --- a/sdk/js/swagger/src/model/AddOryAccessControlPolicyRoleMembersOK.js +++ b/sdk/js/swagger/src/model/AddOryAccessControlPolicyRoleMembersOK.js @@ -17,18 +17,18 @@ (function(root, factory) { if (typeof define === 'function' && define.amd) { // AMD. Register as an anonymous module. - define(['ApiClient', 'model/Role'], factory); + 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('./Role')); + 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.Role); + root.OryKeto.AddOryAccessControlPolicyRoleMembersOK = factory(root.OryKeto.ApiClient, root.OryKeto.OryAccessControlPolicyRole); } -}(this, function(ApiClient, Role) { +}(this, function(ApiClient, OryAccessControlPolicyRole) { 'use strict'; @@ -64,14 +64,14 @@ obj = obj || new exports(); if (data.hasOwnProperty('Payload')) { - obj['Payload'] = Role.constructFromObject(data['Payload']); + obj['Payload'] = OryAccessControlPolicyRole.constructFromObject(data['Payload']); } } return obj; } /** - * @member {module:model/Role} Payload + * @member {module:model/OryAccessControlPolicyRole} Payload */ exports.prototype['Payload'] = undefined; diff --git a/sdk/js/swagger/src/model/Context.js b/sdk/js/swagger/src/model/Context.js index 45f8ffaf2..b376fbdd2 100644 --- a/sdk/js/swagger/src/model/Context.js +++ b/sdk/js/swagger/src/model/Context.js @@ -42,7 +42,7 @@ /** * Constructs a new Context. - * Context Context Context Context Context Context Context context + * Context Context Context Context Context Context Context Context context * @alias module:model/Context * @class * @extends Object diff --git a/sdk/js/swagger/src/model/DeleteOryAccessControlPolicyInternalServerErrorBody.js b/sdk/js/swagger/src/model/DeleteOryAccessControlPolicyInternalServerErrorBody.js index 1e560a360..b150ccdb2 100644 --- a/sdk/js/swagger/src/model/DeleteOryAccessControlPolicyInternalServerErrorBody.js +++ b/sdk/js/swagger/src/model/DeleteOryAccessControlPolicyInternalServerErrorBody.js @@ -42,7 +42,7 @@ /** * Constructs a new DeleteOryAccessControlPolicyInternalServerErrorBody. - * DeleteOryAccessControlPolicyInternalServerErrorBody DeleteOryAccessControlPolicyInternalServerErrorBody DeleteOryAccessControlPolicyInternalServerErrorBody delete ory access control policy internal server error body + * DeleteOryAccessControlPolicyInternalServerErrorBody delete ory access control policy internal server error body * @alias module:model/DeleteOryAccessControlPolicyInternalServerErrorBody * @class */ diff --git a/sdk/js/swagger/src/model/DeleteOryAccessControlPolicyNoContent.js b/sdk/js/swagger/src/model/DeleteOryAccessControlPolicyNoContent.js new file mode 100644 index 000000000..787667e34 --- /dev/null +++ b/sdk/js/swagger/src/model/DeleteOryAccessControlPolicyNoContent.js @@ -0,0 +1,75 @@ +/** + * 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/DeleteOryAccessControlPolicyRoleInternalServerErrorBody.js b/sdk/js/swagger/src/model/DeleteOryAccessControlPolicyRoleInternalServerErrorBody.js index 564f123b9..f987602f0 100644 --- a/sdk/js/swagger/src/model/DeleteOryAccessControlPolicyRoleInternalServerErrorBody.js +++ b/sdk/js/swagger/src/model/DeleteOryAccessControlPolicyRoleInternalServerErrorBody.js @@ -42,7 +42,7 @@ /** * Constructs a new DeleteOryAccessControlPolicyRoleInternalServerErrorBody. - * DeleteOryAccessControlPolicyRoleInternalServerErrorBody DeleteOryAccessControlPolicyRoleInternalServerErrorBody DeleteOryAccessControlPolicyRoleInternalServerErrorBody delete ory access control policy role internal server error body + * DeleteOryAccessControlPolicyRoleInternalServerErrorBody delete ory access control policy role internal server error body * @alias module:model/DeleteOryAccessControlPolicyRoleInternalServerErrorBody * @class */ diff --git a/sdk/js/swagger/src/model/DeleteOryAccessControlPolicyRoleNoContent.js b/sdk/js/swagger/src/model/DeleteOryAccessControlPolicyRoleNoContent.js new file mode 100644 index 000000000..6c53f723b --- /dev/null +++ b/sdk/js/swagger/src/model/DeleteOryAccessControlPolicyRoleNoContent.js @@ -0,0 +1,75 @@ +/** + * 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/DoOryAccessControlPoliciesAllowInternalServerErrorBody.js b/sdk/js/swagger/src/model/DoOryAccessControlPoliciesAllowInternalServerErrorBody.js index 7d7e647aa..7cd6869a5 100644 --- a/sdk/js/swagger/src/model/DoOryAccessControlPoliciesAllowInternalServerErrorBody.js +++ b/sdk/js/swagger/src/model/DoOryAccessControlPoliciesAllowInternalServerErrorBody.js @@ -42,7 +42,7 @@ /** * Constructs a new DoOryAccessControlPoliciesAllowInternalServerErrorBody. - * DoOryAccessControlPoliciesAllowInternalServerErrorBody DoOryAccessControlPoliciesAllowInternalServerErrorBody DoOryAccessControlPoliciesAllowInternalServerErrorBody do ory access control policies allow internal server error body + * DoOryAccessControlPoliciesAllowInternalServerErrorBody do ory access control policies allow internal server error body * @alias module:model/DoOryAccessControlPoliciesAllowInternalServerErrorBody * @class */ diff --git a/sdk/js/swagger/src/model/GetOryAccessControlPolicyInternalServerErrorBody.js b/sdk/js/swagger/src/model/GetOryAccessControlPolicyInternalServerErrorBody.js index a0ac27887..0788adb64 100644 --- a/sdk/js/swagger/src/model/GetOryAccessControlPolicyInternalServerErrorBody.js +++ b/sdk/js/swagger/src/model/GetOryAccessControlPolicyInternalServerErrorBody.js @@ -42,7 +42,7 @@ /** * Constructs a new GetOryAccessControlPolicyInternalServerErrorBody. - * GetOryAccessControlPolicyInternalServerErrorBody GetOryAccessControlPolicyInternalServerErrorBody GetOryAccessControlPolicyInternalServerErrorBody get ory access control policy internal server error body + * GetOryAccessControlPolicyInternalServerErrorBody get ory access control policy internal server error body * @alias module:model/GetOryAccessControlPolicyInternalServerErrorBody * @class */ diff --git a/sdk/js/swagger/src/model/GetOryAccessControlPolicyNotFoundBody.js b/sdk/js/swagger/src/model/GetOryAccessControlPolicyNotFoundBody.js index db2060f91..4f9e6d723 100644 --- a/sdk/js/swagger/src/model/GetOryAccessControlPolicyNotFoundBody.js +++ b/sdk/js/swagger/src/model/GetOryAccessControlPolicyNotFoundBody.js @@ -42,7 +42,7 @@ /** * Constructs a new GetOryAccessControlPolicyNotFoundBody. - * GetOryAccessControlPolicyNotFoundBody GetOryAccessControlPolicyNotFoundBody GetOryAccessControlPolicyNotFoundBody get ory access control policy not found body + * GetOryAccessControlPolicyNotFoundBody get ory access control policy not found body * @alias module:model/GetOryAccessControlPolicyNotFoundBody * @class */ diff --git a/sdk/js/swagger/src/model/GetOryAccessControlPolicyOK.js b/sdk/js/swagger/src/model/GetOryAccessControlPolicyOK.js index 051d9e944..43de3e732 100644 --- a/sdk/js/swagger/src/model/GetOryAccessControlPolicyOK.js +++ b/sdk/js/swagger/src/model/GetOryAccessControlPolicyOK.js @@ -17,18 +17,18 @@ (function(root, factory) { if (typeof define === 'function' && define.amd) { // AMD. Register as an anonymous module. - define(['ApiClient', 'model/Policy'], factory); + 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('./Policy')); + 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.Policy); + root.OryKeto.GetOryAccessControlPolicyOK = factory(root.OryKeto.ApiClient, root.OryKeto.OryAccessControlPolicy); } -}(this, function(ApiClient, Policy) { +}(this, function(ApiClient, OryAccessControlPolicy) { 'use strict'; @@ -64,14 +64,14 @@ obj = obj || new exports(); if (data.hasOwnProperty('Payload')) { - obj['Payload'] = Policy.constructFromObject(data['Payload']); + obj['Payload'] = OryAccessControlPolicy.constructFromObject(data['Payload']); } } return obj; } /** - * @member {module:model/Policy} Payload + * @member {module:model/OryAccessControlPolicy} Payload */ exports.prototype['Payload'] = undefined; diff --git a/sdk/js/swagger/src/model/GetOryAccessControlPolicyRoleInternalServerErrorBody.js b/sdk/js/swagger/src/model/GetOryAccessControlPolicyRoleInternalServerErrorBody.js index 47aa3c2ae..f190f9f1a 100644 --- a/sdk/js/swagger/src/model/GetOryAccessControlPolicyRoleInternalServerErrorBody.js +++ b/sdk/js/swagger/src/model/GetOryAccessControlPolicyRoleInternalServerErrorBody.js @@ -42,7 +42,7 @@ /** * Constructs a new GetOryAccessControlPolicyRoleInternalServerErrorBody. - * GetOryAccessControlPolicyRoleInternalServerErrorBody GetOryAccessControlPolicyRoleInternalServerErrorBody GetOryAccessControlPolicyRoleInternalServerErrorBody get ory access control policy role internal server error body + * GetOryAccessControlPolicyRoleInternalServerErrorBody get ory access control policy role internal server error body * @alias module:model/GetOryAccessControlPolicyRoleInternalServerErrorBody * @class */ diff --git a/sdk/js/swagger/src/model/GetOryAccessControlPolicyRoleNotFoundBody.js b/sdk/js/swagger/src/model/GetOryAccessControlPolicyRoleNotFoundBody.js index 7be8d7b9f..745955d1d 100644 --- a/sdk/js/swagger/src/model/GetOryAccessControlPolicyRoleNotFoundBody.js +++ b/sdk/js/swagger/src/model/GetOryAccessControlPolicyRoleNotFoundBody.js @@ -42,7 +42,7 @@ /** * Constructs a new GetOryAccessControlPolicyRoleNotFoundBody. - * GetOryAccessControlPolicyRoleNotFoundBody GetOryAccessControlPolicyRoleNotFoundBody GetOryAccessControlPolicyRoleNotFoundBody get ory access control policy role not found body + * GetOryAccessControlPolicyRoleNotFoundBody get ory access control policy role not found body * @alias module:model/GetOryAccessControlPolicyRoleNotFoundBody * @class */ diff --git a/sdk/js/swagger/src/model/GetOryAccessControlPolicyRoleOK.js b/sdk/js/swagger/src/model/GetOryAccessControlPolicyRoleOK.js index 2e811b4a1..78f690219 100644 --- a/sdk/js/swagger/src/model/GetOryAccessControlPolicyRoleOK.js +++ b/sdk/js/swagger/src/model/GetOryAccessControlPolicyRoleOK.js @@ -17,18 +17,18 @@ (function(root, factory) { if (typeof define === 'function' && define.amd) { // AMD. Register as an anonymous module. - define(['ApiClient', 'model/Role'], factory); + 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('./Role')); + 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.Role); + root.OryKeto.GetOryAccessControlPolicyRoleOK = factory(root.OryKeto.ApiClient, root.OryKeto.OryAccessControlPolicyRole); } -}(this, function(ApiClient, Role) { +}(this, function(ApiClient, OryAccessControlPolicyRole) { 'use strict'; @@ -64,14 +64,14 @@ obj = obj || new exports(); if (data.hasOwnProperty('Payload')) { - obj['Payload'] = Role.constructFromObject(data['Payload']); + obj['Payload'] = OryAccessControlPolicyRole.constructFromObject(data['Payload']); } } return obj; } /** - * @member {module:model/Role} Payload + * @member {module:model/OryAccessControlPolicyRole} Payload */ exports.prototype['Payload'] = undefined; diff --git a/sdk/js/swagger/src/model/ListOryAccessControlPoliciesInternalServerErrorBody.js b/sdk/js/swagger/src/model/ListOryAccessControlPoliciesInternalServerErrorBody.js index da7ea2201..8ef180998 100644 --- a/sdk/js/swagger/src/model/ListOryAccessControlPoliciesInternalServerErrorBody.js +++ b/sdk/js/swagger/src/model/ListOryAccessControlPoliciesInternalServerErrorBody.js @@ -42,7 +42,7 @@ /** * Constructs a new ListOryAccessControlPoliciesInternalServerErrorBody. - * ListOryAccessControlPoliciesInternalServerErrorBody ListOryAccessControlPoliciesInternalServerErrorBody ListOryAccessControlPoliciesInternalServerErrorBody list ory access control policies internal server error body + * ListOryAccessControlPoliciesInternalServerErrorBody list ory access control policies internal server error body * @alias module:model/ListOryAccessControlPoliciesInternalServerErrorBody * @class */ diff --git a/sdk/js/swagger/src/model/ListOryAccessControlPoliciesOK.js b/sdk/js/swagger/src/model/ListOryAccessControlPoliciesOK.js index 52a10b288..d3e121a4a 100644 --- a/sdk/js/swagger/src/model/ListOryAccessControlPoliciesOK.js +++ b/sdk/js/swagger/src/model/ListOryAccessControlPoliciesOK.js @@ -17,18 +17,18 @@ (function(root, factory) { if (typeof define === 'function' && define.amd) { // AMD. Register as an anonymous module. - define(['ApiClient', 'model/Policy'], factory); + 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('./Policy')); + 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.Policy); + root.OryKeto.ListOryAccessControlPoliciesOK = factory(root.OryKeto.ApiClient, root.OryKeto.OryAccessControlPolicy); } -}(this, function(ApiClient, Policy) { +}(this, function(ApiClient, OryAccessControlPolicy) { 'use strict'; @@ -64,7 +64,7 @@ obj = obj || new exports(); if (data.hasOwnProperty('Payload')) { - obj['Payload'] = ApiClient.convertToType(data['Payload'], [Policy]); + obj['Payload'] = ApiClient.convertToType(data['Payload'], [OryAccessControlPolicy]); } } return obj; @@ -72,7 +72,7 @@ /** * payload - * @member {Array.} Payload + * @member {Array.} Payload */ exports.prototype['Payload'] = undefined; diff --git a/sdk/js/swagger/src/model/ListOryAccessControlPolicyRolesInternalServerErrorBody.js b/sdk/js/swagger/src/model/ListOryAccessControlPolicyRolesInternalServerErrorBody.js index 449f0bfd5..5089a4c3d 100644 --- a/sdk/js/swagger/src/model/ListOryAccessControlPolicyRolesInternalServerErrorBody.js +++ b/sdk/js/swagger/src/model/ListOryAccessControlPolicyRolesInternalServerErrorBody.js @@ -42,7 +42,7 @@ /** * Constructs a new ListOryAccessControlPolicyRolesInternalServerErrorBody. - * ListOryAccessControlPolicyRolesInternalServerErrorBody ListOryAccessControlPolicyRolesInternalServerErrorBody ListOryAccessControlPolicyRolesInternalServerErrorBody list ory access control policy roles internal server error body + * ListOryAccessControlPolicyRolesInternalServerErrorBody list ory access control policy roles internal server error body * @alias module:model/ListOryAccessControlPolicyRolesInternalServerErrorBody * @class */ diff --git a/sdk/js/swagger/src/model/ListOryAccessControlPolicyRolesOK.js b/sdk/js/swagger/src/model/ListOryAccessControlPolicyRolesOK.js index 3005efdde..9d95b849b 100644 --- a/sdk/js/swagger/src/model/ListOryAccessControlPolicyRolesOK.js +++ b/sdk/js/swagger/src/model/ListOryAccessControlPolicyRolesOK.js @@ -17,18 +17,18 @@ (function(root, factory) { if (typeof define === 'function' && define.amd) { // AMD. Register as an anonymous module. - define(['ApiClient', 'model/Role'], factory); + 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('./Role')); + 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.Role); + root.OryKeto.ListOryAccessControlPolicyRolesOK = factory(root.OryKeto.ApiClient, root.OryKeto.OryAccessControlPolicyRole); } -}(this, function(ApiClient, Role) { +}(this, function(ApiClient, OryAccessControlPolicyRole) { 'use strict'; @@ -64,7 +64,7 @@ obj = obj || new exports(); if (data.hasOwnProperty('Payload')) { - obj['Payload'] = ApiClient.convertToType(data['Payload'], [Role]); + obj['Payload'] = ApiClient.convertToType(data['Payload'], [OryAccessControlPolicyRole]); } } return obj; @@ -72,7 +72,7 @@ /** * payload - * @member {Array.} Payload + * @member {Array.} Payload */ exports.prototype['Payload'] = undefined; diff --git a/sdk/js/swagger/src/model/RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody.js b/sdk/js/swagger/src/model/RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody.js index 428b38341..642b21ce2 100644 --- a/sdk/js/swagger/src/model/RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody.js +++ b/sdk/js/swagger/src/model/RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody.js @@ -42,7 +42,7 @@ /** * Constructs a new RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody. - * RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody remove ory access control policy role members internal server error body + * RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody remove ory access control policy role members internal server error body * @alias module:model/RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody * @class */ diff --git a/sdk/js/swagger/src/model/Role.js b/sdk/js/swagger/src/model/Role.js index 511a468e3..32d21927f 100644 --- a/sdk/js/swagger/src/model/Role.js +++ b/sdk/js/swagger/src/model/Role.js @@ -42,7 +42,7 @@ /** * Constructs a new 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. + * 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 */ diff --git a/sdk/js/swagger/src/model/UpsertOryAccessControlPolicyInternalServerErrorBody.js b/sdk/js/swagger/src/model/UpsertOryAccessControlPolicyInternalServerErrorBody.js index 7b2f71fe9..41107a929 100644 --- a/sdk/js/swagger/src/model/UpsertOryAccessControlPolicyInternalServerErrorBody.js +++ b/sdk/js/swagger/src/model/UpsertOryAccessControlPolicyInternalServerErrorBody.js @@ -42,7 +42,7 @@ /** * Constructs a new UpsertOryAccessControlPolicyInternalServerErrorBody. - * UpsertOryAccessControlPolicyInternalServerErrorBody UpsertOryAccessControlPolicyInternalServerErrorBody UpsertOryAccessControlPolicyInternalServerErrorBody upsert ory access control policy internal server error body + * UpsertOryAccessControlPolicyInternalServerErrorBody upsert ory access control policy internal server error body * @alias module:model/UpsertOryAccessControlPolicyInternalServerErrorBody * @class */ diff --git a/sdk/js/swagger/src/model/UpsertOryAccessControlPolicyOK.js b/sdk/js/swagger/src/model/UpsertOryAccessControlPolicyOK.js index 5d3524a81..da51ad58c 100644 --- a/sdk/js/swagger/src/model/UpsertOryAccessControlPolicyOK.js +++ b/sdk/js/swagger/src/model/UpsertOryAccessControlPolicyOK.js @@ -17,18 +17,18 @@ (function(root, factory) { if (typeof define === 'function' && define.amd) { // AMD. Register as an anonymous module. - define(['ApiClient', 'model/Policy'], factory); + 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('./Policy')); + 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.Policy); + root.OryKeto.UpsertOryAccessControlPolicyOK = factory(root.OryKeto.ApiClient, root.OryKeto.OryAccessControlPolicy); } -}(this, function(ApiClient, Policy) { +}(this, function(ApiClient, OryAccessControlPolicy) { 'use strict'; @@ -64,14 +64,14 @@ obj = obj || new exports(); if (data.hasOwnProperty('Payload')) { - obj['Payload'] = Policy.constructFromObject(data['Payload']); + obj['Payload'] = OryAccessControlPolicy.constructFromObject(data['Payload']); } } return obj; } /** - * @member {module:model/Policy} Payload + * @member {module:model/OryAccessControlPolicy} Payload */ exports.prototype['Payload'] = undefined; diff --git a/sdk/js/swagger/src/model/UpsertOryAccessControlPolicyRoleInternalServerErrorBody.js b/sdk/js/swagger/src/model/UpsertOryAccessControlPolicyRoleInternalServerErrorBody.js index 0e7ee88fb..0b83a6391 100644 --- a/sdk/js/swagger/src/model/UpsertOryAccessControlPolicyRoleInternalServerErrorBody.js +++ b/sdk/js/swagger/src/model/UpsertOryAccessControlPolicyRoleInternalServerErrorBody.js @@ -42,7 +42,7 @@ /** * Constructs a new UpsertOryAccessControlPolicyRoleInternalServerErrorBody. - * UpsertOryAccessControlPolicyRoleInternalServerErrorBody UpsertOryAccessControlPolicyRoleInternalServerErrorBody UpsertOryAccessControlPolicyRoleInternalServerErrorBody upsert ory access control policy role internal server error body + * UpsertOryAccessControlPolicyRoleInternalServerErrorBody upsert ory access control policy role internal server error body * @alias module:model/UpsertOryAccessControlPolicyRoleInternalServerErrorBody * @class */ diff --git a/sdk/js/swagger/src/model/UpsertOryAccessControlPolicyRoleOK.js b/sdk/js/swagger/src/model/UpsertOryAccessControlPolicyRoleOK.js index 6768e517c..8e3119ba7 100644 --- a/sdk/js/swagger/src/model/UpsertOryAccessControlPolicyRoleOK.js +++ b/sdk/js/swagger/src/model/UpsertOryAccessControlPolicyRoleOK.js @@ -17,18 +17,18 @@ (function(root, factory) { if (typeof define === 'function' && define.amd) { // AMD. Register as an anonymous module. - define(['ApiClient', 'model/Role'], factory); + 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('./Role')); + 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.Role); + root.OryKeto.UpsertOryAccessControlPolicyRoleOK = factory(root.OryKeto.ApiClient, root.OryKeto.OryAccessControlPolicyRole); } -}(this, function(ApiClient, Role) { +}(this, function(ApiClient, OryAccessControlPolicyRole) { 'use strict'; @@ -64,14 +64,14 @@ obj = obj || new exports(); if (data.hasOwnProperty('Payload')) { - obj['Payload'] = Role.constructFromObject(data['Payload']); + obj['Payload'] = OryAccessControlPolicyRole.constructFromObject(data['Payload']); } } return obj; } /** - * @member {module:model/Role} Payload + * @member {module:model/OryAccessControlPolicyRole} Payload */ exports.prototype['Payload'] = undefined; diff --git a/sdk/php/swagger/README.md b/sdk/php/swagger/README.md index 47388b1a0..205bdd208 100644 --- a/sdk/php/swagger/README.md +++ b/sdk/php/swagger/README.md @@ -57,10 +57,10 @@ Please follow the [installation procedure](#installation--usage) and then run th addOryAccessControlPolicyRoleMembers($flavor, $id, $body); @@ -108,11 +108,13 @@ Class | Method | HTTP request | Description - [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) diff --git a/sdk/php/swagger/autoload.php b/sdk/php/swagger/autoload.php index f2b64a087..0a4390695 100644 --- a/sdk/php/swagger/autoload.php +++ b/sdk/php/swagger/autoload.php @@ -15,10 +15,10 @@ * An example of a project-specific implementation. * * After registering this autoload function with SPL, the following line - * would cause the function to attempt to load the \keto\SDK\Baz\Qux class + * would cause the function to attempt to load the \ketoSDK\Baz\Qux class * from /path/to/project/lib/Baz/Qux.php: * - * new \keto\SDK\Baz\Qux; + * new \ketoSDK\Baz\Qux; * * @param string $class The fully-qualified class name. * @@ -27,7 +27,7 @@ spl_autoload_register(function ($class) { // project-specific namespace prefix - $prefix = 'keto\\SDK\\'; + $prefix = 'ketoSDK\\'; // base directory for the namespace prefix $base_dir = __DIR__ . '/lib/'; diff --git a/sdk/php/swagger/docs/Api/EnginesApi.md b/sdk/php/swagger/docs/Api/EnginesApi.md index 22f283277..c0e16d15d 100644 --- a/sdk/php/swagger/docs/Api/EnginesApi.md +++ b/sdk/php/swagger/docs/Api/EnginesApi.md @@ -1,4 +1,4 @@ -# keto\SDK\EnginesApi +# ketoSDK\EnginesApi Client for keto All URIs are relative to *http://localhost* @@ -19,7 +19,7 @@ Method | HTTP request | Description # **addOryAccessControlPolicyRoleMembers** -> \keto\SDK\Model\OryAccessControlPolicyRole addOryAccessControlPolicyRoleMembers($flavor, $id, $body) +> \ketoSDK\Model\OryAccessControlPolicyRole addOryAccessControlPolicyRoleMembers($flavor, $id, $body) Add a member to an ORY Access Control Policy Role @@ -30,10 +30,10 @@ Roles group several subjects into one. Rules can be assigned to ORY Access Contr addOryAccessControlPolicyRoleMembers($flavor, $id, $body); @@ -50,11 +50,11 @@ 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] + **body** | [**\ketoSDK\Model\AddOryAccessControlPolicyRoleMembersBody**](../Model/AddOryAccessControlPolicyRoleMembersBody.md)| | [optional] ### Return type -[**\keto\SDK\Model\OryAccessControlPolicyRole**](../Model/OryAccessControlPolicyRole.md) +[**\ketoSDK\Model\OryAccessControlPolicyRole**](../Model/OryAccessControlPolicyRole.md) ### Authorization @@ -79,7 +79,7 @@ Delete an ORY Access Control Policy \keto\SDK\Model\AuthorizationResult doOryAccessControlPoliciesAllow($flavor, $body) +> \ketoSDK\Model\AuthorizationResult doOryAccessControlPoliciesAllow($flavor, $body) Check if a request is allowed @@ -171,9 +171,9 @@ Use this endpoint to check if a request is allowed or not. If the request is all doOryAccessControlPoliciesAllow($flavor, $body); @@ -189,11 +189,11 @@ try { 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] + **body** | [**\ketoSDK\Model\OryAccessControlPolicyAllowedInput**](../Model/OryAccessControlPolicyAllowedInput.md)| | [optional] ### Return type -[**\keto\SDK\Model\AuthorizationResult**](../Model/AuthorizationResult.md) +[**\ketoSDK\Model\AuthorizationResult**](../Model/AuthorizationResult.md) ### Authorization @@ -207,7 +207,7 @@ No authorization required [[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) +> \ketoSDK\Model\OryAccessControlPolicy getOryAccessControlPolicy($flavor, $id) @@ -218,7 +218,7 @@ Get an ORY Access Control Policy \keto\SDK\Model\OryAccessControlPolicyRole getOryAccessControlPolicyRole($flavor, $id) +> \ketoSDK\Model\OryAccessControlPolicyRole getOryAccessControlPolicyRole($flavor, $id) Get an ORY Access Control Policy Role @@ -265,7 +265,7 @@ Roles group several subjects into one. Rules can be assigned to ORY Access Contr \keto\SDK\Model\OryAccessControlPolicy[] listOryAccessControlPolicies($flavor, $limit, $offset) +> \ketoSDK\Model\OryAccessControlPolicy[] listOryAccessControlPolicies($flavor, $limit, $offset) @@ -312,7 +312,7 @@ List ORY Access Control Policies \keto\SDK\Model\OryAccessControlPolicyRole[] listOryAccessControlPolicyRoles($flavor, $limit, $offset) +> \ketoSDK\Model\OryAccessControlPolicyRole[] listOryAccessControlPolicyRoles($flavor, $limit, $offset) List ORY Access Control Policy Roles @@ -361,7 +361,7 @@ Roles group several subjects into one. Rules can be assigned to ORY Access Contr \keto\SDK\Model\OryAccessControlPolicy upsertOryAccessControlPolicy($flavor, $body) +> \ketoSDK\Model\OryAccessControlPolicy upsertOryAccessControlPolicy($flavor, $body) @@ -458,9 +458,9 @@ Upsert an ORY Access Control Policy upsertOryAccessControlPolicy($flavor, $body); @@ -476,11 +476,11 @@ try { 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] + **body** | [**\ketoSDK\Model\OryAccessControlPolicy**](../Model/OryAccessControlPolicy.md)| | [optional] ### Return type -[**\keto\SDK\Model\OryAccessControlPolicy**](../Model/OryAccessControlPolicy.md) +[**\ketoSDK\Model\OryAccessControlPolicy**](../Model/OryAccessControlPolicy.md) ### Authorization @@ -494,7 +494,7 @@ No authorization required [[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) +> \ketoSDK\Model\OryAccessControlPolicyRole upsertOryAccessControlPolicyRole($flavor, $body) Upsert an ORY Access Control Policy Role @@ -505,9 +505,9 @@ Roles group several subjects into one. Rules can be assigned to ORY Access Contr upsertOryAccessControlPolicyRole($flavor, $body); @@ -523,11 +523,11 @@ try { 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] + **body** | [**\ketoSDK\Model\OryAccessControlPolicyRole**](../Model/OryAccessControlPolicyRole.md)| | [optional] ### Return type -[**\keto\SDK\Model\OryAccessControlPolicyRole**](../Model/OryAccessControlPolicyRole.md) +[**\ketoSDK\Model\OryAccessControlPolicyRole**](../Model/OryAccessControlPolicyRole.md) ### Authorization diff --git a/sdk/php/swagger/docs/Api/HealthApi.md b/sdk/php/swagger/docs/Api/HealthApi.md index 52d0cc17d..6ebf3044f 100644 --- a/sdk/php/swagger/docs/Api/HealthApi.md +++ b/sdk/php/swagger/docs/Api/HealthApi.md @@ -1,4 +1,4 @@ -# keto\SDK\HealthApi +# ketoSDK\HealthApi Client for keto All URIs are relative to *http://localhost* @@ -10,7 +10,7 @@ Method | HTTP request | Description # **isInstanceAlive** -> \keto\SDK\Model\HealthStatus isInstanceAlive() +> \ketoSDK\Model\HealthStatus isInstanceAlive() Check alive status @@ -21,7 +21,7 @@ This endpoint returns a 200 status code when the HTTP server is up running. This isInstanceAlive(); @@ -37,7 +37,7 @@ This endpoint does not need any parameter. ### Return type -[**\keto\SDK\Model\HealthStatus**](../Model/HealthStatus.md) +[**\ketoSDK\Model\HealthStatus**](../Model/HealthStatus.md) ### Authorization @@ -51,7 +51,7 @@ No authorization required [[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() +> \ketoSDK\Model\HealthStatus isInstanceReady() Check readiness status @@ -62,7 +62,7 @@ This endpoint returns a 200 status code when the HTTP server is up running and t isInstanceReady(); @@ -78,7 +78,7 @@ This endpoint does not need any parameter. ### Return type -[**\keto\SDK\Model\HealthStatus**](../Model/HealthStatus.md) +[**\ketoSDK\Model\HealthStatus**](../Model/HealthStatus.md) ### Authorization diff --git a/sdk/php/swagger/docs/Api/VersionApi.md b/sdk/php/swagger/docs/Api/VersionApi.md index 51afb19a2..55f3cbed1 100644 --- a/sdk/php/swagger/docs/Api/VersionApi.md +++ b/sdk/php/swagger/docs/Api/VersionApi.md @@ -1,4 +1,4 @@ -# keto\SDK\VersionApi +# ketoSDK\VersionApi Client for keto All URIs are relative to *http://localhost* @@ -9,7 +9,7 @@ Method | HTTP request | Description # **getVersion** -> \keto\SDK\Model\Version getVersion() +> \ketoSDK\Model\Version getVersion() Get service version @@ -20,7 +20,7 @@ This endpoint returns the service version typically notated using semantic versi getVersion(); @@ -36,7 +36,7 @@ This endpoint does not need any parameter. ### Return type -[**\keto\SDK\Model\Version**](../Model/Version.md) +[**\ketoSDK\Model\Version**](../Model/Version.md) ### Authorization diff --git a/sdk/php/swagger/docs/Model/AddOryAccessControlPolicyRoleMembers.md b/sdk/php/swagger/docs/Model/AddOryAccessControlPolicyRoleMembers.md index 966b1ee19..34080431d 100644 --- a/sdk/php/swagger/docs/Model/AddOryAccessControlPolicyRoleMembers.md +++ b/sdk/php/swagger/docs/Model/AddOryAccessControlPolicyRoleMembers.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**body** | [**\keto\SDK\Model\AddOryAccessControlPolicyRoleMembersBody**](AddOryAccessControlPolicyRoleMembersBody.md) | | [optional] +**body** | [**\ketoSDK\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 | diff --git a/sdk/php/swagger/docs/Model/AddOryAccessControlPolicyRoleMembersInternalServerError.md b/sdk/php/swagger/docs/Model/AddOryAccessControlPolicyRoleMembersInternalServerError.md index b74915e35..ea4cc429b 100644 --- a/sdk/php/swagger/docs/Model/AddOryAccessControlPolicyRoleMembersInternalServerError.md +++ b/sdk/php/swagger/docs/Model/AddOryAccessControlPolicyRoleMembersInternalServerError.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**payload** | [**\keto\SDK\Model\AddOryAccessControlPolicyRoleMembersInternalServerErrorBody**](AddOryAccessControlPolicyRoleMembersInternalServerErrorBody.md) | | [optional] +**payload** | [**\ketoSDK\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/AddOryAccessControlPolicyRoleMembersOK.md b/sdk/php/swagger/docs/Model/AddOryAccessControlPolicyRoleMembersOK.md index 6b0dbc7d4..6883594f1 100644 --- a/sdk/php/swagger/docs/Model/AddOryAccessControlPolicyRoleMembersOK.md +++ b/sdk/php/swagger/docs/Model/AddOryAccessControlPolicyRoleMembersOK.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**payload** | [**\keto\SDK\Model\Role**](Role.md) | | [optional] +**payload** | [**\ketoSDK\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/DeleteOryAccessControlPolicyInternalServerError.md b/sdk/php/swagger/docs/Model/DeleteOryAccessControlPolicyInternalServerError.md index 3de46e834..a52c42ab8 100644 --- a/sdk/php/swagger/docs/Model/DeleteOryAccessControlPolicyInternalServerError.md +++ b/sdk/php/swagger/docs/Model/DeleteOryAccessControlPolicyInternalServerError.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**payload** | [**\keto\SDK\Model\DeleteOryAccessControlPolicyInternalServerErrorBody**](DeleteOryAccessControlPolicyInternalServerErrorBody.md) | | [optional] +**payload** | [**\ketoSDK\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/DeleteOryAccessControlPolicyNoContent.md b/sdk/php/swagger/docs/Model/DeleteOryAccessControlPolicyNoContent.md new file mode 100644 index 000000000..c7e2b7ac6 --- /dev/null +++ b/sdk/php/swagger/docs/Model/DeleteOryAccessControlPolicyNoContent.md @@ -0,0 +1,9 @@ +# 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/DeleteOryAccessControlPolicyRoleInternalServerError.md b/sdk/php/swagger/docs/Model/DeleteOryAccessControlPolicyRoleInternalServerError.md index e1492867c..2d35f48ab 100644 --- a/sdk/php/swagger/docs/Model/DeleteOryAccessControlPolicyRoleInternalServerError.md +++ b/sdk/php/swagger/docs/Model/DeleteOryAccessControlPolicyRoleInternalServerError.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**payload** | [**\keto\SDK\Model\DeleteOryAccessControlPolicyRoleInternalServerErrorBody**](DeleteOryAccessControlPolicyRoleInternalServerErrorBody.md) | | [optional] +**payload** | [**\ketoSDK\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/DeleteOryAccessControlPolicyRoleNoContent.md b/sdk/php/swagger/docs/Model/DeleteOryAccessControlPolicyRoleNoContent.md new file mode 100644 index 000000000..a1dfb4b6d --- /dev/null +++ b/sdk/php/swagger/docs/Model/DeleteOryAccessControlPolicyRoleNoContent.md @@ -0,0 +1,9 @@ +# 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/DoOryAccessControlPoliciesAllow.md b/sdk/php/swagger/docs/Model/DoOryAccessControlPoliciesAllow.md index c52670267..9f4268c3f 100644 --- a/sdk/php/swagger/docs/Model/DoOryAccessControlPoliciesAllow.md +++ b/sdk/php/swagger/docs/Model/DoOryAccessControlPoliciesAllow.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**body** | [**\keto\SDK\Model\OryAccessControlPolicyAllowedInput**](OryAccessControlPolicyAllowedInput.md) | | [optional] +**body** | [**\ketoSDK\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 index 349f2102e..655202776 100644 --- a/sdk/php/swagger/docs/Model/DoOryAccessControlPoliciesAllowForbidden.md +++ b/sdk/php/swagger/docs/Model/DoOryAccessControlPoliciesAllowForbidden.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**payload** | [**\keto\SDK\Model\AuthorizationResult**](AuthorizationResult.md) | | [optional] +**payload** | [**\ketoSDK\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 index 7adeaf42f..89ac1a762 100644 --- a/sdk/php/swagger/docs/Model/DoOryAccessControlPoliciesAllowInternalServerError.md +++ b/sdk/php/swagger/docs/Model/DoOryAccessControlPoliciesAllowInternalServerError.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**payload** | [**\keto\SDK\Model\DoOryAccessControlPoliciesAllowInternalServerErrorBody**](DoOryAccessControlPoliciesAllowInternalServerErrorBody.md) | | [optional] +**payload** | [**\ketoSDK\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/DoOryAccessControlPoliciesAllowOK.md b/sdk/php/swagger/docs/Model/DoOryAccessControlPoliciesAllowOK.md index 2807fce83..58268c3a5 100644 --- a/sdk/php/swagger/docs/Model/DoOryAccessControlPoliciesAllowOK.md +++ b/sdk/php/swagger/docs/Model/DoOryAccessControlPoliciesAllowOK.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**payload** | [**\keto\SDK\Model\AuthorizationResult**](AuthorizationResult.md) | | [optional] +**payload** | [**\ketoSDK\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/GetOryAccessControlPolicyInternalServerError.md b/sdk/php/swagger/docs/Model/GetOryAccessControlPolicyInternalServerError.md index 6f6eac9fc..b8b7bc44f 100644 --- a/sdk/php/swagger/docs/Model/GetOryAccessControlPolicyInternalServerError.md +++ b/sdk/php/swagger/docs/Model/GetOryAccessControlPolicyInternalServerError.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**payload** | [**\keto\SDK\Model\GetOryAccessControlPolicyInternalServerErrorBody**](GetOryAccessControlPolicyInternalServerErrorBody.md) | | [optional] +**payload** | [**\ketoSDK\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/GetOryAccessControlPolicyNotFound.md b/sdk/php/swagger/docs/Model/GetOryAccessControlPolicyNotFound.md index b3a623a97..ceb0c35a1 100644 --- a/sdk/php/swagger/docs/Model/GetOryAccessControlPolicyNotFound.md +++ b/sdk/php/swagger/docs/Model/GetOryAccessControlPolicyNotFound.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**payload** | [**\keto\SDK\Model\GetOryAccessControlPolicyNotFoundBody**](GetOryAccessControlPolicyNotFoundBody.md) | | [optional] +**payload** | [**\ketoSDK\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/GetOryAccessControlPolicyOK.md b/sdk/php/swagger/docs/Model/GetOryAccessControlPolicyOK.md index a2ec54852..f85a03ad3 100644 --- a/sdk/php/swagger/docs/Model/GetOryAccessControlPolicyOK.md +++ b/sdk/php/swagger/docs/Model/GetOryAccessControlPolicyOK.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**payload** | [**\keto\SDK\Model\Policy**](Policy.md) | | [optional] +**payload** | [**\ketoSDK\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/GetOryAccessControlPolicyRoleInternalServerError.md b/sdk/php/swagger/docs/Model/GetOryAccessControlPolicyRoleInternalServerError.md index d9ae06c29..f280b5b77 100644 --- a/sdk/php/swagger/docs/Model/GetOryAccessControlPolicyRoleInternalServerError.md +++ b/sdk/php/swagger/docs/Model/GetOryAccessControlPolicyRoleInternalServerError.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**payload** | [**\keto\SDK\Model\GetOryAccessControlPolicyRoleInternalServerErrorBody**](GetOryAccessControlPolicyRoleInternalServerErrorBody.md) | | [optional] +**payload** | [**\ketoSDK\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/GetOryAccessControlPolicyRoleNotFound.md b/sdk/php/swagger/docs/Model/GetOryAccessControlPolicyRoleNotFound.md index d872a53bd..64e6000a2 100644 --- a/sdk/php/swagger/docs/Model/GetOryAccessControlPolicyRoleNotFound.md +++ b/sdk/php/swagger/docs/Model/GetOryAccessControlPolicyRoleNotFound.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**payload** | [**\keto\SDK\Model\GetOryAccessControlPolicyRoleNotFoundBody**](GetOryAccessControlPolicyRoleNotFoundBody.md) | | [optional] +**payload** | [**\ketoSDK\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/GetOryAccessControlPolicyRoleOK.md b/sdk/php/swagger/docs/Model/GetOryAccessControlPolicyRoleOK.md index fdb0043da..c45b871cb 100644 --- a/sdk/php/swagger/docs/Model/GetOryAccessControlPolicyRoleOK.md +++ b/sdk/php/swagger/docs/Model/GetOryAccessControlPolicyRoleOK.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**payload** | [**\keto\SDK\Model\Role**](Role.md) | | [optional] +**payload** | [**\ketoSDK\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/IsInstanceAliveInternalServerError.md b/sdk/php/swagger/docs/Model/IsInstanceAliveInternalServerError.md index fcd9b7053..db4040bf5 100644 --- a/sdk/php/swagger/docs/Model/IsInstanceAliveInternalServerError.md +++ b/sdk/php/swagger/docs/Model/IsInstanceAliveInternalServerError.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**payload** | [**\keto\SDK\Model\IsInstanceAliveInternalServerErrorBody**](IsInstanceAliveInternalServerErrorBody.md) | | [optional] +**payload** | [**\ketoSDK\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/IsInstanceAliveOK.md b/sdk/php/swagger/docs/Model/IsInstanceAliveOK.md index 3511c664c..8c64cb89e 100644 --- a/sdk/php/swagger/docs/Model/IsInstanceAliveOK.md +++ b/sdk/php/swagger/docs/Model/IsInstanceAliveOK.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**payload** | [**\keto\SDK\Model\SwaggerHealthStatus**](SwaggerHealthStatus.md) | | [optional] +**payload** | [**\ketoSDK\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/ListOryAccessControlPoliciesInternalServerError.md b/sdk/php/swagger/docs/Model/ListOryAccessControlPoliciesInternalServerError.md index 0a5ed653c..1799840f4 100644 --- a/sdk/php/swagger/docs/Model/ListOryAccessControlPoliciesInternalServerError.md +++ b/sdk/php/swagger/docs/Model/ListOryAccessControlPoliciesInternalServerError.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**payload** | [**\keto\SDK\Model\ListOryAccessControlPoliciesInternalServerErrorBody**](ListOryAccessControlPoliciesInternalServerErrorBody.md) | | [optional] +**payload** | [**\ketoSDK\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/ListOryAccessControlPoliciesOK.md b/sdk/php/swagger/docs/Model/ListOryAccessControlPoliciesOK.md index 0bf63694e..8b2d671a9 100644 --- a/sdk/php/swagger/docs/Model/ListOryAccessControlPoliciesOK.md +++ b/sdk/php/swagger/docs/Model/ListOryAccessControlPoliciesOK.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**payload** | [**\keto\SDK\Model\Policy[]**](Policy.md) | payload | [optional] +**payload** | [**\ketoSDK\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/ListOryAccessControlPolicyRolesInternalServerError.md b/sdk/php/swagger/docs/Model/ListOryAccessControlPolicyRolesInternalServerError.md index df5681b6b..f1cf7aa17 100644 --- a/sdk/php/swagger/docs/Model/ListOryAccessControlPolicyRolesInternalServerError.md +++ b/sdk/php/swagger/docs/Model/ListOryAccessControlPolicyRolesInternalServerError.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**payload** | [**\keto\SDK\Model\ListOryAccessControlPolicyRolesInternalServerErrorBody**](ListOryAccessControlPolicyRolesInternalServerErrorBody.md) | | [optional] +**payload** | [**\ketoSDK\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/ListOryAccessControlPolicyRolesOK.md b/sdk/php/swagger/docs/Model/ListOryAccessControlPolicyRolesOK.md index 9ed638b83..699b8b2b1 100644 --- a/sdk/php/swagger/docs/Model/ListOryAccessControlPolicyRolesOK.md +++ b/sdk/php/swagger/docs/Model/ListOryAccessControlPolicyRolesOK.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**payload** | [**\keto\SDK\Model\Role[]**](Role.md) | payload | [optional] +**payload** | [**\ketoSDK\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/OryAccessControlPolicies.md b/sdk/php/swagger/docs/Model/OryAccessControlPolicies.md index 7a1879b62..525663a62 100644 --- a/sdk/php/swagger/docs/Model/OryAccessControlPolicies.md +++ b/sdk/php/swagger/docs/Model/OryAccessControlPolicies.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**body** | [**\keto\SDK\Model\OryAccessControlPolicy[]**](OryAccessControlPolicy.md) | The request body. in: body type: array | [optional] +**body** | [**\ketoSDK\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/OryAccessControlPolicyRoles.md b/sdk/php/swagger/docs/Model/OryAccessControlPolicyRoles.md index 97efaec47..1bfdcd255 100644 --- a/sdk/php/swagger/docs/Model/OryAccessControlPolicyRoles.md +++ b/sdk/php/swagger/docs/Model/OryAccessControlPolicyRoles.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**body** | [**\keto\SDK\Model\OryAccessControlPolicyRole[]**](OryAccessControlPolicyRole.md) | The request body. in: body type: array | [optional] +**body** | [**\ketoSDK\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/RemoveOryAccessControlPolicyRoleMembersInternalServerError.md b/sdk/php/swagger/docs/Model/RemoveOryAccessControlPolicyRoleMembersInternalServerError.md index fcc481c1e..a61cce598 100644 --- a/sdk/php/swagger/docs/Model/RemoveOryAccessControlPolicyRoleMembersInternalServerError.md +++ b/sdk/php/swagger/docs/Model/RemoveOryAccessControlPolicyRoleMembersInternalServerError.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**payload** | [**\keto\SDK\Model\RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody**](RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody.md) | | [optional] +**payload** | [**\ketoSDK\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/UpsertOryAccessControlPolicy.md b/sdk/php/swagger/docs/Model/UpsertOryAccessControlPolicy.md index 9606c116d..065aa7576 100644 --- a/sdk/php/swagger/docs/Model/UpsertOryAccessControlPolicy.md +++ b/sdk/php/swagger/docs/Model/UpsertOryAccessControlPolicy.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**body** | [**\keto\SDK\Model\OryAccessControlPolicy**](OryAccessControlPolicy.md) | | [optional] +**body** | [**\ketoSDK\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 index cbd8b755e..2a98d3047 100644 --- a/sdk/php/swagger/docs/Model/UpsertOryAccessControlPolicyInternalServerError.md +++ b/sdk/php/swagger/docs/Model/UpsertOryAccessControlPolicyInternalServerError.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**payload** | [**\keto\SDK\Model\UpsertOryAccessControlPolicyInternalServerErrorBody**](UpsertOryAccessControlPolicyInternalServerErrorBody.md) | | [optional] +**payload** | [**\ketoSDK\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/UpsertOryAccessControlPolicyOK.md b/sdk/php/swagger/docs/Model/UpsertOryAccessControlPolicyOK.md index 439826352..32782d396 100644 --- a/sdk/php/swagger/docs/Model/UpsertOryAccessControlPolicyOK.md +++ b/sdk/php/swagger/docs/Model/UpsertOryAccessControlPolicyOK.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**payload** | [**\keto\SDK\Model\Policy**](Policy.md) | | [optional] +**payload** | [**\ketoSDK\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/UpsertOryAccessControlPolicyRole.md b/sdk/php/swagger/docs/Model/UpsertOryAccessControlPolicyRole.md index 1c5e8f4cd..862c66c90 100644 --- a/sdk/php/swagger/docs/Model/UpsertOryAccessControlPolicyRole.md +++ b/sdk/php/swagger/docs/Model/UpsertOryAccessControlPolicyRole.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**body** | [**\keto\SDK\Model\OryAccessControlPolicyRole**](OryAccessControlPolicyRole.md) | | [optional] +**body** | [**\ketoSDK\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 index 0138080fa..b4b35d268 100644 --- a/sdk/php/swagger/docs/Model/UpsertOryAccessControlPolicyRoleInternalServerError.md +++ b/sdk/php/swagger/docs/Model/UpsertOryAccessControlPolicyRoleInternalServerError.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**payload** | [**\keto\SDK\Model\UpsertOryAccessControlPolicyRoleInternalServerErrorBody**](UpsertOryAccessControlPolicyRoleInternalServerErrorBody.md) | | [optional] +**payload** | [**\ketoSDK\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/UpsertOryAccessControlPolicyRoleOK.md b/sdk/php/swagger/docs/Model/UpsertOryAccessControlPolicyRoleOK.md index ec2022ab9..a2530df50 100644 --- a/sdk/php/swagger/docs/Model/UpsertOryAccessControlPolicyRoleOK.md +++ b/sdk/php/swagger/docs/Model/UpsertOryAccessControlPolicyRoleOK.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**payload** | [**\keto\SDK\Model\Role**](Role.md) | | [optional] +**payload** | [**\ketoSDK\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/lib/Api/EnginesApi.php b/sdk/php/swagger/lib/Api/EnginesApi.php index ef5af35d7..e42689a28 100644 --- a/sdk/php/swagger/lib/Api/EnginesApi.php +++ b/sdk/php/swagger/lib/Api/EnginesApi.php @@ -4,7 +4,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -26,18 +26,18 @@ * Do not edit the class manually. */ -namespace keto\SDK\Api; +namespace ketoSDK\Api; -use \keto\SDK\ApiClient; -use \keto\SDK\ApiException; -use \keto\SDK\Configuration; -use \keto\SDK\ObjectSerializer; +use \ketoSDK\ApiClient; +use \ketoSDK\ApiException; +use \ketoSDK\Configuration; +use \ketoSDK\ObjectSerializer; /** * EnginesApi Class Doc Comment * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -46,16 +46,16 @@ class EnginesApi /** * API Client * - * @var \keto\SDK\ApiClient instance of the ApiClient + * @var \ketoSDK\ApiClient instance of the ApiClient */ protected $apiClient; /** * Constructor * - * @param \keto\SDK\ApiClient|null $apiClient The api client to use + * @param \ketoSDK\ApiClient|null $apiClient The api client to use */ - public function __construct(\keto\SDK\ApiClient $apiClient = null) + public function __construct(\ketoSDK\ApiClient $apiClient = null) { if ($apiClient === null) { $apiClient = new ApiClient(); @@ -67,7 +67,7 @@ public function __construct(\keto\SDK\ApiClient $apiClient = null) /** * Get API client * - * @return \keto\SDK\ApiClient get the API client + * @return \ketoSDK\ApiClient get the API client */ public function getApiClient() { @@ -77,11 +77,11 @@ public function getApiClient() /** * Set the API client * - * @param \keto\SDK\ApiClient $apiClient set the API client + * @param \ketoSDK\ApiClient $apiClient set the API client * * @return EnginesApi */ - public function setApiClient(\keto\SDK\ApiClient $apiClient) + public function setApiClient(\ketoSDK\ApiClient $apiClient) { $this->apiClient = $apiClient; return $this; @@ -96,9 +96,9 @@ public function setApiClient(\keto\SDK\ApiClient $apiClient) * * @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 + * @param \ketoSDK\Model\AddOryAccessControlPolicyRoleMembersBody $body (optional) + * @throws \ketoSDK\ApiException on non-2xx response + * @return \ketoSDK\Model\OryAccessControlPolicyRole */ public function addOryAccessControlPolicyRoleMembers($flavor, $id, $body = null) { @@ -115,9 +115,9 @@ public function addOryAccessControlPolicyRoleMembers($flavor, $id, $body = null) * * @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) + * @param \ketoSDK\Model\AddOryAccessControlPolicyRoleMembersBody $body (optional) + * @throws \ketoSDK\ApiException on non-2xx response + * @return array of \ketoSDK\Model\OryAccessControlPolicyRole, HTTP status code, HTTP response headers (array of strings) */ public function addOryAccessControlPolicyRoleMembersWithHttpInfo($flavor, $id, $body = null) { @@ -177,19 +177,19 @@ public function addOryAccessControlPolicyRoleMembersWithHttpInfo($flavor, $id, $ $queryParams, $httpBody, $headerParams, - '\keto\SDK\Model\OryAccessControlPolicyRole', + '\ketoSDK\Model\OryAccessControlPolicyRole', '/engines/acp/ory/{flavor}/roles/{id}/members' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\keto\SDK\Model\OryAccessControlPolicyRole', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\ketoSDK\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()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\ketoSDK\Model\OryAccessControlPolicyRole', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 500: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\keto\SDK\Model\InlineResponse500', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\ketoSDK\Model\InlineResponse500', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -205,7 +205,7 @@ public function addOryAccessControlPolicyRoleMembersWithHttpInfo($flavor, $id, $ * * @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 + * @throws \ketoSDK\ApiException on non-2xx response * @return void */ public function deleteOryAccessControlPolicy($flavor, $id) @@ -221,7 +221,7 @@ public function deleteOryAccessControlPolicy($flavor, $id) * * @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 + * @throws \ketoSDK\ApiException on non-2xx response * @return array of null, HTTP status code, HTTP response headers (array of strings) */ public function deleteOryAccessControlPolicyWithHttpInfo($flavor, $id) @@ -285,7 +285,7 @@ public function deleteOryAccessControlPolicyWithHttpInfo($flavor, $id) } catch (ApiException $e) { switch ($e->getCode()) { case 500: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\keto\SDK\Model\InlineResponse500', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\ketoSDK\Model\InlineResponse500', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -303,7 +303,7 @@ public function deleteOryAccessControlPolicyWithHttpInfo($flavor, $id) * * @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 + * @throws \ketoSDK\ApiException on non-2xx response * @return void */ public function deleteOryAccessControlPolicyRole($flavor, $id) @@ -321,7 +321,7 @@ public function deleteOryAccessControlPolicyRole($flavor, $id) * * @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 + * @throws \ketoSDK\ApiException on non-2xx response * @return array of null, HTTP status code, HTTP response headers (array of strings) */ public function deleteOryAccessControlPolicyRoleWithHttpInfo($flavor, $id) @@ -385,7 +385,7 @@ public function deleteOryAccessControlPolicyRoleWithHttpInfo($flavor, $id) } catch (ApiException $e) { switch ($e->getCode()) { case 500: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\keto\SDK\Model\InlineResponse500', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\ketoSDK\Model\InlineResponse500', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -402,9 +402,9 @@ public function deleteOryAccessControlPolicyRoleWithHttpInfo($flavor, $id) * 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 + * @param \ketoSDK\Model\OryAccessControlPolicyAllowedInput $body (optional) + * @throws \ketoSDK\ApiException on non-2xx response + * @return \ketoSDK\Model\AuthorizationResult */ public function doOryAccessControlPoliciesAllow($flavor, $body = null) { @@ -420,9 +420,9 @@ public function doOryAccessControlPoliciesAllow($flavor, $body = null) * 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) + * @param \ketoSDK\Model\OryAccessControlPolicyAllowedInput $body (optional) + * @throws \ketoSDK\ApiException on non-2xx response + * @return array of \ketoSDK\Model\AuthorizationResult, HTTP status code, HTTP response headers (array of strings) */ public function doOryAccessControlPoliciesAllowWithHttpInfo($flavor, $body = null) { @@ -470,23 +470,23 @@ public function doOryAccessControlPoliciesAllowWithHttpInfo($flavor, $body = nul $queryParams, $httpBody, $headerParams, - '\keto\SDK\Model\AuthorizationResult', + '\ketoSDK\Model\AuthorizationResult', '/engines/acp/ory/{flavor}/allowed' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\keto\SDK\Model\AuthorizationResult', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\ketoSDK\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()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\ketoSDK\Model\AuthorizationResult', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 403: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\keto\SDK\Model\AuthorizationResult', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\ketoSDK\Model\AuthorizationResult', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 500: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\keto\SDK\Model\InlineResponse500', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\ketoSDK\Model\InlineResponse500', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -502,8 +502,8 @@ public function doOryAccessControlPoliciesAllowWithHttpInfo($flavor, $body = nul * * @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 + * @throws \ketoSDK\ApiException on non-2xx response + * @return \ketoSDK\Model\OryAccessControlPolicy */ public function getOryAccessControlPolicy($flavor, $id) { @@ -518,8 +518,8 @@ public function getOryAccessControlPolicy($flavor, $id) * * @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) + * @throws \ketoSDK\ApiException on non-2xx response + * @return array of \ketoSDK\Model\OryAccessControlPolicy, HTTP status code, HTTP response headers (array of strings) */ public function getOryAccessControlPolicyWithHttpInfo($flavor, $id) { @@ -574,23 +574,23 @@ public function getOryAccessControlPolicyWithHttpInfo($flavor, $id) $queryParams, $httpBody, $headerParams, - '\keto\SDK\Model\OryAccessControlPolicy', + '\ketoSDK\Model\OryAccessControlPolicy', '/engines/acp/ory/{flavor}/policies/{id}' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\keto\SDK\Model\OryAccessControlPolicy', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\ketoSDK\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()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\ketoSDK\Model\OryAccessControlPolicy', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\keto\SDK\Model\InlineResponse500', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\ketoSDK\Model\InlineResponse500', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 500: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\keto\SDK\Model\InlineResponse500', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\ketoSDK\Model\InlineResponse500', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -608,8 +608,8 @@ public function getOryAccessControlPolicyWithHttpInfo($flavor, $id) * * @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 + * @throws \ketoSDK\ApiException on non-2xx response + * @return \ketoSDK\Model\OryAccessControlPolicyRole */ public function getOryAccessControlPolicyRole($flavor, $id) { @@ -626,8 +626,8 @@ public function getOryAccessControlPolicyRole($flavor, $id) * * @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) + * @throws \ketoSDK\ApiException on non-2xx response + * @return array of \ketoSDK\Model\OryAccessControlPolicyRole, HTTP status code, HTTP response headers (array of strings) */ public function getOryAccessControlPolicyRoleWithHttpInfo($flavor, $id) { @@ -682,23 +682,23 @@ public function getOryAccessControlPolicyRoleWithHttpInfo($flavor, $id) $queryParams, $httpBody, $headerParams, - '\keto\SDK\Model\OryAccessControlPolicyRole', + '\ketoSDK\Model\OryAccessControlPolicyRole', '/engines/acp/ory/{flavor}/roles/{id}' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\keto\SDK\Model\OryAccessControlPolicyRole', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\ketoSDK\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()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\ketoSDK\Model\OryAccessControlPolicyRole', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\keto\SDK\Model\InlineResponse500', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\ketoSDK\Model\InlineResponse500', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 500: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\keto\SDK\Model\InlineResponse500', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\ketoSDK\Model\InlineResponse500', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -715,8 +715,8 @@ public function getOryAccessControlPolicyRoleWithHttpInfo($flavor, $id) * @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) - * @throws \keto\SDK\ApiException on non-2xx response - * @return \keto\SDK\Model\OryAccessControlPolicy[] + * @throws \ketoSDK\ApiException on non-2xx response + * @return \ketoSDK\Model\OryAccessControlPolicy[] */ public function listOryAccessControlPolicies($flavor, $limit = null, $offset = null) { @@ -732,8 +732,8 @@ public function listOryAccessControlPolicies($flavor, $limit = null, $offset = n * @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) - * @throws \keto\SDK\ApiException on non-2xx response - * @return array of \keto\SDK\Model\OryAccessControlPolicy[], HTTP status code, HTTP response headers (array of strings) + * @throws \ketoSDK\ApiException on non-2xx response + * @return array of \ketoSDK\Model\OryAccessControlPolicy[], HTTP status code, HTTP response headers (array of strings) */ public function listOryAccessControlPoliciesWithHttpInfo($flavor, $limit = null, $offset = null) { @@ -784,19 +784,19 @@ public function listOryAccessControlPoliciesWithHttpInfo($flavor, $limit = null, $queryParams, $httpBody, $headerParams, - '\keto\SDK\Model\OryAccessControlPolicy[]', + '\ketoSDK\Model\OryAccessControlPolicy[]', '/engines/acp/ory/{flavor}/policies' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\keto\SDK\Model\OryAccessControlPolicy[]', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\ketoSDK\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()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\ketoSDK\Model\OryAccessControlPolicy[]', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 500: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\keto\SDK\Model\InlineResponse500', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\ketoSDK\Model\InlineResponse500', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -815,8 +815,8 @@ public function listOryAccessControlPoliciesWithHttpInfo($flavor, $limit = null, * @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) - * @throws \keto\SDK\ApiException on non-2xx response - * @return \keto\SDK\Model\OryAccessControlPolicyRole[] + * @throws \ketoSDK\ApiException on non-2xx response + * @return \ketoSDK\Model\OryAccessControlPolicyRole[] */ public function listOryAccessControlPolicyRoles($flavor, $limit = null, $offset = null) { @@ -834,8 +834,8 @@ public function listOryAccessControlPolicyRoles($flavor, $limit = null, $offset * @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) - * @throws \keto\SDK\ApiException on non-2xx response - * @return array of \keto\SDK\Model\OryAccessControlPolicyRole[], HTTP status code, HTTP response headers (array of strings) + * @throws \ketoSDK\ApiException on non-2xx response + * @return array of \ketoSDK\Model\OryAccessControlPolicyRole[], HTTP status code, HTTP response headers (array of strings) */ public function listOryAccessControlPolicyRolesWithHttpInfo($flavor, $limit = null, $offset = null) { @@ -886,19 +886,19 @@ public function listOryAccessControlPolicyRolesWithHttpInfo($flavor, $limit = nu $queryParams, $httpBody, $headerParams, - '\keto\SDK\Model\OryAccessControlPolicyRole[]', + '\ketoSDK\Model\OryAccessControlPolicyRole[]', '/engines/acp/ory/{flavor}/roles' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\keto\SDK\Model\OryAccessControlPolicyRole[]', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\ketoSDK\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()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\ketoSDK\Model\OryAccessControlPolicyRole[]', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 500: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\keto\SDK\Model\InlineResponse500', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\ketoSDK\Model\InlineResponse500', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -917,7 +917,7 @@ public function listOryAccessControlPolicyRolesWithHttpInfo($flavor, $limit = nu * @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 + * @throws \ketoSDK\ApiException on non-2xx response * @return void */ public function removeOryAccessControlPolicyRoleMembers($flavor, $id, $member) @@ -936,7 +936,7 @@ public function removeOryAccessControlPolicyRoleMembers($flavor, $id, $member) * @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 + * @throws \ketoSDK\ApiException on non-2xx response * @return array of null, HTTP status code, HTTP response headers (array of strings) */ public function removeOryAccessControlPolicyRoleMembersWithHttpInfo($flavor, $id, $member) @@ -1012,7 +1012,7 @@ public function removeOryAccessControlPolicyRoleMembersWithHttpInfo($flavor, $id } catch (ApiException $e) { switch ($e->getCode()) { case 500: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\keto\SDK\Model\InlineResponse500', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\ketoSDK\Model\InlineResponse500', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -1027,9 +1027,9 @@ public function removeOryAccessControlPolicyRoleMembersWithHttpInfo($flavor, $id * 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 + * @param \ketoSDK\Model\OryAccessControlPolicy $body (optional) + * @throws \ketoSDK\ApiException on non-2xx response + * @return \ketoSDK\Model\OryAccessControlPolicy */ public function upsertOryAccessControlPolicy($flavor, $body = null) { @@ -1043,9 +1043,9 @@ public function upsertOryAccessControlPolicy($flavor, $body = null) * 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) + * @param \ketoSDK\Model\OryAccessControlPolicy $body (optional) + * @throws \ketoSDK\ApiException on non-2xx response + * @return array of \ketoSDK\Model\OryAccessControlPolicy, HTTP status code, HTTP response headers (array of strings) */ public function upsertOryAccessControlPolicyWithHttpInfo($flavor, $body = null) { @@ -1093,19 +1093,19 @@ public function upsertOryAccessControlPolicyWithHttpInfo($flavor, $body = null) $queryParams, $httpBody, $headerParams, - '\keto\SDK\Model\OryAccessControlPolicy', + '\ketoSDK\Model\OryAccessControlPolicy', '/engines/acp/ory/{flavor}/policies' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\keto\SDK\Model\OryAccessControlPolicy', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\ketoSDK\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()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\ketoSDK\Model\OryAccessControlPolicy', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 500: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\keto\SDK\Model\InlineResponse500', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\ketoSDK\Model\InlineResponse500', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -1122,9 +1122,9 @@ public function upsertOryAccessControlPolicyWithHttpInfo($flavor, $body = null) * 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 + * @param \ketoSDK\Model\OryAccessControlPolicyRole $body (optional) + * @throws \ketoSDK\ApiException on non-2xx response + * @return \ketoSDK\Model\OryAccessControlPolicyRole */ public function upsertOryAccessControlPolicyRole($flavor, $body = null) { @@ -1140,9 +1140,9 @@ public function upsertOryAccessControlPolicyRole($flavor, $body = null) * 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) + * @param \ketoSDK\Model\OryAccessControlPolicyRole $body (optional) + * @throws \ketoSDK\ApiException on non-2xx response + * @return array of \ketoSDK\Model\OryAccessControlPolicyRole, HTTP status code, HTTP response headers (array of strings) */ public function upsertOryAccessControlPolicyRoleWithHttpInfo($flavor, $body = null) { @@ -1190,19 +1190,19 @@ public function upsertOryAccessControlPolicyRoleWithHttpInfo($flavor, $body = nu $queryParams, $httpBody, $headerParams, - '\keto\SDK\Model\OryAccessControlPolicyRole', + '\ketoSDK\Model\OryAccessControlPolicyRole', '/engines/acp/ory/{flavor}/roles' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\keto\SDK\Model\OryAccessControlPolicyRole', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\ketoSDK\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()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\ketoSDK\Model\OryAccessControlPolicyRole', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 500: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\keto\SDK\Model\InlineResponse500', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\ketoSDK\Model\InlineResponse500', $e->getResponseHeaders()); $e->setResponseObject($data); break; } diff --git a/sdk/php/swagger/lib/Api/HealthApi.php b/sdk/php/swagger/lib/Api/HealthApi.php index 50cfdd6ac..e32fcf460 100644 --- a/sdk/php/swagger/lib/Api/HealthApi.php +++ b/sdk/php/swagger/lib/Api/HealthApi.php @@ -4,7 +4,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -26,18 +26,18 @@ * Do not edit the class manually. */ -namespace keto\SDK\Api; +namespace ketoSDK\Api; -use \keto\SDK\ApiClient; -use \keto\SDK\ApiException; -use \keto\SDK\Configuration; -use \keto\SDK\ObjectSerializer; +use \ketoSDK\ApiClient; +use \ketoSDK\ApiException; +use \ketoSDK\Configuration; +use \ketoSDK\ObjectSerializer; /** * HealthApi Class Doc Comment * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -46,16 +46,16 @@ class HealthApi /** * API Client * - * @var \keto\SDK\ApiClient instance of the ApiClient + * @var \ketoSDK\ApiClient instance of the ApiClient */ protected $apiClient; /** * Constructor * - * @param \keto\SDK\ApiClient|null $apiClient The api client to use + * @param \ketoSDK\ApiClient|null $apiClient The api client to use */ - public function __construct(\keto\SDK\ApiClient $apiClient = null) + public function __construct(\ketoSDK\ApiClient $apiClient = null) { if ($apiClient === null) { $apiClient = new ApiClient(); @@ -67,7 +67,7 @@ public function __construct(\keto\SDK\ApiClient $apiClient = null) /** * Get API client * - * @return \keto\SDK\ApiClient get the API client + * @return \ketoSDK\ApiClient get the API client */ public function getApiClient() { @@ -77,11 +77,11 @@ public function getApiClient() /** * Set the API client * - * @param \keto\SDK\ApiClient $apiClient set the API client + * @param \ketoSDK\ApiClient $apiClient set the API client * * @return HealthApi */ - public function setApiClient(\keto\SDK\ApiClient $apiClient) + public function setApiClient(\ketoSDK\ApiClient $apiClient) { $this->apiClient = $apiClient; return $this; @@ -94,8 +94,8 @@ public function setApiClient(\keto\SDK\ApiClient $apiClient) * * Client for keto * - * @throws \keto\SDK\ApiException on non-2xx response - * @return \keto\SDK\Model\HealthStatus + * @throws \ketoSDK\ApiException on non-2xx response + * @return \ketoSDK\Model\HealthStatus */ public function isInstanceAlive() { @@ -110,8 +110,8 @@ public function isInstanceAlive() * * 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) + * @throws \ketoSDK\ApiException on non-2xx response + * @return array of \ketoSDK\Model\HealthStatus, HTTP status code, HTTP response headers (array of strings) */ public function isInstanceAliveWithHttpInfo() { @@ -142,19 +142,19 @@ public function isInstanceAliveWithHttpInfo() $queryParams, $httpBody, $headerParams, - '\keto\SDK\Model\HealthStatus', + '\ketoSDK\Model\HealthStatus', '/health/alive' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\keto\SDK\Model\HealthStatus', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\ketoSDK\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()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\ketoSDK\Model\HealthStatus', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 500: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\keto\SDK\Model\InlineResponse500', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\ketoSDK\Model\InlineResponse500', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -170,8 +170,8 @@ public function isInstanceAliveWithHttpInfo() * * Client for keto * - * @throws \keto\SDK\ApiException on non-2xx response - * @return \keto\SDK\Model\HealthStatus + * @throws \ketoSDK\ApiException on non-2xx response + * @return \ketoSDK\Model\HealthStatus */ public function isInstanceReady() { @@ -186,8 +186,8 @@ public function isInstanceReady() * * 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) + * @throws \ketoSDK\ApiException on non-2xx response + * @return array of \ketoSDK\Model\HealthStatus, HTTP status code, HTTP response headers (array of strings) */ public function isInstanceReadyWithHttpInfo() { @@ -218,19 +218,19 @@ public function isInstanceReadyWithHttpInfo() $queryParams, $httpBody, $headerParams, - '\keto\SDK\Model\HealthStatus', + '\ketoSDK\Model\HealthStatus', '/health/ready' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\keto\SDK\Model\HealthStatus', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\ketoSDK\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()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\ketoSDK\Model\HealthStatus', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 503: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\keto\SDK\Model\HealthNotReadyStatus', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\ketoSDK\Model\HealthNotReadyStatus', $e->getResponseHeaders()); $e->setResponseObject($data); break; } diff --git a/sdk/php/swagger/lib/Api/VersionApi.php b/sdk/php/swagger/lib/Api/VersionApi.php index 09dc91496..108943306 100644 --- a/sdk/php/swagger/lib/Api/VersionApi.php +++ b/sdk/php/swagger/lib/Api/VersionApi.php @@ -4,7 +4,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -26,18 +26,18 @@ * Do not edit the class manually. */ -namespace keto\SDK\Api; +namespace ketoSDK\Api; -use \keto\SDK\ApiClient; -use \keto\SDK\ApiException; -use \keto\SDK\Configuration; -use \keto\SDK\ObjectSerializer; +use \ketoSDK\ApiClient; +use \ketoSDK\ApiException; +use \ketoSDK\Configuration; +use \ketoSDK\ObjectSerializer; /** * VersionApi Class Doc Comment * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -46,16 +46,16 @@ class VersionApi /** * API Client * - * @var \keto\SDK\ApiClient instance of the ApiClient + * @var \ketoSDK\ApiClient instance of the ApiClient */ protected $apiClient; /** * Constructor * - * @param \keto\SDK\ApiClient|null $apiClient The api client to use + * @param \ketoSDK\ApiClient|null $apiClient The api client to use */ - public function __construct(\keto\SDK\ApiClient $apiClient = null) + public function __construct(\ketoSDK\ApiClient $apiClient = null) { if ($apiClient === null) { $apiClient = new ApiClient(); @@ -67,7 +67,7 @@ public function __construct(\keto\SDK\ApiClient $apiClient = null) /** * Get API client * - * @return \keto\SDK\ApiClient get the API client + * @return \ketoSDK\ApiClient get the API client */ public function getApiClient() { @@ -77,11 +77,11 @@ public function getApiClient() /** * Set the API client * - * @param \keto\SDK\ApiClient $apiClient set the API client + * @param \ketoSDK\ApiClient $apiClient set the API client * * @return VersionApi */ - public function setApiClient(\keto\SDK\ApiClient $apiClient) + public function setApiClient(\ketoSDK\ApiClient $apiClient) { $this->apiClient = $apiClient; return $this; @@ -94,8 +94,8 @@ public function setApiClient(\keto\SDK\ApiClient $apiClient) * * Client for keto * - * @throws \keto\SDK\ApiException on non-2xx response - * @return \keto\SDK\Model\Version + * @throws \ketoSDK\ApiException on non-2xx response + * @return \ketoSDK\Model\Version */ public function getVersion() { @@ -110,8 +110,8 @@ public function getVersion() * * 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) + * @throws \ketoSDK\ApiException on non-2xx response + * @return array of \ketoSDK\Model\Version, HTTP status code, HTTP response headers (array of strings) */ public function getVersionWithHttpInfo() { @@ -142,15 +142,15 @@ public function getVersionWithHttpInfo() $queryParams, $httpBody, $headerParams, - '\keto\SDK\Model\Version', + '\ketoSDK\Model\Version', '/version' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\keto\SDK\Model\Version', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\ketoSDK\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()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\ketoSDK\Model\Version', $e->getResponseHeaders()); $e->setResponseObject($data); break; } diff --git a/sdk/php/swagger/lib/ApiClient.php b/sdk/php/swagger/lib/ApiClient.php index 8b5af635c..c3f84e246 100644 --- a/sdk/php/swagger/lib/ApiClient.php +++ b/sdk/php/swagger/lib/ApiClient.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,13 +27,13 @@ * Do not edit the class manually. */ -namespace keto\SDK; +namespace ketoSDK; /** * ApiClient Class Doc Comment * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -66,7 +66,7 @@ class ApiClient * * @param Configuration $config config for this ApiClient */ - public function __construct(\keto\SDK\Configuration $config = null) + public function __construct(\ketoSDK\Configuration $config = null) { if ($config === null) { $config = Configuration::getDefaultConfiguration(); @@ -132,7 +132,7 @@ public function getApiKeyWithPrefix($apiKeyIdentifier) * @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 + * @throws \ketoSDK\ApiException on a non 2xx response * @return mixed */ public function callApi($resourcePath, $method, $queryParams, $postData, $headerParams, $responseType = null, $endpointPath = null) @@ -153,7 +153,7 @@ public function callApi($resourcePath, $method, $queryParams, $postData, $header 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)); + $postData = json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($postData)); } $url = $this->config->getHost() . $resourcePath; diff --git a/sdk/php/swagger/lib/ApiException.php b/sdk/php/swagger/lib/ApiException.php index eb8d16d75..2a8bdcc74 100644 --- a/sdk/php/swagger/lib/ApiException.php +++ b/sdk/php/swagger/lib/ApiException.php @@ -4,7 +4,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -26,7 +26,7 @@ * Do not edit the class manually. */ -namespace keto\SDK; +namespace ketoSDK; use \Exception; @@ -34,7 +34,7 @@ * ApiException Class Doc Comment * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/sdk/php/swagger/lib/Configuration.php b/sdk/php/swagger/lib/Configuration.php index ee41f6196..c34f2572d 100644 --- a/sdk/php/swagger/lib/Configuration.php +++ b/sdk/php/swagger/lib/Configuration.php @@ -4,7 +4,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -26,14 +26,14 @@ * Do not edit the class manually. */ -namespace keto\SDK; +namespace ketoSDK; /** * Configuration Class Doc Comment * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -724,7 +724,7 @@ public static function setDefaultConfiguration(Configuration $config) */ public static function toDebugReport() { - $report = 'PHP SDK (keto\SDK) Debug Report:' . PHP_EOL; + $report = 'PHP SDK (ketoSDK) Debug Report:' . PHP_EOL; $report .= ' OS: ' . php_uname() . PHP_EOL; $report .= ' PHP Version: ' . PHP_VERSION . PHP_EOL; $report .= ' OpenAPI Spec Version: Latest' . PHP_EOL; diff --git a/sdk/php/swagger/lib/Model/AddOryAccessControlPolicyRoleMembers.php b/sdk/php/swagger/lib/Model/AddOryAccessControlPolicyRoleMembers.php index 1df400c95..d7cc3aeea 100644 --- a/sdk/php/swagger/lib/Model/AddOryAccessControlPolicyRoleMembers.php +++ b/sdk/php/swagger/lib/Model/AddOryAccessControlPolicyRoleMembers.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * AddOryAccessControlPolicyRoleMembers Class Doc Comment * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -54,7 +54,7 @@ class AddOryAccessControlPolicyRoleMembers implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ - 'body' => '\keto\SDK\Model\AddOryAccessControlPolicyRoleMembersBody', + 'body' => '\ketoSDK\Model\AddOryAccessControlPolicyRoleMembersBody', 'flavor' => 'string', 'id' => 'string' ]; @@ -186,7 +186,7 @@ public function valid() /** * Gets body - * @return \keto\SDK\Model\AddOryAccessControlPolicyRoleMembersBody + * @return \ketoSDK\Model\AddOryAccessControlPolicyRoleMembersBody */ public function getBody() { @@ -195,7 +195,7 @@ public function getBody() /** * Sets body - * @param \keto\SDK\Model\AddOryAccessControlPolicyRoleMembersBody $body + * @param \ketoSDK\Model\AddOryAccessControlPolicyRoleMembersBody $body * @return $this */ public function setBody($body) @@ -298,10 +298,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/AddOryAccessControlPolicyRoleMembersBody.php b/sdk/php/swagger/lib/Model/AddOryAccessControlPolicyRoleMembersBody.php index 8a04e3847..191113d5f 100644 --- a/sdk/php/swagger/lib/Model/AddOryAccessControlPolicyRoleMembersBody.php +++ b/sdk/php/swagger/lib/Model/AddOryAccessControlPolicyRoleMembersBody.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * AddOryAccessControlPolicyRoleMembersBody Class Doc Comment * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -232,10 +232,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/AddOryAccessControlPolicyRoleMembersInternalServerError.php b/sdk/php/swagger/lib/Model/AddOryAccessControlPolicyRoleMembersInternalServerError.php index ccb721e63..879b41c80 100644 --- a/sdk/php/swagger/lib/Model/AddOryAccessControlPolicyRoleMembersInternalServerError.php +++ b/sdk/php/swagger/lib/Model/AddOryAccessControlPolicyRoleMembersInternalServerError.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -36,7 +36,7 @@ * * @category Class * @description The standard error format - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -55,7 +55,7 @@ class AddOryAccessControlPolicyRoleMembersInternalServerError implements ArrayAc * @var string[] */ protected static $swaggerTypes = [ - 'payload' => '\keto\SDK\Model\AddOryAccessControlPolicyRoleMembersInternalServerErrorBody' + 'payload' => '\ketoSDK\Model\AddOryAccessControlPolicyRoleMembersInternalServerErrorBody' ]; /** @@ -163,7 +163,7 @@ public function valid() /** * Gets payload - * @return \keto\SDK\Model\AddOryAccessControlPolicyRoleMembersInternalServerErrorBody + * @return \ketoSDK\Model\AddOryAccessControlPolicyRoleMembersInternalServerErrorBody */ public function getPayload() { @@ -172,7 +172,7 @@ public function getPayload() /** * Sets payload - * @param \keto\SDK\Model\AddOryAccessControlPolicyRoleMembersInternalServerErrorBody $payload + * @param \ketoSDK\Model\AddOryAccessControlPolicyRoleMembersInternalServerErrorBody $payload * @return $this */ public function setPayload($payload) @@ -233,10 +233,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/AddOryAccessControlPolicyRoleMembersInternalServerErrorBody.php b/sdk/php/swagger/lib/Model/AddOryAccessControlPolicyRoleMembersInternalServerErrorBody.php index e98bf9ab9..04d8d55ba 100644 --- a/sdk/php/swagger/lib/Model/AddOryAccessControlPolicyRoleMembersInternalServerErrorBody.php +++ b/sdk/php/swagger/lib/Model/AddOryAccessControlPolicyRoleMembersInternalServerErrorBody.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -35,8 +35,8 @@ * AddOryAccessControlPolicyRoleMembersInternalServerErrorBody Class Doc Comment * * @category Class - * @description AddOryAccessControlPolicyRoleMembersInternalServerErrorBody AddOryAccessControlPolicyRoleMembersInternalServerErrorBody AddOryAccessControlPolicyRoleMembersInternalServerErrorBody add ory access control policy role members internal server error body - * @package keto\SDK + * @description AddOryAccessControlPolicyRoleMembersInternalServerErrorBody add ory access control policy role members internal server error body + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -368,10 +368,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/AddOryAccessControlPolicyRoleMembersOK.php b/sdk/php/swagger/lib/Model/AddOryAccessControlPolicyRoleMembersOK.php index 2e8533181..65480eacd 100644 --- a/sdk/php/swagger/lib/Model/AddOryAccessControlPolicyRoleMembersOK.php +++ b/sdk/php/swagger/lib/Model/AddOryAccessControlPolicyRoleMembersOK.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -36,7 +36,7 @@ * * @category Class * @description oryAccessControlPolicyRole - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -55,7 +55,7 @@ class AddOryAccessControlPolicyRoleMembersOK implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ - 'payload' => '\keto\SDK\Model\Role' + 'payload' => '\ketoSDK\Model\OryAccessControlPolicyRole' ]; /** @@ -163,7 +163,7 @@ public function valid() /** * Gets payload - * @return \keto\SDK\Model\Role + * @return \ketoSDK\Model\OryAccessControlPolicyRole */ public function getPayload() { @@ -172,7 +172,7 @@ public function getPayload() /** * Sets payload - * @param \keto\SDK\Model\Role $payload + * @param \ketoSDK\Model\OryAccessControlPolicyRole $payload * @return $this */ public function setPayload($payload) @@ -233,10 +233,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/AddOryAccessControlPolicyRoleMembersReader.php b/sdk/php/swagger/lib/Model/AddOryAccessControlPolicyRoleMembersReader.php index 2d6206096..b7158781b 100644 --- a/sdk/php/swagger/lib/Model/AddOryAccessControlPolicyRoleMembersReader.php +++ b/sdk/php/swagger/lib/Model/AddOryAccessControlPolicyRoleMembersReader.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * AddOryAccessControlPolicyRoleMembersReader Class Doc Comment * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -210,10 +210,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/AuthorizationResult.php b/sdk/php/swagger/lib/Model/AuthorizationResult.php index f634bd48a..92c0afe01 100644 --- a/sdk/php/swagger/lib/Model/AuthorizationResult.php +++ b/sdk/php/swagger/lib/Model/AuthorizationResult.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * AuthorizationResult Class Doc Comment * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -238,10 +238,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/Context.php b/sdk/php/swagger/lib/Model/Context.php index ce2e01d5e..adab55fb7 100644 --- a/sdk/php/swagger/lib/Model/Context.php +++ b/sdk/php/swagger/lib/Model/Context.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -35,8 +35,8 @@ * Context Class Doc Comment * * @category Class - * @description Context Context Context Context Context Context Context context - * @package keto\SDK + * @description Context Context Context Context Context Context Context Context context + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -214,10 +214,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicy.php b/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicy.php index 0729279a7..561cf1243 100644 --- a/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicy.php +++ b/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicy.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * DeleteOryAccessControlPolicy Class Doc Comment * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -271,10 +271,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicyCreated.php b/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicyCreated.php index 324062adf..50499a4f3 100644 --- a/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicyCreated.php +++ b/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicyCreated.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -36,7 +36,7 @@ * * @category Class * @description An empty response - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -211,10 +211,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicyInternalServerError.php b/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicyInternalServerError.php index 794ccf563..5395abb95 100644 --- a/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicyInternalServerError.php +++ b/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicyInternalServerError.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -36,7 +36,7 @@ * * @category Class * @description The standard error format - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -55,7 +55,7 @@ class DeleteOryAccessControlPolicyInternalServerError implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ - 'payload' => '\keto\SDK\Model\DeleteOryAccessControlPolicyInternalServerErrorBody' + 'payload' => '\ketoSDK\Model\DeleteOryAccessControlPolicyInternalServerErrorBody' ]; /** @@ -163,7 +163,7 @@ public function valid() /** * Gets payload - * @return \keto\SDK\Model\DeleteOryAccessControlPolicyInternalServerErrorBody + * @return \ketoSDK\Model\DeleteOryAccessControlPolicyInternalServerErrorBody */ public function getPayload() { @@ -172,7 +172,7 @@ public function getPayload() /** * Sets payload - * @param \keto\SDK\Model\DeleteOryAccessControlPolicyInternalServerErrorBody $payload + * @param \ketoSDK\Model\DeleteOryAccessControlPolicyInternalServerErrorBody $payload * @return $this */ public function setPayload($payload) @@ -233,10 +233,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicyInternalServerErrorBody.php b/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicyInternalServerErrorBody.php index e31680ed9..c58b2a56b 100644 --- a/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicyInternalServerErrorBody.php +++ b/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicyInternalServerErrorBody.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -35,8 +35,8 @@ * DeleteOryAccessControlPolicyInternalServerErrorBody Class Doc Comment * * @category Class - * @description DeleteOryAccessControlPolicyInternalServerErrorBody DeleteOryAccessControlPolicyInternalServerErrorBody DeleteOryAccessControlPolicyInternalServerErrorBody delete ory access control policy internal server error body - * @package keto\SDK + * @description DeleteOryAccessControlPolicyInternalServerErrorBody delete ory access control policy internal server error body + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -368,10 +368,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicyNoContent.php b/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicyNoContent.php new file mode 100644 index 000000000..19b0d1f39 --- /dev/null +++ b/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicyNoContent.php @@ -0,0 +1,221 @@ +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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + } + + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); + } +} + + diff --git a/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicyReader.php b/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicyReader.php index f7bdb6f06..0e96e84ee 100644 --- a/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicyReader.php +++ b/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicyReader.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * DeleteOryAccessControlPolicyReader Class Doc Comment * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -210,10 +210,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicyRole.php b/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicyRole.php index ad99c55d7..3d8eebd46 100644 --- a/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicyRole.php +++ b/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicyRole.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * DeleteOryAccessControlPolicyRole Class Doc Comment * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -271,10 +271,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicyRoleCreated.php b/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicyRoleCreated.php index eb5bb61a1..1ec03fb9b 100644 --- a/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicyRoleCreated.php +++ b/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicyRoleCreated.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -36,7 +36,7 @@ * * @category Class * @description An empty response - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -211,10 +211,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicyRoleInternalServerError.php b/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicyRoleInternalServerError.php index af4679f64..6f6e2a4d9 100644 --- a/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicyRoleInternalServerError.php +++ b/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicyRoleInternalServerError.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -36,7 +36,7 @@ * * @category Class * @description The standard error format - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -55,7 +55,7 @@ class DeleteOryAccessControlPolicyRoleInternalServerError implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ - 'payload' => '\keto\SDK\Model\DeleteOryAccessControlPolicyRoleInternalServerErrorBody' + 'payload' => '\ketoSDK\Model\DeleteOryAccessControlPolicyRoleInternalServerErrorBody' ]; /** @@ -163,7 +163,7 @@ public function valid() /** * Gets payload - * @return \keto\SDK\Model\DeleteOryAccessControlPolicyRoleInternalServerErrorBody + * @return \ketoSDK\Model\DeleteOryAccessControlPolicyRoleInternalServerErrorBody */ public function getPayload() { @@ -172,7 +172,7 @@ public function getPayload() /** * Sets payload - * @param \keto\SDK\Model\DeleteOryAccessControlPolicyRoleInternalServerErrorBody $payload + * @param \ketoSDK\Model\DeleteOryAccessControlPolicyRoleInternalServerErrorBody $payload * @return $this */ public function setPayload($payload) @@ -233,10 +233,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicyRoleInternalServerErrorBody.php b/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicyRoleInternalServerErrorBody.php index a3e52f8ba..afdc32bae 100644 --- a/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicyRoleInternalServerErrorBody.php +++ b/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicyRoleInternalServerErrorBody.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -35,8 +35,8 @@ * DeleteOryAccessControlPolicyRoleInternalServerErrorBody Class Doc Comment * * @category Class - * @description DeleteOryAccessControlPolicyRoleInternalServerErrorBody DeleteOryAccessControlPolicyRoleInternalServerErrorBody DeleteOryAccessControlPolicyRoleInternalServerErrorBody delete ory access control policy role internal server error body - * @package keto\SDK + * @description DeleteOryAccessControlPolicyRoleInternalServerErrorBody delete ory access control policy role internal server error body + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -368,10 +368,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicyRoleNoContent.php b/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicyRoleNoContent.php new file mode 100644 index 000000000..8633b5dd5 --- /dev/null +++ b/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicyRoleNoContent.php @@ -0,0 +1,221 @@ +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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + } + + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); + } +} + + diff --git a/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicyRoleReader.php b/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicyRoleReader.php index 558544026..ef74e63e9 100644 --- a/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicyRoleReader.php +++ b/sdk/php/swagger/lib/Model/DeleteOryAccessControlPolicyRoleReader.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * DeleteOryAccessControlPolicyRoleReader Class Doc Comment * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -210,10 +210,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/DoOryAccessControlPoliciesAllow.php b/sdk/php/swagger/lib/Model/DoOryAccessControlPoliciesAllow.php index 5e6b7224a..b25de7f94 100644 --- a/sdk/php/swagger/lib/Model/DoOryAccessControlPoliciesAllow.php +++ b/sdk/php/swagger/lib/Model/DoOryAccessControlPoliciesAllow.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * DoOryAccessControlPoliciesAllow Class Doc Comment * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -54,7 +54,7 @@ class DoOryAccessControlPoliciesAllow implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ - 'body' => '\keto\SDK\Model\OryAccessControlPolicyAllowedInput', + 'body' => '\ketoSDK\Model\OryAccessControlPolicyAllowedInput', 'flavor' => 'string' ]; @@ -174,7 +174,7 @@ public function valid() /** * Gets body - * @return \keto\SDK\Model\OryAccessControlPolicyAllowedInput + * @return \ketoSDK\Model\OryAccessControlPolicyAllowedInput */ public function getBody() { @@ -183,7 +183,7 @@ public function getBody() /** * Sets body - * @param \keto\SDK\Model\OryAccessControlPolicyAllowedInput $body + * @param \ketoSDK\Model\OryAccessControlPolicyAllowedInput $body * @return $this */ public function setBody($body) @@ -265,10 +265,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/DoOryAccessControlPoliciesAllowForbidden.php b/sdk/php/swagger/lib/Model/DoOryAccessControlPoliciesAllowForbidden.php index 8c638fa2b..a45bdc2fb 100644 --- a/sdk/php/swagger/lib/Model/DoOryAccessControlPoliciesAllowForbidden.php +++ b/sdk/php/swagger/lib/Model/DoOryAccessControlPoliciesAllowForbidden.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -36,7 +36,7 @@ * * @category Class * @description authorizationResult - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -55,7 +55,7 @@ class DoOryAccessControlPoliciesAllowForbidden implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ - 'payload' => '\keto\SDK\Model\AuthorizationResult' + 'payload' => '\ketoSDK\Model\AuthorizationResult' ]; /** @@ -163,7 +163,7 @@ public function valid() /** * Gets payload - * @return \keto\SDK\Model\AuthorizationResult + * @return \ketoSDK\Model\AuthorizationResult */ public function getPayload() { @@ -172,7 +172,7 @@ public function getPayload() /** * Sets payload - * @param \keto\SDK\Model\AuthorizationResult $payload + * @param \ketoSDK\Model\AuthorizationResult $payload * @return $this */ public function setPayload($payload) @@ -233,10 +233,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/DoOryAccessControlPoliciesAllowInternalServerError.php b/sdk/php/swagger/lib/Model/DoOryAccessControlPoliciesAllowInternalServerError.php index 26f1c50a9..5b1ba2aca 100644 --- a/sdk/php/swagger/lib/Model/DoOryAccessControlPoliciesAllowInternalServerError.php +++ b/sdk/php/swagger/lib/Model/DoOryAccessControlPoliciesAllowInternalServerError.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -36,7 +36,7 @@ * * @category Class * @description The standard error format - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -55,7 +55,7 @@ class DoOryAccessControlPoliciesAllowInternalServerError implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ - 'payload' => '\keto\SDK\Model\DoOryAccessControlPoliciesAllowInternalServerErrorBody' + 'payload' => '\ketoSDK\Model\DoOryAccessControlPoliciesAllowInternalServerErrorBody' ]; /** @@ -163,7 +163,7 @@ public function valid() /** * Gets payload - * @return \keto\SDK\Model\DoOryAccessControlPoliciesAllowInternalServerErrorBody + * @return \ketoSDK\Model\DoOryAccessControlPoliciesAllowInternalServerErrorBody */ public function getPayload() { @@ -172,7 +172,7 @@ public function getPayload() /** * Sets payload - * @param \keto\SDK\Model\DoOryAccessControlPoliciesAllowInternalServerErrorBody $payload + * @param \ketoSDK\Model\DoOryAccessControlPoliciesAllowInternalServerErrorBody $payload * @return $this */ public function setPayload($payload) @@ -233,10 +233,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/DoOryAccessControlPoliciesAllowInternalServerErrorBody.php b/sdk/php/swagger/lib/Model/DoOryAccessControlPoliciesAllowInternalServerErrorBody.php index 025e67928..8e65f47ff 100644 --- a/sdk/php/swagger/lib/Model/DoOryAccessControlPoliciesAllowInternalServerErrorBody.php +++ b/sdk/php/swagger/lib/Model/DoOryAccessControlPoliciesAllowInternalServerErrorBody.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -35,8 +35,8 @@ * DoOryAccessControlPoliciesAllowInternalServerErrorBody Class Doc Comment * * @category Class - * @description DoOryAccessControlPoliciesAllowInternalServerErrorBody DoOryAccessControlPoliciesAllowInternalServerErrorBody DoOryAccessControlPoliciesAllowInternalServerErrorBody do ory access control policies allow internal server error body - * @package keto\SDK + * @description DoOryAccessControlPoliciesAllowInternalServerErrorBody do ory access control policies allow internal server error body + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -368,10 +368,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/DoOryAccessControlPoliciesAllowOK.php b/sdk/php/swagger/lib/Model/DoOryAccessControlPoliciesAllowOK.php index fd4841d41..310c471af 100644 --- a/sdk/php/swagger/lib/Model/DoOryAccessControlPoliciesAllowOK.php +++ b/sdk/php/swagger/lib/Model/DoOryAccessControlPoliciesAllowOK.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -36,7 +36,7 @@ * * @category Class * @description authorizationResult - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -55,7 +55,7 @@ class DoOryAccessControlPoliciesAllowOK implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ - 'payload' => '\keto\SDK\Model\AuthorizationResult' + 'payload' => '\ketoSDK\Model\AuthorizationResult' ]; /** @@ -163,7 +163,7 @@ public function valid() /** * Gets payload - * @return \keto\SDK\Model\AuthorizationResult + * @return \ketoSDK\Model\AuthorizationResult */ public function getPayload() { @@ -172,7 +172,7 @@ public function getPayload() /** * Sets payload - * @param \keto\SDK\Model\AuthorizationResult $payload + * @param \ketoSDK\Model\AuthorizationResult $payload * @return $this */ public function setPayload($payload) @@ -233,10 +233,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/DoOryAccessControlPoliciesAllowReader.php b/sdk/php/swagger/lib/Model/DoOryAccessControlPoliciesAllowReader.php index d1b11841f..b6733ade6 100644 --- a/sdk/php/swagger/lib/Model/DoOryAccessControlPoliciesAllowReader.php +++ b/sdk/php/swagger/lib/Model/DoOryAccessControlPoliciesAllowReader.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * DoOryAccessControlPoliciesAllowReader Class Doc Comment * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -210,10 +210,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/GetOryAccessControlPolicy.php b/sdk/php/swagger/lib/Model/GetOryAccessControlPolicy.php index 2d472934f..25901d77c 100644 --- a/sdk/php/swagger/lib/Model/GetOryAccessControlPolicy.php +++ b/sdk/php/swagger/lib/Model/GetOryAccessControlPolicy.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetOryAccessControlPolicy Class Doc Comment * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -271,10 +271,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyInternalServerError.php b/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyInternalServerError.php index 8f12461b6..7f4e0ac14 100644 --- a/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyInternalServerError.php +++ b/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyInternalServerError.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -36,7 +36,7 @@ * * @category Class * @description The standard error format - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -55,7 +55,7 @@ class GetOryAccessControlPolicyInternalServerError implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ - 'payload' => '\keto\SDK\Model\GetOryAccessControlPolicyInternalServerErrorBody' + 'payload' => '\ketoSDK\Model\GetOryAccessControlPolicyInternalServerErrorBody' ]; /** @@ -163,7 +163,7 @@ public function valid() /** * Gets payload - * @return \keto\SDK\Model\GetOryAccessControlPolicyInternalServerErrorBody + * @return \ketoSDK\Model\GetOryAccessControlPolicyInternalServerErrorBody */ public function getPayload() { @@ -172,7 +172,7 @@ public function getPayload() /** * Sets payload - * @param \keto\SDK\Model\GetOryAccessControlPolicyInternalServerErrorBody $payload + * @param \ketoSDK\Model\GetOryAccessControlPolicyInternalServerErrorBody $payload * @return $this */ public function setPayload($payload) @@ -233,10 +233,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyInternalServerErrorBody.php b/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyInternalServerErrorBody.php index 92e8b0b88..0051310a8 100644 --- a/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyInternalServerErrorBody.php +++ b/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyInternalServerErrorBody.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -35,8 +35,8 @@ * GetOryAccessControlPolicyInternalServerErrorBody Class Doc Comment * * @category Class - * @description GetOryAccessControlPolicyInternalServerErrorBody GetOryAccessControlPolicyInternalServerErrorBody GetOryAccessControlPolicyInternalServerErrorBody get ory access control policy internal server error body - * @package keto\SDK + * @description GetOryAccessControlPolicyInternalServerErrorBody get ory access control policy internal server error body + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -368,10 +368,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyNotFound.php b/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyNotFound.php index 08071a76b..bdd8c14c8 100644 --- a/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyNotFound.php +++ b/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyNotFound.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -36,7 +36,7 @@ * * @category Class * @description The standard error format - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -55,7 +55,7 @@ class GetOryAccessControlPolicyNotFound implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ - 'payload' => '\keto\SDK\Model\GetOryAccessControlPolicyNotFoundBody' + 'payload' => '\ketoSDK\Model\GetOryAccessControlPolicyNotFoundBody' ]; /** @@ -163,7 +163,7 @@ public function valid() /** * Gets payload - * @return \keto\SDK\Model\GetOryAccessControlPolicyNotFoundBody + * @return \ketoSDK\Model\GetOryAccessControlPolicyNotFoundBody */ public function getPayload() { @@ -172,7 +172,7 @@ public function getPayload() /** * Sets payload - * @param \keto\SDK\Model\GetOryAccessControlPolicyNotFoundBody $payload + * @param \ketoSDK\Model\GetOryAccessControlPolicyNotFoundBody $payload * @return $this */ public function setPayload($payload) @@ -233,10 +233,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyNotFoundBody.php b/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyNotFoundBody.php index e3fd13af7..4d9a53e21 100644 --- a/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyNotFoundBody.php +++ b/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyNotFoundBody.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -35,8 +35,8 @@ * GetOryAccessControlPolicyNotFoundBody Class Doc Comment * * @category Class - * @description GetOryAccessControlPolicyNotFoundBody GetOryAccessControlPolicyNotFoundBody GetOryAccessControlPolicyNotFoundBody get ory access control policy not found body - * @package keto\SDK + * @description GetOryAccessControlPolicyNotFoundBody get ory access control policy not found body + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -368,10 +368,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyOK.php b/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyOK.php index 00f87c1e7..8482acd36 100644 --- a/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyOK.php +++ b/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyOK.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -36,7 +36,7 @@ * * @category Class * @description oryAccessControlPolicy - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -55,7 +55,7 @@ class GetOryAccessControlPolicyOK implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ - 'payload' => '\keto\SDK\Model\Policy' + 'payload' => '\ketoSDK\Model\OryAccessControlPolicy' ]; /** @@ -163,7 +163,7 @@ public function valid() /** * Gets payload - * @return \keto\SDK\Model\Policy + * @return \ketoSDK\Model\OryAccessControlPolicy */ public function getPayload() { @@ -172,7 +172,7 @@ public function getPayload() /** * Sets payload - * @param \keto\SDK\Model\Policy $payload + * @param \ketoSDK\Model\OryAccessControlPolicy $payload * @return $this */ public function setPayload($payload) @@ -233,10 +233,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyReader.php b/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyReader.php index c462ab44b..6515ed2ed 100644 --- a/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyReader.php +++ b/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyReader.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetOryAccessControlPolicyReader Class Doc Comment * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -210,10 +210,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyRole.php b/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyRole.php index 8c0108cdc..7b9a0b324 100644 --- a/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyRole.php +++ b/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyRole.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetOryAccessControlPolicyRole Class Doc Comment * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -271,10 +271,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyRoleInternalServerError.php b/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyRoleInternalServerError.php index d2017cdba..f1c70f1e4 100644 --- a/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyRoleInternalServerError.php +++ b/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyRoleInternalServerError.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -36,7 +36,7 @@ * * @category Class * @description The standard error format - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -55,7 +55,7 @@ class GetOryAccessControlPolicyRoleInternalServerError implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ - 'payload' => '\keto\SDK\Model\GetOryAccessControlPolicyRoleInternalServerErrorBody' + 'payload' => '\ketoSDK\Model\GetOryAccessControlPolicyRoleInternalServerErrorBody' ]; /** @@ -163,7 +163,7 @@ public function valid() /** * Gets payload - * @return \keto\SDK\Model\GetOryAccessControlPolicyRoleInternalServerErrorBody + * @return \ketoSDK\Model\GetOryAccessControlPolicyRoleInternalServerErrorBody */ public function getPayload() { @@ -172,7 +172,7 @@ public function getPayload() /** * Sets payload - * @param \keto\SDK\Model\GetOryAccessControlPolicyRoleInternalServerErrorBody $payload + * @param \ketoSDK\Model\GetOryAccessControlPolicyRoleInternalServerErrorBody $payload * @return $this */ public function setPayload($payload) @@ -233,10 +233,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyRoleInternalServerErrorBody.php b/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyRoleInternalServerErrorBody.php index 702c87030..4b582c163 100644 --- a/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyRoleInternalServerErrorBody.php +++ b/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyRoleInternalServerErrorBody.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -35,8 +35,8 @@ * GetOryAccessControlPolicyRoleInternalServerErrorBody Class Doc Comment * * @category Class - * @description GetOryAccessControlPolicyRoleInternalServerErrorBody GetOryAccessControlPolicyRoleInternalServerErrorBody GetOryAccessControlPolicyRoleInternalServerErrorBody get ory access control policy role internal server error body - * @package keto\SDK + * @description GetOryAccessControlPolicyRoleInternalServerErrorBody get ory access control policy role internal server error body + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -368,10 +368,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyRoleNotFound.php b/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyRoleNotFound.php index f5b34edb5..5f022cf87 100644 --- a/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyRoleNotFound.php +++ b/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyRoleNotFound.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -36,7 +36,7 @@ * * @category Class * @description The standard error format - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -55,7 +55,7 @@ class GetOryAccessControlPolicyRoleNotFound implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ - 'payload' => '\keto\SDK\Model\GetOryAccessControlPolicyRoleNotFoundBody' + 'payload' => '\ketoSDK\Model\GetOryAccessControlPolicyRoleNotFoundBody' ]; /** @@ -163,7 +163,7 @@ public function valid() /** * Gets payload - * @return \keto\SDK\Model\GetOryAccessControlPolicyRoleNotFoundBody + * @return \ketoSDK\Model\GetOryAccessControlPolicyRoleNotFoundBody */ public function getPayload() { @@ -172,7 +172,7 @@ public function getPayload() /** * Sets payload - * @param \keto\SDK\Model\GetOryAccessControlPolicyRoleNotFoundBody $payload + * @param \ketoSDK\Model\GetOryAccessControlPolicyRoleNotFoundBody $payload * @return $this */ public function setPayload($payload) @@ -233,10 +233,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyRoleNotFoundBody.php b/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyRoleNotFoundBody.php index 92116e535..cb7e6d311 100644 --- a/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyRoleNotFoundBody.php +++ b/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyRoleNotFoundBody.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -35,8 +35,8 @@ * GetOryAccessControlPolicyRoleNotFoundBody Class Doc Comment * * @category Class - * @description GetOryAccessControlPolicyRoleNotFoundBody GetOryAccessControlPolicyRoleNotFoundBody GetOryAccessControlPolicyRoleNotFoundBody get ory access control policy role not found body - * @package keto\SDK + * @description GetOryAccessControlPolicyRoleNotFoundBody get ory access control policy role not found body + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -368,10 +368,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyRoleOK.php b/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyRoleOK.php index ca2f52a3c..dec3bd18c 100644 --- a/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyRoleOK.php +++ b/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyRoleOK.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -36,7 +36,7 @@ * * @category Class * @description oryAccessControlPolicyRole - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -55,7 +55,7 @@ class GetOryAccessControlPolicyRoleOK implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ - 'payload' => '\keto\SDK\Model\Role' + 'payload' => '\ketoSDK\Model\OryAccessControlPolicyRole' ]; /** @@ -163,7 +163,7 @@ public function valid() /** * Gets payload - * @return \keto\SDK\Model\Role + * @return \ketoSDK\Model\OryAccessControlPolicyRole */ public function getPayload() { @@ -172,7 +172,7 @@ public function getPayload() /** * Sets payload - * @param \keto\SDK\Model\Role $payload + * @param \ketoSDK\Model\OryAccessControlPolicyRole $payload * @return $this */ public function setPayload($payload) @@ -233,10 +233,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyRoleReader.php b/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyRoleReader.php index 68213bf6a..e9b65120c 100644 --- a/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyRoleReader.php +++ b/sdk/php/swagger/lib/Model/GetOryAccessControlPolicyRoleReader.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetOryAccessControlPolicyRoleReader Class Doc Comment * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -210,10 +210,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/HealthNotReadyStatus.php b/sdk/php/swagger/lib/Model/HealthNotReadyStatus.php index 633fb9e94..ebf3cf439 100644 --- a/sdk/php/swagger/lib/Model/HealthNotReadyStatus.php +++ b/sdk/php/swagger/lib/Model/HealthNotReadyStatus.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * HealthNotReadyStatus Class Doc Comment * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -232,10 +232,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/HealthStatus.php b/sdk/php/swagger/lib/Model/HealthStatus.php index b0805d732..e6af7853a 100644 --- a/sdk/php/swagger/lib/Model/HealthStatus.php +++ b/sdk/php/swagger/lib/Model/HealthStatus.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * HealthStatus Class Doc Comment * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -232,10 +232,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/InlineResponse500.php b/sdk/php/swagger/lib/Model/InlineResponse500.php index b7db10550..7a4ca41d1 100644 --- a/sdk/php/swagger/lib/Model/InlineResponse500.php +++ b/sdk/php/swagger/lib/Model/InlineResponse500.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * InlineResponse500 Class Doc Comment * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -367,10 +367,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/Input.php b/sdk/php/swagger/lib/Model/Input.php index 800e43a1f..63b6c8a2c 100644 --- a/sdk/php/swagger/lib/Model/Input.php +++ b/sdk/php/swagger/lib/Model/Input.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * Input Class Doc Comment * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -313,10 +313,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/IsInstanceAliveInternalServerError.php b/sdk/php/swagger/lib/Model/IsInstanceAliveInternalServerError.php index 72135201b..9752011f6 100644 --- a/sdk/php/swagger/lib/Model/IsInstanceAliveInternalServerError.php +++ b/sdk/php/swagger/lib/Model/IsInstanceAliveInternalServerError.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -36,7 +36,7 @@ * * @category Class * @description The standard error format - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -55,7 +55,7 @@ class IsInstanceAliveInternalServerError implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ - 'payload' => '\keto\SDK\Model\IsInstanceAliveInternalServerErrorBody' + 'payload' => '\ketoSDK\Model\IsInstanceAliveInternalServerErrorBody' ]; /** @@ -163,7 +163,7 @@ public function valid() /** * Gets payload - * @return \keto\SDK\Model\IsInstanceAliveInternalServerErrorBody + * @return \ketoSDK\Model\IsInstanceAliveInternalServerErrorBody */ public function getPayload() { @@ -172,7 +172,7 @@ public function getPayload() /** * Sets payload - * @param \keto\SDK\Model\IsInstanceAliveInternalServerErrorBody $payload + * @param \ketoSDK\Model\IsInstanceAliveInternalServerErrorBody $payload * @return $this */ public function setPayload($payload) @@ -233,10 +233,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/IsInstanceAliveInternalServerErrorBody.php b/sdk/php/swagger/lib/Model/IsInstanceAliveInternalServerErrorBody.php index b093453c5..e7d9e5249 100644 --- a/sdk/php/swagger/lib/Model/IsInstanceAliveInternalServerErrorBody.php +++ b/sdk/php/swagger/lib/Model/IsInstanceAliveInternalServerErrorBody.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -36,7 +36,7 @@ * * @category Class * @description IsInstanceAliveInternalServerErrorBody is instance alive internal server error body - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -368,10 +368,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/IsInstanceAliveOK.php b/sdk/php/swagger/lib/Model/IsInstanceAliveOK.php index b02618d4d..fb4eaa1c0 100644 --- a/sdk/php/swagger/lib/Model/IsInstanceAliveOK.php +++ b/sdk/php/swagger/lib/Model/IsInstanceAliveOK.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -36,7 +36,7 @@ * * @category Class * @description healthStatus - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -55,7 +55,7 @@ class IsInstanceAliveOK implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ - 'payload' => '\keto\SDK\Model\SwaggerHealthStatus' + 'payload' => '\ketoSDK\Model\SwaggerHealthStatus' ]; /** @@ -163,7 +163,7 @@ public function valid() /** * Gets payload - * @return \keto\SDK\Model\SwaggerHealthStatus + * @return \ketoSDK\Model\SwaggerHealthStatus */ public function getPayload() { @@ -172,7 +172,7 @@ public function getPayload() /** * Sets payload - * @param \keto\SDK\Model\SwaggerHealthStatus $payload + * @param \ketoSDK\Model\SwaggerHealthStatus $payload * @return $this */ public function setPayload($payload) @@ -233,10 +233,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/IsInstanceAliveReader.php b/sdk/php/swagger/lib/Model/IsInstanceAliveReader.php index 0181f0df1..728ed4795 100644 --- a/sdk/php/swagger/lib/Model/IsInstanceAliveReader.php +++ b/sdk/php/swagger/lib/Model/IsInstanceAliveReader.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * IsInstanceAliveReader Class Doc Comment * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -210,10 +210,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/ListOryAccessControlPolicies.php b/sdk/php/swagger/lib/Model/ListOryAccessControlPolicies.php index 480b7cc7d..415d16eff 100644 --- a/sdk/php/swagger/lib/Model/ListOryAccessControlPolicies.php +++ b/sdk/php/swagger/lib/Model/ListOryAccessControlPolicies.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * ListOryAccessControlPolicies Class Doc Comment * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -292,10 +292,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/ListOryAccessControlPoliciesInternalServerError.php b/sdk/php/swagger/lib/Model/ListOryAccessControlPoliciesInternalServerError.php index 4d90cdc0e..b50c163ac 100644 --- a/sdk/php/swagger/lib/Model/ListOryAccessControlPoliciesInternalServerError.php +++ b/sdk/php/swagger/lib/Model/ListOryAccessControlPoliciesInternalServerError.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -36,7 +36,7 @@ * * @category Class * @description The standard error format - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -55,7 +55,7 @@ class ListOryAccessControlPoliciesInternalServerError implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ - 'payload' => '\keto\SDK\Model\ListOryAccessControlPoliciesInternalServerErrorBody' + 'payload' => '\ketoSDK\Model\ListOryAccessControlPoliciesInternalServerErrorBody' ]; /** @@ -163,7 +163,7 @@ public function valid() /** * Gets payload - * @return \keto\SDK\Model\ListOryAccessControlPoliciesInternalServerErrorBody + * @return \ketoSDK\Model\ListOryAccessControlPoliciesInternalServerErrorBody */ public function getPayload() { @@ -172,7 +172,7 @@ public function getPayload() /** * Sets payload - * @param \keto\SDK\Model\ListOryAccessControlPoliciesInternalServerErrorBody $payload + * @param \ketoSDK\Model\ListOryAccessControlPoliciesInternalServerErrorBody $payload * @return $this */ public function setPayload($payload) @@ -233,10 +233,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/ListOryAccessControlPoliciesInternalServerErrorBody.php b/sdk/php/swagger/lib/Model/ListOryAccessControlPoliciesInternalServerErrorBody.php index 4f6828873..0ab76410e 100644 --- a/sdk/php/swagger/lib/Model/ListOryAccessControlPoliciesInternalServerErrorBody.php +++ b/sdk/php/swagger/lib/Model/ListOryAccessControlPoliciesInternalServerErrorBody.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -35,8 +35,8 @@ * ListOryAccessControlPoliciesInternalServerErrorBody Class Doc Comment * * @category Class - * @description ListOryAccessControlPoliciesInternalServerErrorBody ListOryAccessControlPoliciesInternalServerErrorBody ListOryAccessControlPoliciesInternalServerErrorBody list ory access control policies internal server error body - * @package keto\SDK + * @description ListOryAccessControlPoliciesInternalServerErrorBody list ory access control policies internal server error body + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -368,10 +368,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/ListOryAccessControlPoliciesOK.php b/sdk/php/swagger/lib/Model/ListOryAccessControlPoliciesOK.php index ade8d811e..2fad87af8 100644 --- a/sdk/php/swagger/lib/Model/ListOryAccessControlPoliciesOK.php +++ b/sdk/php/swagger/lib/Model/ListOryAccessControlPoliciesOK.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -36,7 +36,7 @@ * * @category Class * @description Policies is an array of policies. - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -55,7 +55,7 @@ class ListOryAccessControlPoliciesOK implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ - 'payload' => '\keto\SDK\Model\Policy[]' + 'payload' => '\ketoSDK\Model\OryAccessControlPolicy[]' ]; /** @@ -163,7 +163,7 @@ public function valid() /** * Gets payload - * @return \keto\SDK\Model\Policy[] + * @return \ketoSDK\Model\OryAccessControlPolicy[] */ public function getPayload() { @@ -172,7 +172,7 @@ public function getPayload() /** * Sets payload - * @param \keto\SDK\Model\Policy[] $payload payload + * @param \ketoSDK\Model\OryAccessControlPolicy[] $payload payload * @return $this */ public function setPayload($payload) @@ -233,10 +233,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/ListOryAccessControlPoliciesReader.php b/sdk/php/swagger/lib/Model/ListOryAccessControlPoliciesReader.php index 9789920b9..8482a9848 100644 --- a/sdk/php/swagger/lib/Model/ListOryAccessControlPoliciesReader.php +++ b/sdk/php/swagger/lib/Model/ListOryAccessControlPoliciesReader.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * ListOryAccessControlPoliciesReader Class Doc Comment * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -210,10 +210,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/ListOryAccessControlPolicyRoles.php b/sdk/php/swagger/lib/Model/ListOryAccessControlPolicyRoles.php index c4833e65a..1b9a3a596 100644 --- a/sdk/php/swagger/lib/Model/ListOryAccessControlPolicyRoles.php +++ b/sdk/php/swagger/lib/Model/ListOryAccessControlPolicyRoles.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * ListOryAccessControlPolicyRoles Class Doc Comment * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -292,10 +292,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/ListOryAccessControlPolicyRolesInternalServerError.php b/sdk/php/swagger/lib/Model/ListOryAccessControlPolicyRolesInternalServerError.php index da9f403b6..b62b71d7b 100644 --- a/sdk/php/swagger/lib/Model/ListOryAccessControlPolicyRolesInternalServerError.php +++ b/sdk/php/swagger/lib/Model/ListOryAccessControlPolicyRolesInternalServerError.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -36,7 +36,7 @@ * * @category Class * @description The standard error format - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -55,7 +55,7 @@ class ListOryAccessControlPolicyRolesInternalServerError implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ - 'payload' => '\keto\SDK\Model\ListOryAccessControlPolicyRolesInternalServerErrorBody' + 'payload' => '\ketoSDK\Model\ListOryAccessControlPolicyRolesInternalServerErrorBody' ]; /** @@ -163,7 +163,7 @@ public function valid() /** * Gets payload - * @return \keto\SDK\Model\ListOryAccessControlPolicyRolesInternalServerErrorBody + * @return \ketoSDK\Model\ListOryAccessControlPolicyRolesInternalServerErrorBody */ public function getPayload() { @@ -172,7 +172,7 @@ public function getPayload() /** * Sets payload - * @param \keto\SDK\Model\ListOryAccessControlPolicyRolesInternalServerErrorBody $payload + * @param \ketoSDK\Model\ListOryAccessControlPolicyRolesInternalServerErrorBody $payload * @return $this */ public function setPayload($payload) @@ -233,10 +233,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/ListOryAccessControlPolicyRolesInternalServerErrorBody.php b/sdk/php/swagger/lib/Model/ListOryAccessControlPolicyRolesInternalServerErrorBody.php index 79ab93d2d..bdbd58e57 100644 --- a/sdk/php/swagger/lib/Model/ListOryAccessControlPolicyRolesInternalServerErrorBody.php +++ b/sdk/php/swagger/lib/Model/ListOryAccessControlPolicyRolesInternalServerErrorBody.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -35,8 +35,8 @@ * ListOryAccessControlPolicyRolesInternalServerErrorBody Class Doc Comment * * @category Class - * @description ListOryAccessControlPolicyRolesInternalServerErrorBody ListOryAccessControlPolicyRolesInternalServerErrorBody ListOryAccessControlPolicyRolesInternalServerErrorBody list ory access control policy roles internal server error body - * @package keto\SDK + * @description ListOryAccessControlPolicyRolesInternalServerErrorBody list ory access control policy roles internal server error body + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -368,10 +368,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/ListOryAccessControlPolicyRolesOK.php b/sdk/php/swagger/lib/Model/ListOryAccessControlPolicyRolesOK.php index af776cb6a..e6c809608 100644 --- a/sdk/php/swagger/lib/Model/ListOryAccessControlPolicyRolesOK.php +++ b/sdk/php/swagger/lib/Model/ListOryAccessControlPolicyRolesOK.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -36,7 +36,7 @@ * * @category Class * @description Roles is an array of roles. - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -55,7 +55,7 @@ class ListOryAccessControlPolicyRolesOK implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ - 'payload' => '\keto\SDK\Model\Role[]' + 'payload' => '\ketoSDK\Model\OryAccessControlPolicyRole[]' ]; /** @@ -163,7 +163,7 @@ public function valid() /** * Gets payload - * @return \keto\SDK\Model\Role[] + * @return \ketoSDK\Model\OryAccessControlPolicyRole[] */ public function getPayload() { @@ -172,7 +172,7 @@ public function getPayload() /** * Sets payload - * @param \keto\SDK\Model\Role[] $payload payload + * @param \ketoSDK\Model\OryAccessControlPolicyRole[] $payload payload * @return $this */ public function setPayload($payload) @@ -233,10 +233,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/ListOryAccessControlPolicyRolesReader.php b/sdk/php/swagger/lib/Model/ListOryAccessControlPolicyRolesReader.php index 2f6122c68..8b4b56ca4 100644 --- a/sdk/php/swagger/lib/Model/ListOryAccessControlPolicyRolesReader.php +++ b/sdk/php/swagger/lib/Model/ListOryAccessControlPolicyRolesReader.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * ListOryAccessControlPolicyRolesReader Class Doc Comment * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -210,10 +210,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/OryAccessControlPolicies.php b/sdk/php/swagger/lib/Model/OryAccessControlPolicies.php index aba2be0f9..04fcc5bf8 100644 --- a/sdk/php/swagger/lib/Model/OryAccessControlPolicies.php +++ b/sdk/php/swagger/lib/Model/OryAccessControlPolicies.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * OryAccessControlPolicies Class Doc Comment * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -54,7 +54,7 @@ class OryAccessControlPolicies implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ - 'body' => '\keto\SDK\Model\OryAccessControlPolicy[]' + 'body' => '\ketoSDK\Model\OryAccessControlPolicy[]' ]; /** @@ -162,7 +162,7 @@ public function valid() /** * Gets body - * @return \keto\SDK\Model\OryAccessControlPolicy[] + * @return \ketoSDK\Model\OryAccessControlPolicy[] */ public function getBody() { @@ -171,7 +171,7 @@ public function getBody() /** * Sets body - * @param \keto\SDK\Model\OryAccessControlPolicy[] $body The request body. in: body type: array + * @param \ketoSDK\Model\OryAccessControlPolicy[] $body The request body. in: body type: array * @return $this */ public function setBody($body) @@ -232,10 +232,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/OryAccessControlPolicy.php b/sdk/php/swagger/lib/Model/OryAccessControlPolicy.php index 2770eca79..797f0485b 100644 --- a/sdk/php/swagger/lib/Model/OryAccessControlPolicy.php +++ b/sdk/php/swagger/lib/Model/OryAccessControlPolicy.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * OryAccessControlPolicy Class Doc Comment * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -394,10 +394,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/OryAccessControlPolicyAllowedInput.php b/sdk/php/swagger/lib/Model/OryAccessControlPolicyAllowedInput.php index 979bf0abd..b64adc2c7 100644 --- a/sdk/php/swagger/lib/Model/OryAccessControlPolicyAllowedInput.php +++ b/sdk/php/swagger/lib/Model/OryAccessControlPolicyAllowedInput.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * OryAccessControlPolicyAllowedInput Class Doc Comment * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -313,10 +313,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/OryAccessControlPolicyRole.php b/sdk/php/swagger/lib/Model/OryAccessControlPolicyRole.php index cf09dfd61..30dbbbfd1 100644 --- a/sdk/php/swagger/lib/Model/OryAccessControlPolicyRole.php +++ b/sdk/php/swagger/lib/Model/OryAccessControlPolicyRole.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -36,7 +36,7 @@ * * @category Class * @description 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. - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -260,10 +260,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/OryAccessControlPolicyRoles.php b/sdk/php/swagger/lib/Model/OryAccessControlPolicyRoles.php index fda9e44cd..b393dd751 100644 --- a/sdk/php/swagger/lib/Model/OryAccessControlPolicyRoles.php +++ b/sdk/php/swagger/lib/Model/OryAccessControlPolicyRoles.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * OryAccessControlPolicyRoles Class Doc Comment * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -54,7 +54,7 @@ class OryAccessControlPolicyRoles implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ - 'body' => '\keto\SDK\Model\OryAccessControlPolicyRole[]' + 'body' => '\ketoSDK\Model\OryAccessControlPolicyRole[]' ]; /** @@ -162,7 +162,7 @@ public function valid() /** * Gets body - * @return \keto\SDK\Model\OryAccessControlPolicyRole[] + * @return \ketoSDK\Model\OryAccessControlPolicyRole[] */ public function getBody() { @@ -171,7 +171,7 @@ public function getBody() /** * Sets body - * @param \keto\SDK\Model\OryAccessControlPolicyRole[] $body The request body. in: body type: array + * @param \ketoSDK\Model\OryAccessControlPolicyRole[] $body The request body. in: body type: array * @return $this */ public function setBody($body) @@ -232,10 +232,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/Policies.php b/sdk/php/swagger/lib/Model/Policies.php index c17539b03..477cc4611 100644 --- a/sdk/php/swagger/lib/Model/Policies.php +++ b/sdk/php/swagger/lib/Model/Policies.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * Policies Class Doc Comment * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -213,10 +213,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/Policy.php b/sdk/php/swagger/lib/Model/Policy.php index 17e73811a..1d2831da7 100644 --- a/sdk/php/swagger/lib/Model/Policy.php +++ b/sdk/php/swagger/lib/Model/Policy.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * Policy Class Doc Comment * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -394,10 +394,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/RemoveOryAccessControlPolicyRoleMembers.php b/sdk/php/swagger/lib/Model/RemoveOryAccessControlPolicyRoleMembers.php index 053d290a2..09040f4bd 100644 --- a/sdk/php/swagger/lib/Model/RemoveOryAccessControlPolicyRoleMembers.php +++ b/sdk/php/swagger/lib/Model/RemoveOryAccessControlPolicyRoleMembers.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * RemoveOryAccessControlPolicyRoleMembers Class Doc Comment * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -304,10 +304,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/RemoveOryAccessControlPolicyRoleMembersCreated.php b/sdk/php/swagger/lib/Model/RemoveOryAccessControlPolicyRoleMembersCreated.php index 0e3b77905..875cc1b32 100644 --- a/sdk/php/swagger/lib/Model/RemoveOryAccessControlPolicyRoleMembersCreated.php +++ b/sdk/php/swagger/lib/Model/RemoveOryAccessControlPolicyRoleMembersCreated.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -36,7 +36,7 @@ * * @category Class * @description An empty response - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -211,10 +211,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/RemoveOryAccessControlPolicyRoleMembersInternalServerError.php b/sdk/php/swagger/lib/Model/RemoveOryAccessControlPolicyRoleMembersInternalServerError.php index 682839481..4c69f8f60 100644 --- a/sdk/php/swagger/lib/Model/RemoveOryAccessControlPolicyRoleMembersInternalServerError.php +++ b/sdk/php/swagger/lib/Model/RemoveOryAccessControlPolicyRoleMembersInternalServerError.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -36,7 +36,7 @@ * * @category Class * @description The standard error format - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -55,7 +55,7 @@ class RemoveOryAccessControlPolicyRoleMembersInternalServerError implements Arra * @var string[] */ protected static $swaggerTypes = [ - 'payload' => '\keto\SDK\Model\RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody' + 'payload' => '\ketoSDK\Model\RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody' ]; /** @@ -163,7 +163,7 @@ public function valid() /** * Gets payload - * @return \keto\SDK\Model\RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody + * @return \ketoSDK\Model\RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody */ public function getPayload() { @@ -172,7 +172,7 @@ public function getPayload() /** * Sets payload - * @param \keto\SDK\Model\RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody $payload + * @param \ketoSDK\Model\RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody $payload * @return $this */ public function setPayload($payload) @@ -233,10 +233,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody.php b/sdk/php/swagger/lib/Model/RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody.php index 45276826e..ce81d55da 100644 --- a/sdk/php/swagger/lib/Model/RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody.php +++ b/sdk/php/swagger/lib/Model/RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -35,8 +35,8 @@ * RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody Class Doc Comment * * @category Class - * @description RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody remove ory access control policy role members internal server error body - * @package keto\SDK + * @description RemoveOryAccessControlPolicyRoleMembersInternalServerErrorBody remove ory access control policy role members internal server error body + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -368,10 +368,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/RemoveOryAccessControlPolicyRoleMembersReader.php b/sdk/php/swagger/lib/Model/RemoveOryAccessControlPolicyRoleMembersReader.php index 1a0ae62cc..ba474a20b 100644 --- a/sdk/php/swagger/lib/Model/RemoveOryAccessControlPolicyRoleMembersReader.php +++ b/sdk/php/swagger/lib/Model/RemoveOryAccessControlPolicyRoleMembersReader.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * RemoveOryAccessControlPolicyRoleMembersReader Class Doc Comment * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -210,10 +210,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/Role.php b/sdk/php/swagger/lib/Model/Role.php index 3458ff18f..8fc30e25c 100644 --- a/sdk/php/swagger/lib/Model/Role.php +++ b/sdk/php/swagger/lib/Model/Role.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -35,8 +35,8 @@ * Role Class Doc Comment * * @category Class - * @description 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. - * @package keto\SDK + * @description 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. + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -260,10 +260,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/Roles.php b/sdk/php/swagger/lib/Model/Roles.php index 72a9803cb..adb8aff46 100644 --- a/sdk/php/swagger/lib/Model/Roles.php +++ b/sdk/php/swagger/lib/Model/Roles.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * Roles Class Doc Comment * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -213,10 +213,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/SwaggerHealthStatus.php b/sdk/php/swagger/lib/Model/SwaggerHealthStatus.php index 3c9bc1d61..7baadec0c 100644 --- a/sdk/php/swagger/lib/Model/SwaggerHealthStatus.php +++ b/sdk/php/swagger/lib/Model/SwaggerHealthStatus.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -36,7 +36,7 @@ * * @category Class * @description SwaggerHealthStatus swagger health status - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -233,10 +233,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/SwaggerNotReadyStatus.php b/sdk/php/swagger/lib/Model/SwaggerNotReadyStatus.php index c73a5004a..d5fe3c2b3 100644 --- a/sdk/php/swagger/lib/Model/SwaggerNotReadyStatus.php +++ b/sdk/php/swagger/lib/Model/SwaggerNotReadyStatus.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -36,7 +36,7 @@ * * @category Class * @description SwaggerNotReadyStatus swagger not ready status - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -233,10 +233,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/SwaggerVersion.php b/sdk/php/swagger/lib/Model/SwaggerVersion.php index 88b4e7bb9..f8c06a060 100644 --- a/sdk/php/swagger/lib/Model/SwaggerVersion.php +++ b/sdk/php/swagger/lib/Model/SwaggerVersion.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -36,7 +36,7 @@ * * @category Class * @description SwaggerVersion swagger version - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -233,10 +233,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/UpsertOryAccessControlPolicy.php b/sdk/php/swagger/lib/Model/UpsertOryAccessControlPolicy.php index 5304a7164..ad2fb9f93 100644 --- a/sdk/php/swagger/lib/Model/UpsertOryAccessControlPolicy.php +++ b/sdk/php/swagger/lib/Model/UpsertOryAccessControlPolicy.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * UpsertOryAccessControlPolicy Class Doc Comment * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -54,7 +54,7 @@ class UpsertOryAccessControlPolicy implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ - 'body' => '\keto\SDK\Model\OryAccessControlPolicy', + 'body' => '\ketoSDK\Model\OryAccessControlPolicy', 'flavor' => 'string' ]; @@ -174,7 +174,7 @@ public function valid() /** * Gets body - * @return \keto\SDK\Model\OryAccessControlPolicy + * @return \ketoSDK\Model\OryAccessControlPolicy */ public function getBody() { @@ -183,7 +183,7 @@ public function getBody() /** * Sets body - * @param \keto\SDK\Model\OryAccessControlPolicy $body + * @param \ketoSDK\Model\OryAccessControlPolicy $body * @return $this */ public function setBody($body) @@ -265,10 +265,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/UpsertOryAccessControlPolicyInternalServerError.php b/sdk/php/swagger/lib/Model/UpsertOryAccessControlPolicyInternalServerError.php index 5f8751e86..a18d4bd7a 100644 --- a/sdk/php/swagger/lib/Model/UpsertOryAccessControlPolicyInternalServerError.php +++ b/sdk/php/swagger/lib/Model/UpsertOryAccessControlPolicyInternalServerError.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -36,7 +36,7 @@ * * @category Class * @description The standard error format - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -55,7 +55,7 @@ class UpsertOryAccessControlPolicyInternalServerError implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ - 'payload' => '\keto\SDK\Model\UpsertOryAccessControlPolicyInternalServerErrorBody' + 'payload' => '\ketoSDK\Model\UpsertOryAccessControlPolicyInternalServerErrorBody' ]; /** @@ -163,7 +163,7 @@ public function valid() /** * Gets payload - * @return \keto\SDK\Model\UpsertOryAccessControlPolicyInternalServerErrorBody + * @return \ketoSDK\Model\UpsertOryAccessControlPolicyInternalServerErrorBody */ public function getPayload() { @@ -172,7 +172,7 @@ public function getPayload() /** * Sets payload - * @param \keto\SDK\Model\UpsertOryAccessControlPolicyInternalServerErrorBody $payload + * @param \ketoSDK\Model\UpsertOryAccessControlPolicyInternalServerErrorBody $payload * @return $this */ public function setPayload($payload) @@ -233,10 +233,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/UpsertOryAccessControlPolicyInternalServerErrorBody.php b/sdk/php/swagger/lib/Model/UpsertOryAccessControlPolicyInternalServerErrorBody.php index 74d255772..6f7fdebd4 100644 --- a/sdk/php/swagger/lib/Model/UpsertOryAccessControlPolicyInternalServerErrorBody.php +++ b/sdk/php/swagger/lib/Model/UpsertOryAccessControlPolicyInternalServerErrorBody.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -35,8 +35,8 @@ * UpsertOryAccessControlPolicyInternalServerErrorBody Class Doc Comment * * @category Class - * @description UpsertOryAccessControlPolicyInternalServerErrorBody UpsertOryAccessControlPolicyInternalServerErrorBody UpsertOryAccessControlPolicyInternalServerErrorBody upsert ory access control policy internal server error body - * @package keto\SDK + * @description UpsertOryAccessControlPolicyInternalServerErrorBody upsert ory access control policy internal server error body + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -368,10 +368,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/UpsertOryAccessControlPolicyOK.php b/sdk/php/swagger/lib/Model/UpsertOryAccessControlPolicyOK.php index 711fb5847..e1a6632b9 100644 --- a/sdk/php/swagger/lib/Model/UpsertOryAccessControlPolicyOK.php +++ b/sdk/php/swagger/lib/Model/UpsertOryAccessControlPolicyOK.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -36,7 +36,7 @@ * * @category Class * @description oryAccessControlPolicy - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -55,7 +55,7 @@ class UpsertOryAccessControlPolicyOK implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ - 'payload' => '\keto\SDK\Model\Policy' + 'payload' => '\ketoSDK\Model\OryAccessControlPolicy' ]; /** @@ -163,7 +163,7 @@ public function valid() /** * Gets payload - * @return \keto\SDK\Model\Policy + * @return \ketoSDK\Model\OryAccessControlPolicy */ public function getPayload() { @@ -172,7 +172,7 @@ public function getPayload() /** * Sets payload - * @param \keto\SDK\Model\Policy $payload + * @param \ketoSDK\Model\OryAccessControlPolicy $payload * @return $this */ public function setPayload($payload) @@ -233,10 +233,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/UpsertOryAccessControlPolicyReader.php b/sdk/php/swagger/lib/Model/UpsertOryAccessControlPolicyReader.php index db101d436..8e3d9ac35 100644 --- a/sdk/php/swagger/lib/Model/UpsertOryAccessControlPolicyReader.php +++ b/sdk/php/swagger/lib/Model/UpsertOryAccessControlPolicyReader.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * UpsertOryAccessControlPolicyReader Class Doc Comment * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -210,10 +210,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/UpsertOryAccessControlPolicyRole.php b/sdk/php/swagger/lib/Model/UpsertOryAccessControlPolicyRole.php index 5290b44d8..87fac8c76 100644 --- a/sdk/php/swagger/lib/Model/UpsertOryAccessControlPolicyRole.php +++ b/sdk/php/swagger/lib/Model/UpsertOryAccessControlPolicyRole.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * UpsertOryAccessControlPolicyRole Class Doc Comment * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -54,7 +54,7 @@ class UpsertOryAccessControlPolicyRole implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ - 'body' => '\keto\SDK\Model\OryAccessControlPolicyRole', + 'body' => '\ketoSDK\Model\OryAccessControlPolicyRole', 'flavor' => 'string' ]; @@ -174,7 +174,7 @@ public function valid() /** * Gets body - * @return \keto\SDK\Model\OryAccessControlPolicyRole + * @return \ketoSDK\Model\OryAccessControlPolicyRole */ public function getBody() { @@ -183,7 +183,7 @@ public function getBody() /** * Sets body - * @param \keto\SDK\Model\OryAccessControlPolicyRole $body + * @param \ketoSDK\Model\OryAccessControlPolicyRole $body * @return $this */ public function setBody($body) @@ -265,10 +265,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/UpsertOryAccessControlPolicyRoleInternalServerError.php b/sdk/php/swagger/lib/Model/UpsertOryAccessControlPolicyRoleInternalServerError.php index af7417cd1..b1ccc0ab9 100644 --- a/sdk/php/swagger/lib/Model/UpsertOryAccessControlPolicyRoleInternalServerError.php +++ b/sdk/php/swagger/lib/Model/UpsertOryAccessControlPolicyRoleInternalServerError.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -36,7 +36,7 @@ * * @category Class * @description The standard error format - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -55,7 +55,7 @@ class UpsertOryAccessControlPolicyRoleInternalServerError implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ - 'payload' => '\keto\SDK\Model\UpsertOryAccessControlPolicyRoleInternalServerErrorBody' + 'payload' => '\ketoSDK\Model\UpsertOryAccessControlPolicyRoleInternalServerErrorBody' ]; /** @@ -163,7 +163,7 @@ public function valid() /** * Gets payload - * @return \keto\SDK\Model\UpsertOryAccessControlPolicyRoleInternalServerErrorBody + * @return \ketoSDK\Model\UpsertOryAccessControlPolicyRoleInternalServerErrorBody */ public function getPayload() { @@ -172,7 +172,7 @@ public function getPayload() /** * Sets payload - * @param \keto\SDK\Model\UpsertOryAccessControlPolicyRoleInternalServerErrorBody $payload + * @param \ketoSDK\Model\UpsertOryAccessControlPolicyRoleInternalServerErrorBody $payload * @return $this */ public function setPayload($payload) @@ -233,10 +233,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/UpsertOryAccessControlPolicyRoleInternalServerErrorBody.php b/sdk/php/swagger/lib/Model/UpsertOryAccessControlPolicyRoleInternalServerErrorBody.php index 413eb8f0a..0d9530d86 100644 --- a/sdk/php/swagger/lib/Model/UpsertOryAccessControlPolicyRoleInternalServerErrorBody.php +++ b/sdk/php/swagger/lib/Model/UpsertOryAccessControlPolicyRoleInternalServerErrorBody.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -35,8 +35,8 @@ * UpsertOryAccessControlPolicyRoleInternalServerErrorBody Class Doc Comment * * @category Class - * @description UpsertOryAccessControlPolicyRoleInternalServerErrorBody UpsertOryAccessControlPolicyRoleInternalServerErrorBody UpsertOryAccessControlPolicyRoleInternalServerErrorBody upsert ory access control policy role internal server error body - * @package keto\SDK + * @description UpsertOryAccessControlPolicyRoleInternalServerErrorBody upsert ory access control policy role internal server error body + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -368,10 +368,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/UpsertOryAccessControlPolicyRoleOK.php b/sdk/php/swagger/lib/Model/UpsertOryAccessControlPolicyRoleOK.php index 9186f8047..b8d18e3f2 100644 --- a/sdk/php/swagger/lib/Model/UpsertOryAccessControlPolicyRoleOK.php +++ b/sdk/php/swagger/lib/Model/UpsertOryAccessControlPolicyRoleOK.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -36,7 +36,7 @@ * * @category Class * @description oryAccessControlPolicyRole - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -55,7 +55,7 @@ class UpsertOryAccessControlPolicyRoleOK implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ - 'payload' => '\keto\SDK\Model\Role' + 'payload' => '\ketoSDK\Model\OryAccessControlPolicyRole' ]; /** @@ -163,7 +163,7 @@ public function valid() /** * Gets payload - * @return \keto\SDK\Model\Role + * @return \ketoSDK\Model\OryAccessControlPolicyRole */ public function getPayload() { @@ -172,7 +172,7 @@ public function getPayload() /** * Sets payload - * @param \keto\SDK\Model\Role $payload + * @param \ketoSDK\Model\OryAccessControlPolicyRole $payload * @return $this */ public function setPayload($payload) @@ -233,10 +233,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/UpsertOryAccessControlPolicyRoleReader.php b/sdk/php/swagger/lib/Model/UpsertOryAccessControlPolicyRoleReader.php index a4eed893c..5dd1733e2 100644 --- a/sdk/php/swagger/lib/Model/UpsertOryAccessControlPolicyRoleReader.php +++ b/sdk/php/swagger/lib/Model/UpsertOryAccessControlPolicyRoleReader.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * UpsertOryAccessControlPolicyRoleReader Class Doc Comment * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -210,10 +210,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/Model/Version.php b/sdk/php/swagger/lib/Model/Version.php index 2851091f2..33f1b16b0 100644 --- a/sdk/php/swagger/lib/Model/Version.php +++ b/sdk/php/swagger/lib/Model/Version.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace keto\SDK\Model; +namespace ketoSDK\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * Version Class Doc Comment * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -232,10 +232,10 @@ public function offsetUnset($offset) 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(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\keto\SDK\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\ketoSDK\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/sdk/php/swagger/lib/ObjectSerializer.php b/sdk/php/swagger/lib/ObjectSerializer.php index 78ad62f57..d8b5ed428 100644 --- a/sdk/php/swagger/lib/ObjectSerializer.php +++ b/sdk/php/swagger/lib/ObjectSerializer.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,13 +27,13 @@ * Do not edit the class manually. */ -namespace keto\SDK; +namespace ketoSDK; /** * ObjectSerializer Class Doc Comment * * @category Class - * @package keto\SDK + * @package ketoSDK * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -288,7 +288,7 @@ public static function deserialize($data, $class, $httpHeaders = null) // 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}; + $subclass = '\ketoSDK\Model\\' . $data->{$discriminator}; if (is_subclass_of($subclass, $class)) { $class = $subclass; }